diff --git a/assets/templates/metaboxes/metabox.error.help.php b/assets/templates/metaboxes/metabox.error.help.php
new file mode 100644
index 0000000000000000000000000000000000000000..61a0de80402e8a96806de22d0c309ada1f469e07
--- /dev/null
+++ b/assets/templates/metaboxes/metabox.error.help.php
@@ -0,0 +1,26 @@
+<?php
+
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ *
+ * @package CRM
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
+ *
+ */
+
+?><!-- assets/templates/metaboxes/metabox.error.help.php -->
+<p><?php printf(
+  __('Please review the %1$sWordPress Installation Guide%2$s and the %3$sTroubleshooting page%4$s for assistance. If you still need help, you can often find solutions to your issue by searching for the error message in the %5$sinstallation support section of the community forum%6$s.', 'civicrm'),
+  '<a href="https://docs.civicrm.org/installation/en/latest/wordpress/">', '</a>',
+  '<a href="https://docs.civicrm.org/sysadmin/en/latest/troubleshooting/">', '</a>',
+  '<a href="https://civicrm.stackexchange.com/">', '</a>'
+); ?></p>
diff --git a/assets/templates/metaboxes/metabox.error.path.php b/assets/templates/metaboxes/metabox.error.path.php
new file mode 100644
index 0000000000000000000000000000000000000000..432730a88ef9c6cd44c9b13637e8a663fc820878
--- /dev/null
+++ b/assets/templates/metaboxes/metabox.error.path.php
@@ -0,0 +1,30 @@
+<?php
+
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ *
+ * @package CRM
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
+ *
+ */
+
+?><!-- assets/templates/metaboxes/metabox.error.path.php -->
+<p><?php printf(
+  __('The path for including CiviCRM code files does appear to be set properly. Most likely there is an error in the %s setting in your CiviCRM settings file.', 'civicrm'),
+  '<code>civicrm_root</code>'
+); ?></p>
+
+<p><?php _e('Your CiviCRM settings file location is set to:', 'civicrm'); ?><br><pre><?php echo CIVICRM_SETTINGS_PATH; ?></pre></p>
+
+<p><?php printf(__('%s is currently set to:', 'civicrm'), '<code>civicrm_root</code>'); ?><br><pre><?php echo $civicrm_root; ?></pre></p>
+
+<p><?php printf(__('Please check that your CiviCRM settings file is where it should be and that %s is set correctly in it. Also check that the CiviCRM code directory is where it should be. If these are both fine, then you will have to look in your logs for more information.', 'civicrm'), '<code>civicrm_root</code>'); ?></p>
diff --git a/civicrm/Civi/Api4/Service/Schema/Joinable/BridgeJoinable.php b/assets/templates/metaboxes/metabox.error.php.php
similarity index 54%
rename from civicrm/Civi/Api4/Service/Schema/Joinable/BridgeJoinable.php
rename to assets/templates/metaboxes/metabox.error.php.php
index d3849abbefe10bfe13fa9785dde2b9778182d269..58634cce2819be28fb4fa86a0a2923935ae7ef6f 100644
--- a/civicrm/Civi/Api4/Service/Schema/Joinable/BridgeJoinable.php
+++ b/assets/templates/metaboxes/metabox.error.php.php
@@ -14,27 +14,16 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC https://civicrm.org/licensing
+ *
  */
 
+?><!-- assets/templates/metaboxes/metabox.error.php.php -->
+<p><?php printf(
+  __('CiviCRM requires PHP version %1$s or greater. You are running PHP version %2$s', 'civicrm'),
+  CIVICRM_WP_PHP_MINIMUM,
+  PHP_VERSION
+); ?></p>
 
-namespace Civi\Api4\Service\Schema\Joinable;
-
-class BridgeJoinable extends Joinable {
-  /**
-   * @var Joinable
-   */
-  protected $middleLink;
-
-  public function __construct($targetTable, $targetColumn, $alias, Joinable $middleLink) {
-    parent::__construct($targetTable, $targetColumn, $alias);
-    $this->middleLink = $middleLink;
-  }
-
-  /**
-   * @return Joinable
-   */
-  public function getMiddleLink() {
-    return $this->middleLink;
-  }
+<p><?php _e('You will have to upgrade PHP before you can run this version CiviCRM.', 'civicrm'); ?></p>
 
-}
+<p><?php _e('To continue using CiviCRM without upgrading PHP, you will have to revert both the plugin and the database to a backup of your previous version.', 'civicrm'); ?></p>
diff --git a/assets/templates/pages/page.error.php b/assets/templates/pages/page.error.php
new file mode 100644
index 0000000000000000000000000000000000000000..692bf283a5ea53996aa9ed4a29d54f1a2b385bdd
--- /dev/null
+++ b/assets/templates/pages/page.error.php
@@ -0,0 +1,55 @@
+<?php
+
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ *
+ * @package CRM
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
+ *
+ */
+
+?><!-- assets/templates/page.error.php -->
+<div class="wrap civicrm-wrap civicrm-error-wrap">
+
+  <img src="<?php echo CIVICRM_PLUGIN_URL . 'assets/images/civicrm-logo.png'; ?>" width="160" height="42" alt="<?php esc_attr_e('CiviCRM Logo', 'civicrm'); ?>" id="civicrm-logo">
+
+  <h1><?php _e('CiviCRM Troubleshooting', 'civicrm'); ?></h1>
+
+  <p><?php _e('Something seems to be wrong with your CiviCRM installation. This page will help you try and troubleshoot the problem.', 'civicrm'); ?></p>
+
+  <form method="post" id="civicrm_error_form" action="">
+
+    <?php wp_nonce_field('meta-box-order', 'meta-box-order-nonce', FALSE); ?>
+    <?php wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', FALSE); ?>
+    <?php wp_nonce_field('civicrm_error_form_action', 'civicrm_error_form_nonce'); ?>
+
+    <div id="poststuff">
+
+      <div id="post-body" class="metabox-holder columns-<?php echo $columns;?>">
+
+        <div id="postbox-container-1" class="postbox-container">
+          <?php do_meta_boxes($screen->id, 'side', NULL); ?>
+        </div>
+
+        <div id="postbox-container-2" class="postbox-container">
+          <?php do_meta_boxes($screen->id, 'normal', NULL);  ?>
+          <?php do_meta_boxes($screen->id, 'advanced', NULL); ?>
+        </div>
+
+      </div><!-- #post-body -->
+      <br class="clear">
+
+    </div><!-- #poststuff -->
+
+  </form>
+
+</div><!-- /.wrap -->
diff --git a/civicrm.php b/civicrm.php
index 9f687375c354a14d3723e04a495e6770a1e3116d..6ad2cfc5a76e2c68999709aadf52e943e4a35df9 100644
--- a/civicrm.php
+++ b/civicrm.php
@@ -2,7 +2,7 @@
 /**
  * Plugin Name: CiviCRM
  * Description: CiviCRM - Growing and Sustaining Relationships
- * Version: 5.39.1
+ * Version: 5.40.0
  * Requires at least: 4.9
  * Requires PHP:      7.2
  * Author: CiviCRM LLC
@@ -54,7 +54,7 @@ if (!defined('ABSPATH')) {
 }
 
 // Set version here: when it changes, will force Javascript & CSS to reload.
-define('CIVICRM_PLUGIN_VERSION', '5.39.1');
+define('CIVICRM_PLUGIN_VERSION', '5.40.0');
 
 // Store reference to this file.
 if (!defined('CIVICRM_PLUGIN_FILE')) {
@@ -311,8 +311,10 @@ class CiviCRM_For_WordPress {
 
     // Change option so this action never fires again.
     update_option('civicrm_activation_in_progress', 'false');
+
+    // Try and redirect to the Installer page.
     if (!is_multisite() && !isset($_GET['activate-multi']) && !CIVICRM_INSTALLED) {
-      wp_redirect(admin_url('options-general.php?page=civicrm-install'));
+      wp_redirect(admin_url('admin.php?page=civicrm-install'));
       exit;
     }
   }
@@ -1074,6 +1076,10 @@ class CiviCRM_For_WordPress {
    */
   public function wp_head() {
 
+    if (!$this->initialize()) {
+      return;
+    }
+
     /*
      * CRM-11823
      * If CiviCRM bootstrapped, then merge its HTML header with the CMS's header.
diff --git a/civicrm/CONTRIBUTORS.txt b/civicrm/CONTRIBUTORS.txt
index 4e92eeeca7bdd7d6f658753a589b5cbb514b711a..9a29f4434f1a54c12b9b9c9ca8dbb61bed807475 100644
--- a/civicrm/CONTRIBUTORS.txt
+++ b/civicrm/CONTRIBUTORS.txt
@@ -6,7 +6,7 @@ Code Contributors for 5.x
 
 CiviCRM - Coleman Watts, Tim Otten
 a-n The Artists Information Company - William Mortada
-AGH Strategies - Alice Frumin, Andrew Hunt, Eli Lisseck, Tommy Bobo
+AGH Strategies - Alice Frumin, Andie Hunt, Eli Lisseck, Tommy Bobo
 Agileware - Alok Patel, Francis Whittle, Justin Freeman, Pengyi Zhang
 Alexy Mikhailichenko
 Andrei Mondoc
@@ -122,7 +122,7 @@ CiviCRM - Coleman Watts, Josh Gowans, Tim Otten
 
 Aaron Jones
 Abhikalak Consultants - Amal Sharma
-AGH Strategies - Alice Frumin, Andrew Hunt, Eli Lisseck, Nikki Murray, Tommy
+AGH Strategies - Alice Frumin, Andie Hunt, Eli Lisseck, Nikki Murray, Tommy
     Bobo, Tyrell Cook
 Agileware - Alok Patel, Francis Whittle, Iris Abarquez, Justin Freeman, Vaibhav
     Sagar
@@ -297,7 +297,7 @@ CiviCRM Team - Atif Shaikh, Coleman Watts, David Greenberg, Donald Lobo,
                Michael McAndrew, Monish Deb, Rohan Ramesh Katkar, Tim Otten,
                Yashodha Chaku
 ADG Communications - Steve Binkowski
-AGH Strategies - Andrew Hunt, Jane Hanley, Tommy Bobo, Tyrell Cook
+AGH Strategies - Andie Hunt, Jane Hanley, Tommy Bobo, Tyrell Cook
 Agileware - Justin Freeman, Francis Whittle, Iris Abarquez, Vaibhav Sagar
 Alex C
 Allan Chappell
@@ -380,7 +380,7 @@ Key Contributors and Sponsors for 4.5
 CiviCRM Team - Coleman Watts, David Greenberg, Donald Lobo,
                Kurund Jalmi, Michael McAndrew, Monish Deb, Pratik Joshi,
                Tim Otten, Yashodha Chaku, Eileen McNaughton
-AGH Strategies - Andrew Hunt, Maggie Epps, Tyrell Cook
+AGH Strategies - Andie Hunt, Maggie Epps, Tyrell Cook
 Allan Chappell
 Amnesty International Spain - Carlos Capote
 Andy Clark
@@ -438,7 +438,7 @@ Key Contributors and Sponsors for 4.4
 CiviCRM Team - Coleman Watts, David Greenberg, Donald Lobo,
                Kurund Jalmi, Michael McAndrew, Monish Deb,
                Tim Otten, Yashodha Chaku, Eileen McNaughton
-AGH Strategies - Andrew Hunt
+AGH Strategies - Andie Hunt
 Backoffice Thinking
 Chris Burgess
 Circle Interactive - Andrew Walker, Dave Jenkins
@@ -491,7 +491,7 @@ Key Contributors and Sponsors for 4.3
 CiviCRM Team - Coleman Watts, David Greenberg, Deepak Srivastava, Donald Lobo,
                Kurund Jalmi, Michael McAndrew, Pratik Joshi, Ravish Nair,
                Tim Otten, Yashodha Chaku, Eileen McNaughton
-AGH Strategies - Andrew Hunt
+AGH Strategies - Andie Hunt
 Backoffice Thinking
 Chris Burgess
 Circle Interactive - Andrew Walker, Dave Jenkins
@@ -539,7 +539,7 @@ Adam Wight
 Alice Aguilar
 Allen Shaw
 Andres Spagarino
-Andrew Hunt
+Andie Hunt
 Anthony Camilleri
 Ariel Gold
 Brian Shaughnessy
diff --git a/civicrm/CRM/ACL/API.php b/civicrm/CRM/ACL/API.php
index 19c71c7924a9c3a411ed51b3997d3a437b8784f9..6319a5a6994316a433be3eae94abd7cced7bc8a0 100644
--- a/civicrm/CRM/ACL/API.php
+++ b/civicrm/CRM/ACL/API.php
@@ -38,6 +38,8 @@ class CRM_ACL_API {
    *
    * @return bool
    *   true if yes, else false
+   *
+   * @deprecated
    */
   public static function check($str, $contactID = NULL) {
     \CRM_Core_Error::deprecatedWarning(__CLASS__ . '::' . __FUNCTION__ . ' is deprecated.');
diff --git a/civicrm/CRM/ACL/BAO/ACL.php b/civicrm/CRM/ACL/BAO/ACL.php
index 6eb5d2fdcafc312876e94e0c16c010922fe5daf0..ea6bdd257d18783bba73a38a7304ac8da75d93bc 100644
--- a/civicrm/CRM/ACL/BAO/ACL.php
+++ b/civicrm/CRM/ACL/BAO/ACL.php
@@ -188,6 +188,8 @@ SELECT acl.*
    * @param int $contactID
    *
    * @return bool
+   *
+   * @deprecated
    */
   public static function check($str, $contactID) {
     \CRM_Core_Error::deprecatedWarning(__CLASS__ . '::' . __FUNCTION__ . ' is deprecated.');
diff --git a/civicrm/CRM/ACL/DAO/ACL.php b/civicrm/CRM/ACL/DAO/ACL.php
index 224fdba98c23935a1a350d2072ba526cba1e46f7..4bddbd0eb78960001506c6f1f6991eb9c56e0f63 100644
--- a/civicrm/CRM/ACL/DAO/ACL.php
+++ b/civicrm/CRM/ACL/DAO/ACL.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACL.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b7a575fdf29260fa003d73bd4d5942c5)
+ * (GenCodeChecksum:709746b9e63da79d9ee75de3a0687db4)
  */
 
 /**
diff --git a/civicrm/CRM/ACL/DAO/ACLCache.php b/civicrm/CRM/ACL/DAO/ACLCache.php
index cad2946ce483dcad46aafe0bd86e4b91dc8a4950..7fbc4bfaa64f1ccba2ef8942553e79b04c31b1dd 100644
--- a/civicrm/CRM/ACL/DAO/ACLCache.php
+++ b/civicrm/CRM/ACL/DAO/ACLCache.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACLCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:63a707737221d2c70efbc51d58711209)
+ * (GenCodeChecksum:6593794a6e82670ad992cc331c22f33e)
  */
 
 /**
diff --git a/civicrm/CRM/ACL/DAO/ACLEntityRole.php b/civicrm/CRM/ACL/DAO/ACLEntityRole.php
index 0c8b374a0ff8f798b3336d4f90cce1f6adec66ac..b085e2e640e06a8097f2f78a82477ce806835f43 100644
--- a/civicrm/CRM/ACL/DAO/ACLEntityRole.php
+++ b/civicrm/CRM/ACL/DAO/ACLEntityRole.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACLEntityRole.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b90187559ecba3c3d038c00a8b818ef4)
+ * (GenCodeChecksum:fe3bd0baaffcc93590b3285c6cf96fc1)
  */
 
 /**
@@ -134,6 +134,10 @@ class CRM_ACL_DAO_ACLEntityRole extends CRM_Core_DAO {
           'entity' => 'ACLEntityRole',
           'bao' => 'CRM_ACL_BAO_ACLEntityRole',
           'localizable' => 0,
+          'pseudoconstant' => [
+            'optionGroupName' => 'acl_role',
+            'optionEditPath' => 'civicrm/admin/options/acl_role',
+          ],
           'add' => '1.6',
         ],
         'entity_table' => [
diff --git a/civicrm/CRM/Activity/DAO/Activity.php b/civicrm/CRM/Activity/DAO/Activity.php
index f065ad021b7a293ac4b16af1100d4d281f57d9d8..3fd10d995eacf2dc8e0a904d25627a3256500f7c 100644
--- a/civicrm/CRM/Activity/DAO/Activity.php
+++ b/civicrm/CRM/Activity/DAO/Activity.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Activity/Activity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3e86dd56976cbc807306691e8fa94b0d)
+ * (GenCodeChecksum:3724c8dbc64bff361edd263e78780dbe)
  */
 
 /**
@@ -253,6 +253,15 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
     return $plural ? ts('Activities') : ts('Activity');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Past or future actions concerning one or more contacts.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
diff --git a/civicrm/CRM/Activity/DAO/ActivityContact.php b/civicrm/CRM/Activity/DAO/ActivityContact.php
index e155ecf0b180724527e99742428189911aab029d..cb434a9a451c3f896ff4ae47049ef50b1296b2ec 100644
--- a/civicrm/CRM/Activity/DAO/ActivityContact.php
+++ b/civicrm/CRM/Activity/DAO/ActivityContact.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Activity/ActivityContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0b5f5392a9786a52d7120f48d363092b)
+ * (GenCodeChecksum:9d55ecc09cc160c1cc41485bf7d026ef)
  */
 
 /**
diff --git a/civicrm/CRM/Activity/Page/AJAX.php b/civicrm/CRM/Activity/Page/AJAX.php
index f61df22bb47834308f3fa2e0efca83fadbee8bbb..7cf1613e2fa6cbf12b7113e06794b33cfad89659 100644
--- a/civicrm/CRM/Activity/Page/AJAX.php
+++ b/civicrm/CRM/Activity/Page/AJAX.php
@@ -88,7 +88,7 @@ class CRM_Activity_Page_AJAX {
       0, 0, 0, NULL, NULL, FALSE
     );
 
-    $caseRelationships = CRM_Case_BAO_Case::getCaseRoles($contactID, $caseID);
+    $caseRelationships = CRM_Case_BAO_Case::getCaseRoles($contactID, $caseID, NULL, FALSE);
 
     // Now build 'Other Relationships' array by removing relationships that are already listed under Case Roles
     // so they don't show up twice.
@@ -136,7 +136,7 @@ class CRM_Activity_Page_AJAX {
 
     $params = CRM_Core_Page_AJAX::defaultSortAndPagerParams();
 
-    $caseRelationships = CRM_Case_BAO_Case::getCaseRoles($contactID, $caseID);
+    $caseRelationships = CRM_Case_BAO_Case::getCaseRoles($contactID, $caseID, NULL, FALSE);
     $caseTypeName = CRM_Case_BAO_Case::getCaseType($caseID, 'name');
     $xmlProcessor = new CRM_Case_XMLProcessor_Process();
     $caseRoles = $xmlProcessor->get($caseTypeName, 'CaseRoles');
@@ -162,9 +162,11 @@ class CRM_Activity_Page_AJAX {
         $rel = [];
         $rel['relation'] = $value;
         $rel['relation_type'] = $id;
-        $rel['name'] = '(not assigned)';
+        $rel['sort_name'] = '(not assigned)';
         $rel['phone'] = '';
         $rel['email'] = '';
+        $rel['is_active'] = '';
+        $rel['end_date'] = '';
         $rel['source'] = 'caseRoles';
         $caseRelationships[] = $rel;
       }
@@ -172,10 +174,11 @@ class CRM_Activity_Page_AJAX {
         foreach ($value as $clientRole) {
           $relClient = [];
           $relClient['relation'] = ts('Client');
-          $relClient['name'] = $clientRole['sort_name'];
+          $relClient['sort_name'] = $clientRole['sort_name'];
           $relClient['phone'] = $clientRole['phone'];
           $relClient['email'] = $clientRole['email'];
           $relClient['cid'] = $clientRole['contact_id'];
+          $relClient['end_date'] = '';
           $relClient['source'] = 'contact';
           $caseRelationships[] = $relClient;
         }
@@ -196,6 +199,12 @@ class CRM_Activity_Page_AJAX {
 
     // set user name, email and edit columns links
     foreach ($caseRelationships as $key => &$row) {
+      // add disabled class if role is inactive
+      if (isset($row['is_active'])) {
+        if ($row['is_active'] == '0') {
+          $row['DT_RowClass'] = 'disabled';
+        }
+      }
       $typeLabel = $row['relation'];
       // Add "<br />(Case Manager)" to label
       if (!empty($row['relation_type']) && !empty($row['relationship_direction']) && $row['relation_type'] . '_' . $row['relationship_direction'] == $managerRoleId) {
@@ -203,13 +212,26 @@ class CRM_Activity_Page_AJAX {
       }
       // view user links
       if (!empty($row['cid'])) {
-        $row['name'] = '<a class="view-contact" title="' . ts('View Contact') . '" href=' . CRM_Utils_System::url('civicrm/contact/view',
-            'action=view&reset=1&cid=' . $row['cid']) . '>' . $row['name'] . '</a>';
+        $row['sort_name'] = '<a class="view-contact" title="' . ts('View Contact') . '" href=' . CRM_Utils_System::url('civicrm/contact/view',
+            'action=view&reset=1&cid=' . $row['cid']) . '>' . $row['sort_name'] . '</a>';
       }
       // email column links/icon
       if ($row['email']) {
         $row['email'] = '<a class="crm-hover-button crm-popup" href="' . CRM_Utils_System::url('civicrm/activity/email/add', 'reset=1&action=add&atype=3&cid=' . $row['cid']) . '&caseid=' . $caseID . '" title="' . ts('Send an Email') . '"><i class="crm-i fa-envelope" aria-hidden="true"></i></a>';
       }
+
+      // view end date if set
+      if (!empty($row['end_date'])) {
+        $row['end_date'] = CRM_Utils_Date::customFormat($row['end_date']);
+        // add disabled class if end date is less than equal to current date.
+        if (CRM_Utils_Date::overdue($row['end_date'])) {
+          $row['DT_RowClass'] = 'disabled';
+        }
+      }
+      else {
+        $row['end_date'] = '';
+      }
+
       // edit links
       $row['actions'] = '';
       if ($hasAccessToAllCases) {
@@ -217,12 +239,14 @@ class CRM_Activity_Page_AJAX {
         $contactType = $contactType == 'Contact' ? '' : $contactType;
         switch ($row['source']) {
           case 'caseRel':
-            $row['actions'] = '<a href="#editCaseRoleDialog" title="' . ts('Reassign %1', [1 => $typeLabel]) . '" class="crm-hover-button case-miniform" data-contact_type="' . $contactType . '" data-rel_type="' . $row['relation_type'] . '_' . $row['relationship_direction'] . '" data-cid="' . $row['cid'] . '" data-rel_id="' . $row['rel_id'] . '"data-key="' . CRM_Core_Key::get('civicrm/ajax/relation') . '">' .
-              '<i class="crm-i fa-pencil" aria-hidden="true"></i>' .
-              '</a>' .
-              '<a href="#deleteCaseRoleDialog" title="' . ts('Remove %1', [1 => $typeLabel]) . '" class="crm-hover-button case-miniform" data-contact_type="' . $contactType . '" data-rel_type="' . $row['relation_type'] . '_' . $row['relationship_direction'] . '" data-cid="' . $row['cid'] . '" data-key="' . CRM_Core_Key::get('civicrm/ajax/delcaserole') . '">' .
-              '<span class="icon delete-icon"></span>' .
-              '</a>';
+            if (empty($row['end_date'])) {
+              $row['actions'] = '<a href="#editCaseRoleDialog" title="' . ts('Reassign %1', [1 => $typeLabel]) . '" class="crm-hover-button case-miniform" data-contact_type="' . $contactType . '" data-rel_type="' . $row['relation_type'] . '_' . $row['relationship_direction'] . '" data-cid="' . $row['cid'] . '" data-rel_id="' . $row['rel_id'] . '"data-key="' . CRM_Core_Key::get('civicrm/ajax/relation') . '">' .
+                '<i class="crm-i fa-pencil" aria-hidden="true"></i>' .
+                '</a>' .
+                '<a href="#deleteCaseRoleDialog" title="' . ts('Remove %1', [1 => $typeLabel]) . '" class="crm-hover-button case-miniform" data-contact_type="' . $contactType . '" data-rel_type="' . $row['relation_type'] . '_' . $row['relationship_direction'] . '" data-cid="' . $row['cid'] . '" data-key="' . CRM_Core_Key::get('civicrm/ajax/delcaserole') . '">' .
+                '<span class="icon delete-icon"></span>' .
+                '</a>';
+            }
             break;
 
           case 'caseRoles':
@@ -397,6 +421,8 @@ class CRM_Activity_Page_AJAX {
 
     $params = CRM_Core_Page_AJAX::defaultSortAndPagerParams();
     $params += CRM_Core_Page_AJAX::validateParams($requiredParameters, $optionalParameters);
+    // $params will be modified later on, need to save original filters
+    $filterParams = $params;
 
     // To be consistent, the cid parameter should be renamed to contact_id in
     // the template file, see templates/CRM/Activity/Selector/Selector.tpl
@@ -416,6 +442,7 @@ class CRM_Activity_Page_AJAX {
 
     // store the activity filter preference CRM-11761
     if (Civi::settings()->get('preserve_activity_tab_filter') && ($userID = CRM_Core_Session::getLoggedInContactID())) {
+      $activityFilter = [];
       unset($optionalParameters['context']);
       foreach ($optionalParameters as $searchField => $dataType) {
         $formSearchField = $searchField;
@@ -425,8 +452,8 @@ class CRM_Activity_Page_AJAX {
         elseif ($searchField === 'activity_type_exclude_id') {
           $formSearchField = 'activity_type_exclude_filter_id';
         }
-        if (!empty($params[$searchField])) {
-          $activityFilter[$formSearchField] = $params[$searchField];
+        if (!empty($filterParams[$searchField])) {
+          $activityFilter[$formSearchField] = $filterParams[$searchField];
           if (in_array($searchField, ['activity_date_time_low', 'activity_date_time_high'])) {
             $activityFilter['activity_date_time_relative'] = 0;
           }
diff --git a/civicrm/CRM/Admin/Form/ScheduleReminders.php b/civicrm/CRM/Admin/Form/ScheduleReminders.php
index 15a7a24a5afd86a02a299e1650f646388e3be2c6..63db03dc69fe2e282603f0d9dd3c39a91e690b1a 100644
--- a/civicrm/CRM/Admin/Form/ScheduleReminders.php
+++ b/civicrm/CRM/Admin/Form/ScheduleReminders.php
@@ -216,6 +216,9 @@ class CRM_Admin_Form_ScheduleReminders extends CRM_Admin_Form {
     $this->add('text', 'from_name', ts('From Name'));
     $this->add('text', 'from_email', ts('From Email'));
 
+    $this->add('datepicker', 'effective_start_date', ts('Effective start date'), [], FALSE);
+    $this->add('datepicker', 'effective_end_date', ts('Effective end date'), [], FALSE);
+
     $recipientListingOptions = [];
 
     if ($mappingID) {
@@ -516,6 +519,8 @@ class CRM_Admin_Form_ScheduleReminders extends CRM_Admin_Form {
       'end_frequency_interval',
       'end_action',
       'end_date',
+      'effective_end_date',
+      'effective_start_date',
     ];
 
     if (empty($params['absolute_date'])) {
diff --git a/civicrm/CRM/Admin/Form/SettingTrait.php b/civicrm/CRM/Admin/Form/SettingTrait.php
index 4d96dcc6c66e35050b839118ae90b016c49620d1..21cad1f64ba80a1446ea88f4224ec147afacca49 100644
--- a/civicrm/CRM/Admin/Form/SettingTrait.php
+++ b/civicrm/CRM/Admin/Form/SettingTrait.php
@@ -85,9 +85,13 @@ trait CRM_Admin_Form_SettingTrait {
     // Handle quickform hateability just once, right here right now.
     $unsetValues = array_diff_key($this->_settings, $params);
     foreach ($unsetValues as $key => $unsetValue) {
-      if ($this->getQuickFormType($this->getSettingMetadata($key)) === 'CheckBox') {
+      $quickFormType = $this->getQuickFormType($this->getSettingMetadata($key));
+      if ($quickFormType === 'CheckBox') {
         $setValues[$key] = [$key => 0];
       }
+      elseif ($quickFormType === 'CheckBoxes') {
+        $setValues[$key] = [];
+      }
     }
     return $setValues;
   }
diff --git a/civicrm/CRM/Admin/Page/Admin.php b/civicrm/CRM/Admin/Page/Admin.php
index 8fb257635cabff3f79bd8bc21fa9591a589e92cf..c110c237abf975e83737d5dab62936b0c72d5ff5 100644
--- a/civicrm/CRM/Admin/Page/Admin.php
+++ b/civicrm/CRM/Admin/Page/Admin.php
@@ -28,8 +28,6 @@ class CRM_Admin_Page_Admin extends CRM_Core_Page {
   public function run() {
     Civi::resources()->addStyleFile('civicrm', 'css/admin.css');
 
-    $this->assign('registerSite', htmlspecialchars('https://civicrm.org/register-your-site?src=iam&sid=' . CRM_Utils_System::getSiteID()));
-
     $groups = [
       'Customize Data and Screens' => ts('Customize Data and Screens'),
       'Communications' => ts('Communications'),
diff --git a/civicrm/CRM/Api4/Page/Api4Explorer.php b/civicrm/CRM/Api4/Page/Api4Explorer.php
index 655800bfe596c0d48adb409bc2590e2d1c6eb57c..0f1125f5ca2c0aa1fe764fcc85ba8032125ca45e 100644
--- a/civicrm/CRM/Api4/Page/Api4Explorer.php
+++ b/civicrm/CRM/Api4/Page/Api4Explorer.php
@@ -10,7 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-use Civi\Api4\Service\Schema\Joinable\Joinable;
 use Civi\Api4\Utils\CoreUtil;
 
 /**
@@ -23,26 +22,17 @@ class CRM_Api4_Page_Api4Explorer extends CRM_Core_Page {
   public function run() {
     $apiDoc = new ReflectionFunction('civicrm_api4');
     $groupOptions = civicrm_api4('Group', 'getFields', ['loadOptions' => TRUE, 'select' => ['options', 'name'], 'where' => [['name', 'IN', ['visibility', 'group_type']]]]);
-    // Don't show n-to-many joins in Explorer
-    $entityLinks = (array) civicrm_api4('Entity', 'getLinks', [], ['entity' => 'links']);
-    foreach ($entityLinks as $entity => $links) {
-      $entityLinks[$entity] = array_filter($links, function($link) {
-        return $link['joinType'] != Joinable::JOIN_TYPE_ONE_TO_MANY;
-      });
-    }
+
     $vars = [
       'operators' => CoreUtil::getOperators(),
       'basePath' => Civi::resources()->getUrl('civicrm'),
       'schema' => (array) \Civi\Api4\Entity::get()->setChain(['fields' => ['$name', 'getFields']])->execute(),
-      'links' => $entityLinks,
       'docs' => \Civi\Api4\Utils\ReflectionUtils::parseDocBlock($apiDoc->getDocComment()),
       'functions' => self::getSqlFunctions(),
       'groupOptions' => array_column((array) $groupOptions, 'options', 'name'),
     ];
     Civi::resources()
-      ->addBundle('bootstrap3')
       ->addVars('api4', $vars)
-      ->addPermissions(['access debug output', 'edit groups', 'administer reserved groups'])
       ->addScriptFile('civicrm', 'bower_components/js-yaml/dist/js-yaml.min.js')
       ->addScriptFile('civicrm', 'bower_components/marked/marked.min.js')
       ->addScriptFile('civicrm', 'bower_components/google-code-prettify/bin/prettify.min.js')
diff --git a/civicrm/CRM/Batch/DAO/Batch.php b/civicrm/CRM/Batch/DAO/Batch.php
index 54ace21e85f6a5c0412c7870aacbcfe6bc8df346..4b303f08660dfd9f3353d06043ca920daef5dde4 100644
--- a/civicrm/CRM/Batch/DAO/Batch.php
+++ b/civicrm/CRM/Batch/DAO/Batch.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Batch/Batch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:960030e220b16f07d0b225e48a3ef2af)
+ * (GenCodeChecksum:965795e9c5cb8876ff6198abee5ffc71)
  */
 
 /**
diff --git a/civicrm/CRM/Batch/DAO/EntityBatch.php b/civicrm/CRM/Batch/DAO/EntityBatch.php
index f93193b3a645fc3f9a320aa36994136b1daba48c..c3108dae19581b8c281ff6a086ab84bcf8fc6375 100644
--- a/civicrm/CRM/Batch/DAO/EntityBatch.php
+++ b/civicrm/CRM/Batch/DAO/EntityBatch.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Batch/EntityBatch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b44598a5cc827e632f2c9fb663f2bed3)
+ * (GenCodeChecksum:9a6509e0c6f8869d4cdaeebd7e0073a3)
  */
 
 /**
diff --git a/civicrm/CRM/Batch/Form/Entry.php b/civicrm/CRM/Batch/Form/Entry.php
index eb485ceb97c6e93ebe91344c752a2042b057edb3..ff306545cf55312c39d85b998dccf0625a4c740c 100644
--- a/civicrm/CRM/Batch/Form/Entry.php
+++ b/civicrm/CRM/Batch/Form/Entry.php
@@ -694,10 +694,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
 
         //send receipt mail.
         if ($contribution->id && !empty($value['send_receipt'])) {
-          // add the domain email id
-          $domainEmail = CRM_Core_BAO_Domain::getNameAndEmail();
-          $domainEmail = "$domainEmail[0] <$domainEmail[1]>";
-          $value['from_email_address'] = $domainEmail;
+          $value['from_email_address'] = $this->getFromEmailAddress();
           $value['contribution_id'] = $contribution->id;
           if (!empty($value['soft_credit'])) {
             $value = array_merge($value, CRM_Contribute_BAO_ContributionSoft::getSoftContribution($contribution->id));
@@ -720,6 +717,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
    *
    * @throws \CRM_Core_Exception
    * @throws \CiviCRM_API3_Exception
+   * @throws \API_Exception
    */
   private function processMembership(array $params) {
     $batchTotal = 0;
@@ -740,39 +738,18 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
             $value[$fieldKey] = CRM_Utils_Rule::cleanMoney($fieldValue);
           }
         }
+        $value = $this->standardiseRow($value);
 
         // update contact information
         $this->updateContactInfo($value);
 
-        $membershipTypeId = $value['membership_type_id'] = $value['membership_type'][1];
-
-        if (!empty($value['membership_source'])) {
-          $value['source'] = $value['membership_source'];
-        }
-
-        unset($value['membership_source']);
-
-        //Get the membership status
-        if (!empty($value['membership_status'])) {
-          $value['status_id'] = $value['membership_status'];
-          unset($value['membership_status']);
-        }
-
         //check for custom data
         $value['custom'] = CRM_Core_BAO_CustomField::postProcess($params['field'][$key],
           $key,
           'Membership',
-          $membershipTypeId
+          $value['membership_type_id']
         );
 
-        if (!empty($value['financial_type'])) {
-          $value['financial_type_id'] = $value['financial_type'];
-        }
-
-        if (!empty($value['payment_instrument'])) {
-          $value['payment_instrument_id'] = $value['payment_instrument'];
-        }
-
         // handle soft credit
         if (!empty($params['soft_credit_contact_id'][$key]) && !empty($params['soft_credit_amount'][$key])) {
           $value['soft_credit'][$key]['contact_id'] = $params['soft_credit_contact_id'][$key];
@@ -787,76 +764,37 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
             $value['soft_credit'][$key]['soft_credit_type_id'] = CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_ContributionSoft', 'soft_credit_type_id', 'Gift');
           }
         }
-        if (!empty($value['total_amount'])) {
-          $value['total_amount'] = (float) $value['total_amount'];
-        }
-
         $batchTotal += $value['total_amount'];
-
-        unset($value['financial_type']);
-        unset($value['payment_instrument']);
-
         $value['batch_id'] = $this->_batchId;
         $value['skipRecentView'] = TRUE;
 
-        // make entry in line item for contribution
-
-        $editedFieldParams = [
-          'price_set_id' => $priceSetId,
-          'name' => $value['membership_type'][0],
-        ];
-
-        $editedResults = [];
-        CRM_Price_BAO_PriceField::retrieve($editedFieldParams, $editedResults);
-
-        if (!empty($editedResults)) {
-          unset($this->_priceSet['fields']);
-          $this->_priceSet['fields'][$editedResults['id']] = $priceSets['fields'][$editedResults['id']];
-          unset($this->_priceSet['fields'][$editedResults['id']]['options']);
-          $fid = $editedResults['id'];
-          $editedFieldParams = [
-            'price_field_id' => $editedResults['id'],
-            'membership_type_id' => $value['membership_type_id'],
-          ];
-
-          $editedResults = [];
-          CRM_Price_BAO_PriceFieldValue::retrieve($editedFieldParams, $editedResults);
-          $this->_priceSet['fields'][$fid]['options'][$editedResults['id']] = $priceSets['fields'][$fid]['options'][$editedResults['id']];
-          if (!empty($value['total_amount'])) {
-            $this->_priceSet['fields'][$fid]['options'][$editedResults['id']]['amount'] = $value['total_amount'];
-          }
-
-          $fieldID = key($this->_priceSet['fields']);
-          $value['price_' . $fieldID] = $editedResults['id'];
-
-          $lineItem = [];
-          CRM_Price_BAO_PriceSet::processAmount($this->_priceSet['fields'],
-            $value, $lineItem[$priceSetId]
-          );
-
-          //CRM-11529 for backoffice transactions
-          //when financial_type_id is passed in form, update the
-          //lineitems with the financial type selected in form
-          if (!empty($value['financial_type_id']) && !empty($lineItem[$priceSetId])) {
-            foreach ($lineItem[$priceSetId] as &$values) {
-              $values['financial_type_id'] = $value['financial_type_id'];
-            }
-          }
-
-          $value['lineItems'] = $lineItem;
+        $order = new CRM_Financial_BAO_Order();
+        // We use the override total amount because we are dealing with a
+        // possibly tax_inclusive total, which is assumed for the override total.
+        $order->setOverrideTotalAmount($value['total_amount']);
+        $order->setLineItem([
+          'membership_type_id' => $value['membership_type_id'],
+          'financial_type_id' => $value['financial_type_id'],
+        ], $key);
+
+        if (!empty($order->getLineItems())) {
+          $value['lineItems'] = [$order->getPriceSetID() => $order->getPriceFieldIndexedLineItems()];
           $value['processPriceSet'] = TRUE;
         }
         // end of contribution related section
 
-        unset($value['membership_type']);
-
+        $membershipParams = [
+          'start_date' => $value['membership_start_date'] ?? NULL,
+          'end_date' => $value['membership_end_date'] ?? NULL,
+          'join_date' => $value['membership_join_date'] ?? NULL,
+          'campaign_id' => $value['member_campaign_id'] ?? NULL,
+        ];
         $value['is_renew'] = FALSE;
         if (!empty($params['member_option']) && CRM_Utils_Array::value($key, $params['member_option']) == 2) {
 
           // The following parameter setting may be obsolete.
           $this->_params = $params;
           $value['is_renew'] = TRUE;
-          $isPayLater = $params['is_pay_later'] ?? NULL;
 
           $formDates = [
             'end_date' => $value['membership_end_date'] ?? NULL,
@@ -865,7 +803,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
           $membershipSource = $value['source'] ?? NULL;
           $membership = $this->legacyProcessMembership(
             $value['contact_id'], $value['membership_type_id'],
-            $value['custom'], $membershipSource, $isPayLater, ['campaign_id' => $value['member_campaign_id'] ?? NULL], $formDates
+            $value['custom'], $membershipSource, ['campaign_id' => $value['member_campaign_id'] ?? NULL], $formDates
           );
 
           // make contribution entry
@@ -877,17 +815,9 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
           $this->setCurrentRowMembershipID($membership->id);
         }
         else {
-          $calcDates = CRM_Member_BAO_MembershipType::getDatesForMembershipType($membershipTypeId,
-            $value['membership_join_date'] ?? NULL, $value['membership_start_date'] ?? NULL, $value['membership_end_date'] ?? NULL
-          );
-          $value['join_date'] = $value['membership_join_date'] ?? $calcDates['join_date'];
-          $value['start_date'] = $value['membership_start_date'] ?? $calcDates['start_date'];
-          $value['end_date'] = $value['membership_end_date'] ?? $calcDates['end_date'];
-
-          unset($value['membership_start_date']);
-          unset($value['membership_end_date']);
-          $membership = CRM_Member_BAO_Membership::create($value);
-          $this->setCurrentRowMembershipID($membership->id);
+          // @todo - specify the relevant fields - don't copy all over
+          $membershipParams = array_merge($value, $membershipParams);
+          $membership = CRM_Member_BAO_Membership::create($membershipParams);
         }
 
         //process premiums
@@ -914,12 +844,6 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
 
         //send receipt mail.
         if ($membership->id && !empty($value['send_receipt'])) {
-
-          // add the domain email id
-          $domainEmail = CRM_Core_BAO_Domain::getNameAndEmail();
-          $domainEmail = "$domainEmail[0] <$domainEmail[1]>";
-
-          $value['from_email_address'] = $domainEmail;
           $value['membership_id'] = $membership->id;
           $this->emailReceipt($this, $value, $membership);
         }
@@ -939,17 +863,14 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
    *
    * @return bool
    *   true if mail was sent successfully
-   * @throws \CRM_Core_Exception
+   * @throws \CRM_Core_Exception|\API_Exception
    *
    * @deprecated
    *   This function is shared with Batch_Entry which has limited overlap
    *   & needs rationalising.
    *
    */
-  public function emailReceipt($form, &$formValues, $membership) {
-    // retrieve 'from email id' for acknowledgement
-    $receiptFrom = $formValues['from_email_address'] ?? NULL;
-
+  protected function emailReceipt($form, &$formValues, $membership): bool {
     // @todo figure out how much of the stuff below is genuinely shared with the batch form & a logical shared place.
     if (!empty($formValues['payment_instrument_id'])) {
       $paymentInstrument = CRM_Contribute_PseudoConstant::paymentInstrument();
@@ -991,7 +912,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
         'groupName' => 'msg_tpl_workflow_membership',
         'valueName' => 'membership_offline_receipt',
         'contactId' => $form->_receiptContactId,
-        'from' => $receiptFrom,
+        'from' => $this->getFromEmailAddress(),
         'toName' => $form->_contributorDisplayName,
         'toEmail' => $form->_contributorEmail,
         'PDFFilename' => ts('receipt') . '.pdf',
@@ -1071,7 +992,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
    * @throws \CRM_Core_Exception
    * @throws \CiviCRM_API3_Exception
    */
-  protected function legacyProcessMembership($contactID, $membershipTypeID, $customFieldsFormatted, $membershipSource, $isPayLater, $memParams = [], $formDates = []): CRM_Member_BAO_Membership {
+  protected function legacyProcessMembership($contactID, $membershipTypeID, $customFieldsFormatted, $membershipSource, $memParams = [], $formDates = []): CRM_Member_BAO_Membership {
     $updateStatusId = FALSE;
     $changeToday = NULL;
     $is_test = FALSE;
@@ -1085,6 +1006,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
     $statusFormat = '%Y-%m-%d';
     $membershipTypeDetails = CRM_Member_BAO_MembershipType::getMembershipType($membershipTypeID);
     $ids = [];
+    $isPayLater = NULL;
 
     // CRM-7297 - allow membership type to be be changed during renewal so long as the parent org of new membershipType
     // is the same as the parent org of an existing membership of the contact
@@ -1278,4 +1200,46 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
     return $membership;
   }
 
+  /**
+   * @return string
+   * @throws \CRM_Core_Exception
+   */
+  private function getFromEmailAddress(): string {
+    $domainEmail = CRM_Core_BAO_Domain::getNameAndEmail();
+    return "$domainEmail[0] <$domainEmail[1]>";
+  }
+
+  /**
+   * Standardise the values in the row from profile-weirdness to civi-standard.
+   *
+   * The row uses odd field names such as financial_type rather than financial
+   * type id. We standardise at this point.
+   *
+   * @param array $row
+   *
+   * @return array
+   */
+  private function standardiseRow(array $row): array {
+    $renameFieldMapping = [
+      'financial_type' => 'financial_type_id',
+      'payment_instrument' => 'payment_instrument_id',
+      'membership_source' => 'source',
+      'membership_status' => 'status_id',
+    ];
+    foreach ($renameFieldMapping as $weirdProfileName => $betterName) {
+      // Check if isset as some like payment instrument and source are optional.
+      if (isset($row[$weirdProfileName]) && empty($row[$betterName])) {
+        $row[$betterName] = $row[$weirdProfileName];
+        unset($row[$weirdProfileName]);
+      }
+    }
+
+    // The latter format would be normal here - it's unclear if it is sometimes in the former format.
+    $row['membership_type_id'] = $row['membership_type_id'] ?? $row['membership_type'][1];
+    unset($row['membership_type']);
+    // total_amount is required.
+    $row['total_amount'] = (float) $row['total_amount'];
+    return $row;
+  }
+
 }
diff --git a/civicrm/CRM/Campaign/DAO/Campaign.php b/civicrm/CRM/Campaign/DAO/Campaign.php
index 25ebb4f9822158633954fd387e1e804738cf68c0..882f5b8deddeed49d6963ba098db202dd5e0eeba 100644
--- a/civicrm/CRM/Campaign/DAO/Campaign.php
+++ b/civicrm/CRM/Campaign/DAO/Campaign.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/Campaign.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a27331994abb64995fc5491434eeed7f)
+ * (GenCodeChecksum:9d4da1f7966af86e8426aa449826f41c)
  */
 
 /**
@@ -193,6 +193,15 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
     return $plural ? ts('Campaigns') : ts('Campaign');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Campaigns link activities, contributions, mailings, etc. that share a programmatic goal.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
diff --git a/civicrm/CRM/Campaign/DAO/CampaignGroup.php b/civicrm/CRM/Campaign/DAO/CampaignGroup.php
index 7750d453874e760bb6e880fd8cf95e3a0e4b5d01..4e57abbf6c592016faff5d32e752655e95dbf122 100644
--- a/civicrm/CRM/Campaign/DAO/CampaignGroup.php
+++ b/civicrm/CRM/Campaign/DAO/CampaignGroup.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/CampaignGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2cc4c72732eccbe071147fea0abb4aef)
+ * (GenCodeChecksum:223af3013edf80baca1b0cde031cad41)
  */
 
 /**
diff --git a/civicrm/CRM/Campaign/DAO/Survey.php b/civicrm/CRM/Campaign/DAO/Survey.php
index f3fb7e1bec008fc2818ac6e9f169f2bcc7327df1..ff8493c33f60235a6a77193924c8aa70bba303ae 100644
--- a/civicrm/CRM/Campaign/DAO/Survey.php
+++ b/civicrm/CRM/Campaign/DAO/Survey.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/Survey.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:64142d8dce39f27b66b36f62ba137b74)
+ * (GenCodeChecksum:4b168e929887a0c86a634bb72d4f317a)
  */
 
 /**
diff --git a/civicrm/CRM/Case/BAO/Case.php b/civicrm/CRM/Case/BAO/Case.php
index 1b10f46331c6240adcd67c6e03454eb3b69fff6a..65846ce83a614558131b6644bb781cccc1572357 100644
--- a/civicrm/CRM/Case/BAO/Case.php
+++ b/civicrm/CRM/Case/BAO/Case.php
@@ -805,6 +805,8 @@ SELECT civicrm_case.id, case_status.label AS case_status, status_id, civicrm_cas
             civicrm_email.email as email,
             civicrm_phone.phone as phone,
             con.id as civicrm_contact_id,
+            rel.is_active as is_active,
+            rel.end_date as end_date,
             IF(rel.contact_id_a = %1, civicrm_relationship_type.label_a_b, civicrm_relationship_type.label_b_a) as relation,
             civicrm_relationship_type.id as relation_type,
             IF(rel.contact_id_a = %1, "a_b", "b_a") as relationship_direction
@@ -829,6 +831,7 @@ SELECT civicrm_case.id, case_status.label AS case_status, status_id, civicrm_cas
       $query .= ' AND rel.id = %3 ';
       $params[3] = [$relationshipID, 'Integer'];
     }
+
     $dao = CRM_Core_DAO::executeQuery($query, $params);
 
     $values = [];
@@ -836,9 +839,11 @@ SELECT civicrm_case.id, case_status.label AS case_status, status_id, civicrm_cas
       $rid = $dao->civicrm_relationship_id;
       $values[$rid]['cid'] = $dao->civicrm_contact_id;
       $values[$rid]['relation'] = $dao->relation;
-      $values[$rid]['name'] = $dao->sort_name;
+      $values[$rid]['sort_name'] = $dao->sort_name;
       $values[$rid]['email'] = $dao->email;
       $values[$rid]['phone'] = $dao->phone;
+      $values[$rid]['is_active'] = $dao->is_active;
+      $values[$rid]['end_date'] = $dao->end_date;
       $values[$rid]['relation_type'] = $dao->relation_type;
       $values[$rid]['rel_id'] = $dao->civicrm_relationship_id;
       $values[$rid]['client_id'] = $contactID;
@@ -1752,20 +1757,24 @@ HERESQL;
       if (substr($managerRoleId, -4) == '_a_b') {
         $managerRoleQuery = "
           SELECT civicrm_contact.id as casemanager_id,
-                 civicrm_contact.sort_name as casemanager
+                 civicrm_contact.sort_name as casemanager,
+                 civicrm_relationship.is_active,
+                 civicrm_relationship.end_date
            FROM civicrm_contact
            LEFT JOIN civicrm_relationship ON (civicrm_relationship.contact_id_b = civicrm_contact.id AND civicrm_relationship.relationship_type_id = %1) AND civicrm_relationship.is_active
            LEFT JOIN civicrm_case ON civicrm_case.id = civicrm_relationship.case_id
-           WHERE civicrm_case.id = %2 AND is_active = 1";
+           WHERE civicrm_case.id = %2";
       }
       if (substr($managerRoleId, -4) == '_b_a') {
         $managerRoleQuery = "
           SELECT civicrm_contact.id as casemanager_id,
-                 civicrm_contact.sort_name as casemanager
+                 civicrm_contact.sort_name as casemanager,
+                 civicrm_relationship.is_active,
+                 civicrm_relationship.end_date
            FROM civicrm_contact
            LEFT JOIN civicrm_relationship ON (civicrm_relationship.contact_id_a = civicrm_contact.id AND civicrm_relationship.relationship_type_id = %1) AND civicrm_relationship.is_active
            LEFT JOIN civicrm_case ON civicrm_case.id = civicrm_relationship.case_id
-           WHERE civicrm_case.id = %2 AND is_active = 1";
+           WHERE civicrm_case.id = %2";
       }
 
       $managerRoleParams = [
@@ -1774,10 +1783,28 @@ HERESQL;
       ];
 
       $dao = CRM_Core_DAO::executeQuery($managerRoleQuery, $managerRoleParams);
-      if ($dao->fetch()) {
+      // Pull an array of ALL case managers related to the case.
+      $caseManagerNameArray = [];
+      while ($dao->fetch()) {
+        $caseManagerNameArray[$dao->casemanager_id]['casemanager_id'] = $dao->casemanager_id;
+        $caseManagerNameArray[$dao->casemanager_id]['is_active'] = $dao->is_active;
+        $caseManagerNameArray[$dao->casemanager_id]['end_date'] = $dao->end_date;
+        $caseManagerNameArray[$dao->casemanager_id]['casemanager'] = $dao->casemanager;
+      }
+
+      // Look for an active case manager, when no active case manager (like a closed case) show the most recently expired case manager.
+      // Get the index of the manager if set to active
+      $activekey = array_search(1, array_combine(array_keys($caseManagerNameArray), array_column($caseManagerNameArray, 'is_active')));
+      if (!empty($activekey)) {
+        $caseManagerName = sprintf('<a href="%s">%s</a>',
+          CRM_Utils_System::url('civicrm/contact/view', ['cid' => $activekey]), $caseManagerNameArray[$activekey]['casemanager']
+        );
+      }
+      elseif (!empty($caseManagerNameArray)) {
+        // if there is no active case manager, get the index of the most recent end_date
+        $max = array_search(max(array_combine(array_keys($caseManagerNameArray), array_column($caseManagerNameArray, 'end_date'))), array_combine(array_keys($caseManagerNameArray), array_column($caseManagerNameArray, 'end_date')));
         $caseManagerName = sprintf('<a href="%s">%s</a>',
-          CRM_Utils_System::url('civicrm/contact/view', ['cid' => $dao->casemanager_id]),
-          $dao->casemanager
+          CRM_Utils_System::url('civicrm/contact/view', ['cid' => $max]), $caseManagerNameArray[$max]['casemanager']
         );
       }
     }
diff --git a/civicrm/CRM/Case/DAO/Case.php b/civicrm/CRM/Case/DAO/Case.php
index 79798ad08383c98a6e9fc13cdd91fcbef4243632..9d5a50a43349c80a12ed8955c9e4faa417e292d6 100644
--- a/civicrm/CRM/Case/DAO/Case.php
+++ b/civicrm/CRM/Case/DAO/Case.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/Case.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:27e15fc1d0e3517884c9773d25806620)
+ * (GenCodeChecksum:1ae35a7a60938212678c1585defc3506)
  */
 
 /**
@@ -131,6 +131,15 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
     return $plural ? ts('Cases') : ts('Case');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Collections of activities and relationships for a given purpose.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
diff --git a/civicrm/CRM/Case/DAO/CaseActivity.php b/civicrm/CRM/Case/DAO/CaseActivity.php
index a3176fdcb5585c9f0850dcdd7cd070e00ff4b210..d887ef82de6117adb2eafed66d31bf7e1d1611c4 100644
--- a/civicrm/CRM/Case/DAO/CaseActivity.php
+++ b/civicrm/CRM/Case/DAO/CaseActivity.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseActivity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d100a5f236a3bb8d64c4aaa61b8c6c2c)
+ * (GenCodeChecksum:e5c1c45fc5dc666a02a3c1e872ba9a2b)
  */
 
 /**
diff --git a/civicrm/CRM/Case/DAO/CaseContact.php b/civicrm/CRM/Case/DAO/CaseContact.php
index fdee0d96dd9c57b8969e274b28529c260bf99436..5cafa972a8475bb165a3c710bec4ffd0615c7af2 100644
--- a/civicrm/CRM/Case/DAO/CaseContact.php
+++ b/civicrm/CRM/Case/DAO/CaseContact.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:18adf9ee53d1c7f6c5eddfc1e6b8709d)
+ * (GenCodeChecksum:e7ecd6e1648086f8925bad0dda6bec31)
  */
 
 /**
diff --git a/civicrm/CRM/Case/DAO/CaseType.php b/civicrm/CRM/Case/DAO/CaseType.php
index 5e7ef8c341ab5d69fb537fc54d1c1b0f0b05b738..ec47d3d698c98964e15c18fba2f788ee4170c67e 100644
--- a/civicrm/CRM/Case/DAO/CaseType.php
+++ b/civicrm/CRM/Case/DAO/CaseType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b2ffb684b29a774f07bd06851722f17d)
+ * (GenCodeChecksum:9080f32e76695319d1e6110372c0900c)
  */
 
 /**
diff --git a/civicrm/CRM/Case/Form/CaseView.php b/civicrm/CRM/Case/Form/CaseView.php
index 9e71a0cd1a6b060cb5f7de27399c894b74dc74ed..45a659fcd075e5ac2751045404f76d39d00968a2 100644
--- a/civicrm/CRM/Case/Form/CaseView.php
+++ b/civicrm/CRM/Case/Form/CaseView.php
@@ -78,12 +78,18 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form {
     $statuses = CRM_Case_PseudoConstant::caseStatus('label', FALSE);
     $caseTypeName = CRM_Case_BAO_Case::getCaseType($this->_caseID, 'name');
     $caseType = CRM_Case_BAO_Case::getCaseType($this->_caseID);
+    $statusClass = civicrm_api3('OptionValue', 'getsingle', [
+      'option_group_id' => "case_status",
+      'value' => $values['case_status_id'],
+      'return' => 'grouping',
+    ]);
 
     $this->_caseDetails = [
       'case_type' => $caseType,
       'case_status' => $statuses[$values['case_status_id']] ?? NULL,
       'case_subject' => $values['subject'] ?? NULL,
       'case_start_date' => $values['case_start_date'],
+      'status_class' => $statusClass['grouping'],
     ];
     $this->_caseType = $caseTypeName;
     $this->assign('caseDetails', $this->_caseDetails);
@@ -286,7 +292,7 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form {
     self::activityForm($this, $aTypes);
 
     //get case related relationships (Case Role)
-    $caseRelationships = CRM_Case_BAO_Case::getCaseRoles($this->_contactID, $this->_caseID);
+    $caseRelationships = CRM_Case_BAO_Case::getCaseRoles($this->_contactID, $this->_caseID, NULL, FALSE);
 
     //save special label because we unset it in the loop
     $managerLabel = empty($managerRoleId) ? '' : $caseRoles[$managerRoleId];
@@ -467,7 +473,7 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form {
     //build reporter select
     $reporters = ["" => ts(' - any reporter - ')];
     foreach ($caseRelationships as $key => & $value) {
-      $reporters[$value['cid']] = $value['name'] . " ( {$value['relation']} )";
+      $reporters[$value['cid']] = $value['sort_name'] . " ( {$value['relation']} )";
     }
     $form->add('select', 'reporter_id', ts('Reporter/Role'), $reporters, FALSE, ['id' => 'reporter_id_' . $form->_caseID]);
 
diff --git a/civicrm/CRM/Case/Page/DashBoard.php b/civicrm/CRM/Case/Page/DashBoard.php
index 856837855a70826b7665d18f552b73c644fe9271..7a24af22cea6027fb74137b9b11a8d817aec003b 100644
--- a/civicrm/CRM/Case/Page/DashBoard.php
+++ b/civicrm/CRM/Case/Page/DashBoard.php
@@ -72,12 +72,8 @@ class CRM_Case_Page_DashBoard extends CRM_Core_Page {
     $recent = CRM_Case_BAO_Case::getCases($allCases, ['type' => 'recent'], 'dashboard', TRUE);
 
     $this->assign('casesSummary', $summary);
-    if (!empty($upcoming)) {
-      $this->assign('upcomingCases', TRUE);
-    }
-    if (!empty($recent)) {
-      $this->assign('recentCases', TRUE);
-    }
+    $this->assign('upcomingCases', !empty($upcoming));
+    $this->assign('recentCases', !empty($recent));
 
     $controller = new CRM_Core_Controller_Simple('CRM_Case_Form_Search',
       ts('Case'), CRM_Core_Action::BROWSE,
diff --git a/civicrm/CRM/Contact/BAO/Contact/Utils.php b/civicrm/CRM/Contact/BAO/Contact/Utils.php
index 70655e2ba1b37f404d7aa1b53d92185dc331035d..84aa8fb09d4ac58981884712ccb434e07c33f592 100644
--- a/civicrm/CRM/Contact/BAO/Contact/Utils.php
+++ b/civicrm/CRM/Contact/BAO/Contact/Utils.php
@@ -177,7 +177,7 @@ WHERE  id IN ( $idString )
     }
 
     if (!$ts) {
-      $ts = time();
+      $ts = CRM_Utils_Time::time();
     }
 
     if (!$live) {
diff --git a/civicrm/CRM/Contact/DAO/ACLContactCache.php b/civicrm/CRM/Contact/DAO/ACLContactCache.php
index 9279d1dab13b2de6e4836462d0f8954024d46c07..50bdac46fbba21f3efc234e63a0af4bb8cc4f588 100644
--- a/civicrm/CRM/Contact/DAO/ACLContactCache.php
+++ b/civicrm/CRM/Contact/DAO/ACLContactCache.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ACLContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e1095c2503a3ec13bd3f781ce1df1aaf)
+ * (GenCodeChecksum:912d65e10ee9243dfa3cbe089e2a4ae3)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/DAO/Contact.php b/civicrm/CRM/Contact/DAO/Contact.php
index 505b150ed560aa03e16182fd057c47edcb6cbf22..2d92c545d622bb3d442aa58f7ee836f363e403d3 100644
--- a/civicrm/CRM/Contact/DAO/Contact.php
+++ b/civicrm/CRM/Contact/DAO/Contact.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Contact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:aa86c226e54f7c7f8a8ad6b5e8c8aa5a)
+ * (GenCodeChecksum:5a83ff9bd2a1837caa260151fa56f3ac)
  */
 
 /**
@@ -424,6 +424,15 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
     return $plural ? ts('Contacts') : ts('Contact');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Individuals, organizations, households, etc.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
diff --git a/civicrm/CRM/Contact/DAO/ContactType.php b/civicrm/CRM/Contact/DAO/ContactType.php
index 63d4d17a17b8ee03600a277866379522fe53f2b5..26db28868a1b5ae41eb4f66ed41756982a0dafe7 100644
--- a/civicrm/CRM/Contact/DAO/ContactType.php
+++ b/civicrm/CRM/Contact/DAO/ContactType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ContactType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:40856f91e0f1928df248e985eb4ae479)
+ * (GenCodeChecksum:f1913952f114c2ac041dfba5fef49d5d)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/DAO/DashboardContact.php b/civicrm/CRM/Contact/DAO/DashboardContact.php
index cd01949fa52f71ad2cc08c0e2fa6c02c136b00c7..8cf85d6ef71a56bc379ad35d45e1bf4332ea43da 100644
--- a/civicrm/CRM/Contact/DAO/DashboardContact.php
+++ b/civicrm/CRM/Contact/DAO/DashboardContact.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/DashboardContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:61c7e21d25723963142a22bca0a4840e)
+ * (GenCodeChecksum:a2eac9e772485e4a551738ad107dc209)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/DAO/Group.php b/civicrm/CRM/Contact/DAO/Group.php
index 71832748b6e272ec102f96aa6b8b1aca8c2e14b5..5631e77581ba2153c92514f220680b0726a274a8 100644
--- a/civicrm/CRM/Contact/DAO/Group.php
+++ b/civicrm/CRM/Contact/DAO/Group.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Group.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a1580f6293c41ecbf8aa0bc2f6246d36)
+ * (GenCodeChecksum:29b3646b12fccdf8a2d561dc483c8980)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/DAO/GroupContact.php b/civicrm/CRM/Contact/DAO/GroupContact.php
index 9271b0143774fd5d128e52d87f7af16f1835b091..a00fcd6728bf2bf67670797677fed307f6cc6657 100644
--- a/civicrm/CRM/Contact/DAO/GroupContact.php
+++ b/civicrm/CRM/Contact/DAO/GroupContact.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9f48934735df21bb6b4f9a5d7e1bd70b)
+ * (GenCodeChecksum:53a34c1b6c96fe915f0ab57b93994b72)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/DAO/GroupContactCache.php b/civicrm/CRM/Contact/DAO/GroupContactCache.php
index 50523339055c0d9e010a99d6fe706e71002fef2d..5b5e5bfa96d10b1476cf8de8dce47d58ab0e87ad 100644
--- a/civicrm/CRM/Contact/DAO/GroupContactCache.php
+++ b/civicrm/CRM/Contact/DAO/GroupContactCache.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:294c8ab665d49fcddebe5d1d79307dd4)
+ * (GenCodeChecksum:26ac45cd1045e34353ef787013eeb84c)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/DAO/GroupNesting.php b/civicrm/CRM/Contact/DAO/GroupNesting.php
index 9359b59fa22f53c57e2f1e49566dceef79c4d2ba..80d27a44d7695a875ba9a6b682c3d343ed211a9c 100644
--- a/civicrm/CRM/Contact/DAO/GroupNesting.php
+++ b/civicrm/CRM/Contact/DAO/GroupNesting.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupNesting.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a4b5533a1c6ef550d3057dee8ce53efc)
+ * (GenCodeChecksum:a2d08c11cd6a0aedbcdf816fdb772839)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/DAO/GroupOrganization.php b/civicrm/CRM/Contact/DAO/GroupOrganization.php
index 9fee19ee270a5ab9cac8b1c546e12d1c2fef0e6b..807465028f697ca83edb4b6235b2a0c7200148f0 100644
--- a/civicrm/CRM/Contact/DAO/GroupOrganization.php
+++ b/civicrm/CRM/Contact/DAO/GroupOrganization.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupOrganization.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:18934ada33c41380e719798d5f8550e8)
+ * (GenCodeChecksum:406b553dbbfbfbf54fa3d32bc1e9fecc)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/DAO/Relationship.php b/civicrm/CRM/Contact/DAO/Relationship.php
index 211536c505bba9013c9d55ed813c39349a252ebe..5c2783fceed22e16ead33b44b4cb87b8a89a1422 100644
--- a/civicrm/CRM/Contact/DAO/Relationship.php
+++ b/civicrm/CRM/Contact/DAO/Relationship.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Relationship.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a10cc7576dc2353519a6c572435fb10a)
+ * (GenCodeChecksum:402d6e2cc8ffa3be531d291a20f59560)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/DAO/RelationshipCache.php b/civicrm/CRM/Contact/DAO/RelationshipCache.php
index e61073232a58cd242e35ed36401436916352e5a0..2adb4eea5cde731776789c5be29aa9ef39863b85 100644
--- a/civicrm/CRM/Contact/DAO/RelationshipCache.php
+++ b/civicrm/CRM/Contact/DAO/RelationshipCache.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dd52d37d1350a679b727c906ea37661b)
+ * (GenCodeChecksum:0ebd9cc2623ee84848476636cfe86dcb)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/DAO/RelationshipType.php b/civicrm/CRM/Contact/DAO/RelationshipType.php
index 38ff8fc775e7625d639e5ce5585485a90bff1b29..7b8d02c91c1e81ab1743c0e50e3a974db598b9f6 100644
--- a/civicrm/CRM/Contact/DAO/RelationshipType.php
+++ b/civicrm/CRM/Contact/DAO/RelationshipType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:900900618e15312139bf51a922485802)
+ * (GenCodeChecksum:59f2be616e7324c1a2b34e840b24beb2)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/DAO/SavedSearch.php b/civicrm/CRM/Contact/DAO/SavedSearch.php
index 2f607703c1b0b3c453b1a32e81c599059c3ffc81..c0ecd2a212d3c9626139c8ef968a7f7feb6feed1 100644
--- a/civicrm/CRM/Contact/DAO/SavedSearch.php
+++ b/civicrm/CRM/Contact/DAO/SavedSearch.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/SavedSearch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8a25df5165c48a42f0280efe9eb262d5)
+ * (GenCodeChecksum:c884fe02dfd203d381429f83672e1a9e)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/DAO/SubscriptionHistory.php b/civicrm/CRM/Contact/DAO/SubscriptionHistory.php
index 5de4c8515cdfa97ee6767c8ce51ef5044ea82362..9aa23278b50e1b88c3ddbe2f8a4b3aac9704951f 100644
--- a/civicrm/CRM/Contact/DAO/SubscriptionHistory.php
+++ b/civicrm/CRM/Contact/DAO/SubscriptionHistory.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:58a499585518faad19d52d57dfb1f1ba)
+ * (GenCodeChecksum:f5eb6517b054998df7a07e5a81874a1b)
  */
 
 /**
diff --git a/civicrm/CRM/Contact/Form/Search/Custom/ContribSYBNT.php b/civicrm/CRM/Contact/Form/Search/Custom/ContribSYBNT.php
index 00a471369da2d7d9beab3facb86fab1697f04b5f..de292bb76ab8db355466a41af16f7efb24f0bed1 100644
--- a/civicrm/CRM/Contact/Form/Search/Custom/ContribSYBNT.php
+++ b/civicrm/CRM/Contact/Form/Search/Custom/ContribSYBNT.php
@@ -169,6 +169,7 @@ LEFT JOIN  civicrm_contribution contrib_1 ON contrib_1.contact_id = contact_a.id
            $from
 WHERE      contrib_1.contact_id = contact_a.id
 AND        contrib_1.is_test = 0
+AND        contrib_1.is_template = 0
            $where
 GROUP BY   contact_a.id
            $having
@@ -237,6 +238,7 @@ count(contrib_1.id) AS donation_count
 
     if (!empty($this->start_date_2) || !empty($this->end_date_2)) {
       $clauses[] = "contrib_2.is_test = 0";
+      $clauses[] = "contrib_2.is_template = 0";
 
       if (!empty($this->start_date_2)) {
         $clauses[] = CRM_Core_DAO::composeQuery('contrib_2.receive_date >= %1', [1 => [$this->start_date_2, 'String']]);
@@ -293,7 +295,7 @@ count(contrib_1.id) AS donation_count
 REPLACE   INTO {$this->_xgTableName}
 SELECT   DISTINCT contact_id AS contact_id
 FROM     civicrm_contribution c
-WHERE    c.is_test = 0
+WHERE    c.is_test = 0 AND c.is_template = 0
          $excludeClause
 GROUP BY c.contact_id
          $havingClause
@@ -308,7 +310,7 @@ GROUP BY c.contact_id
 REPLACE  INTO {$this->_xgTableName}
 SELECT   DISTINCT contact_id AS contact_id
 FROM     civicrm_contribution c
-WHERE    c.is_test = 0
+WHERE    c.is_test = 0 AND c.is_template = 0
 AND      c.receive_date < {$this->start_date_1}
 ";
         CRM_Core_DAO::executeQuery($query);
diff --git a/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php b/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php
index 2d95568eebc7e6216f4e9d1b62890911472e2129..0b0698c5a9618bf4654327a5e076d64abc53f225 100644
--- a/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php
+++ b/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php
@@ -198,6 +198,7 @@ civicrm_contact AS contact_a {$this->_aclFrom}
     $clauses = [
       "contrib.contact_id = contact_a.id",
       "contrib.is_test = 0",
+      "contrib.is_template = 0",
       "contrib.contribution_status_id = " . intval($contributionCompletedStatusId),
     ];
 
diff --git a/civicrm/CRM/Contact/Form/Search/Custom/EventAggregate.php b/civicrm/CRM/Contact/Form/Search/Custom/EventAggregate.php
index 3dd307089c02ce6ca62548f8185d677b3d95e523..29e76dbeaab4cf446171f3d8734b53c4299539ea 100644
--- a/civicrm/CRM/Contact/Form/Search/Custom/EventAggregate.php
+++ b/civicrm/CRM/Contact/Form/Search/Custom/EventAggregate.php
@@ -214,6 +214,7 @@ class CRM_Contact_Form_Search_Custom_EventAggregate extends CRM_Contact_Form_Sea
 
     $clauses[] = "civicrm_participant.status_id in ( 1 )";
     $clauses[] = "civicrm_contribution.is_test = 0";
+    $clauses[] = "civicrm_contribution.is_template = 0";
     $onLine = CRM_Utils_Array::value('paid_online',
       $this->_formValues
     );
diff --git a/civicrm/CRM/Contact/Form/Search/Custom/FullText.php b/civicrm/CRM/Contact/Form/Search/Custom/FullText.php
index c86d265af93ad5bac528684696ac1ef71ab433f1..12b793fa2fd81741459df170551d7505a3397991 100644
--- a/civicrm/CRM/Contact/Form/Search/Custom/FullText.php
+++ b/civicrm/CRM/Contact/Form/Search/Custom/FullText.php
@@ -316,6 +316,7 @@ WHERE      t.table_name = 'Activity' AND
     $form->assign('limit', self::LIMIT);
 
     // set form defaults
+    $form->assign('table', '');
     if (!empty($form->_formValues)) {
       $defaults = [];
 
diff --git a/civicrm/CRM/Contact/Form/Search/Custom/Group.php b/civicrm/CRM/Contact/Form/Search/Custom/Group.php
index 59c61daf48e7ec1e46927134bad229ce0ed0a063..1cc949d4f9e9b10657c51441f800d30e7f23fdee 100644
--- a/civicrm/CRM/Contact/Form/Search/Custom/Group.php
+++ b/civicrm/CRM/Contact/Form/Search/Custom/Group.php
@@ -228,7 +228,7 @@ class CRM_Contact_Form_Search_Custom_Group extends CRM_Contact_Form_Search_Custo
       // we do this since this if stmt is called by the smart group part of the code
       // adding a groupBy clause and saving it as a smart group messes up the query and
       // bad things happen
-      // andrew hunt seemed to have rewritten this piece when he worked on this search
+      // andie hunt seemed to have rewritten this piece when they worked on this search
       $groupBy = NULL;
     }
 
diff --git a/civicrm/CRM/Contact/Form/Task/EmailTrait.php b/civicrm/CRM/Contact/Form/Task/EmailTrait.php
index dc7771acfbc158d40f01c41dfc5723979ab015a5..df222411a1a7d3263a03b6ae968570a2a0ab16ff 100644
--- a/civicrm/CRM/Contact/Form/Task/EmailTrait.php
+++ b/civicrm/CRM/Contact/Form/Task/EmailTrait.php
@@ -529,11 +529,11 @@ trait CRM_Contact_Form_Task_EmailTrait {
     $emails = Email::get()
       ->addWhere('id', 'IN', $emailIDs)
       ->setCheckPermissions(FALSE)
-      ->setSelect(['contact_id', 'email', 'contact.sort_name', 'contact.display_name'])->execute();
+      ->setSelect(['contact_id', 'email', 'contact_id.sort_name', 'contact_id.display_name'])->execute();
     $emailStrings = [];
     foreach ($emails as $email) {
       $this->contactEmails[$email['id']] = $email;
-      $emailStrings[] = '"' . $email['contact.sort_name'] . '" <' . $email['email'] . '>';
+      $emailStrings[] = '"' . $email['contact_id.sort_name'] . '" <' . $email['email'] . '>';
     }
     return implode(',', $emailStrings);
   }
@@ -552,7 +552,7 @@ trait CRM_Contact_Form_Task_EmailTrait {
     $urls = [];
     foreach ($emailIDs as $email) {
       $contactURL = CRM_Utils_System::url('civicrm/contact/view', ['reset' => 1, 'cid' => $this->contactEmails[$email]['contact_id']], TRUE);
-      $urls[] = "<a href='{$contactURL}'>" . $this->contactEmails[$email]['contact.display_name'] . '</a>';
+      $urls[] = "<a href='{$contactURL}'>" . $this->contactEmails[$email]['contact_id.display_name'] . '</a>';
     }
     return implode(', ', $urls);
   }
diff --git a/civicrm/CRM/Contact/Import/Form/DataSource.php b/civicrm/CRM/Contact/Import/Form/DataSource.php
index a95ace603cda9ccf5dd046bb91d5c68b6584474b..ead2b2435d1ff854da86f7d6643273af0dcb8665 100644
--- a/civicrm/CRM/Contact/Import/Form/DataSource.php
+++ b/civicrm/CRM/Contact/Import/Form/DataSource.php
@@ -89,12 +89,12 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form {
       $this->_dataSourceIsValid = TRUE;
       $this->assign('showDataSourceFormPane', TRUE);
       $dataSourcePath = explode('_', $this->_dataSource);
-      $templateFile = "CRM/Contact/Import/Form/" . $dataSourcePath[3] . ".tpl";
-      $this->assign('dataSourceFormTemplateFile', $templateFile);
+      $templateFile = 'CRM/Contact/Import/Form/' . $dataSourcePath[3] . ".tpl";
     }
     elseif ($this->_dataSource) {
       $this->invalidConfig('Invalid data source');
     }
+    $this->assign('dataSourceFormTemplateFile', $templateFile ?? NULL);
   }
 
   /**
@@ -201,9 +201,9 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Core_Form {
       'fieldSeparator' => $config->fieldSeparator,
     ];
 
-    if ($loadeMapping = $this->get('loadedMapping')) {
-      $this->assign('loadedMapping', $loadeMapping);
-      $defaults['savedMapping'] = $loadeMapping;
+    $this->assign('loadedMapping', $this->get('loadedMapping'));
+    if ($this->get('loadedMapping')) {
+      $defaults['savedMapping'] = $this->get('loadedMapping');
     }
 
     return $defaults;
diff --git a/civicrm/CRM/Contact/Page/View/Summary.php b/civicrm/CRM/Contact/Page/View/Summary.php
index dc4ddf1e41f8b7ffd75c537adc153b578e393d26..4e04ef4a598b0e60f00d0d616a0c969a6ffbbe31 100644
--- a/civicrm/CRM/Contact/Page/View/Summary.php
+++ b/civicrm/CRM/Contact/Page/View/Summary.php
@@ -351,6 +351,7 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View {
    */
   public function getTabs() {
     $allTabs = [];
+    $getCountParams = [];
     $weight = 10;
 
     foreach (CRM_Core_Component::getEnabledComponents() as $name => $component) {
@@ -361,12 +362,7 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View {
 
         // FIXME: not very elegant, probably needs better approach
         // allow explicit id, if not defined, use keyword instead
-        if (array_key_exists('id', $elem)) {
-          $i = $elem['id'];
-        }
-        else {
-          $i = $component->getKeyword();
-        }
+        $i = $elem['id'] ?? $component->getKeyword();
         $u = $elem['url'];
 
         //appending isTest to url for test soft credit CRM-3891.
@@ -380,10 +376,11 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View {
           'url' => CRM_Utils_System::url("civicrm/contact/view/$u", $q),
           'title' => $elem['title'],
           'weight' => $elem['weight'],
-          'count' => CRM_Contact_BAO_Contact::getCountComponent($u, $this->_contactId),
+          'count' => NULL,
           'class' => 'livePage',
           'icon' => $component->getIcon(),
         ];
+        $getCountParams[$i] = [$u, $this->_contactId];
       }
     }
 
@@ -396,8 +393,9 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View {
       elseif ($accessCiviCRM && !empty($this->_viewOptions[$tab['id']])) {
         $allTabs[] = $tab + [
           'url' => CRM_Utils_System::url("civicrm/contact/view/{$tab['id']}", "reset=1&cid={$this->_contactId}"),
-          'count' => CRM_Contact_BAO_Contact::getCountComponent($tab['id'], $this->_contactId),
+          'count' => NULL,
         ];
+        $getCountParams[$tab['id']] = [$tab['id'], $this->_contactId];
         $weight = $tab['weight'] + 10;
       }
     }
@@ -417,11 +415,12 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View {
         'url' => CRM_Utils_System::url($group['path'], $group['query'] . "&selectedChild=$id"),
         'title' => $group['title'],
         'weight' => $weight,
-        'count' => CRM_Contact_BAO_Contact::getCountComponent($id, $this->_contactId, $group['table_name']),
+        'count' => NULL,
         'hideCount' => !$group['is_multiple'],
         'class' => 'livePage',
         'icon' => 'crm-i ' . ($group['icon'] ?: 'fa-gear'),
       ];
+      $getCountParams[$id] = [$id, $this->_contactId, $group['table_name']];
       $weight += 10;
     }
 
@@ -429,6 +428,13 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View {
     $context = ['contact_id' => $this->_contactId];
     CRM_Utils_Hook::tabset('civicrm/contact/view', $allTabs, $context);
 
+    // Get tab counts last to avoid wasting time; if a tab was removed by hook, the count isn't needed.
+    foreach ($allTabs as &$tab) {
+      if (!isset($tab['count']) && isset($getCountParams[$tab['id']])) {
+        $tab['count'] = call_user_func_array(['CRM_Contact_BAO_Contact', 'getCountComponent'], $getCountParams[$tab['id']]);
+      }
+    }
+
     // now sort the tabs based on weight
     usort($allTabs, ['CRM_Utils_Sort', 'cmpFunc']);
     return $allTabs;
diff --git a/civicrm/CRM/Contribute/BAO/Contribution.php b/civicrm/CRM/Contribute/BAO/Contribution.php
index df633551ae67b56741829d5b6efe3769d79460d5..e0f140a7bde022f279df64ff3dbd278f0cd26182 100644
--- a/civicrm/CRM/Contribute/BAO/Contribution.php
+++ b/civicrm/CRM/Contribute/BAO/Contribution.php
@@ -14,6 +14,7 @@ use Civi\Api4\ActivityContact;
 use Civi\Api4\Contribution;
 use Civi\Api4\ContributionRecur;
 use Civi\Api4\LineItem;
+use Civi\Api4\ContributionSoft;
 use Civi\Api4\PaymentProcessor;
 use Civi\Api4\PledgePayment;
 
@@ -185,12 +186,17 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
         $lineTotal += (float) ($lineItem['line_total'] ?? 0);
       }
     }
+    if (($params['tax_amount'] ?? '') === 'null') {
+      CRM_Core_Error::deprecatedWarning('tax_amount should be not passed in (preferable) or a float');
+    }
     if (!isset($params['tax_amount']) && $setPrevContribution && (isset($params['total_amount']) ||
      isset($params['financial_type_id']))) {
       $params['tax_amount'] = $taxAmount;
       $params['total_amount'] = $taxAmount + $lineTotal;
     }
-    if (isset($params['tax_amount']) && $params['tax_amount'] != $taxAmount && empty($params['skipLineItem'])) {
+    if (isset($params['tax_amount']) && empty($params['skipLineItem'])
+      && !CRM_Utils_Money::equals($params['tax_amount'], $taxAmount, ($params['currency'] ?? Civi::settings()->get('defaultCurrency')))
+    ) {
       CRM_Core_Error::deprecatedWarning('passing in incorrect tax amounts is deprecated');
     }
 
@@ -462,7 +468,7 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
    */
   public static function getNumTermsByContributionAndMembershipType($membershipTypeID, $contributionID) {
     $numTerms = CRM_Core_DAO::singleValueQuery("
-      SELECT membership_num_terms FROM civicrm_line_item li
+      SELECT v.membership_num_terms FROM civicrm_line_item li
       LEFT JOIN civicrm_price_field_value v ON li.price_field_value_id = v.id
       WHERE contribution_id = %1 AND membership_type_id = %2",
       [1 => [$contributionID, 'Integer'], 2 => [$membershipTypeID, 'Integer']]
@@ -1314,13 +1320,13 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
       return (bool) ContributionRecur::get(FALSE)->addWhere('id', '=', $recurringContributionID)->addSelect('is_email_receipt')->execute()->first()['is_email_receipt'];
     }
     $contributionPage = Contribution::get(FALSE)
-      ->addSelect('contribution_page.is_email_receipt')
+      ->addSelect('contribution_page_id.is_email_receipt')
       ->addWhere('contribution_page_id', 'IS NOT NULL')
       ->addWhere('id', '=', $contributionID)
       ->execute()->first();
 
     if (!empty($contributionPage)) {
-      return (bool) $contributionPage['contribution_page.is_email_receipt'];
+      return (bool) $contributionPage['contribution_page_id.is_email_receipt'];
     }
     // This would be the case for backoffice (where is_email_receipt is not passed in) or events, where Event::sendMail will filter
     // again anyway.
@@ -2430,7 +2436,7 @@ LEFT JOIN  civicrm_contribution contribution ON ( componentPayment.contribution_
       SELECT contribution.id AS id
       FROM civicrm_contribution contribution
       LEFT JOIN civicrm_line_item i ON i.contribution_id = contribution.id AND i.entity_table = 'civicrm_contribution' $liWhere
-      WHERE contribution.is_test = 0 AND contribution.contact_id = {$contactId}
+      WHERE contribution.is_test = 0 AND contribution.is_template != '1' AND contribution.contact_id = {$contactId}
       $additionalWhere
       AND i.id IS NULL";
 
@@ -2438,7 +2444,7 @@ LEFT JOIN  civicrm_contribution contribution ON ( componentPayment.contribution_
       SELECT contribution.id
       FROM civicrm_contribution contribution INNER JOIN civicrm_contribution_soft softContribution
       ON ( contribution.id = softContribution.contribution_id )
-      WHERE contribution.is_test = 0 AND softContribution.contact_id = {$contactId} ";
+      WHERE contribution.is_test = 0 AND contribution.is_template != '1' AND softContribution.contact_id = {$contactId} ";
     $query = "SELECT count( x.id ) count FROM ( ";
     $query .= $contactContributionsSQL;
 
@@ -3376,7 +3382,7 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac
    * @return null|\CRM_Core_BAO_FinancialTrxn
    */
   public static function recordFinancialAccounts(&$params, $financialTrxnValues = NULL) {
-    $skipRecords = $update = $return = $isRelatedId = FALSE;
+    $skipRecords = $update = $return = FALSE;
     $isUpdate = !empty($params['prevContribution']);
 
     $additionalParticipantId = [];
@@ -3399,13 +3405,13 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac
       $entityTable = 'civicrm_contribution';
     }
 
-    if (CRM_Utils_Array::value('contribution_mode', $params) == 'membership') {
-      $isRelatedId = TRUE;
-    }
-
     $entityID[] = $entityId;
     if (!empty($additionalParticipantId)) {
       $entityID += $additionalParticipantId;
+      // build line item array if necessary
+      if ($additionalParticipantId) {
+        CRM_Price_BAO_LineItem::getLineItemArray($params, $entityID, str_replace('civicrm_', '', $entityTable));
+      }
     }
     // prevContribution appears to mean - original contribution object- ie copy of contribution from before the update started that is being updated
     if (empty($params['prevContribution'])) {
@@ -3414,11 +3420,6 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac
 
     $statusId = $params['contribution']->contribution_status_id;
 
-    // build line item array if its not set in $params
-    if (empty($params['line_item']) || $additionalParticipantId) {
-      CRM_Price_BAO_LineItem::getLineItemArray($params, $entityID, str_replace('civicrm_', '', $entityTable), $isRelatedId);
-    }
-
     if ($contributionStatus != 'Failed' &&
       !($contributionStatus == 'Pending' && !$params['contribution']->is_pay_later)
     ) {
@@ -4189,11 +4190,13 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac
       );
     }
 
-    $participantPayment = civicrm_api3('ParticipantPayment', 'get', ['contribution_id' => $contributionID, 'return' => 'participant_id', 'sequential' => 1])['values'];
-    if (!empty($participantPayment) && empty($input['IAmAHorribleNastyBeyondExcusableHackInTheCRMEventFORMTaskClassThatNeedsToBERemoved'])) {
-      $participantParams['id'] = $participantPayment[0]['participant_id'];
-      $participantParams['status_id'] = 'Registered';
-      civicrm_api3('Participant', 'create', $participantParams);
+    $participantPayments = civicrm_api3('ParticipantPayment', 'get', ['contribution_id' => $contributionID, 'return' => 'participant_id', 'sequential' => 1])['values'];
+    if (!empty($participantPayments) && empty($input['IAmAHorribleNastyBeyondExcusableHackInTheCRMEventFORMTaskClassThatNeedsToBERemoved'])) {
+      foreach ($participantPayments as $participantPayment) {
+        $participantParams['id'] = $participantPayment['participant_id'];
+        $participantParams['status_id'] = 'Registered';
+        civicrm_api3('Participant', 'create', $participantParams);
+      }
     }
 
     $contributionParams['id'] = $contributionID;
@@ -4206,6 +4209,14 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac
     $transaction->commit();
     \Civi::log()->info("Contribution {$contributionParams['id']} updated successfully");
 
+    $contributionSoft = ContributionSoft::get(FALSE)
+      ->addWhere('contribution_id', '=', $contributionID)
+      ->addWhere('pcp_id', '>', 0)
+      ->addSelect('*')
+      ->execute()->first();
+    if (!empty($contributionSoft)) {
+      CRM_Contribute_BAO_ContributionSoft::pcpNotifyOwner($contributionID, $contributionSoft);
+    }
     // @todo - check if Contribution::create does this, test, remove.
     CRM_Contribute_BAO_ContributionRecur::updateRecurLinkedPledge($contributionID, $recurringContributionID,
       $contributionParams['contribution_status_id'], $input['amount']);
@@ -4390,9 +4401,6 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac
 
     foreach ($params['line_items'] as &$lineItems) {
       foreach ($lineItems['line_item'] as &$item) {
-        if (empty($item['financial_type_id'])) {
-          $item['financial_type_id'] = $params['financial_type_id'];
-        }
         $lineItemAmount += $item['line_total'] + ($item['tax_amount'] ?? 0.00);
       }
     }
@@ -5329,9 +5337,7 @@ LIMIT 1;";
       'module' => 'CiviEvent',
     ];
 
-    list($custom_pre_id,
-      $custom_post_ids
-      ) = CRM_Core_BAO_UFJoin::getUFGroupIds($ufJoinParams);
+    [$custom_pre_id, $custom_post_ids] = CRM_Core_BAO_UFJoin::getUFGroupIds($ufJoinParams);
 
     $values['custom_pre_id'] = $custom_pre_id;
     $values['custom_post_id'] = $custom_post_ids;
diff --git a/civicrm/CRM/Contribute/BAO/ContributionPage.php b/civicrm/CRM/Contribute/BAO/ContributionPage.php
index 806e8aa6834d74e0bb696eb134968ed91464a3e2..0d57b7d06f642ef72731969757582b45b4bf45f7 100644
--- a/civicrm/CRM/Contribute/BAO/ContributionPage.php
+++ b/civicrm/CRM/Contribute/BAO/ContributionPage.php
@@ -522,13 +522,13 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio
         'contribution_page_id',
         'contact_id',
         'contribution_recur_id',
-        'contribution_recur.is_email_receipt',
-        'contribution_page.title',
-        'contribution_page.is_email_receipt',
-        'contribution_page.receipt_from_name',
-        'contribution_page.receipt_from_email',
-        'contribution_page.cc_receipt',
-        'contribution_page.bcc_receipt',
+        'contribution_recur_id.is_email_receipt',
+        'contribution_page_id.title',
+        'contribution_page_id.is_email_receipt',
+        'contribution_page_id.receipt_from_name',
+        'contribution_page_id.receipt_from_email',
+        'contribution_page_id.cc_receipt',
+        'contribution_page_id.bcc_receipt',
       ])
       ->execute()->first();
 
@@ -537,10 +537,10 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio
       ->addWhere('entity_table', '=', 'civicrm_membership')
       ->addSelect('id')->execute()->first());
 
-    if ($contribution['contribution_recur.is_email_receipt'] || $contribution['contribution_page.is_email_receipt']) {
-      if ($contribution['contribution_page.receipt_from_email']) {
-        $receiptFromName = $contribution['contribution_page.receipt_from_name'];
-        $receiptFromEmail = $contribution['contribution_page.receipt_from_email'];
+    if ($contribution['contribution_recur_id.is_email_receipt'] || $contribution['contribution_page_id.is_email_receipt']) {
+      if ($contribution['contribution_page_id.receipt_from_email']) {
+        $receiptFromName = $contribution['contribution_page_id.receipt_from_name'];
+        $receiptFromEmail = $contribution['contribution_page_id.receipt_from_email'];
       }
       else {
         [$receiptFromName, $receiptFromEmail] = CRM_Core_BAO_Domain::getNameAndEmail();
@@ -570,8 +570,8 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio
         'toEmail' => $email,
       ];
       //CRM-13811
-      $templatesParams['cc'] = $contribution['contribution_page.cc_receipt'];
-      $templatesParams['bcc'] = $contribution['contribution_page.cc_receipt'];
+      $templatesParams['cc'] = $contribution['contribution_page_id.cc_receipt'];
+      $templatesParams['bcc'] = $contribution['contribution_page_id.cc_receipt'];
       if ($recur->id) {
         // in some cases its just recurringNotify() thats called for the first time and these urls don't get set.
         // like in PaypalPro, & therefore we set it here additionally.
diff --git a/civicrm/CRM/Contribute/BAO/ContributionSoft.php b/civicrm/CRM/Contribute/BAO/ContributionSoft.php
index 030b9e8dfce01ad77e3b883af0d51b0be44eb8c2..655f112cd92b6a120434b490f35c513c1c9d25a4 100644
--- a/civicrm/CRM/Contribute/BAO/ContributionSoft.php
+++ b/civicrm/CRM/Contribute/BAO/ContributionSoft.php
@@ -9,6 +9,8 @@
  +--------------------------------------------------------------------+
  */
 
+use Civi\Api4\Contribution;
+
 /**
  *
  * @package CRM
@@ -588,6 +590,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
    *
    * @throws \CRM_Core_Exception
    * @throws \CiviCRM_API3_Exception
+   * @throws \API_Exception
    */
   protected static function processPCP($pcp, $contribution) {
     $pcpId = self::getSoftCreditIds($contribution->id, TRUE);
@@ -607,9 +610,11 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
       $softParams['pcp_personal_note'] = $pcp['pcp_personal_note'] ?? NULL;
       $softParams['soft_credit_type_id'] = CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_ContributionSoft', 'soft_credit_type_id', 'pcp');
       $contributionSoft = self::add($softParams);
-      //Send notification to owner for PCP
-      if ($contributionSoft->pcp_id && empty($pcpId)) {
-        CRM_Contribute_Form_Contribution_Confirm::pcpNotifyOwner($contribution, (array) $contributionSoft);
+      //Send notification to owner for PCP if the contribution is already completed.
+      if ($contributionSoft->pcp_id && empty($pcpId)
+        && 'Completed' === CRM_Core_PseudoConstant::getName('CRM_Contribute_BAO_Contribution', 'contribution_status_id', $contribution->contribution_status_id)
+      ) {
+        self::pcpNotifyOwner($contribution->id, (array) $contributionSoft);
       }
     }
     //Delete PCP against this contribution and create new on submitted PCP information
@@ -618,4 +623,67 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
     }
   }
 
+  /**
+   * Function used to send notification mail to pcp owner.
+   *
+   * @param int $contributionID
+   * @param array $contributionSoft
+   *   Contribution object.
+   *
+   * @throws \API_Exception
+   * @throws \CRM_Core_Exception
+   */
+  public static function pcpNotifyOwner(int $contributionID, array $contributionSoft): void {
+    $params = ['id' => $contributionSoft['pcp_id']];
+    $contribution = Contribution::get(FALSE)
+      ->addWhere('id', '=', $contributionID)
+      ->addSelect('receive_date', 'contact_id')->execute()->first();
+    CRM_Core_DAO::commonRetrieve('CRM_PCP_DAO_PCP', $params, $pcpInfo);
+    $ownerNotifyID = CRM_Core_DAO::getFieldValue('CRM_PCP_DAO_PCPBlock', $pcpInfo['pcp_block_id'], 'owner_notify_id');
+    $ownerNotifyOption = CRM_Core_PseudoConstant::getName('CRM_PCP_DAO_PCPBlock', 'owner_notify_id', $ownerNotifyID);
+
+    if ($ownerNotifyOption !== 'no_notifications' &&
+      (($ownerNotifyOption === 'owner_chooses' &&
+          CRM_Core_DAO::getFieldValue('CRM_PCP_DAO_PCP', $contributionSoft['pcp_id'], 'is_notify')) ||
+        $ownerNotifyOption === 'all_owners')) {
+      $pcpInfoURL = CRM_Utils_System::url('civicrm/pcp/info',
+        "reset=1&id={$contributionSoft['pcp_id']}",
+        TRUE, NULL, FALSE, TRUE
+      );
+      // set email in the template here
+
+      if (CRM_Core_BAO_LocationType::getBilling()) {
+        [$donorName, $email] = CRM_Contact_BAO_Contact_Location::getEmailDetails($contribution['contact_id'],
+          FALSE, CRM_Core_BAO_LocationType::getBilling());
+      }
+      // get primary location email if no email exist( for billing location).
+      if (!$email) {
+        [$donorName, $email] = CRM_Contact_BAO_Contact_Location::getEmailDetails($contribution['contact_id']);
+      }
+      [$ownerName, $ownerEmail] = CRM_Contact_BAO_Contact_Location::getEmailDetails($contributionSoft['contact_id']);
+      $tplParams = [
+        'page_title' => $pcpInfo['title'],
+        'receive_date' => $contribution['receive_date'],
+        'total_amount' => $contributionSoft['amount'],
+        'donors_display_name' => $donorName,
+        'donors_email' => $email,
+        'pcpInfoURL' => $pcpInfoURL,
+        'is_honor_roll_enabled' => $contributionSoft['pcp_display_in_roll'],
+        'currency' => $contributionSoft['currency'],
+      ];
+      $domainValues = CRM_Core_BAO_Domain::getNameAndEmail();
+      $sendTemplateParams = [
+        'groupName' => 'msg_tpl_workflow_contribution',
+        'valueName' => 'pcp_owner_notify',
+        'contactId' => $contributionSoft['contact_id'],
+        'toEmail' => $ownerEmail,
+        'toName' => $ownerName,
+        'from' => "$domainValues[0] <$domainValues[1]>",
+        'tplParams' => $tplParams,
+        'PDFFilename' => 'receipt.pdf',
+      ];
+      CRM_Core_BAO_MessageTemplate::sendTemplate($sendTemplateParams);
+    }
+  }
+
 }
diff --git a/civicrm/CRM/Contribute/BAO/Query.php b/civicrm/CRM/Contribute/BAO/Query.php
index 5255b6d36ebf783df925a43dda4c2fa5e6b36f82..e5aabe2a970f87942bccd985c760adf02f249232 100644
--- a/civicrm/CRM/Contribute/BAO/Query.php
+++ b/civicrm/CRM/Contribute/BAO/Query.php
@@ -961,6 +961,7 @@ class CRM_Contribute_BAO_Query extends CRM_Core_BAO_Query {
     $form->addYesNo('contribution_recurring', ts('Contribution is Recurring?'), TRUE);
 
     $form->addYesNo('contribution_test', ts('Contribution is a Test?'), TRUE);
+    $form->addYesNo('is_template', ts('Contribution is Template?'), TRUE);
     // Add field for transaction ID search
     $form->addElement('text', 'contribution_trxn_id', ts("Transaction ID"));
     $form->addElement('text', 'contribution_check_number', ts('Check Number'));
@@ -1029,6 +1030,7 @@ class CRM_Contribute_BAO_Query extends CRM_Core_BAO_Query {
 
     $form->assign('validCiviContribute', TRUE);
     $form->setDefaults(['contribution_test' => 0]);
+    $form->setDefaults(['is_template' => 0]);
 
     CRM_Contribute_BAO_ContributionRecur::recurringContribution($form);
   }
diff --git a/civicrm/CRM/Contribute/DAO/Contribution.php b/civicrm/CRM/Contribute/DAO/Contribution.php
index 2c2f90e7ed69988b50c65d07415805140ef409bc..85144ddce32d4f789a45131fb348d0f9356eceb3 100644
--- a/civicrm/CRM/Contribute/DAO/Contribution.php
+++ b/civicrm/CRM/Contribute/DAO/Contribution.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Contribution.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1ef0d9ea550f1f00e6f995bcb8270e0d)
+ * (GenCodeChecksum:59912e3825f18a5769be0e5be1ca01ff)
  */
 
 /**
@@ -273,6 +273,15 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
     return $plural ? ts('Contributions') : ts('Contribution');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Financial records consisting of transactions, line-items, etc.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
diff --git a/civicrm/CRM/Contribute/DAO/ContributionPage.php b/civicrm/CRM/Contribute/DAO/ContributionPage.php
index d28bc50de1d7647cce1eb6d6058b3be06ac02ce1..6e7510f754a367aa67b2159b12f8e833b0e2d5cd 100644
--- a/civicrm/CRM/Contribute/DAO/ContributionPage.php
+++ b/civicrm/CRM/Contribute/DAO/ContributionPage.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionPage.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:34ea39fcae2a3b299abcd53936219d1a)
+ * (GenCodeChecksum:bba87623f1ecb7c432b3e59cb159b5ea)
  */
 
 /**
diff --git a/civicrm/CRM/Contribute/DAO/ContributionProduct.php b/civicrm/CRM/Contribute/DAO/ContributionProduct.php
index 28cbd8c763e64331b6037c54a409738a001e55a1..010117db25365eb0a8433c2619a6bfdfb50dbb50 100644
--- a/civicrm/CRM/Contribute/DAO/ContributionProduct.php
+++ b/civicrm/CRM/Contribute/DAO/ContributionProduct.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionProduct.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:908e3aa238e68db7e91731a9c441ee18)
+ * (GenCodeChecksum:b8b2fd54470db337ec6285ac53bc51b1)
  */
 
 /**
@@ -118,6 +118,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
   public static function getReferenceColumns() {
     if (!isset(Civi::$statics[__CLASS__]['links'])) {
       Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
+      Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'product_id', 'civicrm_product', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_id', 'civicrm_contribution', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
@@ -159,6 +160,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
           'entity' => 'ContributionProduct',
           'bao' => 'CRM_Contribute_DAO_ContributionProduct',
           'localizable' => 0,
+          'FKClassName' => 'CRM_Contribute_DAO_Product',
           'add' => '1.4',
         ],
         'contribution_id' => [
diff --git a/civicrm/CRM/Contribute/DAO/ContributionRecur.php b/civicrm/CRM/Contribute/DAO/ContributionRecur.php
index daa75ed903ba5847446affac438bb679273daefa..967b890b5eab8c2f55091912c8e43cc7561ca124 100644
--- a/civicrm/CRM/Contribute/DAO/ContributionRecur.php
+++ b/civicrm/CRM/Contribute/DAO/ContributionRecur.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:feaacc6f0a65f84c0005249110fa4001)
+ * (GenCodeChecksum:b51d7abea248616355265be7ec255050)
  */
 
 /**
diff --git a/civicrm/CRM/Contribute/DAO/ContributionSoft.php b/civicrm/CRM/Contribute/DAO/ContributionSoft.php
index e59dbcca77ffdfde6893a4eee39acf677047317f..6bf05ba685ff92a549c954c6ce0610ab0e81df50 100644
--- a/civicrm/CRM/Contribute/DAO/ContributionSoft.php
+++ b/civicrm/CRM/Contribute/DAO/ContributionSoft.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:236d3c83fd57553a2df8f4caa50d1c65)
+ * (GenCodeChecksum:48d432f2fe34f212c110e21cbd229fc5)
  */
 
 /**
diff --git a/civicrm/CRM/Contribute/DAO/Premium.php b/civicrm/CRM/Contribute/DAO/Premium.php
index fd7dac9069ab8d54ee09ddb0ed72402f623816b8..6c9603b22d613fbe10a65c648f6901b4de344a76 100644
--- a/civicrm/CRM/Contribute/DAO/Premium.php
+++ b/civicrm/CRM/Contribute/DAO/Premium.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Premium.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:52b14835ecf6ed706d67f6843badb693)
+ * (GenCodeChecksum:7ea059e7d6ccfe258964ab274089ac60)
  */
 
 /**
diff --git a/civicrm/CRM/Contribute/DAO/PremiumsProduct.php b/civicrm/CRM/Contribute/DAO/PremiumsProduct.php
index 5df4c1b93f1d0071534b1b755025086f357076e0..35e0db7a9794aa202c89634c9329349ae8e69f0c 100644
--- a/civicrm/CRM/Contribute/DAO/PremiumsProduct.php
+++ b/civicrm/CRM/Contribute/DAO/PremiumsProduct.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/PremiumsProduct.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:add71f3063792c8442cc337808a9af17)
+ * (GenCodeChecksum:41745812fcc812419159f6a93b52a715)
  */
 
 /**
diff --git a/civicrm/CRM/Contribute/DAO/Product.php b/civicrm/CRM/Contribute/DAO/Product.php
index 001335336062c07d8a493cc3b31c2b6b71d4efed..4261da5bdcd3bcb89b18b431c8ed08547180e92d 100644
--- a/civicrm/CRM/Contribute/DAO/Product.php
+++ b/civicrm/CRM/Contribute/DAO/Product.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Product.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b8b0ea5f8731eb9ed3702295d3169ac8)
+ * (GenCodeChecksum:b70d9c858ea4a663872931e6028b0ead)
  */
 
 /**
diff --git a/civicrm/CRM/Contribute/DAO/Widget.php b/civicrm/CRM/Contribute/DAO/Widget.php
index e55827af3ef427210b62d451df37be04338f5c67..9891471e38e26c8355c9683296d97ae96caccfb3 100644
--- a/civicrm/CRM/Contribute/DAO/Widget.php
+++ b/civicrm/CRM/Contribute/DAO/Widget.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Widget.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:894a949697861e0f3912e5a9d0b67aed)
+ * (GenCodeChecksum:b27e8be28af42d6dfa9a76589ed05d7b)
  */
 
 /**
diff --git a/civicrm/CRM/Contribute/Form/AbstractEditPayment.php b/civicrm/CRM/Contribute/Form/AbstractEditPayment.php
index 9c6ee3559992e8671b786d8fc432955289283fc4..cde9b1ea0aa800588477fffe3c83b6e25263ec78 100644
--- a/civicrm/CRM/Contribute/Form/AbstractEditPayment.php
+++ b/civicrm/CRM/Contribute/Form/AbstractEditPayment.php
@@ -408,19 +408,7 @@ WHERE  contribution_id = {$id}
    * @return string
    */
   public function getCurrency($submittedValues = []) {
-    $config = CRM_Core_Config::singleton();
-
-    $currentCurrency = CRM_Utils_Array::value('currency',
-      $this->_values,
-      $config->defaultCurrency
-    );
-
-    // use submitted currency if present else use current currency
-    $result = CRM_Utils_Array::value('currency',
-      $submittedValues,
-      $currentCurrency
-    );
-    return $result;
+    return $submittedValues['currency'] ?? $this->_values['currency'] ?? CRM_Core_Config::singleton()->defaultCurrency;
   }
 
   public function preProcessPledge() {
diff --git a/civicrm/CRM/Contribute/Form/AdditionalInfo.php b/civicrm/CRM/Contribute/Form/AdditionalInfo.php
index 93c8d59779f80fcf0bdadecdd628958812f035ef..4da64147daef860a9944c57f970b54ec07c0232a 100644
--- a/civicrm/CRM/Contribute/Form/AdditionalInfo.php
+++ b/civicrm/CRM/Contribute/Form/AdditionalInfo.php
@@ -27,7 +27,7 @@ class CRM_Contribute_Form_AdditionalInfo {
    *
    * @param CRM_Core_Form $form
    */
-  public static function buildPremium(&$form) {
+  public static function buildPremium($form) {
     //premium section
     $form->add('hidden', 'hidden_Premium', 1);
     $sel1 = $sel2 = [];
diff --git a/civicrm/CRM/Contribute/Form/Contribution.php b/civicrm/CRM/Contribute/Form/Contribution.php
index 5796571d343a4556e052602160e1b5ce282c8cf0..43133c429a9cc4dec8ba861505da83dc92d6dc99 100644
--- a/civicrm/CRM/Contribute/Form/Contribution.php
+++ b/civicrm/CRM/Contribute/Form/Contribution.php
@@ -1446,7 +1446,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
         }
         else {
           $lineItems[$itemId]['tax_rate'] = $lineItems[$itemId]['tax_amount'] = "";
-          $submittedValues['tax_amount'] = 'null';
+          $submittedValues['tax_amount'] = 0;
         }
         if ($lineItems[$itemId]['tax_rate']) {
           $lineItems[$itemId]['tax_amount'] = ($lineItems[$itemId]['tax_rate'] / 100) * $lineItems[$itemId]['line_total'];
@@ -1585,9 +1585,6 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
         $params['participant_id'] = $pId;
         $params['skipLineItem'] = 1;
       }
-      elseif ($isRelatedId) {
-        $params['contribution_mode'] = 'membership';
-      }
       $params['line_item'] = $lineItem;
       $params['payment_processor_id'] = $params['payment_processor'] = $this->_paymentProcessor['id'] ?? NULL;
       $params['tax_amount'] = CRM_Utils_Array::value('tax_amount', $submittedValues, CRM_Utils_Array::value('tax_amount', $this->_values));
diff --git a/civicrm/CRM/Contribute/Form/Contribution/Confirm.php b/civicrm/CRM/Contribute/Form/Contribution/Confirm.php
index 81a133d6963fa85813bb050eaa69a136ab5e10b3..8d771e402674ffa80abed43f49c6c5e42e75f697 100644
--- a/civicrm/CRM/Contribute/Form/Contribution/Confirm.php
+++ b/civicrm/CRM/Contribute/Form/Contribution/Confirm.php
@@ -1388,68 +1388,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
     }
   }
 
-  /**
-   * Function used to send notification mail to pcp owner.
-   *
-   * This is used by contribution and also event PCPs.
-   *
-   * @param object $contribution
-   * @param array $contributionSoft
-   *   Contribution object.
-   *
-   * @throws \API_Exception
-   * @throws \CRM_Core_Exception
-   */
-  public static function pcpNotifyOwner($contribution, array $contributionSoft) {
-    $params = ['id' => $contributionSoft['pcp_id']];
-    CRM_Core_DAO::commonRetrieve('CRM_PCP_DAO_PCP', $params, $pcpInfo);
-    $ownerNotifyID = CRM_Core_DAO::getFieldValue('CRM_PCP_DAO_PCPBlock', $pcpInfo['pcp_block_id'], 'owner_notify_id');
-    $ownerNotifyOption = CRM_Core_PseudoConstant::getName('CRM_PCP_DAO_PCPBlock', 'owner_notify_id', $ownerNotifyID);
-
-    if ($ownerNotifyOption != 'no_notifications' &&
-        (($ownerNotifyOption == 'owner_chooses' &&
-        CRM_Core_DAO::getFieldValue('CRM_PCP_DAO_PCP', $contributionSoft['pcp_id'], 'is_notify')) ||
-        $ownerNotifyOption == 'all_owners')) {
-      $pcpInfoURL = CRM_Utils_System::url('civicrm/pcp/info',
-        "reset=1&id={$contributionSoft['pcp_id']}",
-        TRUE, NULL, FALSE, TRUE
-      );
-      // set email in the template here
-
-      if (CRM_Core_BAO_LocationType::getBilling()) {
-        [$donorName, $email] = CRM_Contact_BAO_Contact_Location::getEmailDetails($contribution->contact_id,
-          FALSE, CRM_Core_BAO_LocationType::getBilling());
-      }
-      // get primary location email if no email exist( for billing location).
-      if (!$email) {
-        [$donorName, $email] = CRM_Contact_BAO_Contact_Location::getEmailDetails($contribution->contact_id);
-      }
-      [$ownerName, $ownerEmail] = CRM_Contact_BAO_Contact_Location::getEmailDetails($contributionSoft['contact_id']);
-      $tplParams = [
-        'page_title' => $pcpInfo['title'],
-        'receive_date' => $contribution->receive_date,
-        'total_amount' => $contributionSoft['amount'],
-        'donors_display_name' => $donorName,
-        'donors_email' => $email,
-        'pcpInfoURL' => $pcpInfoURL,
-        'is_honor_roll_enabled' => $contributionSoft['pcp_display_in_roll'],
-        'currency' => $contributionSoft['currency'],
-      ];
-      $domainValues = CRM_Core_BAO_Domain::getNameAndEmail();
-      $sendTemplateParams = [
-        'groupName' => 'msg_tpl_workflow_contribution',
-        'valueName' => 'pcp_owner_notify',
-        'contactId' => $contributionSoft['contact_id'],
-        'toEmail' => $ownerEmail,
-        'toName' => $ownerName,
-        'from' => "$domainValues[0] <$domainValues[1]>",
-        'tplParams' => $tplParams,
-        'PDFFilename' => 'receipt.pdf',
-      ];
-      CRM_Core_BAO_MessageTemplate::sendTemplate($sendTemplateParams);
-    }
-  }
-
   /**
    * Function used to se pcp related defaults / params.
    *
diff --git a/civicrm/CRM/Contribute/Form/ContributionBase.php b/civicrm/CRM/Contribute/Form/ContributionBase.php
index 58e15df2afd756adfa737fdda66314c8ed165aa8..363e2d5a3d700ccd104117b459348d5b810f868e 100644
--- a/civicrm/CRM/Contribute/Form/ContributionBase.php
+++ b/civicrm/CRM/Contribute/Form/ContributionBase.php
@@ -336,7 +336,6 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
       $this->assignBillingType();
 
       // check for is_monetary status
-      $isMonetary = $this->_values['is_monetary'] ?? NULL;
       $isPayLater = $this->_values['is_pay_later'] ?? NULL;
       if (!empty($this->_ccid)) {
         $this->_values['financial_type_id'] = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_Contribution',
@@ -352,14 +351,12 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
         $this->setPayLaterLabel($this->_values['pay_later_text']);
       }
 
-      if ($isMonetary) {
-        $this->_paymentProcessorIDs = array_filter(explode(
-          CRM_Core_DAO::VALUE_SEPARATOR,
-          CRM_Utils_Array::value('payment_processor', $this->_values)
-        ));
+      $this->_paymentProcessorIDs = array_filter(explode(
+        CRM_Core_DAO::VALUE_SEPARATOR,
+        CRM_Utils_Array::value('payment_processor', $this->_values)
+      ));
 
-        $this->assignPaymentProcessor($isPayLater);
-      }
+      $this->assignPaymentProcessor($isPayLater);
 
       // get price info
       // CRM-5095
diff --git a/civicrm/CRM/Contribute/Form/Search.php b/civicrm/CRM/Contribute/Form/Search.php
index 8b2594e073531837b6da60e2f143accbeee8dfad..eac81521722bfbfe897c3c45aa8976b6d28e6d32 100644
--- a/civicrm/CRM/Contribute/Form/Search.php
+++ b/civicrm/CRM/Contribute/Form/Search.php
@@ -258,6 +258,11 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
       // @todo - stop changing formValues - respect submitted form values, change a working array.
       $this->_formValues['contribution_test'] = 0;
     }
+    // We don't show template records in summaries or dashboards
+    if (empty($this->_formValues['is_template']) && $this->_force && !empty($this->_context) && ($this->_context === 'dashboard' || $this->_context === 'contribution')) {
+      // @todo - stop changing formValues - respect submitted form values, change a working array.
+      $this->_formValues['is_template'] = 0;
+    }
 
     foreach ([
       'contribution_amount_low',
diff --git a/civicrm/CRM/Contribute/Form/Task/Invoice.php b/civicrm/CRM/Contribute/Form/Task/Invoice.php
index 7da9b101c4438a3662acb8a18aa7fc7f24614966..64e903df881fc77590307d4965e7378ba3317daa 100644
--- a/civicrm/CRM/Contribute/Form/Task/Invoice.php
+++ b/civicrm/CRM/Contribute/Form/Task/Invoice.php
@@ -430,13 +430,13 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
         $emails = Email::get()
           ->addWhere('id', 'IN', $emailIDs)
           ->setCheckPermissions(FALSE)
-          ->setSelect(['contact_id', 'email', 'contact.sort_name', 'contact.display_name'])->execute();
+          ->setSelect(['contact_id', 'email', 'contact_id.sort_name', 'contact_id.display_name'])->execute();
         $emailStrings = $contactUrlStrings = [];
         foreach ($emails as $email) {
-          $emailStrings[] = '"' . $email['contact.sort_name'] . '" <' . $email['email'] . '>';
+          $emailStrings[] = '"' . $email['contact_id.sort_name'] . '" <' . $email['email'] . '>';
           // generate the contact url to put in Activity
           $contactURL = CRM_Utils_System::url('civicrm/contact/view', ['reset' => 1, 'force' => 1, 'cid' => $email['contact_id']], TRUE);
-          $contactUrlStrings[] = "<a href='{$contactURL}'>" . $email['contact.display_name'] . '</a>';
+          $contactUrlStrings[] = "<a href='{$contactURL}'>" . $email['contact_id.display_name'] . '</a>';
         }
         $cc_emails = implode(',', $emailStrings);
         $values['cc_receipt'] = $cc_emails;
diff --git a/civicrm/CRM/Contribute/Selector/Search.php b/civicrm/CRM/Contribute/Selector/Search.php
index c8b5a8ca185b579930f69aceb6ca119864d38821..fed38afc1e909048e0846f0b5ef53d5e19850d89 100644
--- a/civicrm/CRM/Contribute/Selector/Search.php
+++ b/civicrm/CRM/Contribute/Selector/Search.php
@@ -53,6 +53,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
     'contribution_cancel_date',
     'product_name',
     'is_test',
+    'is_template',
     'contribution_recur_id',
     'receipt_date',
     'membership_id',
diff --git a/civicrm/CRM/Core/BAO/CustomField.php b/civicrm/CRM/Core/BAO/CustomField.php
index f62d22773c6f1d40a69b9af9f2d1575f6d0319c4..b7c2386fba3b3b722b16ad6a7b2b527d10b3e340 100644
--- a/civicrm/CRM/Core/BAO/CustomField.php
+++ b/civicrm/CRM/Core/BAO/CustomField.php
@@ -2003,9 +2003,15 @@ WHERE  id IN ( %1, %2 )
 
     // create any option group & values if required
     $allowedOptionTypes = ['String', 'Int', 'Float', 'Money'];
-    if ($htmlType != 'Text' && in_array($dataType, $allowedOptionTypes)) {
+    if ($htmlType !== 'Text' && in_array($dataType, $allowedOptionTypes, TRUE)) {
       //CRM-16659: if option_value then create an option group for this custom field.
-      if ($params['option_type'] == 1 && (empty($params['option_group_id']) || !empty($params['option_value']))) {
+      // An option_type of 2 would be a 'message' from the form layer not to handle
+      // the option_values key. If not set then it is not ignored.
+      $optionsType = (int) ($params['option_type'] ?? 0);
+      if (($optionsType !== 2 && empty($params['id']))
+        && (empty($params['option_group_id']) && !empty($params['option_value'])
+        )
+      ) {
         // first create an option group for this custom group
         $optionGroup = new CRM_Core_DAO_OptionGroup();
         $optionGroup->name = "{$params['column_name']}_" . date('YmdHis');
diff --git a/civicrm/CRM/Core/BAO/CustomGroup.php b/civicrm/CRM/Core/BAO/CustomGroup.php
index 568e92a6336ff9c74e3f2bdc644eb8510e60e84f..8dda74008d54417fc112917e437f44fc0de9f5c3 100644
--- a/civicrm/CRM/Core/BAO/CustomGroup.php
+++ b/civicrm/CRM/Core/BAO/CustomGroup.php
@@ -45,37 +45,29 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
       $group->title = $params['title'];
     }
 
-    $extends = CRM_Utils_Array::value('extends', $params, []);
-    $extendsEntity = $extends[0] ?? NULL;
-
-    $participantEntities = [
-      'ParticipantRole',
-      'ParticipantEventName',
-      'ParticipantEventType',
-    ];
-
-    if (in_array($extendsEntity, $participantEntities)) {
-      $group->extends = 'Participant';
-    }
-    else {
-      $group->extends = $extendsEntity;
-    }
-
-    $group->extends_entity_column_id = 'null';
-    if (in_array($extendsEntity, $participantEntities)
-    ) {
-      $group->extends_entity_column_id = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_OptionValue', $extendsEntity, 'value', 'name');
-    }
-
-    // this is format when form get submit.
-    $extendsChildType = $extends[1] ?? NULL;
+    $extendsChildType = NULL;
     // lets allow user to pass direct child type value, CRM-6893
     if (!empty($params['extends_entity_column_value'])) {
       $extendsChildType = $params['extends_entity_column_value'];
     }
     if (!CRM_Utils_System::isNull($extendsChildType)) {
+      $b = self::getMungedEntity($params['extends'], $params['extends_entity_column_id'] ?? NULL);
+      $registeredSubTypes = self::getSubTypes()[$b];
+      if (is_array($extendsChildType)) {
+        foreach ($extendsChildType as $childType) {
+          if (!array_key_exists($childType, $registeredSubTypes) && !in_array($childType, $registeredSubTypes, TRUE)) {
+            throw new CRM_Core_Exception('Supplied Sub type is not valid for the specified entitiy');
+          }
+        }
+      }
+      else {
+        if (!array_key_exists($extendsChildType, $registeredSubTypes) && !in_array($extendsChildType, $registeredSubTypes, TRUE)) {
+          throw new CRM_Core_Exception('Supplied Sub type is not valid for the specified entitiy');
+        }
+        $extendsChildType = [$extendsChildType];
+      }
       $extendsChildType = implode(CRM_Core_DAO::VALUE_SEPARATOR, $extendsChildType);
-      if (CRM_Utils_Array::value(0, $extends) == 'Relationship') {
+      if ($params['extends'] == 'Relationship') {
         $extendsChildType = str_replace(['_a_b', '_b_a'], [
           '',
           '',
@@ -107,6 +99,8 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
       'is_active',
       'is_multiple',
       'icon',
+      'extends_entity_column_id',
+      'extends',
     ];
     $current_db_version = CRM_Core_BAO_Domain::version();
     $is_public_version = version_compare($current_db_version, '4.7.19', '>=');
@@ -148,14 +142,16 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
       $group->created_id = $params['created_id'] ?? NULL;
       $group->created_date = $params['created_date'] ?? NULL;
 
-      // we do this only once, so name never changes
-      if (isset($params['name'])) {
-        $group->name = CRM_Utils_String::munge($params['name'], '_', 64);
+      // Process name only during create, so it never changes
+      if (!empty($params['name'])) {
+        $group->name = CRM_Utils_String::munge($params['name']);
       }
       else {
-        $group->name = CRM_Utils_String::munge($group->title, '_', 64);
+        $group->name = CRM_Utils_String::munge($group->title);
       }
 
+      self::validateCustomGroupName($group);
+
       if (isset($params['table_name'])) {
         $tableName = $params['table_name'];
 
@@ -200,7 +196,7 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
         $params['id'],
         'table_name'
       );
-      CRM_Core_BAO_SchemaHandler::changeFKConstraint($table, self::mapTableName($extendsEntity));
+      CRM_Core_BAO_SchemaHandler::changeFKConstraint($table, self::mapTableName($params['extends']));
     }
     $transaction->commit();
 
@@ -231,6 +227,22 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
     return CRM_Core_DAO::commonRetrieve('CRM_Core_DAO_CustomGroup', $params, $defaults);
   }
 
+  /**
+   * Ensure group name does not conflict with an existing field
+   *
+   * @param CRM_Core_DAO_CustomGroup $group
+   */
+  public static function validateCustomGroupName(CRM_Core_DAO_CustomGroup $group) {
+    $extends = in_array($group->extends, CRM_Contact_BAO_ContactType::basicTypes(TRUE)) ? 'Contact' : $group->extends;
+    $extendsDAO = CRM_Core_DAO_AllCoreTables::getFullName($extends);
+    if ($extendsDAO) {
+      $fields = array_column($extendsDAO::fields(), 'name');
+      if (in_array($group->name, $fields)) {
+        $group->name .= '0';
+      }
+    }
+  }
+
   /**
    * Update the is_active flag in the db.
    *
@@ -2200,4 +2212,57 @@ SELECT  civicrm_custom_group.id as groupID, civicrm_custom_group.title as groupT
     return [$multipleFieldGroups, $groupTree];
   }
 
+  public static function getSubTypes(): array {
+    $sel2 = [];
+    $activityType = CRM_Core_PseudoConstant::activityType(FALSE, TRUE, FALSE, 'label', TRUE);
+
+    $eventType = CRM_Core_OptionGroup::values('event_type');
+    $grantType = CRM_Core_OptionGroup::values('grant_type');
+    $campaignTypes = CRM_Campaign_PseudoConstant::campaignType();
+    $membershipType = CRM_Member_BAO_MembershipType::getMembershipTypes(FALSE);
+    $participantRole = CRM_Core_OptionGroup::values('participant_role');
+
+    asort($activityType);
+    asort($eventType);
+    asort($grantType);
+    asort($membershipType);
+    asort($participantRole);
+
+    $sel2['Event'] = $eventType;
+    $sel2['Grant'] = $grantType;
+    $sel2['Activity'] = $activityType;
+    $sel2['Campaign'] = $campaignTypes;
+    $sel2['Membership'] = $membershipType;
+    $sel2['ParticipantRole'] = $participantRole;
+    $sel2['ParticipantEventName'] = CRM_Event_PseudoConstant::event(NULL, FALSE, "( is_template IS NULL OR is_template != 1 )");
+    $sel2['ParticipantEventType'] = $eventType;
+    $sel2['Contribution'] = CRM_Contribute_PseudoConstant::financialType();
+    $sel2['Relationship'] = CRM_Custom_Form_Group::getRelationshipTypes();
+
+    $sel2['Individual'] = CRM_Contact_BAO_ContactType::subTypePairs('Individual', FALSE, NULL);
+    $sel2['Household'] = CRM_Contact_BAO_ContactType::subTypePairs('Household', FALSE, NULL);
+    $sel2['Organization'] = CRM_Contact_BAO_ContactType::subTypePairs('Organization', FALSE, NULL);
+
+    CRM_Core_BAO_CustomGroup::getExtendedObjectTypes($sel2);
+    return $sel2;
+  }
+
+  /**
+   * Get the munged entity.
+   *
+   * This is the entity eg. Relationship or the name of the sub entity
+   * e.g ParticipantRole.
+   *
+   * @param string $extends
+   * @param int|null $extendsEntityColumn
+   *
+   * @return string
+   */
+  protected static function getMungedEntity($extends, $extendsEntityColumn = NULL) {
+    if (!$extendsEntityColumn || $extendsEntityColumn === 'null') {
+      return $extends;
+    }
+    return CRM_Core_OptionGroup::values('custom_data_type', FALSE, FALSE, FALSE, NULL, 'name')[$extendsEntityColumn];
+  }
+
 }
diff --git a/civicrm/CRM/Core/BAO/EntityTag.php b/civicrm/CRM/Core/BAO/EntityTag.php
index 35950c5cf16f6472922bb6ccf3a7ba8ea9da9b27..9000ade79c99d61973e458be756ce683c66a8f45 100644
--- a/civicrm/CRM/Core/BAO/EntityTag.php
+++ b/civicrm/CRM/Core/BAO/EntityTag.php
@@ -456,16 +456,17 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
     $params = [];
 
     if ($fieldName == 'tag' || $fieldName == 'tag_id') {
+      $table = 'civicrm_contact';
       if (!empty($props['entity_table'])) {
-        $entity = CRM_Utils_Type::escape($props['entity_table'], 'String');
-        $params[] = "used_for LIKE '%$entity%'";
+        $table = CRM_Utils_Type::escape($props['entity_table'], 'String');
+        $params['condition'][] = "used_for LIKE '%$table%'";
       }
 
       // Output tag list as nested hierarchy
       // TODO: This will only work when api.entity is "entity_tag". What about others?
       if ($context == 'search' || $context == 'create') {
         $dummyArray = [];
-        return CRM_Core_BAO_Tag::getTags(CRM_Utils_Array::value('entity_table', $props, 'civicrm_contact'), $dummyArray, CRM_Utils_Array::value('parent_id', $params), '- ');
+        return CRM_Core_BAO_Tag::getTags($table, $dummyArray, NULL, '- ');
       }
     }
 
diff --git a/civicrm/CRM/Core/BAO/Note.php b/civicrm/CRM/Core/BAO/Note.php
index a08dbacf4faad35694c58b854e2497b488616bae..85cc99bd2b3a6666a42b870b8365db0fed649308 100644
--- a/civicrm/CRM/Core/BAO/Note.php
+++ b/civicrm/CRM/Core/BAO/Note.php
@@ -565,17 +565,4 @@ WHERE participant.contact_id = %1 AND  note.entity_table = 'civicrm_participant'
     }
   }
 
-  /**
-   * Whitelist of possible values for the entity_table field
-   * @return array
-   */
-  public static function entityTables() {
-    return array(
-      'civicrm_relationship' => 'Relationship',
-      'civicrm_contact' => 'Contact',
-      'civicrm_participant' => 'Participant',
-      'civicrm_contribution' => 'Contribution',
-    );
-  }
-
 }
diff --git a/civicrm/CRM/Core/BAO/Phone.php b/civicrm/CRM/Core/BAO/Phone.php
index c5a110e2eeba9665eb02dda6f71e226ff0c08915..260b2e69736ab34e2cd7d7ad88621c17f09efb51 100644
--- a/civicrm/CRM/Core/BAO/Phone.php
+++ b/civicrm/CRM/Core/BAO/Phone.php
@@ -33,8 +33,6 @@ class CRM_Core_BAO_Phone extends CRM_Core_DAO_Phone {
    * @throws \CRM_Core_Exception
    */
   public static function create($params) {
-    // Ensure mysql phone function exists
-    CRM_Core_DAO::checkSqlFunctionsExist();
     CRM_Core_BAO_Block::handlePrimary($params, get_class());
     return self::writeRecord($params);
   }
@@ -214,8 +212,6 @@ ORDER BY ph.is_primary DESC, phone_id ASC ";
     if (!$optionId) {
       return;
     }
-    // Ensure mysql phone function exists
-    CRM_Core_DAO::checkSqlFunctionsExist();
 
     $tables = [
       'civicrm_phone',
@@ -243,8 +239,6 @@ ORDER BY ph.is_primary DESC, phone_id ASC ";
    * @return bool
    */
   public static function del($id) {
-    // Ensure mysql phone function exists
-    CRM_Core_DAO::checkSqlFunctionsExist();
     return CRM_Contact_BAO_Contact::deleteObjectWithPrimary('Phone', $id);
   }
 
diff --git a/civicrm/CRM/Core/BAO/Translation.php b/civicrm/CRM/Core/BAO/Translation.php
index c9db2cb98ab76209cf3f43b5f4f8b8b53d5cf986..8918d27ec4a3a5a3bed133ee6b86b9d72a2e5d3d 100644
--- a/civicrm/CRM/Core/BAO/Translation.php
+++ b/civicrm/CRM/Core/BAO/Translation.php
@@ -14,7 +14,9 @@
  * @package CRM
  * @copyright CiviCRM LLC https://civicrm.org/licensing
  */
-class CRM_Core_BAO_Translation extends CRM_Core_DAO_Translation {
+class CRM_Core_BAO_Translation extends CRM_Core_DAO_Translation implements \Civi\Test\HookInterface {
+
+  use CRM_Core_DynamicFKAccessTrait;
 
   /**
    * Get a list of valid statuses for translated-strings.
@@ -104,4 +106,61 @@ class CRM_Core_BAO_Translation extends CRM_Core_DAO_Translation {
     return $f;
   }
 
+  /**
+   * When manipulating strings via the `Translation` entity (APIv4), ensure that the references are well-formed.
+   *
+   * @param \Civi\Api4\Event\ValidateValuesEvent $e
+   */
+  public static function self_civi_api4_validate(\Civi\Api4\Event\ValidateValuesEvent $e) {
+    $statuses = self::getStatuses('validate');
+    $dataTypes = [CRM_Utils_Type::T_STRING, CRM_Utils_Type::T_TEXT, CRM_Utils_Type::T_LONGTEXT];
+    $htmlTypes = ['Text', 'TextArea', 'RichTextEditor', ''];
+
+    foreach ($e->records as $r => $record) {
+      if (array_key_exists('status_id', $record) && !isset($statuses[$record['status_id']])) {
+        $e->addError($r, 'status_id', 'invalid', ts('Invalid status'));
+      }
+
+      $entityIdFields = ['entity_table', 'entity_field', 'entity_id'];
+      $entityIdCount = (empty($record['entity_table']) ? 0 : 1)
+        + (empty($record['entity_field']) ? 0 : 1)
+        + (empty($record['entity_id']) ? 0 : 1);
+      if ($entityIdCount === 0) {
+        continue;
+      }
+      elseif ($entityIdCount < 3) {
+        $e->addError($r, $entityIdFields, 'full_entity', ts('Must specify all entity identification fields'));
+      }
+
+      $simpleName = '/^[a-zA-Z0-9_]+$/';
+      if (!preg_match($simpleName, $record['entity_table']) || !preg_match($simpleName, $record['entity_field']) || !is_numeric($record['entity_id'])) {
+        $e->addError($r, $entityIdFields, 'malformed_entity', ts('Entity reference is malformed'));
+        continue;
+      }
+
+      // Which fields support translation?
+      // - One could follow the same path as "Multilingual". Use
+      //   $translatable = CRM_Core_I18n_SchemaStructure::columns();
+      //   if (!isset($translatable[$record['entity_table']][$record['entity_field']])) {
+      // - Or, since we don't need schema-changes, we could be more generous and allow all freeform text fields...
+
+      $daoClass = CRM_Core_DAO_AllCoreTables::getClassForTable($record['entity_table']);
+      if (!$daoClass) {
+        $e->addError($r, 'entity_table', 'bad_table', ts('Entity reference specifies a non-existent or non-translatable table'));
+        continue;
+      }
+
+      $dao = new $daoClass();
+      $dao->id = $record['entity_id'];
+
+      $field = $dao->getFieldSpec($record['entity_field']);
+      if (!$field || !in_array($field['type'] ?? '', $dataTypes) || !in_array($field['html']['type'] ?? '', $htmlTypes)) {
+        $e->addError($r, 'entity_field', 'bad_field', ts('Entity reference specifies a non-existent or non-translatable field'));
+      }
+      if (!$dao->find()) {
+        $e->addError($r, 'entity_id', 'nonexistent_id', ts('Entity does not exist'));
+      }
+    }
+  }
+
 }
diff --git a/civicrm/CRM/Core/Block.php b/civicrm/CRM/Core/Block.php
index bbd3b427f83f8878ebcc09c2ee25333fbb421747..1d7a605a29f9eed2f0c8ce666a6459e78a3d8aba 100644
--- a/civicrm/CRM/Core/Block.php
+++ b/civicrm/CRM/Core/Block.php
@@ -440,6 +440,7 @@ class CRM_Core_Block {
     }
     $value['title'] = $short['title'];
     $value['ref'] = $short['ref'] ?? '';
+    $value['shortCuts'] = [];
     if (!empty($short['shortCuts'])) {
       foreach ($short['shortCuts'] as $shortCut) {
         $value['shortCuts'][] = self::setShortcutValues($shortCut);
diff --git a/civicrm/CRM/Core/CodeGen/Specification.php b/civicrm/CRM/Core/CodeGen/Specification.php
index 0c379947e062eee2acfa9e4245ffd771ff89a6f5..f2300887972b5bf71b9fce789bce2a08fa7c7341 100644
--- a/civicrm/CRM/Core/CodeGen/Specification.php
+++ b/civicrm/CRM/Core/CodeGen/Specification.php
@@ -226,6 +226,7 @@ class CRM_Core_CodeGen_Specification {
       'attributes_simple' => trim($database['tableAttributes_simple']),
       'attributes_modern' => trim($database['tableAttributes_modern']),
       'comment' => $this->value('comment', $tableXML),
+      'description' => $this->value('description', $tableXML),
       'localizable' => $localizable,
       'log' => $this->value('log', $tableXML, 'false'),
       'archive' => $this->value('archive', $tableXML, 'false'),
@@ -513,7 +514,7 @@ class CRM_Core_CodeGen_Specification {
     if (isset($fields[$name])) {
       $fields[$name]['autoincrement'] = $auto;
     }
-    $fields[$name]['autoincrement'] = $auto;
+
     $primaryKey = [
       'name' => $name,
       'autoincrement' => $auto,
diff --git a/civicrm/CRM/Core/DAO.php b/civicrm/CRM/Core/DAO.php
index 617c91f2a49192ec7a8bc5d63e08a88a2cfe53a0..7ac51a518f715c4e4d9fae150d7f58560ba657b9 100644
--- a/civicrm/CRM/Core/DAO.php
+++ b/civicrm/CRM/Core/DAO.php
@@ -32,6 +32,13 @@ require_once 'CRM/Core/I18n.php';
  */
 class CRM_Core_DAO extends DB_DataObject {
 
+  /**
+   * Primary key field(s).
+   *
+   * @var string[]
+   */
+  public static $_primaryKey = ['id'];
+
   /**
    * How many times has this instance been cloned.
    *
@@ -107,8 +114,6 @@ class CRM_Core_DAO extends DB_DataObject {
    */
   public static $_factory = NULL;
 
-  public static $_checkedSqlFunctionsExist = FALSE;
-
   /**
    * https://issues.civicrm.org/jira/browse/CRM-17748
    * internal variable for DAO to hold per-query settings
@@ -137,6 +142,15 @@ class CRM_Core_DAO extends DB_DataObject {
     return CRM_Core_DAO_AllCoreTables::getBriefName($className);
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string|null
+   */
+  public static function getEntityDescription() {
+    return NULL;
+  }
+
   public function __clone() {
     if (!empty($this->_DB_resultid)) {
       $this->resultCopies++;
@@ -2451,23 +2465,6 @@ SELECT contact_id
     Civi::service('sql_triggers')->rebuild($tableName, $force);
   }
 
-  /**
-   * Because sql functions are sometimes lost, esp during db migration, we check here to avoid numerous support requests
-   * @see http://issues.civicrm.org/jira/browse/CRM-13822
-   * TODO: Alternative solutions might be
-   *  * Stop using functions and find another way to strip numeric characters from phones
-   *  * Give better error messages (currently a missing fn fatals with "unknown error")
-   */
-  public static function checkSqlFunctionsExist() {
-    if (!self::$_checkedSqlFunctionsExist) {
-      self::$_checkedSqlFunctionsExist = TRUE;
-      $dao = CRM_Core_DAO::executeQuery("SHOW function status WHERE db = database() AND name = 'civicrm_strip_non_numeric'");
-      if (!$dao->fetch()) {
-        self::triggerRebuild();
-      }
-    }
-  }
-
   /**
    * Wrapper function to drop triggers.
    *
@@ -2582,7 +2579,7 @@ SELECT contact_id
    * @param string $tableName
    *   Table referred to.
    *
-   * @return array
+   * @return CRM_Core_Reference_Interface[]
    *   structure of table and column, listing every table with a
    *   foreign key reference to $tableName, and the column where the key appears.
    */
@@ -2619,7 +2616,12 @@ SELECT contact_id
     $contactReferences = [];
     $coreReferences = CRM_Core_DAO::getReferencesToTable('civicrm_contact');
     foreach ($coreReferences as $coreReference) {
-      if (!is_a($coreReference, 'CRM_Core_Reference_Dynamic')) {
+      if (
+        // Exclude option values
+        !is_a($coreReference, 'CRM_Core_Reference_Dynamic') &&
+        // Exclude references to other columns
+        $coreReference->getTargetKey() === 'id'
+      ) {
         $contactReferences[$coreReference->getReferenceTable()][] = $coreReference->getReferenceKey();
       }
     }
diff --git a/civicrm/CRM/Core/DAO/ActionLog.php b/civicrm/CRM/Core/DAO/ActionLog.php
index 9015963bc4ef1b912241a4c60c3545f93938bd22..3d9b0315cf52213f47b5bd5ffc3e515986ce5cf8 100644
--- a/civicrm/CRM/Core/DAO/ActionLog.php
+++ b/civicrm/CRM/Core/DAO/ActionLog.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a0c147177cdb17585bd74bbc836f7cb5)
+ * (GenCodeChecksum:b2a5ecdfd400bdf2fe892f9391f8a7ea)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/ActionMapping.php b/civicrm/CRM/Core/DAO/ActionMapping.php
index d99cd9866f1fe1da9895f261fb83e2f575c8c359..a337d7dc50cdbc19d6034d6b268cda3387d60dc0 100644
--- a/civicrm/CRM/Core/DAO/ActionMapping.php
+++ b/civicrm/CRM/Core/DAO/ActionMapping.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionMapping.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2db355e73b3c39feaecdb8e18ddf7c14)
+ * (GenCodeChecksum:bbddce29b37d3352bf681595ee0d3ffd)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/ActionSchedule.php b/civicrm/CRM/Core/DAO/ActionSchedule.php
index 0b71befdf007dfbdf4f0f0f41c52d83ae34f488f..a58346853ab50118c79f74976ea68c47421e9396 100644
--- a/civicrm/CRM/Core/DAO/ActionSchedule.php
+++ b/civicrm/CRM/Core/DAO/ActionSchedule.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionSchedule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:48adb86fcda3fc1cb7489d95490582b5)
+ * (GenCodeChecksum:35dfd5d26ce9445b37c831c51ccc5d7e)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Address.php b/civicrm/CRM/Core/DAO/Address.php
index 6872c34d99a654dde46c4915cd7f88d3d032d816..0ce4ef2710ab2b23008ed182ae3b2e031bdf5341 100644
--- a/civicrm/CRM/Core/DAO/Address.php
+++ b/civicrm/CRM/Core/DAO/Address.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Address.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b4da4403036bc996d0096c71c7ed226a)
+ * (GenCodeChecksum:bd0caca7da12cba4ed8161b892a77229)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/AddressFormat.php b/civicrm/CRM/Core/DAO/AddressFormat.php
index 9e6e0983f5a56247a4d8851a69c1847a41537610..aad2567193bb1ad6b60f1d9aa8cb2eb8b68a5775 100644
--- a/civicrm/CRM/Core/DAO/AddressFormat.php
+++ b/civicrm/CRM/Core/DAO/AddressFormat.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/AddressFormat.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:97f3200f7d0f056c11607371d23b2c53)
+ * (GenCodeChecksum:fc7e6c978b71e38b5357cee46708a649)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/AllCoreTables.php b/civicrm/CRM/Core/DAO/AllCoreTables.php
index f117d68148ae6fb4c7149a1d75fc5981a9cc6ff8..2db1a16acfa7b89e5073284aa15443c70ddabab6 100644
--- a/civicrm/CRM/Core/DAO/AllCoreTables.php
+++ b/civicrm/CRM/Core/DAO/AllCoreTables.php
@@ -311,13 +311,13 @@ class CRM_Core_DAO_AllCoreTables {
   /**
    * Given a brief-name, determine the full class-name.
    *
-   * @param string $daoName
+   * @param string $briefName
    *   Ex: 'Contact'.
    * @return string|CRM_Core_DAO|NULL
    *   Ex: 'CRM_Contact_DAO_Contact'.
    */
-  public static function getFullName($daoName) {
-    return CRM_Utils_Array::value($daoName, self::daoToClass());
+  public static function getFullName($briefName) {
+    return self::daoToClass()[$briefName] ?? NULL;
   }
 
   /**
diff --git a/civicrm/CRM/Core/DAO/Cache.php b/civicrm/CRM/Core/DAO/Cache.php
index 56b0955e449b6977e56a36c5ff7becbedca4cf12..b1e3978b7e677875a14fbfe74701fa5c169672db 100644
--- a/civicrm/CRM/Core/DAO/Cache.php
+++ b/civicrm/CRM/Core/DAO/Cache.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Cache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f75fff9457efc515701d6441c5da3cfd)
+ * (GenCodeChecksum:da6b1275fea0ffb19d09613211f7628e)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Component.php b/civicrm/CRM/Core/DAO/Component.php
index e5a4a26fbe90a7eaf0f20e59d9ad693087be080a..54b4aa5e2db2446e8711e66a203bed0f6f807938 100644
--- a/civicrm/CRM/Core/DAO/Component.php
+++ b/civicrm/CRM/Core/DAO/Component.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Component.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:715b933f7b0163579b567da290425992)
+ * (GenCodeChecksum:fd26fa740989a13ac1d91618c2059d57)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Country.php b/civicrm/CRM/Core/DAO/Country.php
index 7b6649cd3a48dc77761cd03c2d628e0c2eeaf925..6a900cf5404136c6d20ba3beaa530094f9f0cf92 100644
--- a/civicrm/CRM/Core/DAO/Country.php
+++ b/civicrm/CRM/Core/DAO/Country.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Country.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4e511bfb7cab9f771950ac3c5900c78e)
+ * (GenCodeChecksum:680f4faa9e939df6f6c4ba3f1efd7853)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/County.php b/civicrm/CRM/Core/DAO/County.php
index 88d06ebc500eb9c88af9f26580a43e72b14f47eb..943f2d724b3b20730669e10760df8af712247c9f 100644
--- a/civicrm/CRM/Core/DAO/County.php
+++ b/civicrm/CRM/Core/DAO/County.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/County.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:36a36257bf7ce221e17843ebeca96f19)
+ * (GenCodeChecksum:6666108a662d719144f390bf4746268d)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/CustomField.php b/civicrm/CRM/Core/DAO/CustomField.php
index d8c977b01222de8aa9ca6cbe73c22718cc6268c4..758beb4cf98b0b7f795284ead6d09d96e08c940e 100644
--- a/civicrm/CRM/Core/DAO/CustomField.php
+++ b/civicrm/CRM/Core/DAO/CustomField.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/CustomField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8ec2e0591921853bc86149754f5704f9)
+ * (GenCodeChecksum:b53a928be3c87ec7da4f88da3ec825b8)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/CustomGroup.php b/civicrm/CRM/Core/DAO/CustomGroup.php
index 3798bb95dd7c45693689ef8b291e7d97748ced64..0ffa8fe4cd133027811d281c2b184ba19659d64c 100644
--- a/civicrm/CRM/Core/DAO/CustomGroup.php
+++ b/civicrm/CRM/Core/DAO/CustomGroup.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/CustomGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ddee40c6f144396056437d29bc0337d7)
+ * (GenCodeChecksum:fbf405c2b8b04de06a84977970ae8b02)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Dashboard.php b/civicrm/CRM/Core/DAO/Dashboard.php
index 7cbae2ae9d75a3320d0e444a89f25c27cbe18a05..127a74dd9cc97a8a0da9b3db9226d2eeffe6c98d 100644
--- a/civicrm/CRM/Core/DAO/Dashboard.php
+++ b/civicrm/CRM/Core/DAO/Dashboard.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Dashboard.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6cb9571887b8c1d15ca18ea07b2ab757)
+ * (GenCodeChecksum:0404bd5bf3e04c20da16ec1950db8ac0)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Discount.php b/civicrm/CRM/Core/DAO/Discount.php
index f9ac08ac65a65183f3d56ed144c7de3820c0ef3a..a1d65e4876a6e9d24b970876391029a5453be662 100644
--- a/civicrm/CRM/Core/DAO/Discount.php
+++ b/civicrm/CRM/Core/DAO/Discount.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Discount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ef47ec0e0453218f9c5e6ce9435694f7)
+ * (GenCodeChecksum:681876b76553a2f0db5a0c0f9d18eda0)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Domain.php b/civicrm/CRM/Core/DAO/Domain.php
index dfda39051bfd582d364c0e03f13c1bfaa59a69cb..743582be7d37f6c34b8eba4bb0a9eeb0c40aed6c 100644
--- a/civicrm/CRM/Core/DAO/Domain.php
+++ b/civicrm/CRM/Core/DAO/Domain.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Domain.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:90abce1cfca0d365b4ff49fadad001b2)
+ * (GenCodeChecksum:e10798e1d9921d637856a2dfcf7738dc)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Email.php b/civicrm/CRM/Core/DAO/Email.php
index 36081e21866ba276e422bdf90b37bc11c1bc9b02..d72c3b3b85632d661fc5567ef22ebce50158687d 100644
--- a/civicrm/CRM/Core/DAO/Email.php
+++ b/civicrm/CRM/Core/DAO/Email.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Email.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4c29213d7bce543125d95b77efa03bbd)
+ * (GenCodeChecksum:84e4a7efb791b5e3ed3b7d7fc9e21a09)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/EntityFile.php b/civicrm/CRM/Core/DAO/EntityFile.php
index d26286a44b80d7a7f296c1861bb02039e9b97de2..6b86fd5d4117c413a411c496771a043ab75e22ee 100644
--- a/civicrm/CRM/Core/DAO/EntityFile.php
+++ b/civicrm/CRM/Core/DAO/EntityFile.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/EntityFile.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:37cc0051ec4b2d54eeeefe4c4d004b6d)
+ * (GenCodeChecksum:db6759b7a93a170611ad4eb003cb9f54)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/EntityTag.php b/civicrm/CRM/Core/DAO/EntityTag.php
index 0645ff78797143fb1553ab8192f27ff38641ab83..c5ed9f3f325cba4415fa88bf71c5cb4bf4619589 100644
--- a/civicrm/CRM/Core/DAO/EntityTag.php
+++ b/civicrm/CRM/Core/DAO/EntityTag.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/EntityTag.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d799212555ac2c5cc5195fcc2e1e1400)
+ * (GenCodeChecksum:c5bfb60ebd84dbe86b8dd8b522fd11e6)
  */
 
 /**
@@ -168,6 +168,7 @@ class CRM_Core_DAO_EntityTag extends CRM_Core_DAO {
             'table' => 'civicrm_tag',
             'keyColumn' => 'id',
             'labelColumn' => 'name',
+            'condition' => 'is_tagset != 1',
           ],
           'add' => '1.1',
         ],
diff --git a/civicrm/CRM/Core/DAO/Extension.php b/civicrm/CRM/Core/DAO/Extension.php
index e2371a50c8c5a7e63bdae4654970c88ac5f1353f..389961ba3264fa39a6c69b889a1a274d8f227d16 100644
--- a/civicrm/CRM/Core/DAO/Extension.php
+++ b/civicrm/CRM/Core/DAO/Extension.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Extension.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b979161a3a2ef67738823c85fb902876)
+ * (GenCodeChecksum:8d9c173c0d7da38d4c28c6b712aecee0)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/File.php b/civicrm/CRM/Core/DAO/File.php
index 9b1627cff87e49f631467deb5fcf1c56571d7cfb..51ffc3b345001cc414a8eb8a7c9f712b02794378 100644
--- a/civicrm/CRM/Core/DAO/File.php
+++ b/civicrm/CRM/Core/DAO/File.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/File.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7a720dc32168f5e3b5c21226a1daa564)
+ * (GenCodeChecksum:6bf3c3f06e1c01d91a6c6cf5ada7a889)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/IM.php b/civicrm/CRM/Core/DAO/IM.php
index d4869d7e0129ef9b10cd2efd2aa336d53306dce8..5faf041d315d94331926d4ad99e0af0f396f3ff3 100644
--- a/civicrm/CRM/Core/DAO/IM.php
+++ b/civicrm/CRM/Core/DAO/IM.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/IM.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bc655887019b64f21d96c5eff7040972)
+ * (GenCodeChecksum:179c338e66288123b7ca45c78ad57fcc)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Job.php b/civicrm/CRM/Core/DAO/Job.php
index 62e640fc4b3b1886389e86e085db9d31171aca96..284cb4da1b249664595dff39924ac2ce79a07b02 100644
--- a/civicrm/CRM/Core/DAO/Job.php
+++ b/civicrm/CRM/Core/DAO/Job.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Job.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c999b0d2442859f0c0e5e18de30f2eb2)
+ * (GenCodeChecksum:e5798e1ce73654af23730d7188a0c963)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/JobLog.php b/civicrm/CRM/Core/DAO/JobLog.php
index daa54b465b5c7daf0695c9d83fd9fb39834a87b0..9f73d5f82c658b56691b7ecb67ae2fa6c66a5532 100644
--- a/civicrm/CRM/Core/DAO/JobLog.php
+++ b/civicrm/CRM/Core/DAO/JobLog.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/JobLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3aa1cb73c46b5f34cd44a1a37a981722)
+ * (GenCodeChecksum:6677b28207cbf86835164b7b33c38608)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/LocBlock.php b/civicrm/CRM/Core/DAO/LocBlock.php
index d947b7fdb7358b02f9b139d794134b689f4fccef..32b74aab2c4054b3c508f00859738cea892d2643 100644
--- a/civicrm/CRM/Core/DAO/LocBlock.php
+++ b/civicrm/CRM/Core/DAO/LocBlock.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/LocBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0fc0d628b8d0a4e918045455192980ca)
+ * (GenCodeChecksum:0da5161ce83d29bc7626c1a3b74b2950)
  */
 
 /**
@@ -23,6 +23,13 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
    */
   public static $_tableName = 'civicrm_loc_block';
 
+  /**
+   * Icon associated with this entity.
+   *
+   * @var string
+   */
+  public static $_icon = 'fa-map-o';
+
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
@@ -92,7 +99,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
    *   Whether to return the plural version of the title.
    */
   public static function getEntityTitle($plural = FALSE) {
-    return $plural ? ts('Loc Blocks') : ts('Loc Block');
+    return $plural ? ts('Locations') : ts('Location');
   }
 
   /**
@@ -198,14 +205,14 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_IM',
           'html' => [
-            'label' => ts("IM"),
+            'label' => ts("Instant Messenger"),
           ],
           'add' => '2.0',
         ],
         'address_2_id' => [
           'name' => 'address_2_id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('IM 2 ID'),
+          'title' => ts('Address 2 ID'),
           'where' => 'civicrm_loc_block.address_2_id',
           'table_name' => 'civicrm_loc_block',
           'entity' => 'LocBlock',
@@ -213,7 +220,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Address',
           'html' => [
-            'label' => ts("IM 2"),
+            'label' => ts("Address 2"),
           ],
           'add' => '2.0',
         ],
@@ -250,7 +257,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
         'im_2_id' => [
           'name' => 'im_2_id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('Instant Messenger 2 ID'),
+          'title' => ts('IM 2 ID'),
           'where' => 'civicrm_loc_block.im_2_id',
           'table_name' => 'civicrm_loc_block',
           'entity' => 'LocBlock',
diff --git a/civicrm/CRM/Core/DAO/LocationType.php b/civicrm/CRM/Core/DAO/LocationType.php
index 51380c66daeae251deb53f1b2f354e5239894421..fe2b14131aa907c3287fc07497e91a294b897aeb 100644
--- a/civicrm/CRM/Core/DAO/LocationType.php
+++ b/civicrm/CRM/Core/DAO/LocationType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/LocationType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f297dfb63ce60fba3e9fe36811e63c54)
+ * (GenCodeChecksum:f9c5e451793d7a168906f173ea492ba7)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Log.php b/civicrm/CRM/Core/DAO/Log.php
index 1c7e794e34aabed4d659f7f75b08e141b98f2d5b..dcbc1e2340d5986b11caeb228de03ee2d5b1ff68 100644
--- a/civicrm/CRM/Core/DAO/Log.php
+++ b/civicrm/CRM/Core/DAO/Log.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Log.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:125889d1bc0b6eb15c827e1ad378037e)
+ * (GenCodeChecksum:8fe4326f940304ec2c8ea86754d6142e)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/MailSettings.php b/civicrm/CRM/Core/DAO/MailSettings.php
index f34dbf3a97b370e362eb6323d96bd244a8da0728..db6854affcf7ac7bf5af839b11923268f5b4fd73 100644
--- a/civicrm/CRM/Core/DAO/MailSettings.php
+++ b/civicrm/CRM/Core/DAO/MailSettings.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MailSettings.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e2f8aca7ff7a4c1d4569cd57d978f751)
+ * (GenCodeChecksum:116c87968f4c16758eff8825047a6ceb)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Managed.php b/civicrm/CRM/Core/DAO/Managed.php
index 6877a0e75a3884aac16bc698bc3f5f5e15fe6398..91ce2a7b7acc901b5afefa487c8b3df082968843 100644
--- a/civicrm/CRM/Core/DAO/Managed.php
+++ b/civicrm/CRM/Core/DAO/Managed.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Managed.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7254649f0a40bd37a56d5781567c47c7)
+ * (GenCodeChecksum:c8697305b613f6ca6854638025df2fd7)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Mapping.php b/civicrm/CRM/Core/DAO/Mapping.php
index bbae336b6f13c091bff4db7da55bab2511c99f11..3ace2b661c87b426e0349203d52134d6919c8fea 100644
--- a/civicrm/CRM/Core/DAO/Mapping.php
+++ b/civicrm/CRM/Core/DAO/Mapping.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Mapping.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:12087a864ccb66be7b11af781b242c02)
+ * (GenCodeChecksum:4a0976e14e588b9a81c79e72849494e0)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/MappingField.php b/civicrm/CRM/Core/DAO/MappingField.php
index b3d14930470b60899efffebb02537a4664039ec3..9c976231026f80f663620d16270064899a2b2f97 100644
--- a/civicrm/CRM/Core/DAO/MappingField.php
+++ b/civicrm/CRM/Core/DAO/MappingField.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MappingField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f46b7a16002a4e16ee2db61fc394a13a)
+ * (GenCodeChecksum:d2ce640ccb1f30190097cced450038e0)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Menu.php b/civicrm/CRM/Core/DAO/Menu.php
index 74082ea4a605e33e306658e6ad96d8d02672531d..f70e8b2f91fa473ba72b63e2caa80f4bbbca1ddb 100644
--- a/civicrm/CRM/Core/DAO/Menu.php
+++ b/civicrm/CRM/Core/DAO/Menu.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Menu.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c09d043f3d205f3502a3e16f94a200dd)
+ * (GenCodeChecksum:43fa7e0ff85619af0065d2802de6f8f4)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/MessageTemplate.php b/civicrm/CRM/Core/DAO/MessageTemplate.php
index 96d2a821794bda7ec9a7f2bb22518039df3bf7bd..a84d7eed54e6f89f7b9e92d40bae57a2c6cd06d2 100644
--- a/civicrm/CRM/Core/DAO/MessageTemplate.php
+++ b/civicrm/CRM/Core/DAO/MessageTemplate.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MessageTemplate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:09434f7bf2a0cccd82d6f3edf6873e39)
+ * (GenCodeChecksum:10bf11ca59e77fe7be9dfd775e5d5cd0)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Navigation.php b/civicrm/CRM/Core/DAO/Navigation.php
index 286599105603c7e1871dbd2df6421c0912d1c28a..ab154b8353a63862131bb991abc43927e39cca16 100644
--- a/civicrm/CRM/Core/DAO/Navigation.php
+++ b/civicrm/CRM/Core/DAO/Navigation.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Navigation.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8a120683f9bd11ea9e17fbccfed289fd)
+ * (GenCodeChecksum:2b9fb139d42e95f23ebc1fe7b055c546)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Note.php b/civicrm/CRM/Core/DAO/Note.php
index 1f9547b0b859ee82ff4722182f77ae4d8e6b7723..4370b6d075e4ed416888b9ab22dadbb5e4281985 100644
--- a/civicrm/CRM/Core/DAO/Note.php
+++ b/civicrm/CRM/Core/DAO/Note.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Note.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:93f7d0a057e66114cd7b2086c511f0fd)
+ * (GenCodeChecksum:49a15912788803e8ccf5298fe93932aa)
  */
 
 /**
@@ -180,7 +180,8 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Note',
           'localizable' => 0,
           'pseudoconstant' => [
-            'callback' => 'CRM_Core_BAO_Note::entityTables',
+            'optionGroupName' => 'note_used_for',
+            'optionEditPath' => 'civicrm/admin/options/note_used_for',
           ],
           'add' => '1.1',
         ],
diff --git a/civicrm/CRM/Core/DAO/OpenID.php b/civicrm/CRM/Core/DAO/OpenID.php
index 406081e41878c62cdf7aa0f254092d2841357185..166758db6f1f7efb8803d62777e9de61b2134525 100644
--- a/civicrm/CRM/Core/DAO/OpenID.php
+++ b/civicrm/CRM/Core/DAO/OpenID.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OpenID.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:52f04f084f77d77647b6fd4fd70f91d9)
+ * (GenCodeChecksum:6547ff2f60e61de44f3ca5a866c1df6a)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/OptionGroup.php b/civicrm/CRM/Core/DAO/OptionGroup.php
index b979ae6062a5652d4f7e900e94a01b8f26907c96..59dfd5c4e0eb9109f467808b606ec5af26b14dba 100644
--- a/civicrm/CRM/Core/DAO/OptionGroup.php
+++ b/civicrm/CRM/Core/DAO/OptionGroup.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OptionGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5f7256e2bd9f6f3c96ea39c8642dcafb)
+ * (GenCodeChecksum:6be4b908c7861e9026d1f2d78c42a0ac)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/OptionValue.php b/civicrm/CRM/Core/DAO/OptionValue.php
index c59dfc270fd111a5fcfb0e3b3d1994552233e7f8..e421d63a2afe17ab831b9d20e246fd1588a8407a 100644
--- a/civicrm/CRM/Core/DAO/OptionValue.php
+++ b/civicrm/CRM/Core/DAO/OptionValue.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OptionValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bb1be9c1b4275b0298724537618f6895)
+ * (GenCodeChecksum:171565168517add49222893871a84e43)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Phone.php b/civicrm/CRM/Core/DAO/Phone.php
index 505eb9025481aba8c412e39873b9243cbfc2f160..c4918cc592f2ac0190988592d2d3d6f176194c7f 100644
--- a/civicrm/CRM/Core/DAO/Phone.php
+++ b/civicrm/CRM/Core/DAO/Phone.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Phone.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cadb26f607b1638fc26aea5a2a5ccd73)
+ * (GenCodeChecksum:632e24c7c46ff01ecb1acab879bcf625)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/PreferencesDate.php b/civicrm/CRM/Core/DAO/PreferencesDate.php
index d0368081472a1dfe05f794c1eddd34d8defbb6dc..f0c15bc898d4b26ddb8861fb0a91ae5c5c6059d5 100644
--- a/civicrm/CRM/Core/DAO/PreferencesDate.php
+++ b/civicrm/CRM/Core/DAO/PreferencesDate.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PreferencesDate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:92207005de86924b05203395e1e83675)
+ * (GenCodeChecksum:767dc30f83e4087a07c185f857fc8fb3)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/PrevNextCache.php b/civicrm/CRM/Core/DAO/PrevNextCache.php
index 66cf6c2be53532af501312b90c0b5081ae4404a8..8bcc48e6140734e6f65682d1f86d80bbe1c974dd 100644
--- a/civicrm/CRM/Core/DAO/PrevNextCache.php
+++ b/civicrm/CRM/Core/DAO/PrevNextCache.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PrevNextCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:207e660d644f8fa00b5873ca2d0a298b)
+ * (GenCodeChecksum:af3cb54c291525d39547cefa9bddf11a)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/PrintLabel.php b/civicrm/CRM/Core/DAO/PrintLabel.php
index 517aedd7ad2d8814aa6a035dc0679342f8df00b1..9fa29c8fcab24ccc07109ef45499b3dc0338f9e8 100644
--- a/civicrm/CRM/Core/DAO/PrintLabel.php
+++ b/civicrm/CRM/Core/DAO/PrintLabel.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PrintLabel.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:56331718846a7dc11e08e8c206696d8a)
+ * (GenCodeChecksum:cae6bd3ef03de9c99cd64c3c232fca54)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/RecurringEntity.php b/civicrm/CRM/Core/DAO/RecurringEntity.php
index a66dccd577422ca1bf741dfd0d07848c3f02e73a..276dad5b04baaab96c51bca8dbaee28d307d1ee8 100644
--- a/civicrm/CRM/Core/DAO/RecurringEntity.php
+++ b/civicrm/CRM/Core/DAO/RecurringEntity.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/RecurringEntity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3295c773e777a676d813419cd27825af)
+ * (GenCodeChecksum:9176ce7b1312c05e06b2d744da945f83)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Setting.php b/civicrm/CRM/Core/DAO/Setting.php
index f5f3ffec4cf1bf87f3c1488d96b133dbdff71fda..cb03d030a918261cc278e62cb2c325f1e7e7731d 100644
--- a/civicrm/CRM/Core/DAO/Setting.php
+++ b/civicrm/CRM/Core/DAO/Setting.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Setting.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:65d67bb9fc865db88ef5e3a6da69ba87)
+ * (GenCodeChecksum:1cc77a956cd4dfc7dd2a7f22579ad742)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/StateProvince.php b/civicrm/CRM/Core/DAO/StateProvince.php
index 66eaa99e8e24627fe241afd4cd2eef937e2547b4..66f8bfe33ac9e188205805452778635f1ccd5fba 100644
--- a/civicrm/CRM/Core/DAO/StateProvince.php
+++ b/civicrm/CRM/Core/DAO/StateProvince.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StateProvince.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3807f834dde7f3a4bca379cf6e9d9130)
+ * (GenCodeChecksum:d99e943649a1c2db96c2111d7feeeec2)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/StatusPreference.php b/civicrm/CRM/Core/DAO/StatusPreference.php
index b9220759d358a19d73521cf8b1f8eb3094175de0..58146b7396aca8a4d5d75930f42cd65ee5b67c34 100644
--- a/civicrm/CRM/Core/DAO/StatusPreference.php
+++ b/civicrm/CRM/Core/DAO/StatusPreference.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StatusPreference.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:37d97f482b6f4e6082c43ad214b5678c)
+ * (GenCodeChecksum:97f98c6f510e57260d2a5e3647a00d4f)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/SystemLog.php b/civicrm/CRM/Core/DAO/SystemLog.php
index 00c16bbc39681ca17dc77d54d9bdcc35b0dde7d6..ea1920cf12b55b10740896cdde0a2083b2e78758 100644
--- a/civicrm/CRM/Core/DAO/SystemLog.php
+++ b/civicrm/CRM/Core/DAO/SystemLog.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/SystemLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cd995817d0c300048fa38a8a7ff5d1cd)
+ * (GenCodeChecksum:1dd363d9554947bfdd8c75bba4ee5da9)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Tag.php b/civicrm/CRM/Core/DAO/Tag.php
index 6c745b9fd668f5c64a8fa592ac045091ccf7806f..4886437cfef9e1a4e184c6eb4fe112e75d76d734 100644
--- a/civicrm/CRM/Core/DAO/Tag.php
+++ b/civicrm/CRM/Core/DAO/Tag.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Tag.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:780c9949951c1a27be4fcbc0f9f3a7f0)
+ * (GenCodeChecksum:6bf223ca710a35bc6fb4c5e3f373b214)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Timezone.php b/civicrm/CRM/Core/DAO/Timezone.php
index 70f171897b05c30543a515d3746bde0f0cdedd3c..20d5781b970cd4458ed68b2ee17e73a2eca22854 100644
--- a/civicrm/CRM/Core/DAO/Timezone.php
+++ b/civicrm/CRM/Core/DAO/Timezone.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Timezone.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:884c166906e487ac1758fa4da6c816a6)
+ * (GenCodeChecksum:a1960975c14d40dedac3cbf6121044db)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Translation.php b/civicrm/CRM/Core/DAO/Translation.php
index 84bd641b7a95f262d0e90cd962b60602269200e9..aba20f3afa392974f224d270d3281a0eea458aa4 100644
--- a/civicrm/CRM/Core/DAO/Translation.php
+++ b/civicrm/CRM/Core/DAO/Translation.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Translation.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9c290a244c0efde76b4e0cd83a069b2b)
+ * (GenCodeChecksum:26a0aec7a4d0e31684a513f1a3f6fa18)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/UFField.php b/civicrm/CRM/Core/DAO/UFField.php
index 6edd64787adbb3b7a30e14734564aa44d777a505..ba2cdcba545b7c406d6c31e823684c00db50b1ea 100644
--- a/civicrm/CRM/Core/DAO/UFField.php
+++ b/civicrm/CRM/Core/DAO/UFField.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4129a22b34b4161f5091e01ceaf5a4c1)
+ * (GenCodeChecksum:47f3fbbbd8d816a9cfb9f7fb4e7d5dc4)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/UFGroup.php b/civicrm/CRM/Core/DAO/UFGroup.php
index 85f63b0500f809388ba84cfedb63d678195bb633..a7dccae40d352bc91b7112ae189d354c101a3021 100644
--- a/civicrm/CRM/Core/DAO/UFGroup.php
+++ b/civicrm/CRM/Core/DAO/UFGroup.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c9b253928c8d6b6fd8869e8e8a63e6f6)
+ * (GenCodeChecksum:0cb6463f64d494ca888d10708269b63c)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/UFJoin.php b/civicrm/CRM/Core/DAO/UFJoin.php
index d8d8080c4b248107d56dd4a5f399489b5a787add..e60816d109c9a99023984866d720e77c305ece8f 100644
--- a/civicrm/CRM/Core/DAO/UFJoin.php
+++ b/civicrm/CRM/Core/DAO/UFJoin.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFJoin.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e50870bd9bbc252854166ca3e90c5601)
+ * (GenCodeChecksum:ad3e1eb59e96ed7553d2a3f48430c934)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/UFMatch.php b/civicrm/CRM/Core/DAO/UFMatch.php
index 479a232f25098e4f2fd8f0637668ac54a50f8dc6..f374311007caca32590da8396c0536c863255447 100644
--- a/civicrm/CRM/Core/DAO/UFMatch.php
+++ b/civicrm/CRM/Core/DAO/UFMatch.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFMatch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ebed522d00626aa9ba2b98178b2045a4)
+ * (GenCodeChecksum:c192c2dfffc598c44141e666fb164342)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Website.php b/civicrm/CRM/Core/DAO/Website.php
index 835a3a0b3bbf86ca26b54e70c44e19188fe4b5a3..80d55ebb667dc5a2a2a4a7e670f600b71f0c7c25 100644
--- a/civicrm/CRM/Core/DAO/Website.php
+++ b/civicrm/CRM/Core/DAO/Website.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Website.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bcaae3388c26a04cb9e57dc9546dbfe7)
+ * (GenCodeChecksum:042da2fb78309555f5d4ecbe41d33cd0)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/WordReplacement.php b/civicrm/CRM/Core/DAO/WordReplacement.php
index fe81bace669782452dd6e30a50dc545972ee857c..47141b827ff9f102993c4ba1edb79d4e7dae9650 100644
--- a/civicrm/CRM/Core/DAO/WordReplacement.php
+++ b/civicrm/CRM/Core/DAO/WordReplacement.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/WordReplacement.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e4ee8b38fc050b33ce056fff1587d5e6)
+ * (GenCodeChecksum:4465ed4733f5b424c231d208ef1f61d7)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DAO/Worldregion.php b/civicrm/CRM/Core/DAO/Worldregion.php
index 81a344a4057ebb67b21ed4befa28b92574a957e7..cea1ffea6c53032abf3fdd253e2d9000b9980ca7 100644
--- a/civicrm/CRM/Core/DAO/Worldregion.php
+++ b/civicrm/CRM/Core/DAO/Worldregion.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Worldregion.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3c8f6cd69c0e0be698517191ad882cb7)
+ * (GenCodeChecksum:897ca1a3833baf2e0c5bc09b350d26cd)
  */
 
 /**
diff --git a/civicrm/CRM/Core/DynamicFKAccessTrait.php b/civicrm/CRM/Core/DynamicFKAccessTrait.php
index 041d53717d56b27422328ba427a58de5da3e0423..041ec3741e2ac40ff6bdc79ba2f0f4def35cf44e 100644
--- a/civicrm/CRM/Core/DynamicFKAccessTrait.php
+++ b/civicrm/CRM/Core/DynamicFKAccessTrait.php
@@ -39,6 +39,10 @@ trait CRM_Core_DynamicFKAccessTrait {
     }
     if ($eid && $table) {
       $targetEntity = CRM_Core_DAO_AllCoreTables::getBriefName(CRM_Core_DAO_AllCoreTables::getClassForTable($table));
+      if ($targetEntity === NULL) {
+        throw new \API_Exception(sprintf('Cannot resolve permissions for dynamic foreign key in "%s". Invalid table reference "%s".',
+          static::getTableName(), $table));
+      }
       return \Civi\Api4\Utils\CoreUtil::checkAccessDelegated($targetEntity, 'update', ['id' => $eid], $userID);
     }
     return TRUE;
diff --git a/civicrm/CRM/Core/Error.php b/civicrm/CRM/Core/Error.php
index 6c44df6261a3d2dbdf8153874f2fa1140524464f..a131be146a9e909b5974bd01b3e783c8bf7126b7 100644
--- a/civicrm/CRM/Core/Error.php
+++ b/civicrm/CRM/Core/Error.php
@@ -1039,16 +1039,23 @@ class CRM_Core_Error extends PEAR_ErrorStack {
       $callerClass = $dbt[1]['class'] ?? NULL;
       $oldMethod = "{$callerClass}::{$callerFunction}";
     }
-    self::deprecatedWarning("Deprecated function $oldMethod, use $newMethod.");
+    $message = "Deprecated function $oldMethod, use $newMethod.";
+    Civi::log()->warning($message, ['civi.tag' => 'deprecated']);
+    trigger_error($message, E_USER_DEPRECATED);
   }
 
   /**
    * Output a deprecated notice about a deprecated call path, rather than deprecating a whole function.
+   *
    * @param string $message
    */
   public static function deprecatedWarning($message) {
     // Even though the tag is no longer used within the log() function,
     // \Civi\API\LogObserver instances may still be monitoring it.
+    $dbt = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 3);
+    $callerFunction = $dbt[2]['function'] ?? NULL;
+    $callerClass = $dbt[2]['class'] ?? NULL;
+    $message .= " Caller: {$callerClass}::{$callerFunction}";
     Civi::log()->warning($message, ['civi.tag' => 'deprecated']);
     trigger_error($message, E_USER_DEPRECATED);
   }
diff --git a/civicrm/CRM/Core/Form.php b/civicrm/CRM/Core/Form.php
index 84dce6fa352b0c1c58dff5a71682521a6502ed59..ca3be72142f916ea096e7906e97936bcebd8de21 100644
--- a/civicrm/CRM/Core/Form.php
+++ b/civicrm/CRM/Core/Form.php
@@ -2243,7 +2243,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
       return (int) $tempID;
     }
 
-    $userID = $this->getLoggedInUserContactID();
+    $userID = CRM_Core_Session::getLoggedInContactID();
 
     if (!is_null($tempID) && $tempID === $userID) {
       CRM_Core_Resources::singleton()->addVars('coreForm', ['contact_id' => (int) $tempID]);
@@ -2283,10 +2283,12 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
 
   /**
    * Get the contact id of the logged in user.
+   * @deprecated
    *
    * @return int|false
    */
   public function getLoggedInUserContactID() {
+    CRM_Core_Error::deprecatedFunctionWarning('CRM_Core_Session::getLoggedInContactID()');
     // check if the user is logged in and has a contact ID
     $session = CRM_Core_Session::singleton();
     return $session->get('userID') ? (int) $session->get('userID') : FALSE;
@@ -2725,7 +2727,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
     if (!$contactID) {
       return FALSE;
     }
-    if ($contactID === $this->getLoggedInUserContactID()) {
+    if ($contactID === CRM_Core_Session::getLoggedInContactID()) {
       return $contactID;
     }
     $userChecksum = CRM_Utils_Request::retrieve('cs', 'String', $this);
diff --git a/civicrm/CRM/Core/Form/Date.php b/civicrm/CRM/Core/Form/Date.php
index 24ff85f3a363f973178269480f63a30cbda03b2a..db4ac7019c1009ccf8fc2620a6ca6c897d3e6ad5 100644
--- a/civicrm/CRM/Core/Form/Date.php
+++ b/civicrm/CRM/Core/Form/Date.php
@@ -165,12 +165,12 @@ class CRM_Core_Form_Date {
     &$form,
     $fieldName,
     $selector,
-    $from = '_from',
-    $to = '_to',
-    $fromLabel = 'From:',
-    $required = FALSE,
-    $dateFormat = 'searchDate',
-    $displayTime = FALSE,
+    $from,
+    $to,
+    $fromLabel,
+    $required,
+    $dateFormat,
+    $displayTime,
     $attributes
   ) {
     CRM_Core_Error::deprecatedFunctionWarning('function will be removed');
diff --git a/civicrm/CRM/Core/OptionGroup.php b/civicrm/CRM/Core/OptionGroup.php
index 727f2b22141b0c8914ff29c5a534d8adec1fdd98..1843cfeeb9316f3885f6e9e116a4cbf0d51c0d67 100644
--- a/civicrm/CRM/Core/OptionGroup.php
+++ b/civicrm/CRM/Core/OptionGroup.php
@@ -466,6 +466,12 @@ WHERE  v.option_group_id = g.id
    *   the option group ID
    */
   public static function createAssoc($groupName, &$values, &$defaultID, $groupTitle = NULL) {
+    // @TODO: This causes a problem in multilingual
+    // (https://github.com/civicrm/civicrm-core/pull/17228), but is needed in
+    // order to be able to remove currencies once added.
+    if (!CRM_Core_I18n::isMultiLingual()) {
+      self::deleteAssoc($groupName);
+    }
     if (!empty($values)) {
       $group = new CRM_Core_DAO_OptionGroup();
       $group->name = $groupName;
@@ -552,11 +558,8 @@ ORDER BY v.weight
   /**
    * @param string $groupName
    * @param string $operator
-   *
-   * @deprecated
    */
   public static function deleteAssoc($groupName, $operator = "=") {
-    CRM_Core_Error::deprecatedFunctionWarning('unused function');
     $query = "
 DELETE g, v
   FROM civicrm_option_group g,
diff --git a/civicrm/CRM/Core/Payment/AuthorizeNetIPN.php b/civicrm/CRM/Core/Payment/AuthorizeNetIPN.php
index a2416e61d3195fb5e94f0495b9acec3e8343510d..f7f0750065e151a051619141bebf09931c98f872 100644
--- a/civicrm/CRM/Core/Payment/AuthorizeNetIPN.php
+++ b/civicrm/CRM/Core/Payment/AuthorizeNetIPN.php
@@ -300,7 +300,7 @@ INNER JOIN civicrm_contribution co ON co.contribution_recur_id = cr.id
       throw new CRM_Core_Exception('Could not find contributionRecur id');
     }
     if ($contactID != $contRecur->contact_id) {
-      $message = ts("Recurring contribution appears to have been re-assigned from id %1 to %2, continuing with %2.", [1 => $ids['contact'], 2 => $contRecur->contact_id]);
+      $message = ts("Recurring contribution appears to have been re-assigned from id %1 to %2, continuing with %2.", [1 => $contactID, 2 => $contRecur->contact_id]);
       CRM_Core_Error::debug_log_message($message);
     }
     return $contRecur;
diff --git a/civicrm/CRM/Core/Permission.php b/civicrm/CRM/Core/Permission.php
index 17bfc79e9c049ce5bb0665b83199e8974674e0da..64282d84bd7b23010fb86b6353d93bb80e012ce4 100644
--- a/civicrm/CRM/Core/Permission.php
+++ b/civicrm/CRM/Core/Permission.php
@@ -1488,6 +1488,10 @@ class CRM_Core_Permission {
       ],
     ];
 
+    $permissions['saved_search'] = [
+      'default' => ['administer CiviCRM data'],
+    ];
+
     // Profile permissions
     $permissions['profile'] = [
       // the profile will take care of this
diff --git a/civicrm/CRM/Core/PseudoConstant.php b/civicrm/CRM/Core/PseudoConstant.php
index 5948445f38d71290e9b3541c5236a298625e2ec6..9e84516231bea54030beb85657984e630c712d24 100644
--- a/civicrm/CRM/Core/PseudoConstant.php
+++ b/civicrm/CRM/Core/PseudoConstant.php
@@ -193,6 +193,7 @@ class CRM_Core_PseudoConstant {
       'onlyActive' => !($context == 'validate' || $context == 'get'),
       'fresh' => FALSE,
       'context' => $context,
+      'condition' => [],
     ];
     $entity = CRM_Core_DAO_AllCoreTables::getBriefName($daoName);
 
@@ -232,10 +233,12 @@ class CRM_Core_PseudoConstant {
 
       // Merge params with schema defaults
       $params += [
-        'condition' => $pseudoconstant['condition'] ?? [],
         'keyColumn' => $pseudoconstant['keyColumn'] ?? NULL,
         'labelColumn' => $pseudoconstant['labelColumn'] ?? NULL,
       ];
+      if (!empty($pseudoconstant['condition'])) {
+        $params['condition'] = array_merge((array) $pseudoconstant['condition'], (array) $params['condition']);
+      }
 
       // Fetch option group from option_value table
       if (!empty($pseudoconstant['optionGroupName'])) {
diff --git a/civicrm/CRM/Core/Resources/Common.php b/civicrm/CRM/Core/Resources/Common.php
index 3966cf665df55457a18623011db3bef4695091aa..68b2704632df110308624e698787b2e5142fd60d 100644
--- a/civicrm/CRM/Core/Resources/Common.php
+++ b/civicrm/CRM/Core/Resources/Common.php
@@ -205,29 +205,19 @@ class CRM_Core_Resources_Common {
     ];
 
     // Dynamic localization script
-    $items[] = Civi::service('asset_builder')->getUrl('crm-l10n.js', [
-      'cid' => $contactID,
-      'includeEmailInName' => (bool) $settings->get('includeEmailInName'),
-      'ajaxPopupsEnabled' => (bool) $settings->get('ajaxPopupsEnabled'),
-      'allowAlertAutodismissal' => (bool) $settings->get('allow_alert_autodismissal'),
-      'resourceCacheCode' => Civi::resources()->getCacheCode(),
-      'locale' => CRM_Core_I18n::getLocale(),
-      'lcMessages' => $settings->get('lcMessages'),
-      'dateInputFormat' => $settings->get('dateInputFormat'),
-      'timeInputFormat' => $settings->get('timeInputFormat'),
-      'moneyFormat' => CRM_Utils_Money::format(1234.56),
-    ]);
-
-    // add wysiwyg editor
-    $editor = $settings->get('editor_id');
-    if ($editor == "CKEditor") {
-      CRM_Admin_Form_CKEditorConfig::setConfigDefault();
-      $items[] = [
-        'config' => [
-          'wysisygScriptLocation' => Civi::paths()->getUrl("[civicrm.root]/js/wysiwyg/crm.ckeditor.js"),
-          'CKEditorCustomConfig' => CRM_Admin_Form_CKEditorConfig::getConfigUrl(),
-        ],
-      ];
+    if (!CRM_Core_Config::isUpgradeMode()) {
+      $items[] = Civi::service('asset_builder')->getUrl('crm-l10n.js', [
+        'cid' => $contactID,
+        'includeEmailInName' => (bool) $settings->get('includeEmailInName'),
+        'ajaxPopupsEnabled' => (bool) $settings->get('ajaxPopupsEnabled'),
+        'allowAlertAutodismissal' => (bool) $settings->get('allow_alert_autodismissal'),
+        'resourceCacheCode' => Civi::resources()->getCacheCode(),
+        'locale' => CRM_Core_I18n::getLocale(),
+        'lcMessages' => $settings->get('lcMessages'),
+        'dateInputFormat' => $settings->get('dateInputFormat'),
+        'timeInputFormat' => $settings->get('timeInputFormat'),
+        'moneyFormat' => CRM_Utils_Money::format(1234.56),
+      ]);
     }
 
     // These scripts are only needed by back-office users
diff --git a/civicrm/CRM/Core/Smarty.php b/civicrm/CRM/Core/Smarty.php
index 3ee7d4675f8cc8a54850c792f4d5a402000ed67e..5c3afb207f5a759cf869414eaf8a57ae4d8446af 100644
--- a/civicrm/CRM/Core/Smarty.php
+++ b/civicrm/CRM/Core/Smarty.php
@@ -147,6 +147,10 @@ class CRM_Core_Smarty extends Smarty {
     $this->load_filter('pre', 'resetExtScope');
 
     $this->assign('crmPermissions', new CRM_Core_Smarty_Permissions());
+
+    if ($config->debug) {
+      $this->error_reporting = E_ALL;
+    }
   }
 
   /**
diff --git a/civicrm/CRM/Core/Smarty/plugins/block.icon.php b/civicrm/CRM/Core/Smarty/plugins/block.icon.php
index ac68cfe027ead11a8e1610a6f3f815dc760a520f..97dbb6d55d80ac71fdb38dc59b3ec27a57b3499f 100644
--- a/civicrm/CRM/Core/Smarty/plugins/block.icon.php
+++ b/civicrm/CRM/Core/Smarty/plugins/block.icon.php
@@ -12,7 +12,7 @@
 /**
  *
  * @package CRM
- * @author Andrew Hunt, AGH Strategies
+ * @author Andie Hunt, AGH Strategies
  */
 
 /**
diff --git a/civicrm/CRM/Core/Smarty/plugins/function.copyIcon.php b/civicrm/CRM/Core/Smarty/plugins/function.copyIcon.php
index 19f4a369912ec018b171cf4a17dca1bda3f17295..7fc97060cf9a633b087cf468b27f3724587e26ba 100644
--- a/civicrm/CRM/Core/Smarty/plugins/function.copyIcon.php
+++ b/civicrm/CRM/Core/Smarty/plugins/function.copyIcon.php
@@ -12,7 +12,7 @@
 /**
  *
  * @package CRM
- * @author Andrew Hunt, AGH Strategies
+ * @author Andie Hunt, AGH Strategies
  */
 
 /**
diff --git a/civicrm/CRM/Core/Smarty/plugins/function.privacyFlag.php b/civicrm/CRM/Core/Smarty/plugins/function.privacyFlag.php
index 050f7a19d6a7db8db342892a4142a5d92106f78b..b6e76b11f2afe1ca23f5dbffe5b063adc385cf40 100644
--- a/civicrm/CRM/Core/Smarty/plugins/function.privacyFlag.php
+++ b/civicrm/CRM/Core/Smarty/plugins/function.privacyFlag.php
@@ -12,7 +12,7 @@
 /**
  *
  * @package CRM
- * @author Andrew Hunt, AGH Strategies
+ * @author Andie Hunt, AGH Strategies
  *
  */
 
diff --git a/civicrm/CRM/Core/xml/Menu/Admin.xml b/civicrm/CRM/Core/xml/Menu/Admin.xml
index 9f8a9e082019cb01041afb8de4dc8029211a0954..809c8ff9176a92d3b584e5f0db28958f85b1884f 100644
--- a/civicrm/CRM/Core/xml/Menu/Admin.xml
+++ b/civicrm/CRM/Core/xml/Menu/Admin.xml
@@ -663,10 +663,4 @@
     <page_callback>CRM_Badge_Form_Layout</page_callback>
     <access_arguments>administer CiviCRM</access_arguments>
   </item>
-  <item>
-    <path>civicrm/admin/ckeditor</path>
-    <title>Configure CKEditor</title>
-    <page_callback>CRM_Admin_Form_CKEditorConfig</page_callback>
-    <access_arguments>administer CiviCRM</access_arguments>
-  </item>
 </menu>
diff --git a/civicrm/CRM/Core/xml/Menu/Tag.xml b/civicrm/CRM/Core/xml/Menu/Tag.xml
index aa975c3aba446c4bd2712385d5880d6dafb1abaa..520677b454417804595b465a32014b57e1791e6a 100644
--- a/civicrm/CRM/Core/xml/Menu/Tag.xml
+++ b/civicrm/CRM/Core/xml/Menu/Tag.xml
@@ -3,7 +3,7 @@
 <menu>
   <item>
     <path>civicrm/tag</path>
-    <title>Tags (Categories)</title>
+    <title>Tags</title>
     <desc>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.</desc>
     <page_callback>CRM_Tag_Page_Tag</page_callback>
     <access_arguments>administer CiviCRM;manage tags</access_arguments>
diff --git a/civicrm/CRM/Custom/Form/Group.php b/civicrm/CRM/Custom/Form/Group.php
index ebb516f7993977a80333708617752681cb548999..ddf49e1c3a806d4dd98e3d95f2b660f844acb5ed 100644
--- a/civicrm/CRM/Custom/Form/Group.php
+++ b/civicrm/CRM/Custom/Form/Group.php
@@ -176,38 +176,8 @@ class CRM_Custom_Form_Group extends CRM_Core_Form {
     $this->assign('contactTypes', json_encode($contactTypes));
 
     $sel1 = ["" => ts("- select -")] + CRM_Core_SelectValues::customGroupExtends();
-    $sel2 = [];
-    $activityType = CRM_Core_PseudoConstant::activityType(FALSE, TRUE, FALSE, 'label', TRUE);
-
-    $eventType = CRM_Core_OptionGroup::values('event_type');
-    $grantType = CRM_Core_OptionGroup::values('grant_type');
-    $campaignTypes = CRM_Campaign_PseudoConstant::campaignType();
-    $membershipType = CRM_Member_BAO_MembershipType::getMembershipTypes(FALSE);
-    $participantRole = CRM_Core_OptionGroup::values('participant_role');
-
     ksort($sel1);
-    asort($activityType);
-    asort($eventType);
-    asort($grantType);
-    asort($membershipType);
-    asort($participantRole);
-
-    $sel2['Event'] = $eventType;
-    $sel2['Grant'] = $grantType;
-    $sel2['Activity'] = $activityType;
-    $sel2['Campaign'] = $campaignTypes;
-    $sel2['Membership'] = $membershipType;
-    $sel2['ParticipantRole'] = $participantRole;
-    $sel2['ParticipantEventName'] = CRM_Event_PseudoConstant::event(NULL, FALSE, "( is_template IS NULL OR is_template != 1 )");
-    $sel2['ParticipantEventType'] = $eventType;
-    $sel2['Contribution'] = CRM_Contribute_PseudoConstant::financialType();
-    $sel2['Relationship'] = self::getRelationshipTypes();
-
-    $sel2['Individual'] = CRM_Contact_BAO_ContactType::subTypePairs('Individual', FALSE, NULL);
-    $sel2['Household'] = CRM_Contact_BAO_ContactType::subTypePairs('Household', FALSE, NULL);
-    $sel2['Organization'] = CRM_Contact_BAO_ContactType::subTypePairs('Organization', FALSE, NULL);
-
-    CRM_Core_BAO_CustomGroup::getExtendedObjectTypes($sel2);
+    $sel2 = CRM_Core_BAO_CustomGroup::getSubTypes();
 
     foreach ($sel2 as $main => $sub) {
       if (!empty($sel2[$main])) {
@@ -443,7 +413,8 @@ class CRM_Custom_Form_Group extends CRM_Core_Form {
       $params['created_date'] = date('YmdHis');
     }
 
-    $group = CRM_Core_BAO_CustomGroup::create($params);
+    $result = civicrm_api3('CustomGroup', 'create', $params);
+    $group = $result['values'][$result['id']];
 
     // reset the cache
     Civi::cache('fields')->flush();
@@ -451,14 +422,14 @@ class CRM_Custom_Form_Group extends CRM_Core_Form {
     CRM_Core_BAO_Cache::resetCaches();
 
     if ($this->_action & CRM_Core_Action::UPDATE) {
-      CRM_Core_Session::setStatus(ts('Your custom field set \'%1 \' has been saved.', [1 => $group->title]), ts('Saved'), 'success');
+      CRM_Core_Session::setStatus(ts('Your custom field set \'%1 \' has been saved.', [1 => $group['title']]), ts('Saved'), 'success');
     }
     else {
       // Jump directly to adding a field if popups are disabled
       $action = CRM_Core_Resources::singleton()->ajaxPopupsEnabled ? '' : '/add';
-      $url = CRM_Utils_System::url("civicrm/admin/custom/group/field$action", 'reset=1&new=1&gid=' . $group->id . '&action=' . ($action ? 'add' : 'browse'));
+      $url = CRM_Utils_System::url("civicrm/admin/custom/group/field$action", 'reset=1&new=1&gid=' . $group['id'] . '&action=' . ($action ? 'add' : 'browse'));
       CRM_Core_Session::setStatus(ts("Your custom field set '%1' has been added. You can add custom fields now.",
-        [1 => $group->title]
+        [1 => $group['title']]
       ), ts('Saved'), 'success');
       $session = CRM_Core_Session::singleton();
       $session->replaceUserContext($url);
diff --git a/civicrm/CRM/Cxn/DAO/Cxn.php b/civicrm/CRM/Cxn/DAO/Cxn.php
index cc7a98696424b9529dd9d1cf64806781a77986dd..1edc4fb4562716f235920805ab5909335e42b33c 100644
--- a/civicrm/CRM/Cxn/DAO/Cxn.php
+++ b/civicrm/CRM/Cxn/DAO/Cxn.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Cxn/Cxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c39a28a9d03c9ed8d63e7c0959f6a947)
+ * (GenCodeChecksum:337dd2bb4d7df6fcf7d74813e2c45bd5)
  */
 
 /**
diff --git a/civicrm/CRM/Dedupe/DAO/DedupeException.php b/civicrm/CRM/Dedupe/DAO/DedupeException.php
index 756018093824c002cdf95c408191b4b961df8da6..b1a96bab878dcf968d31fb9c2b2e2b4890ca5a18 100644
--- a/civicrm/CRM/Dedupe/DAO/DedupeException.php
+++ b/civicrm/CRM/Dedupe/DAO/DedupeException.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/DedupeException.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2cc97827790267ad8bfb46052ae0360c)
+ * (GenCodeChecksum:52d33f10e1ffb90a32f65a9fa73ac9b3)
  */
 
 /**
diff --git a/civicrm/CRM/Dedupe/DAO/DedupeRule.php b/civicrm/CRM/Dedupe/DAO/DedupeRule.php
index 7dc912053c978de82a57d075219aff377048e855..b876fe3629b0c2b8341be3a9196bfeb99e80bb8b 100644
--- a/civicrm/CRM/Dedupe/DAO/DedupeRule.php
+++ b/civicrm/CRM/Dedupe/DAO/DedupeRule.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/DedupeRule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:782d96ecc76d4020270fce04574a39b5)
+ * (GenCodeChecksum:be34a32d6749dbd8caecac45f2086b61)
  */
 
 /**
diff --git a/civicrm/CRM/Dedupe/DAO/DedupeRuleGroup.php b/civicrm/CRM/Dedupe/DAO/DedupeRuleGroup.php
index 55daa8ae2db9889f853c5c8ea1c68ceaf5f1ff68..14c9cc4d5d3d018a4c0135c92ae0121fda1ef1c1 100644
--- a/civicrm/CRM/Dedupe/DAO/DedupeRuleGroup.php
+++ b/civicrm/CRM/Dedupe/DAO/DedupeRuleGroup.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/DedupeRuleGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d2b969468d4841e3b7595d7beba7cea2)
+ * (GenCodeChecksum:2168d89d281dc113ef6403af4dc39658)
  */
 
 /**
diff --git a/civicrm/CRM/Dedupe/Merger.php b/civicrm/CRM/Dedupe/Merger.php
index f347897568f058ef510c8df3eaf494316058964f..aa3daad5aa494ad884053cab7e0cc80580aa22bf 100644
--- a/civicrm/CRM/Dedupe/Merger.php
+++ b/civicrm/CRM/Dedupe/Merger.php
@@ -655,14 +655,14 @@ INNER JOIN  civicrm_membership membership2 ON membership1.membership_type_id = m
    */
   protected static function getMultiValueCidRefs() {
     $fields = \Civi\Api4\CustomField::get(FALSE)
-      ->addSelect('custom_group.table_name', 'column_name', 'serialize')
+      ->addSelect('custom_group_id.table_name', 'column_name', 'serialize')
       ->addWhere('data_type', '=', 'ContactReference')
       ->addWhere('serialize', 'IS NOT EMPTY')
       ->execute();
 
     $map = [];
     foreach ($fields as $field) {
-      $map[$field['custom_group.table_name']][$field['column_name']] = $field['serialize'];
+      $map[$field['custom_group_id.table_name']][$field['column_name']] = $field['serialize'];
     }
     return $map;
   }
diff --git a/civicrm/CRM/Event/Cart/DAO/Cart.php b/civicrm/CRM/Event/Cart/DAO/Cart.php
index 9332fb5538bc6e5700e1043656af0f490ea18517..52d427809716566df17ca1ae91506d0f53b35a51 100644
--- a/civicrm/CRM/Event/Cart/DAO/Cart.php
+++ b/civicrm/CRM/Event/Cart/DAO/Cart.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Cart/Cart.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:183604c066e28af10c1a6b1dc9ccb698)
+ * (GenCodeChecksum:889446482ab589edebb02d7abee76bc5)
  */
 
 /**
diff --git a/civicrm/CRM/Event/Cart/DAO/EventInCart.php b/civicrm/CRM/Event/Cart/DAO/EventInCart.php
index 28e81c9c1925b4d23d85e19680999eee2931877b..461ae202be1d010d5197c3eed748fa8c616805a2 100644
--- a/civicrm/CRM/Event/Cart/DAO/EventInCart.php
+++ b/civicrm/CRM/Event/Cart/DAO/EventInCart.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Cart/EventInCart.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cde461dbf781f6bb0efa0531f00038b6)
+ * (GenCodeChecksum:872f4e67be93efbed14721bb030227db)
  */
 
 /**
diff --git a/civicrm/CRM/Event/DAO/Event.php b/civicrm/CRM/Event/DAO/Event.php
index 5403c25a2b45944ce25e0619883758371f7e2abe..e1391f4ac6529d00b482d1110f68ea7ad0b16ddb 100644
--- a/civicrm/CRM/Event/DAO/Event.php
+++ b/civicrm/CRM/Event/DAO/Event.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Event.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e0bee3952ac39a53952b6a7979a79e13)
+ * (GenCodeChecksum:4b2cc938c8bb6e8bcba91513d109ff5f)
  */
 
 /**
@@ -554,6 +554,15 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
     return $plural ? ts('Events') : ts('Event');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Scheduled in-person or online events which contacts can register for and attend.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
diff --git a/civicrm/CRM/Event/DAO/Participant.php b/civicrm/CRM/Event/DAO/Participant.php
index 830c99acf273c1c0491a3e1d403c6504b6c3a413..3e891d8ae1f4b6a87079ecacb7dba83c72a77202 100644
--- a/civicrm/CRM/Event/DAO/Participant.php
+++ b/civicrm/CRM/Event/DAO/Participant.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Participant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2129f60f86eef85a5a5a97a22d41134e)
+ * (GenCodeChecksum:0e7f61919241631110f216e80d72d845)
  */
 
 /**
@@ -186,6 +186,15 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
     return $plural ? ts('Participants') : ts('Participant');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Records of contacts\' attendance and roles in events.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
diff --git a/civicrm/CRM/Event/DAO/ParticipantPayment.php b/civicrm/CRM/Event/DAO/ParticipantPayment.php
index 57b9b9697aa8e6557b16c51b74de2a4e26833db7..9fe49f0c864c90fb016323719c558ea864ecda7c 100644
--- a/civicrm/CRM/Event/DAO/ParticipantPayment.php
+++ b/civicrm/CRM/Event/DAO/ParticipantPayment.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/ParticipantPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6300da7ad1aebb4963cb5857ef146772)
+ * (GenCodeChecksum:faf8b6394f4e57dd2bd6702f712f7157)
  */
 
 /**
diff --git a/civicrm/CRM/Event/DAO/ParticipantStatusType.php b/civicrm/CRM/Event/DAO/ParticipantStatusType.php
index 3e24df9e46f3fb386b40219789be07a3cb5f6719..f4da6903bba55169ca15036974bdfb62c2d3d69a 100644
--- a/civicrm/CRM/Event/DAO/ParticipantStatusType.php
+++ b/civicrm/CRM/Event/DAO/ParticipantStatusType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/ParticipantStatusType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d4e01997101377c20d79423f6dc281b9)
+ * (GenCodeChecksum:0f5f8f9d2171b25bb250914d746996bc)
  */
 
 /**
diff --git a/civicrm/CRM/Event/Form/ManageEvent/Location.php b/civicrm/CRM/Event/Form/ManageEvent/Location.php
index b0d045da488255d82dbf36c20dc3f13485cec007..b1187ad4aa4ed2912cc7cfdfac2d9eb7a606b06f 100644
--- a/civicrm/CRM/Event/Form/ManageEvent/Location.php
+++ b/civicrm/CRM/Event/Form/ManageEvent/Location.php
@@ -156,7 +156,7 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent {
     if ($this->_id) {
       $this->locationBlock = Event::get()
         ->addWhere('id', '=', $this->_id)
-        ->setSelect(['loc_block.*', 'loc_block_id'])
+        ->setSelect(['loc_block_id.*', 'loc_block_id'])
         ->execute()->first();
       $this->_oldLocBlockId = $this->locationBlock['loc_block_id'];
     }
@@ -249,8 +249,8 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent {
         }
         $params[$block][$index]['location_type_id'] = $defaultLocationTypeID;
         $fieldKey = (int) $index === 1 ? '_id' : '_2_id';
-        if ($isUpdateToExistingLocationBlock && !empty($this->locationBlock['loc_block.' . $block . $fieldKey])) {
-          $params[$block][$index]['id'] = $this->locationBlock['loc_block.' . $block . $fieldKey];
+        if ($isUpdateToExistingLocationBlock && !empty($this->locationBlock['loc_block_id.' . $block . $fieldKey])) {
+          $params[$block][$index]['id'] = $this->locationBlock['loc_block_id.' . $block . $fieldKey];
         }
       }
     }
diff --git a/civicrm/CRM/Event/Form/Participant.php b/civicrm/CRM/Event/Form/Participant.php
index f928a9dfe4aaf44c4c7360e35d454e32713a330b..9b2646dc9a96f38ec366c2efdf4b983b726e7029 100644
--- a/civicrm/CRM/Event/Form/Participant.php
+++ b/civicrm/CRM/Event/Form/Participant.php
@@ -325,12 +325,10 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
     }
     $this->setCustomDataTypes();
 
-    if ($this->_mode) {
-      $this->assign('participantMode', $this->_mode);
-    }
+    $this->assign('participantMode', $this->_mode);
 
+    $this->assign('showFeeBlock', $this->_showFeeBlock);
     if ($this->_showFeeBlock) {
-      $this->assign('showFeeBlock', TRUE);
       $isMonetary = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $this->_showFeeBlock, 'is_monetary');
       if ($isMonetary) {
         $this->assign('feeBlockPaid', TRUE);
@@ -360,10 +358,8 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
       return;
     }
 
-    if ($this->_id) {
-      // assign participant id to the template
-      $this->assign('participantId', $this->_id);
-    }
+    // assign participant id to the template
+    $this->assign('participantId', $this->_id);
 
     // when fee amount is included in form
     if (!empty($_POST['hidden_feeblock']) || !empty($_POST['send_receipt'])) {
diff --git a/civicrm/CRM/Event/Page/UserDashboard.php b/civicrm/CRM/Event/Page/UserDashboard.php
index e1c0aa73c2c089217de4a78efd2b0d020e3a11aa..f384ae5de53ad95130f9fc97647c7f36852a5d60 100644
--- a/civicrm/CRM/Event/Page/UserDashboard.php
+++ b/civicrm/CRM/Event/Page/UserDashboard.php
@@ -28,9 +28,9 @@ class CRM_Event_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard {
     $event_rows = [];
 
     $participants = \Civi\Api4\Participant::get(FALSE)
-      ->addSelect('id', 'contact_id', 'status_id:name', 'status_id:label', 'event.id', 'event.title', 'event.start_date', 'event.end_date')
+      ->addSelect('id', 'contact_id', 'status_id:name', 'status_id:label', 'event_id', 'event_id.title', 'event_id.start_date', 'event_id.end_date')
       ->addWhere('contact_id', '=', $this->_contactId)
-      ->addOrderBy('event.start_date', 'DESC')
+      ->addOrderBy('event_id.start_date', 'DESC')
       ->execute()
       ->indexBy('id');
 
@@ -39,10 +39,10 @@ class CRM_Event_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard {
       $p['participant_id'] = $p['id'];
       $p['status'] = $p['status_id:name'];
       $p['participant_status'] = $p['status_id:label'];
-      $p['event_id'] = $p['event.id'];
-      $p['event_title'] = $p['event.title'];
-      $p['event_start_date'] = $p['event.start_date'];
-      $p['event_end_date'] = $p['event.end_date'];
+      $p['event_id'] = $p['event_id'];
+      $p['event_title'] = $p['event_id.title'];
+      $p['event_start_date'] = $p['event_id.start_date'];
+      $p['event_end_date'] = $p['event_id.end_date'];
 
       $event_rows[] = $p;
     }
diff --git a/civicrm/CRM/Export/BAO/ExportProcessor.php b/civicrm/CRM/Export/BAO/ExportProcessor.php
index fff50a8dad1e8cfd6d91a3e2542f23ee9b01192a..f134e0eaff2dfcee90a918c32a0d660467139a0e 100644
--- a/civicrm/CRM/Export/BAO/ExportProcessor.php
+++ b/civicrm/CRM/Export/BAO/ExportProcessor.php
@@ -1464,7 +1464,16 @@ class CRM_Export_BAO_ExportProcessor {
 
         case CRM_Utils_Type::T_STRING:
           if (isset($fieldSpec['maxlength'])) {
-            return "`$fieldName` varchar({$fieldSpec['maxlength']})";
+            // A localized string for the preferred_mail_format does not fit
+            // into the varchar(8) field.
+            // @see https://lab.civicrm.org/dev/core/-/issues/2645
+            switch ($fieldName) {
+              case 'preferred_mail_format':
+                return "`$fieldName` varchar(16)";
+
+              default:
+                return "`$fieldName` varchar({$fieldSpec['maxlength']})";
+            }
           }
           $dataType = $fieldSpec['data_type'] ?? '';
           // set the sql columns for custom data
diff --git a/civicrm/CRM/Financial/BAO/Order.php b/civicrm/CRM/Financial/BAO/Order.php
index 960aa1a0ad003cdf06e81433818afcef6541cddc..2388c445268c76b3162c328582611b4716f29c4f 100644
--- a/civicrm/CRM/Financial/BAO/Order.php
+++ b/civicrm/CRM/Financial/BAO/Order.php
@@ -10,6 +10,7 @@
  */
 
 use Civi\Api4\PriceField;
+use Civi\Api4\PriceSet;
 
 /**
  *
@@ -23,6 +24,8 @@ use Civi\Api4\PriceField;
  * As of writing it is in the process of having appropriate functions built up.
  * It should **NOT** be accessed directly outside of tested core methods as it
  * may change.
+ *
+ * @internal
  */
 class CRM_Financial_BAO_Order {
 
@@ -55,6 +58,29 @@ class CRM_Financial_BAO_Order {
    */
   protected $overrideFinancialTypeID;
 
+  /**
+   * Financial type id to use for any lines where is is not provided.
+   *
+   * @var int
+   */
+  protected $defaultFinancialTypeID;
+
+  /**
+   * @return int
+   */
+  public function getDefaultFinancialTypeID(): int {
+    return $this->defaultFinancialTypeID;
+  }
+
+  /**
+   * Set the default financial type id to be used when the line has none.
+   *
+   * @param int|null $defaultFinancialTypeID
+   */
+  public function setDefaultFinancialTypeID(?int $defaultFinancialTypeID): void {
+    $this->defaultFinancialTypeID = $defaultFinancialTypeID;
+  }
+
   /**
    * Override for the total amount of the order.
    *
@@ -88,6 +114,8 @@ class CRM_Financial_BAO_Order {
   /**
    * Get form object.
    *
+   * @internal use in tested core code only.
+   *
    * @return \CRM_Core_Form|NULL
    */
   public function getForm(): ?CRM_Core_Form {
@@ -97,6 +125,8 @@ class CRM_Financial_BAO_Order {
   /**
    * Set form object.
    *
+   * @internal use in tested core code only.
+   *
    * @param \CRM_Core_Form|NULL $form
    */
   public function setForm(?CRM_Core_Form $form): void {
@@ -142,18 +172,24 @@ class CRM_Financial_BAO_Order {
   /**
    * Get Set override for total amount of the order.
    *
+   * @internal use in tested core code only.
+   *
    * @return float|false
    */
   public function getOverrideTotalAmount() {
-    if (count($this->getPriceOptions()) !== 1) {
+    // The override amount is only valid for quick config price sets where more
+    // than one field has not been selected.
+    if (!$this->overrideTotalAmount || !$this->supportsOverrideAmount() || count($this->getPriceOptions()) > 1) {
       return FALSE;
     }
-    return $this->overrideTotalAmount ?? FALSE;
+    return $this->overrideTotalAmount;
   }
 
   /**
    * Set override for total amount.
    *
+   * @internal use in tested core code only.
+   *
    * @param float $overrideTotalAmount
    */
   public function setOverrideTotalAmount(float $overrideTotalAmount): void {
@@ -163,6 +199,8 @@ class CRM_Financial_BAO_Order {
   /**
    * Get override for total amount.
    *
+   * @internal use in tested core code only.
+   *
    * @return int| FALSE
    */
   public function getOverrideFinancialTypeID() {
@@ -175,33 +213,74 @@ class CRM_Financial_BAO_Order {
   /**
    * Set override for financial type ID.
    *
+   * @internal use in tested core code only.
+   *
    * @param int $overrideFinancialTypeID
    */
-  public function setOverrideFinancialTypeID(int $overrideFinancialTypeID) {
+  public function setOverrideFinancialTypeID(int $overrideFinancialTypeID): void {
     $this->overrideFinancialTypeID = $overrideFinancialTypeID;
   }
 
   /**
    * Getter for price set id.
    *
+   * @internal use in tested core code only.
+   *
    * @return int
+   *
+   * @throws \API_Exception
    */
   public function getPriceSetID(): int {
+    if (!$this->priceSetID) {
+      foreach ($this->getPriceOptions() as $fieldID => $valueID) {
+        $this->setPriceSetIDFromSelectedField($fieldID);
+      }
+    }
     return $this->priceSetID;
   }
 
   /**
    * Setter for price set id.
    *
+   * @internal use in tested core code only.
+   *
    * @param int $priceSetID
    */
   public function setPriceSetID(int $priceSetID) {
     $this->priceSetID = $priceSetID;
   }
 
+  /**
+   * Set price set id to the default.
+   *
+   * @param string $component [membership|contribution]
+   *
+   * @throws \API_Exception
+   * @internal use in tested core code only.
+   */
+  public function setPriceSetToDefault(string $component): void {
+    $this->priceSetID = PriceSet::get(FALSE)
+      ->addWhere('name', '=', ($component === 'membership' ? 'default_membership_type_amount' : 'default_contribution_amount'))
+      ->execute()
+      ->first()['id'];
+  }
+
+  /**
+   * Is overriding the total amount valid for this price set.
+   *
+   * @internal tested. core code use only.
+   *
+   * @return bool
+   */
+  public function supportsOverrideAmount(): bool {
+    return (bool) $this->getPriceSetMetadata()['is_quick_config'];
+  }
+
   /**
    * Set price set ID based on the contribution page id.
    *
+   * @internal use in tested core code only.
+   *
    * @param int $contributionPageID
    *
    * @throws \CiviCRM_API3_Exception
@@ -213,6 +292,8 @@ class CRM_Financial_BAO_Order {
   /**
    * Set price set ID based on the event id.
    *
+   * @internal use in tested core code only.
+   *
    * @param int $eventID
    *
    * @throws \CiviCRM_API3_Exception
@@ -223,6 +304,9 @@ class CRM_Financial_BAO_Order {
 
   /**
    * Set the price set id based on looking up the entity.
+   *
+   * @internal use in tested core code only.
+   *
    * @param string $entity
    * @param int $id
    *
@@ -234,6 +318,8 @@ class CRM_Financial_BAO_Order {
   /**
    * Getter for price selection.
    *
+   * @internal use in tested core code only.
+   *
    * @return array
    */
   public function getPriceSelection(): array {
@@ -243,6 +329,8 @@ class CRM_Financial_BAO_Order {
   /**
    * Setter for price selection.
    *
+   * @internal use in tested core code only.
+   *
    * @param array $priceSelection
    */
   public function setPriceSelection(array $priceSelection) {
@@ -255,6 +343,8 @@ class CRM_Financial_BAO_Order {
    * ie. the 'price_' is stripped off the key name and the field ID
    * is cast to an integer.
    *
+   * @internal use in tested core code only.
+   *
    * @return array
    */
   public function getPriceOptions():array {
@@ -269,6 +359,8 @@ class CRM_Financial_BAO_Order {
   /**
    * Get the metadata for the given field.
    *
+   * @internal use in tested core code only.
+   *
    * @param int $id
    *
    * @return array
@@ -280,27 +372,40 @@ class CRM_Financial_BAO_Order {
   /**
    * Get the metadata for the fields in the price set.
    *
+   * @internal use in tested core code only.
+   *
    * @return array
    */
   public function getPriceFieldsMetadata(): array {
     if (empty($this->priceFieldMetadata)) {
       $this->getPriceSetMetadata();
-      if ($this->getForm()) {
-        CRM_Utils_Hook::buildAmount($this->form->getFormContext(), $this->form, $this->priceFieldMetadata);
-      }
     }
     return $this->priceFieldMetadata;
   }
 
+  /**
+   * Set the metadata for the order.
+   *
+   * @param array $metadata
+   */
+  protected function setPriceFieldMetadata($metadata) {
+    $this->priceFieldMetadata = $metadata;
+    if ($this->getForm()) {
+      CRM_Utils_Hook::buildAmount($this->form->getFormContext(), $this->form, $this->priceFieldMetadata);
+    }
+  }
+
   /**
    * Get the metadata for the fields in the price set.
    *
+   * @internal use in tested core code only.
+   *
    * @return array
    */
   public function getPriceSetMetadata(): array {
     if (empty($this->priceSetMetadata)) {
       $priceSetMetadata = CRM_Price_BAO_PriceSet::getCachedPriceSetDetail($this->getPriceSetID());
-      $this->priceFieldMetadata = $priceSetMetadata['fields'];
+      $this->setPriceFieldMetadata($priceSetMetadata['fields']);
       unset($priceSetMetadata['fields']);
       $this->priceSetMetadata = $priceSetMetadata;
     }
@@ -310,6 +415,8 @@ class CRM_Financial_BAO_Order {
   /**
    * Get the financial type id for the order.
    *
+   * @internal use in tested core code only.
+   *
    * This may differ to the line items....
    *
    * @return int
@@ -319,12 +426,16 @@ class CRM_Financial_BAO_Order {
   }
 
   /**
-   * Set the price field selection from an array of params containing price fields.
+   * Set the price field selection from an array of params containing price
+   * fields.
    *
-   * This function takes the sort of 'anything & everything' parameters that come in from the
-   * form layer and filters them before assigning them to the priceSelection property.
+   * This function takes the sort of 'anything & everything' parameters that
+   * come in from the form layer and filters them before assigning them to the
+   * priceSelection property.
    *
    * @param array $input
+   *
+   * @throws \API_Exception
    */
   public function setPriceSelectionFromUnfilteredInput(array $input): void {
     foreach ($input as $fieldName => $value) {
@@ -335,6 +446,23 @@ class CRM_Financial_BAO_Order {
         }
       }
     }
+    if (empty($this->priceSelection) && isset($input['total_amount'])
+      && is_numeric($input['total_amount']) && !empty($input['financial_type_id'])) {
+      $this->priceSelection['price_' . $this->getDefaultPriceField()] = $input['total_amount'];
+      $this->setOverrideFinancialTypeID($input['financial_type_id']);
+    }
+  }
+
+  /**
+   * Get the id of the price field to use when just an amount is provided.
+   *
+   * @throws \API_Exception
+   */
+  public function getDefaultPriceField() {
+    return PriceField::get(FALSE)
+      ->addWhere('name', '=', 'contribution_amount')
+      ->addWhere('price_set_id.name', '=', 'default_contribution_amount')
+      ->execute()->first()['id'];
   }
 
   /**
@@ -351,6 +479,22 @@ class CRM_Financial_BAO_Order {
     return $this->lineItems;
   }
 
+  /**
+   * Get line items in a 'traditional' indexing format.
+   *
+   * This ensures the line items are indexed by
+   * price field id - as required by the contribution BAO.
+   *
+   * @throws \CiviCRM_API3_Exception
+   */
+  public function getPriceFieldIndexedLineItems(): array {
+    $lines = [];
+    foreach ($this->getLineItems() as $item) {
+      $lines[$item['price_field_id']] = $item;
+    }
+    return $lines;
+  }
+
   /**
    * Get line items that specifically relate to memberships.
    *
@@ -418,10 +562,10 @@ class CRM_Financial_BAO_Order {
       $params['total_amount'] = $this->getOverrideTotalAmount();
     }
 
+    // Dummy value to prevent e-notice in getLine. We calculate tax in this class.
+    $params['financial_type_id'] = 0;
     foreach ($this->getPriceOptions() as $fieldID => $valueID) {
-      if (!isset($this->priceSetID)) {
-        $this->setPriceSetID(PriceField::get()->addSelect('price_set_id')->addWhere('id', '=', $fieldID)->execute()->first()['price_set_id']);
-      }
+      $this->setPriceSetIDFromSelectedField($fieldID);
       $throwAwayArray = [];
       // @todo - still using getLine for now but better to bring it to this class & do a better job.
       $newLines = CRM_Price_BAO_PriceSet::getLine($params, $throwAwayArray, $this->getPriceSetID(), $this->getPriceFieldSpec($fieldID), $fieldID)[1];
@@ -438,14 +582,7 @@ class CRM_Financial_BAO_Order {
       }
       $taxRate = $this->getTaxRate((int) $lineItem['financial_type_id']);
       if ($this->getOverrideTotalAmount() !== FALSE) {
-        if ($taxRate) {
-          // Total is tax inclusive.
-          $lineItem['tax_amount'] = ($taxRate / 100) * $this->getOverrideTotalAmount() / (1 + ($taxRate / 100));
-          $lineItem['line_total'] = $lineItem['unit_price'] = $this->getOverrideTotalAmount() - $lineItem['tax_amount'];
-        }
-        else {
-          $lineItem['line_total'] = $lineItem['unit_price'] = $this->getOverrideTotalAmount();
-        }
+        $this->addTotalsToLineBasedOnOverrideTotal((int) $lineItem['financial_type_id'], $lineItem);
       }
       elseif ($taxRate) {
         $lineItem['tax_amount'] = ($taxRate / 100) * $lineItem['line_total'];
@@ -514,4 +651,154 @@ class CRM_Financial_BAO_Order {
     return $taxRates[$financialTypeID];
   }
 
+  /**
+   * @param $fieldID
+   *
+   * @throws \API_Exception
+   */
+  protected function setPriceSetIDFromSelectedField($fieldID): void {
+    if (!isset($this->priceSetID)) {
+      $this->setPriceSetID(PriceField::get(FALSE)
+        ->addSelect('price_set_id')
+        ->addWhere('id', '=', $fieldID)
+        ->execute()
+        ->first()['price_set_id']);
+    }
+  }
+
+  /**
+   * Set the line item.
+   *
+   * This function augments the line item where possible. The calling code
+   * should not attempt to set taxes. This function allows minimal values
+   * to be passed for the default price sets - ie if only membership_type_id is
+   * specified the price_field_id and price_value_id will be determined.
+   *
+   * @param array $lineItem
+   * @param int|string $index
+   *
+   * @throws \API_Exception
+   * @internal tested core code usage only.
+   * @internal use in tested core code only.
+   *
+   */
+  public function setLineItem(array $lineItem, $index): void {
+    if (!isset($this->priceSetID)) {
+      if (!empty($lineItem['price_field_id'])) {
+        $this->setPriceSetIDFromSelectedField($lineItem['price_field_id']);
+      }
+      else {
+        // we are using either the default membership or default contribution
+        // If membership type is passed in we use the default price field.
+        $component = !empty($lineItem['membership_type_id']) ? 'membership' : 'contribution';
+        $this->setPriceSetToDefault($component);
+      }
+    }
+    if (!isset($lineItem['financial_type_id'])) {
+      $lineItem['financial_type_id'] = $this->getDefaultFinancialTypeID();
+    }
+    if (!is_numeric($lineItem['financial_type_id'])) {
+      $lineItem['financial_type_id'] = CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'financial_type_id', $lineItem['financial_type_id']);
+    }
+    if ($this->getOverrideTotalAmount()) {
+      $this->addTotalsToLineBasedOnOverrideTotal((int) $lineItem['financial_type_id'], $lineItem);
+    }
+    else {
+      $lineItem['tax_amount'] = ($this->getTaxRate($lineItem['financial_type_id']) / 100) * $lineItem['line_total'];
+    }
+    if (!empty($lineItem['membership_type_id'])) {
+      $lineItem['entity_table'] = 'civicrm_membership';
+      if (empty($lineItem['price_field_id']) && empty($lineItem['price_field_value_id'])) {
+        $lineItem = $this->fillMembershipLine($lineItem);
+      }
+    }
+    $this->lineItems[$index] = $lineItem;
+  }
+
+  /**
+   * Set a value on a line item.
+   *
+   * @internal only use in core tested code.
+   *
+   * @param string $name
+   * @param mixed $value
+   * @param string|int $index
+   */
+  public function setLineItemValue(string $name, $value, $index): void {
+    $this->lineItems[$index][$name] = $value;
+  }
+
+  /**
+   * @param int|string $index
+   *
+   * @return string
+   */
+  public function getLineItemEntity($index):string {
+    // @todo - ensure entity_table is set in setLineItem, go back to enotices here.
+    return str_replace('civicrm_', '', ($this->lineItems[$index]['entity_table'] ?? 'contribution'));
+  }
+
+  /**
+   * Get the ordered line item.
+   *
+   * @param string|int $index
+   *
+   * @return array
+   */
+  public function getLineItem($index): array {
+    return $this->lineItems[$index];
+  }
+
+  /**
+   * Fills in additional data for the membership line.
+   *
+   * The minimum requirement is the membership_type_id and that priceSetID is set.
+   *
+   * @param array $lineItem
+   *
+   * @return array
+   */
+  protected function fillMembershipLine(array $lineItem): array {
+    $fields = $this->getPriceFieldsMetadata();
+    foreach ($fields as $field) {
+      if (!isset($lineItem['price_field_value_id'])) {
+        foreach ($field['options'] as $option) {
+          if ((int) $option['membership_type_id'] === (int) $lineItem['membership_type_id']) {
+            $lineItem['price_field_id'] = $field['id'];
+            $lineItem['price_field_value_id'] = $option['id'];
+            $lineItem['qty'] = 1;
+          }
+        }
+      }
+      if (isset($lineItem['price_field_value_id'], $field['options'][$lineItem['price_field_value_id']])) {
+        $option = $field['options'][$lineItem['price_field_value_id']];
+      }
+    }
+    $lineItem['unit_price'] = $lineItem['line_total'] ?? $option['amount'];
+    $lineItem['label'] = $lineItem['label'] ?? $option['label'];
+    $lineItem['field_title'] = $lineItem['field_title'] ?? $option['label'];
+    $lineItem['financial_type_id'] = $lineItem['financial_type_id'] ?: ($this->getDefaultFinancialTypeID() ?? $option['financial_type_id']);
+    return $lineItem;
+  }
+
+  /**
+   * Add total_amount and tax_amount to the line from the override total.
+   *
+   * @param int $financialTypeID
+   * @param array $lineItem
+   *
+   * @return void
+   */
+  protected function addTotalsToLineBasedOnOverrideTotal(int $financialTypeID, array &$lineItem): void {
+    $taxRate = $this->getTaxRate($financialTypeID);
+    if ($taxRate) {
+      // Total is tax inclusive.
+      $lineItem['tax_amount'] = ($taxRate / 100) * $this->getOverrideTotalAmount() / (1 + ($taxRate / 100));
+      $lineItem['line_total'] = $lineItem['unit_price'] = $this->getOverrideTotalAmount() - $lineItem['tax_amount'];
+    }
+    else {
+      $lineItem['line_total'] = $lineItem['unit_price'] = $this->getOverrideTotalAmount();
+    }
+  }
+
 }
diff --git a/civicrm/CRM/Financial/DAO/Currency.php b/civicrm/CRM/Financial/DAO/Currency.php
index f9988e57b812fe8393be2161af52e3f4d9b004a0..cfad1c496df514ad0e394c4e956401325eaeafb2 100644
--- a/civicrm/CRM/Financial/DAO/Currency.php
+++ b/civicrm/CRM/Financial/DAO/Currency.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/Currency.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:702d26343c15d3e3ee91c16f302ba0c0)
+ * (GenCodeChecksum:710d5211ef6887a78a0d2a531b87555a)
  */
 
 /**
diff --git a/civicrm/CRM/Financial/DAO/EntityFinancialAccount.php b/civicrm/CRM/Financial/DAO/EntityFinancialAccount.php
index 96042a5f85b6d47a42e663ddd632d3ffb621f76d..18c6243f5bf9a5ec3ee5fb93b56bf14f396d90c0 100644
--- a/civicrm/CRM/Financial/DAO/EntityFinancialAccount.php
+++ b/civicrm/CRM/Financial/DAO/EntityFinancialAccount.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:70f25c56047d21ecc405e8b7a60ef68d)
+ * (GenCodeChecksum:ed1b639bfb9c1c9be37ed44ed2efe98c)
  */
 
 /**
diff --git a/civicrm/CRM/Financial/DAO/EntityFinancialTrxn.php b/civicrm/CRM/Financial/DAO/EntityFinancialTrxn.php
index 9d049c7cc86688fee25de24c324a0628261906c5..5b56512c5f8c1ddacda1423daf19a89a096a4439 100644
--- a/civicrm/CRM/Financial/DAO/EntityFinancialTrxn.php
+++ b/civicrm/CRM/Financial/DAO/EntityFinancialTrxn.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b3317f412b569aed0c63b8692d0b7016)
+ * (GenCodeChecksum:fafa322736bff4ccf082449b5e54cd35)
  */
 
 /**
diff --git a/civicrm/CRM/Financial/DAO/FinancialAccount.php b/civicrm/CRM/Financial/DAO/FinancialAccount.php
index 6361feda037d47776985d5fe0896769e29bc3660..377a0521c4869b013a253b6b881a5225f0842796 100644
--- a/civicrm/CRM/Financial/DAO/FinancialAccount.php
+++ b/civicrm/CRM/Financial/DAO/FinancialAccount.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialAccount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f273f668e30ddfa505cac215f0485c64)
+ * (GenCodeChecksum:08824371a351806b30fc54c608138bd6)
  */
 
 /**
diff --git a/civicrm/CRM/Financial/DAO/FinancialItem.php b/civicrm/CRM/Financial/DAO/FinancialItem.php
index 2e99cdfd698d83b6f996603df6b15cf634f41544..106dddb0417bcad016445a9b8392f6ad3789cf50 100644
--- a/civicrm/CRM/Financial/DAO/FinancialItem.php
+++ b/civicrm/CRM/Financial/DAO/FinancialItem.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c9deaca104b5b1126ad3a064c520d0c3)
+ * (GenCodeChecksum:70be7900a331cb86c9cd6ee76544adc5)
  */
 
 /**
diff --git a/civicrm/CRM/Financial/DAO/FinancialTrxn.php b/civicrm/CRM/Financial/DAO/FinancialTrxn.php
index 4b37bb92904a8f96cf13ae336e11da9378289632..17f736233b539460e716aa30ff29690141654e5c 100644
--- a/civicrm/CRM/Financial/DAO/FinancialTrxn.php
+++ b/civicrm/CRM/Financial/DAO/FinancialTrxn.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2275bd3093a607f7639f8680918dfe89)
+ * (GenCodeChecksum:330be109309bcc6fc543b287c805e606)
  */
 
 /**
diff --git a/civicrm/CRM/Financial/DAO/FinancialType.php b/civicrm/CRM/Financial/DAO/FinancialType.php
index a5db19a8dc7dff990a2a4845edcd75e0e704fd00..3593396d76565b8a59e971a893751d0f70379e4d 100644
--- a/civicrm/CRM/Financial/DAO/FinancialType.php
+++ b/civicrm/CRM/Financial/DAO/FinancialType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:035576414ddb721b2607522dc5d874e4)
+ * (GenCodeChecksum:2e4be9c40fcfbca83940bb875d516886)
  */
 
 /**
diff --git a/civicrm/CRM/Financial/DAO/PaymentProcessor.php b/civicrm/CRM/Financial/DAO/PaymentProcessor.php
index 6d821d2a5c9a86655f7968e21d8186a0585b43dd..47cd88caec9b4970665062ccec8166b86a15736e 100644
--- a/civicrm/CRM/Financial/DAO/PaymentProcessor.php
+++ b/civicrm/CRM/Financial/DAO/PaymentProcessor.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cf3b781bf6401730a67544ab64bb6883)
+ * (GenCodeChecksum:a541d72f9435b6ae2706d98cc01b1598)
  */
 
 /**
diff --git a/civicrm/CRM/Financial/DAO/PaymentProcessorType.php b/civicrm/CRM/Financial/DAO/PaymentProcessorType.php
index 3066dcb0f93e0222fe16a2c48218f8762199ea82..32118ba04a13fd277a6681d4e76b81974416d119 100644
--- a/civicrm/CRM/Financial/DAO/PaymentProcessorType.php
+++ b/civicrm/CRM/Financial/DAO/PaymentProcessorType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentProcessorType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:38d6905c856137c04e68c5ebdbab4de9)
+ * (GenCodeChecksum:f60f8f4248c8c667223720869d8c81b3)
  */
 
 /**
diff --git a/civicrm/CRM/Financial/DAO/PaymentToken.php b/civicrm/CRM/Financial/DAO/PaymentToken.php
index bd883442697ee6b25c639d83f514cce7ea11e3e1..0c6816df4d674002f08ea3f0b25229fef21259d7 100644
--- a/civicrm/CRM/Financial/DAO/PaymentToken.php
+++ b/civicrm/CRM/Financial/DAO/PaymentToken.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentToken.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:03492b5f23f8ab161d3515587ed50470)
+ * (GenCodeChecksum:f1c4b32a0722841ec435f9b6c4ecfe54)
  */
 
 /**
diff --git a/civicrm/CRM/Financial/Page/AJAX.php b/civicrm/CRM/Financial/Page/AJAX.php
index 484d7a41d1cfc3fb5446b77e20b996dfdb770de8..b14792abce53a73e67a5b5f62a8007efe5357119 100644
--- a/civicrm/CRM/Financial/Page/AJAX.php
+++ b/civicrm/CRM/Financial/Page/AJAX.php
@@ -371,7 +371,7 @@ class CRM_Financial_Page_AJAX {
           $js = "enableActions('x')";
           $row[$financialItem->id]['check'] = "<input type='checkbox' id='mark_x_" . $financialItem->id . "' name='mark_x_" . $financialItem->id . "' value='1' onclick={$js}></input>";
           $row[$financialItem->id]['action'] = CRM_Core_Action::formLink(
-            CRM_Financial_Form_BatchTransaction::links(),
+            (new CRM_Financial_Form_BatchTransaction())->links(),
             NULL,
             [
               'id' => $financialItem->id,
@@ -389,7 +389,7 @@ class CRM_Financial_Page_AJAX {
           $js = "enableActions('y')";
           $row[$financialItem->id]['check'] = "<input type='checkbox' id='mark_y_" . $financialItem->id . "' name='mark_y_" . $financialItem->id . "' value='1' onclick={$js}></input>";
           $row[$financialItem->id]['action'] = CRM_Core_Action::formLink(
-            CRM_Financial_Page_BatchTransaction::links(),
+            (new CRM_Financial_Page_BatchTransaction())->links(),
             NULL,
             [
               'id' => $financialItem->id,
@@ -427,6 +427,7 @@ class CRM_Financial_Page_AJAX {
       if ($financialItem->contact_id) {
         $row[$financialItem->id]['contact_type'] = CRM_Contact_BAO_Contact_Utils::getImage(!empty($row[$financialItem->id]['contact_sub_type']) ? $row[$financialItem->id]['contact_sub_type'] : CRM_Utils_Array::value('contact_type', $row[$financialItem->id]), FALSE, $financialItem->contact_id);
       }
+      // @todo: Is this right? Shouldn't it be adding to the array as we loop?
       $financialitems = $row;
     }
 
diff --git a/civicrm/CRM/Financial/Page/BatchTransaction.php b/civicrm/CRM/Financial/Page/BatchTransaction.php
index cd32c0de9eafa683681eec579bc29919c4894f03..9f2221fb021711626519c7de0efea98d379f80f7 100644
--- a/civicrm/CRM/Financial/Page/BatchTransaction.php
+++ b/civicrm/CRM/Financial/Page/BatchTransaction.php
@@ -44,6 +44,14 @@ class CRM_Financial_Page_BatchTransaction extends CRM_Core_Page_Basic {
   /**
    * Get action Links.
    *
+   * @todo:
+   * While this function only references static self::$_links, we can't make
+   * the function static because we need to match CRM_Core_Page_Basic. Possibly
+   * the intent was caching, but there's nothing very time-consuming in here
+   * that needs it so do we even need $_links? The variable is public - a quick
+   * look doesn't seem like it's used on its own, but it's hard to fully check
+   * that.
+   *
    * @return array
    *   (reference) of action links
    */
diff --git a/civicrm/CRM/Friend/DAO/Friend.php b/civicrm/CRM/Friend/DAO/Friend.php
index f466450c42e28ced0f9363a46471639b4d2af1d7..e5a77e498de0fdf202417003716ddaebdbb20c1a 100644
--- a/civicrm/CRM/Friend/DAO/Friend.php
+++ b/civicrm/CRM/Friend/DAO/Friend.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Friend/Friend.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2405dab9bde6a82673d70673b9c4833b)
+ * (GenCodeChecksum:cddccd848fafb980eb26245c21f47f76)
  */
 
 /**
diff --git a/civicrm/CRM/Grant/DAO/Grant.php b/civicrm/CRM/Grant/DAO/Grant.php
index d2c9021b8142022b1bf9c7695d2e77933aa11e1a..41b3abeb613de7d0730a1058833203f8388cb5f8 100644
--- a/civicrm/CRM/Grant/DAO/Grant.php
+++ b/civicrm/CRM/Grant/DAO/Grant.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Grant/Grant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3514965c4290206b308ba49da1915ac9)
+ * (GenCodeChecksum:36856b7ed6b7fc04e812c92fd42df94f)
  */
 
 /**
@@ -173,6 +173,15 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
     return $plural ? ts('Grants') : ts('Grant');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Funds applied for and given out by this organization.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
diff --git a/civicrm/CRM/Logging/Schema.php b/civicrm/CRM/Logging/Schema.php
index 356aaf8fae3ef3bc5b68c151d668e4620e909d14..85bd657a6207864817c8b268e9ee394896d06044 100644
--- a/civicrm/CRM/Logging/Schema.php
+++ b/civicrm/CRM/Logging/Schema.php
@@ -26,7 +26,13 @@ class CRM_Logging_Schema {
   private $logs = [];
   private $tables = [];
 
+  /**
+   * Name of the database where the logging data is stored.
+   *
+   * @var string
+   */
   private $db;
+
   private $useDBPrefix = TRUE;
 
   private $reports = [
@@ -113,8 +119,7 @@ class CRM_Logging_Schema {
    * Populate $this->tables and $this->logs with current db state.
    */
   public function __construct() {
-    $dao = new CRM_Contact_DAO_Contact();
-    $civiDBName = $dao->_database;
+    $civiDBName = $this->getCiviCRMDatabaseName();
 
     $dao = CRM_Core_DAO::executeQuery("
 SELECT TABLE_NAME
@@ -157,17 +162,8 @@ AND    TABLE_NAME LIKE 'civicrm_%'
     $this->tables = array_keys($this->logTableSpec);
     $nonStandardTableNameString = $this->getNonStandardTableNameFilterString();
 
-    if (defined('CIVICRM_LOGGING_DSN')) {
-      $dsn = CRM_Utils_SQL::autoSwitchDSN(CIVICRM_LOGGING_DSN);
-      $dsn = DB::parseDSN($dsn);
-      $this->useDBPrefix = (CIVICRM_LOGGING_DSN != CIVICRM_DSN);
-    }
-    else {
-      $dsn = CRM_Utils_SQL::autoSwitchDSN(CIVICRM_DSN);
-      $dsn = DB::parseDSN($dsn);
-      $this->useDBPrefix = FALSE;
-    }
-    $this->db = $dsn['database'];
+    $this->db = $this->getDatabaseNameFromDSN(defined('CIVICRM_LOGGING_DSN') ? CIVICRM_LOGGING_DSN : CIVICRM_DSN);
+    $this->useDBPrefix = $this->db !== $civiDBName;
 
     $dao = CRM_Core_DAO::executeQuery("
 SELECT TABLE_NAME
@@ -230,7 +226,7 @@ AND    (TABLE_NAME LIKE 'log_civicrm_%' $nonStandardTableNameString )
    *
    * @param string $tableName
    */
-  public function dropTriggers($tableName = NULL) {
+  public function dropTriggers($tableName = NULL): void {
     /** @var \Civi\Core\SqlTriggers $sqlTriggers */
     $sqlTriggers = Civi::service('sql_triggers');
     $dao = new CRM_Core_DAO();
@@ -1067,4 +1063,31 @@ COLS;
     return [];
   }
 
+  /**
+   * Get the name of the database from the dsn string.
+   *
+   * @param string $dsnString
+   *
+   * @return string
+   */
+  protected function getDatabaseNameFromDSN($dsnString): string {
+    $dsn = CRM_Utils_SQL::autoSwitchDSN($dsnString);
+    $dsn = DB::parseDSN($dsn);
+    return $dsn['database'];
+  }
+
+  /**
+   * Get the database name for the CiviCRM connection.
+   *
+   * Note that we want to get it from the database connection,
+   * not the dsn, because there is at least one extension
+   * (https://github.com/totten/rpow) that 'meddles' with
+   * the DSN string.
+   *
+   * @return string
+   */
+  protected function getCiviCRMDatabaseName(): string {
+    return (new CRM_Contact_DAO_Contact())->_database;
+  }
+
 }
diff --git a/civicrm/CRM/Mailing/BAO/Mailing.php b/civicrm/CRM/Mailing/BAO/Mailing.php
index 576a5cfffd9bb534cb0177875003de11cfb265e9..2e53e4a388f2fc7b9445eed7694f4c53ab51cb95 100644
--- a/civicrm/CRM/Mailing/BAO/Mailing.php
+++ b/civicrm/CRM/Mailing/BAO/Mailing.php
@@ -398,6 +398,9 @@ class CRM_Mailing_BAO_Mailing extends CRM_Mailing_DAO_Mailing {
    * @return array
    */
   public static function getLocationFilterAndOrderBy($email_selection_method, $location_type_id) {
+    if ($email_selection_method !== 'automatic' && !$location_type_id) {
+      throw new \CRM_Core_Exception(ts('You have selected an email Selection Method without specifying a Location Type. Please go back and change your recipient settings (using the wrench icon next to "Recipients").'));
+    }
     $email = CRM_Core_DAO_Email::getTableName();
     // Note: When determining the ORDER that results are returned, it's
     // the record that comes last that counts. That's because we are
diff --git a/civicrm/CRM/Mailing/DAO/BouncePattern.php b/civicrm/CRM/Mailing/DAO/BouncePattern.php
index 830af977d37f636b995bb2e7724c2aa4b477827f..091639a689b5f1af97dc7a9055c345282014406e 100644
--- a/civicrm/CRM/Mailing/DAO/BouncePattern.php
+++ b/civicrm/CRM/Mailing/DAO/BouncePattern.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/BouncePattern.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a340a133494d8de320812a282997d760)
+ * (GenCodeChecksum:c69a86cc75621a05e32951247e12f06b)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/DAO/BounceType.php b/civicrm/CRM/Mailing/DAO/BounceType.php
index dbe383e1b5020ba3c96082121fb0d7c06f1be46c..8a274e839262dcadb4c8384cf5a831fa9c4ed0cd 100644
--- a/civicrm/CRM/Mailing/DAO/BounceType.php
+++ b/civicrm/CRM/Mailing/DAO/BounceType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/BounceType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3b880ec51ff0445ed90072824ba388c5)
+ * (GenCodeChecksum:cde25653865971ad7f5692dfd0eb7c39)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/DAO/Mailing.php b/civicrm/CRM/Mailing/DAO/Mailing.php
index 55cafbfff6b0413fb1cdf7624fbbb6e5dbf6defc..1ca7c178abae56526a9dde409d7b30ec871b2de7 100644
--- a/civicrm/CRM/Mailing/DAO/Mailing.php
+++ b/civicrm/CRM/Mailing/DAO/Mailing.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Mailing.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0ec62681276293bf364dc27bc3117b11)
+ * (GenCodeChecksum:4c28acf96d01fa990a3af7f2d72344b5)
  */
 
 /**
@@ -361,6 +361,15 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
     return $plural ? ts('Mailings') : ts('Mailing');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Mass emails sent from CiviMail.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
@@ -835,7 +844,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'description' => ts('Date and time this mailing was created.'),
           'required' => FALSE,
           'where' => 'civicrm_mailing.created_date',
-          'default' => 'NULL',
+          'default' => 'CURRENT_TIMESTAMP',
           'table_name' => 'civicrm_mailing',
           'entity' => 'Mailing',
           'bao' => 'CRM_Mailing_BAO_Mailing',
diff --git a/civicrm/CRM/Mailing/DAO/MailingAB.php b/civicrm/CRM/Mailing/DAO/MailingAB.php
index 871bfb30acc655fb0c08a7fd598a029af27d1ec1..0e3e3ad5e5a490c5719aada9f29c30fed119a2eb 100644
--- a/civicrm/CRM/Mailing/DAO/MailingAB.php
+++ b/civicrm/CRM/Mailing/DAO/MailingAB.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingAB.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:753d6580550aec3404384c585451fb96)
+ * (GenCodeChecksum:021242562cab688e65a6c13247c61636)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/DAO/MailingComponent.php b/civicrm/CRM/Mailing/DAO/MailingComponent.php
index a6d1ee4647cc6375a3d9a6798955adc2bc35cc35..281181c445006386f1184bed343cfa45a7b4fc55 100644
--- a/civicrm/CRM/Mailing/DAO/MailingComponent.php
+++ b/civicrm/CRM/Mailing/DAO/MailingComponent.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingComponent.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4fb4d43c4e99fd287db2ae1936ad6b96)
+ * (GenCodeChecksum:41af94f2313c33bb228194f142fc8e0b)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/DAO/MailingGroup.php b/civicrm/CRM/Mailing/DAO/MailingGroup.php
index f5e6d3cd90cd6f43f820b7537bdba24aaa4da314..0fd5b1f8940048ddb2779ebc199534fa06ac6ad7 100644
--- a/civicrm/CRM/Mailing/DAO/MailingGroup.php
+++ b/civicrm/CRM/Mailing/DAO/MailingGroup.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:52fcf6b74cf0c8f3ad9d3e6e9c6f8fb4)
+ * (GenCodeChecksum:1e483c2e468defc82c46dd66146595bb)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/DAO/MailingJob.php b/civicrm/CRM/Mailing/DAO/MailingJob.php
index 2b74f4c9188441ebc4659e5f38efc6e5118b63ad..fb5b2d8748c89c60abc144279fb94a37280de610 100644
--- a/civicrm/CRM/Mailing/DAO/MailingJob.php
+++ b/civicrm/CRM/Mailing/DAO/MailingJob.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingJob.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:66ec8ea61011246f741eab74caed0622)
+ * (GenCodeChecksum:2527bca832d0e7751c69a42d33f28159)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/DAO/Recipients.php b/civicrm/CRM/Mailing/DAO/Recipients.php
index f56a780af7c573516dcbc5125a494ee1737c6852..01c79e8ed008931059ee4efb5dd963de7d499e05 100644
--- a/civicrm/CRM/Mailing/DAO/Recipients.php
+++ b/civicrm/CRM/Mailing/DAO/Recipients.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Recipients.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1bb8ea55e30a902501c79a39d7129aa9)
+ * (GenCodeChecksum:b3c4d09f9c6afa1f96dc0d1cdbaec935)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/DAO/Spool.php b/civicrm/CRM/Mailing/DAO/Spool.php
index 6cb780587acf0bc1c8a846a9555121e7f4bf769a..e222a98fa11d1935d2a59ed8d830921ebbfeb974 100644
--- a/civicrm/CRM/Mailing/DAO/Spool.php
+++ b/civicrm/CRM/Mailing/DAO/Spool.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Spool.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d898fa4a28acbca7f43244142daa4712)
+ * (GenCodeChecksum:37cfd90aa2697070996f893259692b4b)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/DAO/TrackableURL.php b/civicrm/CRM/Mailing/DAO/TrackableURL.php
index c2d4fcb0c7732ab96c2d3e8fe2b42c2ac4395fae..2c018815e7fac6d89f1bdf5b21c8484447e15769 100644
--- a/civicrm/CRM/Mailing/DAO/TrackableURL.php
+++ b/civicrm/CRM/Mailing/DAO/TrackableURL.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/TrackableURL.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b33ea7557c17d9f6eb2f5bc9a3a1807b)
+ * (GenCodeChecksum:4c224c28653ab679c03fb8e98ddc3401)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/Event/BAO/Delivered.php b/civicrm/CRM/Mailing/Event/BAO/Delivered.php
index e236767c2e021ec581ede0e12b5f40472527def5..f14176652be68660b73d0cf7c9e9c6af68264bec 100644
--- a/civicrm/CRM/Mailing/Event/BAO/Delivered.php
+++ b/civicrm/CRM/Mailing/Event/BAO/Delivered.php
@@ -263,7 +263,11 @@ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered {
    * @param int $maxDays
    *   Consider mailings that were completed not more than $maxDays ago.
    */
-  public static function updateEmailResetDate($minDays = 3, $maxDays = 7) {
+  public static function updateEmailResetDate(int $minDays = 3, int $maxDays = 7) {
+
+    if ($minDays < 0 || $maxDays < 0 || $maxDays <= $minDays) {
+      throw new \InvalidArgumentException("minDays and maxDays must be >=0 and maxDays > minDays");
+    }
 
     $temporaryTable = CRM_Utils_SQL_TempTable::build()
       ->setCategory('mailingemail')
diff --git a/civicrm/CRM/Mailing/Event/DAO/Bounce.php b/civicrm/CRM/Mailing/Event/DAO/Bounce.php
index a03433da669e28509b24df95acacabbae1761c46..aebb50a011f4b0c6b34278a2dc905f44251065f2 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Bounce.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Bounce.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Bounce.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:de41ec098f97421e689810ea56f27df2)
+ * (GenCodeChecksum:6f3c41c50e9baa89d14295479d66975c)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/Event/DAO/Confirm.php b/civicrm/CRM/Mailing/Event/DAO/Confirm.php
index 1a893442ecdff92226b9759f9cd3483f6d211684..b8bde92ad97a861bbd248cfe6c9c0d077d1b42f4 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Confirm.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Confirm.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Confirm.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ca8f4e4d694557fcff22370853263d17)
+ * (GenCodeChecksum:666c5eb15eb75fd23bebb088db0bc004)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/Event/DAO/Delivered.php b/civicrm/CRM/Mailing/Event/DAO/Delivered.php
index 3f24abf80866c48940313c74efbbc0be1edd8a1e..7713ee98bcc5ef2f67d353c7f47eba9562ac63ad 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Delivered.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Delivered.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Delivered.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:67eb9eaad7e2da2d70e39d358ecfdb6f)
+ * (GenCodeChecksum:01ce8759ea940b4dd34213f25b15e7d3)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/Event/DAO/Forward.php b/civicrm/CRM/Mailing/Event/DAO/Forward.php
index fe7ba7958df2872799fb74ec1e0c58df76521e67..01cca5af26e5a633dda6df03af3c1367bd145fcc 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Forward.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Forward.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Forward.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b725b983e15e98213760102ea9472505)
+ * (GenCodeChecksum:60c155254c97ad953fc07b9244440f4e)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/Event/DAO/Opened.php b/civicrm/CRM/Mailing/Event/DAO/Opened.php
index 7be8425c144dfde0543ae1faaf4f35ea1cf49b7d..2b340f50d4f98a52d7acf5a953b8811b1a63a4b4 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Opened.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Opened.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Opened.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:287f7852cf7a1218f9ff6c4ee0a6470a)
+ * (GenCodeChecksum:eb80ba7a01169cc0320fb2807c873291)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/Event/DAO/Queue.php b/civicrm/CRM/Mailing/Event/DAO/Queue.php
index 82b76f1c88984f5ad6966652ba599bb281e1ac04..fc34ac15a4906d33810e1dfa50fb44b38c2a6a5e 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Queue.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Queue.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Queue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:62c78a2685fdd214159e30c944cd85c6)
+ * (GenCodeChecksum:64ec9770e9d859c3dba4512005c188be)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/Event/DAO/Reply.php b/civicrm/CRM/Mailing/Event/DAO/Reply.php
index 0e89b58def9aee4bc5d13a23a83f036dc8669284..0e3dfdd8707a7852be23bcebeb566852e319e59f 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Reply.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Reply.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Reply.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:614965c0ed3cb79b5a93c1e3d1248e03)
+ * (GenCodeChecksum:500b838b63185072b949c9e1a308f9d0)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/Event/DAO/Subscribe.php b/civicrm/CRM/Mailing/Event/DAO/Subscribe.php
index 9ad620fc11d55a6d275358af73a1a09d88cde4f6..95e65c8e3cdc6898af367e70cd040bc090abb22c 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Subscribe.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Subscribe.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Subscribe.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4b0ac23074c6737a52e326f42c8c25ca)
+ * (GenCodeChecksum:e9d5fb2bce9ebd0adb366e76b39d3e84)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/Event/DAO/TrackableURLOpen.php b/civicrm/CRM/Mailing/Event/DAO/TrackableURLOpen.php
index 9c9d5abe018e9c4c7efbbf21bb8175303b1fed77..1b990938126d14d213496ad62cee2783bd67b842 100644
--- a/civicrm/CRM/Mailing/Event/DAO/TrackableURLOpen.php
+++ b/civicrm/CRM/Mailing/Event/DAO/TrackableURLOpen.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/TrackableURLOpen.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1ac2ff5ffce9ff76d15e976845bbd8e8)
+ * (GenCodeChecksum:5eed5ab9c156c3f774a049f39546cbac)
  */
 
 /**
diff --git a/civicrm/CRM/Mailing/Event/DAO/Unsubscribe.php b/civicrm/CRM/Mailing/Event/DAO/Unsubscribe.php
index fdfa2d5c5527d9abe1f9d33e97d0321f7fe02483..9e0bd515af887616ef7cce01c2b21239010c0215 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Unsubscribe.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Unsubscribe.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Unsubscribe.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2f06825cf706eb25be63167950390a62)
+ * (GenCodeChecksum:c1409a676271a172fdc33339a4414951)
  */
 
 /**
diff --git a/civicrm/CRM/Member/BAO/Membership.php b/civicrm/CRM/Member/BAO/Membership.php
index 98f2f530e44cc656ebc32ce842cb70541053b01d..289d312c2d9ffac4acb5cb4ca1b0041e907e0352 100644
--- a/civicrm/CRM/Member/BAO/Membership.php
+++ b/civicrm/CRM/Member/BAO/Membership.php
@@ -257,7 +257,7 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
     // To skip status calculation we should use 'skipStatusCal'.
     // eg pay later membership, membership update cron CRM-3984
 
-    if (empty($params['is_override']) && empty($params['skipStatusCal'])) {
+    if (empty($params['skipStatusCal'])) {
       $fieldsToLoad = [];
       foreach (['start_date', 'end_date', 'join_date'] as $dateField) {
         if (!empty($params[$dateField]) && $params[$dateField] !== 'null' && strpos($params[$dateField], date('Ymd', CRM_Utils_Time::strtotime(trim($params[$dateField])))) !== 0) {
@@ -275,9 +275,23 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
           $params[$fieldToLoad] = $membership[$fieldToLoad];
         }
       }
-      $params['start_date'] = $params['start_date'] ?: 'null';
-      $params['end_date'] = $params['end_date'] ?: 'null';
-      $params['join_date'] = $params['join_date'] ?: 'null';
+      if (empty($params['id'])
+        && (empty($params['start_date']) || empty($params['join_date']) || (empty($params['end_date']) && !$isLifeTime))) {
+        // This is a new membership, calculate the membership dates.
+        $calcDates = CRM_Member_BAO_MembershipType::getDatesForMembershipType(
+          $params['membership_type_id'],
+          $params['join_date'] ?? NULL,
+          $params['start_date'] ?? NULL,
+          $params['end_date'] ?? NULL,
+          $params['num_terms'] ?? 1
+        );
+      }
+      else {
+        $calcDates = [];
+      }
+      $params['start_date'] = $params['start_date'] ?? ($calcDates['start_date'] ?? 'null');
+      $params['end_date'] = $params['end_date'] ?? ($calcDates['end_date'] ?? 'null');
+      $params['join_date'] = $params['join_date'] ?? ($calcDates['join_date'] ?? 'null');
 
       //fix for CRM-3570, during import exclude the statuses those having is_admin = 1
       $excludeIsAdmin = $params['exclude_is_admin'] ?? FALSE;
@@ -287,13 +301,15 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
         $excludeIsAdmin = TRUE;
       }
 
-      $calcStatus = CRM_Member_BAO_MembershipStatus::getMembershipStatusByDate($params['start_date'], $params['end_date'], $params['join_date'],
-        'now', $excludeIsAdmin, $params['membership_type_id'] ?? NULL, $params
-      );
-      if (empty($calcStatus)) {
-        throw new CRM_Core_Exception(ts("The membership cannot be saved because the status cannot be calculated for start_date: {$params['start_date']} end_date {$params['end_date']} join_date {$params['join_date']} as at " . CRM_Utils_Time::date('Y-m-d H:i:s')));
+      if (empty($params['is_override'])) {
+        $calcStatus = CRM_Member_BAO_MembershipStatus::getMembershipStatusByDate($params['start_date'], $params['end_date'], $params['join_date'],
+          'now', $excludeIsAdmin, $params['membership_type_id'] ?? NULL, $params
+        );
+        if (empty($calcStatus)) {
+          throw new CRM_Core_Exception(ts("The membership cannot be saved because the status cannot be calculated for start_date: {$params['start_date']} end_date {$params['end_date']} join_date {$params['join_date']} as at " . CRM_Utils_Time::date('Y-m-d H:i:s')));
+        }
+        $params['status_id'] = $calcStatus['id'];
       }
-      $params['status_id'] = $calcStatus['id'];
     }
 
     // data cleanup only: all verifications on number of related memberships are done upstream in:
diff --git a/civicrm/CRM/Member/DAO/Membership.php b/civicrm/CRM/Member/DAO/Membership.php
index 4cffc2f57002671173b14ba4db1d687d6fcaabf6..c1d0ef01f3e8d663faab8fc55c0f7cecc2c28d2c 100644
--- a/civicrm/CRM/Member/DAO/Membership.php
+++ b/civicrm/CRM/Member/DAO/Membership.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/Membership.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dc1ce9eef7433fb191d837f800a9f745)
+ * (GenCodeChecksum:e364568e0284363b3a9141823215c536)
  */
 
 /**
@@ -174,6 +174,15 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
     return $plural ? ts('Memberships') : ts('Membership');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Records of contacts belonging to an organization\'s membership program.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
diff --git a/civicrm/CRM/Member/DAO/MembershipBlock.php b/civicrm/CRM/Member/DAO/MembershipBlock.php
index 6e537bf79e2d83fe16356345a17e60fcbb7e94ed..891dc5b991b37071f4d54efed0be82bb2fb2de79 100644
--- a/civicrm/CRM/Member/DAO/MembershipBlock.php
+++ b/civicrm/CRM/Member/DAO/MembershipBlock.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3a11d3829c8792b08f4e1f361c80e91c)
+ * (GenCodeChecksum:1f5c13fb36ae0853ed5982f6ca40d65a)
  */
 
 /**
diff --git a/civicrm/CRM/Member/DAO/MembershipLog.php b/civicrm/CRM/Member/DAO/MembershipLog.php
index 708ba7bc48b310feb8903e4fbf48dcbe66e6e6ac..2d13cc86d0b2da8ba6e28f83a176b9d58ae15d05 100644
--- a/civicrm/CRM/Member/DAO/MembershipLog.php
+++ b/civicrm/CRM/Member/DAO/MembershipLog.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a110ab7dd0e4be40f840eae85b85048b)
+ * (GenCodeChecksum:cca53e3abe058a7b585138271658d90c)
  */
 
 /**
diff --git a/civicrm/CRM/Member/DAO/MembershipPayment.php b/civicrm/CRM/Member/DAO/MembershipPayment.php
index adae99b2bf6be7eb08efaed5325108a53e02734e..a549158e021513641913abb99df84228c9d8a2b6 100644
--- a/civicrm/CRM/Member/DAO/MembershipPayment.php
+++ b/civicrm/CRM/Member/DAO/MembershipPayment.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e8b8450bfe96eaf47f0f7d4070caaa8)
+ * (GenCodeChecksum:cb00d5477470230f8ab9b18bc56ca910)
  */
 
 /**
diff --git a/civicrm/CRM/Member/DAO/MembershipStatus.php b/civicrm/CRM/Member/DAO/MembershipStatus.php
index 87063dc707cee0993a5ae297f44c277c8c48cb1d..85b8e054d8e85cd36d1e1d9216bd432c22038890 100644
--- a/civicrm/CRM/Member/DAO/MembershipStatus.php
+++ b/civicrm/CRM/Member/DAO/MembershipStatus.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipStatus.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:614df1344aee4571915f071bef3d1090)
+ * (GenCodeChecksum:62a534dbf9aed62f4d496939b44acf3d)
  */
 
 /**
diff --git a/civicrm/CRM/Member/DAO/MembershipType.php b/civicrm/CRM/Member/DAO/MembershipType.php
index 1d41c800102697cdc3495015ca885163aca23f13..c81123e029ba2edb5db2df9a078f4671f000e455 100644
--- a/civicrm/CRM/Member/DAO/MembershipType.php
+++ b/civicrm/CRM/Member/DAO/MembershipType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:32c41f6fbf066a56e2beb49cfb976977)
+ * (GenCodeChecksum:e989278865fbeabd9f3d6efc7271a2d1)
  */
 
 /**
diff --git a/civicrm/CRM/Member/Form.php b/civicrm/CRM/Member/Form.php
index b5a5d5403fda592abd33007f16d6e15effb8eac1..ea71c00f11c6efc4720a59d33541be6d0b251b40 100644
--- a/civicrm/CRM/Member/Form.php
+++ b/civicrm/CRM/Member/Form.php
@@ -490,6 +490,7 @@ class CRM_Member_Form extends CRM_Contribute_Form_AbstractEditPayment {
    * @param array $formValues
    *
    * @return array
+   * @throws \API_Exception
    */
   protected function setPriceSetParameters(array $formValues): array {
     // process price set and get total amount and line items.
@@ -498,12 +499,9 @@ class CRM_Member_Form extends CRM_Contribute_Form_AbstractEditPayment {
     $priceSetDetails = $this->getPriceSetDetails($formValues);
     $this->_priceSet = $priceSetDetails[$this->_priceSetId];
     $this->order = new CRM_Financial_BAO_Order();
-    $this->order->setPriceSelectionFromUnfilteredInput($formValues);
-    $this->order->setPriceSetID($this->getPriceSetID($formValues));
     $this->order->setForm($this);
-    if ($priceSetDetails[$this->order->getPriceSetID()]['is_quick_config'] && isset($formValues['total_amount'])) {
-      // Amount overrides only permitted on quick config.
-      // Possibly Order object should enforce this...
+    $this->order->setPriceSelectionFromUnfilteredInput($formValues);
+    if (isset($formValues['total_amount'])) {
       $this->order->setOverrideTotalAmount((float) $formValues['total_amount']);
     }
     $this->order->setOverrideFinancialTypeID((int) $formValues['financial_type_id']);
diff --git a/civicrm/CRM/Member/Form/MembershipBlock.php b/civicrm/CRM/Member/Form/MembershipBlock.php
index 99ef355617b3f85beda353836d7e73d788cec8e0..352ad1d0c4e08847abf080a535af4027659622b4 100644
--- a/civicrm/CRM/Member/Form/MembershipBlock.php
+++ b/civicrm/CRM/Member/Form/MembershipBlock.php
@@ -386,7 +386,7 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa
         $editedResults = [];
         CRM_Price_BAO_PriceField::retrieve($editedFieldParams, $editedResults);
         if (empty($editedResults['id'])) {
-          $fieldParams['name'] = strtolower(CRM_Utils_String::munge('Membership Amount', '_', 245));
+          $fieldParams['name'] = 'membership_amount';
           if (empty($params['mem_price_field_id'])) {
             CRM_Utils_Weight::updateOtherWeights('CRM_Price_DAO_PriceField', 0, 1, ['price_set_id' => $priceSetID]);
           }
diff --git a/civicrm/CRM/Member/Page/MembershipType.php b/civicrm/CRM/Member/Page/MembershipType.php
index 8ef9f712c66dac89ce4d1b2eeca7d8c5a1d5de1a..4bf35564df67bd026f7b9a4081cef5bc2a479886 100644
--- a/civicrm/CRM/Member/Page/MembershipType.php
+++ b/civicrm/CRM/Member/Page/MembershipType.php
@@ -123,7 +123,6 @@ class CRM_Member_Page_MembershipType extends CRM_Core_Page {
             $value, $relationshipName
           );
         }
-        $membershipType[$dao->id]['maxRelated'] = $membershipType[$dao->id]['max_related'] ?? NULL;
       }
       if (CRM_Financial_BAO_FinancialType::isACLFinancialTypeStatus() && !CRM_Core_Permission::check('edit contributions of type ' . CRM_Contribute_PseudoConstant::financialType($dao->financial_type_id))) {
         unset($links[CRM_Core_Action::UPDATE], $links[CRM_Core_Action::ENABLE], $links[CRM_Core_Action::DISABLE]);
@@ -134,24 +133,22 @@ class CRM_Member_Page_MembershipType extends CRM_Core_Page {
       // form all action links
       $action = array_sum(array_keys($this->links()));
 
-      // update enable/disable links depending on if it is is_reserved or is_active
-      if (!isset($dao->is_reserved)) {
-        if ($dao->is_active) {
-          $action -= CRM_Core_Action::ENABLE;
-        }
-        else {
-          $action -= CRM_Core_Action::DISABLE;
-        }
-        $membershipType[$dao->id]['order'] = $membershipType[$dao->id]['weight'];
-        $membershipType[$dao->id]['action'] = CRM_Core_Action::formLink($links, $action,
-          ['id' => $dao->id],
-          ts('more'),
-          FALSE,
-          'membershipType.manage.action',
-          'MembershipType',
-          $dao->id
-        );
+      // update enable/disable links depending on if it is_active
+      if ($dao->is_active) {
+        $action -= CRM_Core_Action::ENABLE;
+      }
+      else {
+        $action -= CRM_Core_Action::DISABLE;
       }
+      $membershipType[$dao->id]['order'] = $membershipType[$dao->id]['weight'];
+      $membershipType[$dao->id]['action'] = CRM_Core_Action::formLink($links, $action,
+        ['id' => $dao->id],
+        ts('more'),
+        FALSE,
+        'membershipType.manage.action',
+        'MembershipType',
+        $dao->id
+      );
     }
 
     $returnURL = CRM_Utils_System::url('civicrm/admin/member/membershipType', "reset=1&action=browse");
diff --git a/civicrm/CRM/PCP/DAO/PCP.php b/civicrm/CRM/PCP/DAO/PCP.php
index 4772c5beb1acb7df6bb0fd9d7c2bc792465a2a93..9c04ed84fde09e20c1a948d2b28db4d1f3932815 100644
--- a/civicrm/CRM/PCP/DAO/PCP.php
+++ b/civicrm/CRM/PCP/DAO/PCP.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/PCP/PCP.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b6ab23bb8e72eac29f57d10b07ece09c)
+ * (GenCodeChecksum:0d2fc92a3a801a3eb5eca71989b21557)
  */
 
 /**
diff --git a/civicrm/CRM/PCP/DAO/PCPBlock.php b/civicrm/CRM/PCP/DAO/PCPBlock.php
index c80700c2a1c27312b6f65d0332a2049cc3b3cb7a..e1cfd859bb2805cbe562f82826873896b09057f9 100644
--- a/civicrm/CRM/PCP/DAO/PCPBlock.php
+++ b/civicrm/CRM/PCP/DAO/PCPBlock.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/PCP/PCPBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ded07a159b7baf093c3fb98e0656063f)
+ * (GenCodeChecksum:4b5ca843e0a3a2e4b439d03513b20682)
  */
 
 /**
diff --git a/civicrm/CRM/Pledge/DAO/Pledge.php b/civicrm/CRM/Pledge/DAO/Pledge.php
index c08c2f005240d1e81e2187c5e562c4f7462db7ef..ab4a7c68291631f642281ae809294dd17bdf5f03 100644
--- a/civicrm/CRM/Pledge/DAO/Pledge.php
+++ b/civicrm/CRM/Pledge/DAO/Pledge.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/Pledge.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:207537ed0241f8d30a332da89eb213af)
+ * (GenCodeChecksum:49bcf54cf3de315f6e8f07519eb1b5f2)
  */
 
 /**
@@ -215,6 +215,15 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
     return $plural ? ts('Pledges') : ts('Pledge');
   }
 
+  /**
+   * Returns user-friendly description of this entity.
+   *
+   * @return string
+   */
+  public static function getEntityDescription() {
+    return ts('Promises to contribute at a future time, either in full, or at regular intervals until a total goal is reached.');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
diff --git a/civicrm/CRM/Pledge/DAO/PledgeBlock.php b/civicrm/CRM/Pledge/DAO/PledgeBlock.php
index 2caae9e1bb139ec6a705ab98f38bd494ae0b4a85..209e60a3aa4173a4b24989ae54524ca3ecbd0d14 100644
--- a/civicrm/CRM/Pledge/DAO/PledgeBlock.php
+++ b/civicrm/CRM/Pledge/DAO/PledgeBlock.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgeBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2ee09d20ee73675e8c28c7aa9207f67d)
+ * (GenCodeChecksum:37dd1b6ee946c78093489ce7a98c55e0)
  */
 
 /**
diff --git a/civicrm/CRM/Pledge/DAO/PledgePayment.php b/civicrm/CRM/Pledge/DAO/PledgePayment.php
index d5ccaec3769056197eca62edaa559012924b783f..0dae73a2f09c8bd1626d0e472116e8d931e93cdb 100644
--- a/civicrm/CRM/Pledge/DAO/PledgePayment.php
+++ b/civicrm/CRM/Pledge/DAO/PledgePayment.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgePayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a539e4dbc9ec376ab590718431839b72)
+ * (GenCodeChecksum:bfa7183802af9f28111c1d7c7dc6af5a)
  */
 
 /**
diff --git a/civicrm/CRM/Price/BAO/LineItem.php b/civicrm/CRM/Price/BAO/LineItem.php
index 183019dbe5cce882307af76ef8405eb027da4761..c2c707f7b0c46e6d9ce0cd51a98d54fdcbfd17c8 100644
--- a/civicrm/CRM/Price/BAO/LineItem.php
+++ b/civicrm/CRM/Price/BAO/LineItem.php
@@ -72,6 +72,15 @@ class CRM_Price_BAO_LineItem extends CRM_Price_DAO_LineItem {
         civicrm_api3('MembershipPayment', 'create', $membershipPaymentParams);
       }
     }
+    if ($lineItemBAO->entity_table === 'civicrm_participant' && $lineItemBAO->contribution_id && $lineItemBAO->entity_id) {
+      $participantPaymentParams = [
+        'participant_id' => $lineItemBAO->entity_id,
+        'contribution_id' => $lineItemBAO->contribution_id,
+      ];
+      if (!civicrm_api3('ParticipantPayment', 'getcount', $participantPaymentParams)) {
+        civicrm_api3('ParticipantPayment', 'create', $participantPaymentParams);
+      }
+    }
 
     if ($id) {
       // CRM-21281: Restore entity reference in case the post hook needs it
@@ -346,6 +355,11 @@ WHERE li.contribution_id = %1";
       $entityId = [$entityId];
     }
 
+    $params = [];
+    foreach ($entityId as $id) {
+      CRM_Utils_Hook::pre('delete', 'LineItem', $id, $params);
+    }
+
     $query = "DELETE FROM civicrm_line_item where entity_id IN ('" . implode("','", $entityId) . "') AND entity_table = '$entityTable'";
     $dao = CRM_Core_DAO::executeQuery($query);
     return TRUE;
diff --git a/civicrm/CRM/Price/BAO/PriceSet.php b/civicrm/CRM/Price/BAO/PriceSet.php
index 9d30fcbee1387b612b6d2e64c8c61f544efa89b4..d8bed037184ce0762ddfad1f0f25401cdc71297b 100644
--- a/civicrm/CRM/Price/BAO/PriceSet.php
+++ b/civicrm/CRM/Price/BAO/PriceSet.php
@@ -886,32 +886,6 @@ WHERE  id = %1";
     self::addPriceFieldsToForm($form, $feeBlock, $validFieldsOnly, $className, $validPriceFieldIds);
   }
 
-  /**
-   * Apply ACLs on Financial Type to the price options in a fee block.
-   *
-   * @param array $feeBlock
-   *   Fee block: array of price fields.
-   *
-   * @deprecated not used in civi universe as at Oct 2020.
-   *
-   * @return void
-   */
-  public static function applyACLFinancialTypeStatusToFeeBlock(&$feeBlock) {
-    CRM_Core_Error::deprecatedFunctionWarning('enacted in financialtypeacl extension');
-    if (CRM_Financial_BAO_FinancialType::isACLFinancialTypeStatus()) {
-      foreach ($feeBlock as $key => $value) {
-        foreach ($value['options'] as $k => $options) {
-          if (!CRM_Core_Permission::check('add contributions of type ' . CRM_Contribute_PseudoConstant::financialType($options['financial_type_id']))) {
-            unset($feeBlock[$key]['options'][$k]);
-          }
-        }
-        if (empty($feeBlock[$key]['options'])) {
-          unset($feeBlock[$key]);
-        }
-      }
-    }
-  }
-
   /**
    * Check the current Membership having end date null.
    *
diff --git a/civicrm/CRM/Price/DAO/LineItem.php b/civicrm/CRM/Price/DAO/LineItem.php
index 0aa851939ea13011c2b77a9d2ddcb3ba76f343e8..98bae25c61ffaa275a7faf82235d3add4bfcdc8f 100644
--- a/civicrm/CRM/Price/DAO/LineItem.php
+++ b/civicrm/CRM/Price/DAO/LineItem.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/LineItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cffc97712c8823323cbeb39a0851363a)
+ * (GenCodeChecksum:27940b7d9e1152223c1fde0e32a8e909)
  */
 
 /**
@@ -129,6 +129,13 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
    */
   public $tax_amount;
 
+  /**
+   * Number of terms for this membership (only supported in Order->Payment flow). If the field is NULL it means unknown and it will be assumed to be 1 during payment.create if entity_table is civicrm_membership
+   *
+   * @var int
+   */
+  public $membership_num_terms;
+
   /**
    * Class constructor.
    */
@@ -444,6 +451,19 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           ],
           'add' => '4.6',
         ],
+        'membership_num_terms' => [
+          'name' => 'membership_num_terms',
+          'type' => CRM_Utils_Type::T_INT,
+          'title' => ts('Number of membership terms purchased'),
+          'description' => ts('Number of terms for this membership (only supported in Order->Payment flow). If the field is NULL it means unknown and it will be assumed to be 1 during payment.create if entity_table is civicrm_membership'),
+          'where' => 'civicrm_line_item.membership_num_terms',
+          'default' => 'NULL',
+          'table_name' => 'civicrm_line_item',
+          'entity' => 'LineItem',
+          'bao' => 'CRM_Price_BAO_LineItem',
+          'localizable' => 0,
+          'add' => '5.40',
+        ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
diff --git a/civicrm/CRM/Price/DAO/PriceField.php b/civicrm/CRM/Price/DAO/PriceField.php
index f83f32045c3d71d52df0f7ca687a6f62121d14d0..287939e200b7dd996bb398e9cdb08e6fbe7ae40b 100644
--- a/civicrm/CRM/Price/DAO/PriceField.php
+++ b/civicrm/CRM/Price/DAO/PriceField.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a39277a5a91f48154c7015c413a91ee7)
+ * (GenCodeChecksum:9449b207c28052d794e6d0c9d179f51c)
  */
 
 /**
diff --git a/civicrm/CRM/Price/DAO/PriceFieldValue.php b/civicrm/CRM/Price/DAO/PriceFieldValue.php
index 5d17c5643363b727f575c8f4e74f901130146022..cda909f20222513bdb6123e5038213dc5c68ea71 100644
--- a/civicrm/CRM/Price/DAO/PriceFieldValue.php
+++ b/civicrm/CRM/Price/DAO/PriceFieldValue.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceFieldValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e22215cf06dcae5dd461ef3fc2c60a2e)
+ * (GenCodeChecksum:7da3309222cffae75ba3d149e8acb395)
  */
 
 /**
diff --git a/civicrm/CRM/Price/DAO/PriceSet.php b/civicrm/CRM/Price/DAO/PriceSet.php
index a46029975e2261d18576c7c7f7236a440e8f6bb1..dfdb9cbc03201cd0cec88b42c5e14283b441e941 100644
--- a/civicrm/CRM/Price/DAO/PriceSet.php
+++ b/civicrm/CRM/Price/DAO/PriceSet.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceSet.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dbf63d57ef651ede1f0713ac37828dd4)
+ * (GenCodeChecksum:5c5630b1371dd1c8894a25b58ffbb5d9)
  */
 
 /**
diff --git a/civicrm/CRM/Price/DAO/PriceSetEntity.php b/civicrm/CRM/Price/DAO/PriceSetEntity.php
index 791a62d9c6edf7e2562229502377afadcd462b7a..9d13d2992cfd542e80b15fe271b5964108501e81 100644
--- a/civicrm/CRM/Price/DAO/PriceSetEntity.php
+++ b/civicrm/CRM/Price/DAO/PriceSetEntity.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceSetEntity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4a30fb02c5799b90ff91dc46befa95fe)
+ * (GenCodeChecksum:0be314d066d9e72b66c86a2de6d681a9)
  */
 
 /**
diff --git a/civicrm/CRM/Queue/DAO/QueueItem.php b/civicrm/CRM/Queue/DAO/QueueItem.php
index 09cefb0c5d5c30c31b9f61684d88f203cd659616..db5d14ab80749e97c9c95fa4022acf93641db959 100644
--- a/civicrm/CRM/Queue/DAO/QueueItem.php
+++ b/civicrm/CRM/Queue/DAO/QueueItem.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Queue/QueueItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7378ae2c08e07dfba99311bbe1958dbf)
+ * (GenCodeChecksum:c509d1bc7563d1cddf1b5c823520b32c)
  */
 
 /**
diff --git a/civicrm/CRM/Report/DAO/ReportInstance.php b/civicrm/CRM/Report/DAO/ReportInstance.php
index 9edcb20f58a4dde10c7f43057e96326f4514263a..2a1de9cd4575a4db8062cd56533bb91d1e34a316 100644
--- a/civicrm/CRM/Report/DAO/ReportInstance.php
+++ b/civicrm/CRM/Report/DAO/ReportInstance.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Report/ReportInstance.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f70f5daefce7003cb9325af0740c447d)
+ * (GenCodeChecksum:8119de0836afac038bfa8eeed2c0fb63)
  */
 
 /**
diff --git a/civicrm/CRM/Report/Form/Contribute/Bookkeeping.php b/civicrm/CRM/Report/Form/Contribute/Bookkeeping.php
index f2239d6ce7561c629ab8167bd26367db22dc4928..2a3af7151613d4eac9bc7cc832d75957d83ec78c 100644
--- a/civicrm/CRM/Report/Form/Contribute/Bookkeeping.php
+++ b/civicrm/CRM/Report/Form/Contribute/Bookkeeping.php
@@ -387,7 +387,8 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form {
     $this->_from = "FROM  civicrm_contact {$this->_aliases['civicrm_contact']} {$this->_aclFrom}
               INNER JOIN civicrm_contribution {$this->_aliases['civicrm_contribution']}
                     ON {$this->_aliases['civicrm_contact']}.id = {$this->_aliases['civicrm_contribution']}.contact_id AND
-                         {$this->_aliases['civicrm_contribution']}.is_test = 0
+                         {$this->_aliases['civicrm_contribution']}.is_test = 0 AND
+                         {$this->_aliases['civicrm_contribution']}.is_template = 0
               LEFT JOIN civicrm_membership_payment payment
                     ON ( {$this->_aliases['civicrm_contribution']}.id = payment.contribution_id )
               LEFT JOIN civicrm_membership {$this->_aliases['civicrm_membership']}
diff --git a/civicrm/CRM/Report/Form/Contribute/Detail.php b/civicrm/CRM/Report/Form/Contribute/Detail.php
index ab5ac670e52e7123d19a87512bce98f0206e4ce3..219f4f3d8221ac93aa94217bb735474fbd5de4d6 100644
--- a/civicrm/CRM/Report/Form/Contribute/Detail.php
+++ b/civicrm/CRM/Report/Form/Contribute/Detail.php
@@ -400,7 +400,8 @@ class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form {
     $this->_from .= "
       INNER JOIN civicrm_contribution {$this->_aliases['civicrm_contribution']}
         ON {$this->_aliases['civicrm_contact']}.id = {$this->_aliases['civicrm_contribution']}.contact_id
-        AND {$this->_aliases['civicrm_contribution']}.is_test = 0";
+        AND {$this->_aliases['civicrm_contribution']}.is_test = 0
+        AND {$this->_aliases['civicrm_contribution']}.is_template = 0";
 
     $this->joinContributionToSoftCredit();
     $this->appendAdditionalFromJoins();
diff --git a/civicrm/CRM/Report/Form/Contribute/History.php b/civicrm/CRM/Report/Form/Contribute/History.php
index 1db29aa24c572ed66933a69f0f6c347a632a96e8..3a85c348b79eca6d28d8e32e60d40ffc0fe3d7b8 100644
--- a/civicrm/CRM/Report/Form/Contribute/History.php
+++ b/civicrm/CRM/Report/Form/Contribute/History.php
@@ -376,7 +376,8 @@ class CRM_Report_Form_Contribute_History extends CRM_Report_Form {
         FROM civicrm_contact  {$this->_aliases['civicrm_contact']}
              INNER JOIN civicrm_contribution   {$this->_aliases['civicrm_contribution']}
                      ON {$this->_aliases['civicrm_contact']}.id = {$this->_aliases['civicrm_contribution']}.contact_id AND
-                        {$this->_aliases['civicrm_contribution']}.is_test = 0 ";
+                        {$this->_aliases['civicrm_contribution']}.is_test = 0 AND
+                        {$this->_aliases['civicrm_contribution']}.is_template = 0";
 
     $relContacAlias = 'contact_relationship';
     $this->_relationshipFrom = " INNER JOIN civicrm_relationship {$this->_aliases['civicrm_relationship']}
@@ -592,12 +593,12 @@ class CRM_Report_Form_Contribute_History extends CRM_Report_Form {
     if (!empty($this->_referenceYear['other_year'])) {
       (CRM_Utils_Array::value('other_year_op', $this->_params) ==
         'calendar') ? $other_receive_date = 'YEAR (contri.receive_date)' : $other_receive_date = self::fiscalYearOffset('contri.receive_date');
-      $addWhere .= " AND {$this->_aliases['civicrm_contact']}.id NOT IN ( SELECT DISTINCT cont.id FROM civicrm_contact cont, civicrm_contribution contri WHERE  cont.id = contri.contact_id AND {$other_receive_date} = {$this->_referenceYear['other_year']} AND contri.is_test = 0 ) ";
+      $addWhere .= " AND {$this->_aliases['civicrm_contact']}.id NOT IN ( SELECT DISTINCT cont.id FROM civicrm_contact cont, civicrm_contribution contri WHERE  cont.id = contri.contact_id AND {$other_receive_date} = {$this->_referenceYear['other_year']} AND contri.is_test = 0 AND contri.is_template = 0 ) ";
     }
     if (!empty($this->_referenceYear['this_year'])) {
       (CRM_Utils_Array::value('this_year_op', $this->_params) ==
         'calendar') ? $receive_date = 'YEAR (contri.receive_date)' : $receive_date = self::fiscalYearOffset('contri.receive_date');
-      $addWhere .= " AND {$this->_aliases['civicrm_contact']}.id IN ( SELECT DISTINCT cont.id FROM civicrm_contact cont, civicrm_contribution contri WHERE cont.id = contri.contact_id AND {$receive_date} = {$this->_referenceYear['this_year']} AND contri.is_test = 0 ) ";
+      $addWhere .= " AND {$this->_aliases['civicrm_contact']}.id IN ( SELECT DISTINCT cont.id FROM civicrm_contact cont, civicrm_contribution contri WHERE cont.id = contri.contact_id AND {$receive_date} = {$this->_referenceYear['this_year']} AND contri.is_test = 0 AND contri.is_template = 0 ) ";
     }
     $this->limit();
     $getContacts = "SELECT {$this->_aliases['civicrm_contact']}.id as cid, SUM({$this->_aliases['civicrm_contribution']}.total_amount) as civicrm_contribution_total_amount_sum {$this->_from} {$this->_where} {$addWhere} GROUP BY {$this->_aliases['civicrm_contact']}.id {$this->_having} {$this->_limit}";
@@ -686,7 +687,7 @@ class CRM_Report_Form_Contribute_History extends CRM_Report_Form {
 
     $sqlContribution = "{$this->_select} {$this->_from} WHERE {$this->_aliases['civicrm_contact']}.id IN (" .
       implode(',', $contactIds) .
-      ") AND {$this->_aliases['civicrm_contribution']}.is_test = 0 {$this->_statusClause} {$this->_groupBy} ";
+      ") AND {$this->_aliases['civicrm_contribution']}.is_test = 0 AND {$this->_aliases['civicrm_contribution']}.is_template = 0 {$this->_statusClause} {$this->_groupBy} ";
 
     $dao = CRM_Core_DAO::executeQuery($sqlContribution);
     $contributionSum = 0;
diff --git a/civicrm/CRM/Report/Form/Contribute/HouseholdSummary.php b/civicrm/CRM/Report/Form/Contribute/HouseholdSummary.php
index 4ed79397d516b1a60ea9708ae6ab9847ddbb01d0..13e028a1a94c47e46d6d3ee400b137e34c0b3434 100644
--- a/civicrm/CRM/Report/Form/Contribute/HouseholdSummary.php
+++ b/civicrm/CRM/Report/Form/Contribute/HouseholdSummary.php
@@ -235,7 +235,7 @@ class CRM_Report_Form_Contribute_HouseholdSummary extends CRM_Report_Form {
                       ({$this->_aliases['civicrm_contact']}.id = {$this->_aliases['civicrm_relationship']}.$this->otherContact )
             {$this->_aclFrom}
             INNER JOIN civicrm_contribution {$this->_aliases['civicrm_contribution']} ON
-                      ({$this->_aliases['civicrm_contribution']}.contact_id = {$this->_aliases['civicrm_relationship']}.$this->otherContact ) AND {$this->_aliases['civicrm_contribution']}.is_test = 0 ";
+                      ({$this->_aliases['civicrm_contribution']}.contact_id = {$this->_aliases['civicrm_relationship']}.$this->otherContact ) AND {$this->_aliases['civicrm_contribution']}.is_test = 0 AND {$this->_aliases['civicrm_contribution']}.is_template = 0 ";
 
     $this->joinAddressFromContact();
     $this->joinEmailFromContact();
diff --git a/civicrm/CRM/Report/Form/Contribute/Lybunt.php b/civicrm/CRM/Report/Form/Contribute/Lybunt.php
index 97c0d8f9d32120a153a236997b7f484622e4c060..97ed34f08d70352e04894023f993e76e2cee0d90 100644
--- a/civicrm/CRM/Report/Form/Contribute/Lybunt.php
+++ b/civicrm/CRM/Report/Form/Contribute/Lybunt.php
@@ -307,6 +307,7 @@ class CRM_Report_Form_Contribute_Lybunt extends CRM_Report_Form {
         INNER JOIN $this->contactTempTable restricted_contacts
           ON restricted_contacts.cid = {$this->_aliases['civicrm_contribution']}.contact_id
           AND {$this->_aliases['civicrm_contribution']}.is_test = 0
+          AND {$this->_aliases['civicrm_contribution']}.is_template = 0
         INNER JOIN civicrm_contact {$this->_aliases['civicrm_contact']}
           ON restricted_contacts.cid = {$this->_aliases['civicrm_contact']}.id";
 
@@ -326,6 +327,7 @@ class CRM_Report_Form_Contribute_Lybunt extends CRM_Report_Form {
       }
       $this->_from .= " ON {$this->_aliases['civicrm_contribution']}.contact_id = {$this->_aliases['civicrm_contact']}.id
          AND {$this->_aliases['civicrm_contribution']}.is_test = 0
+         AND {$this->_aliases['civicrm_contribution']}.is_template = 0
          AND " . $this->whereClauseLastYear("{$this->_aliases['civicrm_contribution']}.receive_date") . "
        {$this->_aclFrom} ";
       $this->selectivelyAddLocationTablesJoinsToFilterQuery();
diff --git a/civicrm/CRM/Report/Form/Contribute/OrganizationSummary.php b/civicrm/CRM/Report/Form/Contribute/OrganizationSummary.php
index f195cea0446706e73ae986eb1e8422f5aa5a7fb1..1da83c809a9145386c3e86679da4bc5e63fafd25 100644
--- a/civicrm/CRM/Report/Form/Contribute/OrganizationSummary.php
+++ b/civicrm/CRM/Report/Form/Contribute/OrganizationSummary.php
@@ -242,7 +242,7 @@ class CRM_Report_Form_Contribute_OrganizationSummary extends CRM_Report_Form {
                       ({$this->_aliases['civicrm_contact']}.id = {$this->_aliases['civicrm_relationship']}.$this->otherContact )
             {$this->_aclFrom}
             INNER JOIN civicrm_contribution {$this->_aliases['civicrm_contribution']} ON
-                      ({$this->_aliases['civicrm_contribution']}.contact_id = {$this->_aliases['civicrm_relationship']}.$this->otherContact ) AND {$this->_aliases['civicrm_contribution']}.is_test = 0  ";
+                      ({$this->_aliases['civicrm_contribution']}.contact_id = {$this->_aliases['civicrm_relationship']}.$this->otherContact ) AND {$this->_aliases['civicrm_contribution']}.is_test = 0 AND {$this->_aliases['civicrm_contribution']}.is_template = 0 ";
 
     $this->joinAddressFromContact();
     $this->joinEmailFromContact();
diff --git a/civicrm/CRM/Report/Form/Contribute/RecurSummary.php b/civicrm/CRM/Report/Form/Contribute/RecurSummary.php
index 403ad4953000cded1320e84ac8e68a364aa4d644..21d6883cd4ddf09c554dcb2e717f097c2c313cff 100644
--- a/civicrm/CRM/Report/Form/Contribute/RecurSummary.php
+++ b/civicrm/CRM/Report/Form/Contribute/RecurSummary.php
@@ -282,7 +282,7 @@ class CRM_Report_Form_Contribute_RecurSummary extends CRM_Report_Form {
       $amountSql = "
   SELECT SUM(cc.total_amount) as amount FROM `civicrm_contribution` cc
   INNER JOIN civicrm_contribution_recur cr ON (cr.id = cc.contribution_recur_id AND cr.payment_instrument_id = {$paymentInstrumentId})
-  WHERE cc.contribution_status_id = 1 AND cc.is_test = 0 AND ";
+  WHERE cc.contribution_status_id = 1 AND cc.is_test = 0 AND cc.is_template = 0 AND ";
       $amountSql .= str_replace("start_date", "cc.`receive_date`", $startedDateSql);
       $amountDao = CRM_Core_DAO::executeQuery($amountSql);
       $amountDao->fetch();
diff --git a/civicrm/CRM/Report/Form/Contribute/Repeat.php b/civicrm/CRM/Report/Form/Contribute/Repeat.php
index 18bfd109bd0eb29a7c85581fb2fbbaf5f7ba5365..5a028ae438c63bb5d20fa38d4e62c281fa692160 100644
--- a/civicrm/CRM/Report/Form/Contribute/Repeat.php
+++ b/civicrm/CRM/Report/Form/Contribute/Repeat.php
@@ -380,7 +380,10 @@ LEFT JOIN $this->tempTableRepeat2 {$this->_aliases['civicrm_contribution']}2
    * @return mixed|string
    */
   public function whereContribution($replaceAliasWith = 'contribution1') {
-    $clauses = array("is_test" => "{$this->_aliases['civicrm_contribution']}.is_test = 0");
+    $clauses = array(
+      "is_test" => "{$this->_aliases['civicrm_contribution']}.is_test = 0",
+      "is_template" => "{$this->_aliases['civicrm_contribution']}.is_template = 0",
+    );
 
     foreach ($this->_columns['civicrm_contribution']['filters'] as $fieldName => $field) {
       $clause = NULL;
diff --git a/civicrm/CRM/Report/Form/Contribute/SoftCredit.php b/civicrm/CRM/Report/Form/Contribute/SoftCredit.php
index 31401b463356b2c805c73ed4fa211f59fee1ced6..a5d1f927d137ae4bf3cb2cc6724d3e0fdcedb5ba 100644
--- a/civicrm/CRM/Report/Form/Contribute/SoftCredit.php
+++ b/civicrm/CRM/Report/Form/Contribute/SoftCredit.php
@@ -462,7 +462,7 @@ GROUP BY {$this->_aliases['civicrm_contribution_soft']}.contact_id, constituentn
 
   public function where() {
     parent::where();
-    $this->_where .= " AND {$this->_aliases['civicrm_contribution']}.is_test = 0 ";
+    $this->_where .= " AND {$this->_aliases['civicrm_contribution']}.is_test = 0 AND {$this->_aliases['civicrm_contribution']}.is_template = 0 ";
   }
 
   /**
diff --git a/civicrm/CRM/Report/Form/Contribute/Summary.php b/civicrm/CRM/Report/Form/Contribute/Summary.php
index c73da90e77d44734ea3c68d345b9dd1b0045b326..27d08eb05af2a8fba08aaf3985da752a3dd77cc8 100644
--- a/civicrm/CRM/Report/Form/Contribute/Summary.php
+++ b/civicrm/CRM/Report/Form/Contribute/Summary.php
@@ -493,7 +493,8 @@ class CRM_Report_Form_Contribute_Summary extends CRM_Report_Form {
     $this->_from .= "
              INNER JOIN civicrm_contribution   {$this->_aliases['civicrm_contribution']}
                      ON {$this->_aliases['civicrm_contact']}.id = {$this->_aliases['civicrm_contribution']}.contact_id AND
-                        {$this->_aliases['civicrm_contribution']}.is_test = 0
+                        {$this->_aliases['civicrm_contribution']}.is_test = 0 AND
+                        {$this->_aliases['civicrm_contribution']}.is_template = 0
              {$softCreditJoin}
              LEFT  JOIN civicrm_financial_type  {$this->_aliases['civicrm_financial_type']}
                      ON {$this->_aliases['civicrm_contribution']}.financial_type_id ={$this->_aliases['civicrm_financial_type']}.id
diff --git a/civicrm/CRM/Report/Form/Contribute/Sybunt.php b/civicrm/CRM/Report/Form/Contribute/Sybunt.php
index dc6b31898af1f79233c50746c613254238880968..4349dae5a7c0f368c9207218f47e1ddd4c2c3616 100644
--- a/civicrm/CRM/Report/Form/Contribute/Sybunt.php
+++ b/civicrm/CRM/Report/Form/Contribute/Sybunt.php
@@ -326,7 +326,10 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form {
 
   public function where() {
     $this->_statusClause = "";
-    $clauses = [$this->_aliases['civicrm_contribution'] . '.is_test = 0'];
+    $clauses = [
+      $this->_aliases['civicrm_contribution'] . '.is_test = 0',
+      $this->_aliases['civicrm_contribution'] . '.is_template = 0',
+    ];
     foreach ($this->_columns as $tableName => $table) {
       if (array_key_exists('filters', $table)) {
         foreach ($table['filters'] as $fieldName => $field) {
@@ -336,7 +339,7 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form {
 (SELECT distinct cont.id FROM civicrm_contact cont, civicrm_contribution contri
  WHERE  cont.id = contri.contact_id AND " .
               self::fiscalYearOffset('contri.receive_date') .
-              " = {$this->_params['yid_value']} AND contri.is_test = 0 )";
+              " = {$this->_params['yid_value']} AND contri.is_test = 0 AND contri.is_template = 0 )";
           }
           elseif (CRM_Utils_Array::value('type', $field) & CRM_Utils_Type::T_DATE
           ) {
@@ -440,7 +443,7 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form {
         $sql = "" .
           "{$this->_select} {$this->_from} WHERE {$this->_aliases['civicrm_contact']}.id IN (" .
           implode(',', $contactIds) .
-          ") AND {$this->_aliases['civicrm_contribution']}.is_test = 0 {$this->_statusClause} {$this->_groupBy} ";
+          ") AND {$this->_aliases['civicrm_contribution']}.is_test = 0 AND {$this->_aliases['civicrm_contribution']}.is_template = 0 {$this->_statusClause} {$this->_groupBy} ";
       }
 
       $current_year = $this->_params['yid_value'];
diff --git a/civicrm/CRM/Report/Form/Contribute/TopDonor.php b/civicrm/CRM/Report/Form/Contribute/TopDonor.php
index c5e05b0e16f1630a57bb6bea8041513e54f76ea6..4e3ae6e87f1a275a6bd3844efa9e75bff76f122f 100644
--- a/civicrm/CRM/Report/Form/Contribute/TopDonor.php
+++ b/civicrm/CRM/Report/Form/Contribute/TopDonor.php
@@ -225,7 +225,7 @@ class CRM_Report_Form_Contribute_TopDonor extends CRM_Report_Form {
     $this->_from = "
         FROM civicrm_contact {$this->_aliases['civicrm_contact']} {$this->_aclFrom}
             INNER JOIN civicrm_contribution {$this->_aliases['civicrm_contribution']}
-                ON {$this->_aliases['civicrm_contact']}.id = {$this->_aliases['civicrm_contribution']}.contact_id AND {$this->_aliases['civicrm_contribution']}.is_test = 0
+                ON {$this->_aliases['civicrm_contact']}.id = {$this->_aliases['civicrm_contribution']}.contact_id AND {$this->_aliases['civicrm_contribution']}.is_test = 0 AND {$this->_aliases['civicrm_contribution']}.is_template = 0
        ";
 
     // for credit card type
diff --git a/civicrm/CRM/Report/Form/Member/ContributionDetail.php b/civicrm/CRM/Report/Form/Member/ContributionDetail.php
index 22825491581a634db6b8e0a03a1222040cb0275d..b032020a9f4d91c72b8119636b16b8048d36f539 100644
--- a/civicrm/CRM/Report/Form/Member/ContributionDetail.php
+++ b/civicrm/CRM/Report/Form/Member/ContributionDetail.php
@@ -518,7 +518,7 @@ class CRM_Report_Form_Member_ContributionDetail extends CRM_Report_Form {
           SELECT contribution.id, {$this->_aliases['civicrm_contact']}.id, m.id
           FROM civicrm_contribution contribution
           INNER JOIN civicrm_contact {$this->_aliases['civicrm_contact']}
-                ON {$this->_aliases['civicrm_contact']}.id = contribution.contact_id AND contribution.is_test = 0
+                ON {$this->_aliases['civicrm_contact']}.id = contribution.contact_id AND contribution.is_test = 0 AND contribution.is_template = 0
           LEFT JOIN civicrm_membership_payment mp
                 ON contribution.id = mp.contribution_id
           LEFT JOIN civicrm_membership m
diff --git a/civicrm/CRM/SMS/DAO/Provider.php b/civicrm/CRM/SMS/DAO/Provider.php
index c8a99f4f25dc7f8ce96aadf6116c8a3c4a81951a..37ed7ffcc5f95a6e48ababa552aa177d2e2eb547 100644
--- a/civicrm/CRM/SMS/DAO/Provider.php
+++ b/civicrm/CRM/SMS/DAO/Provider.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/SMS/Provider.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3825081bc48abd82f194a390677769bd)
+ * (GenCodeChecksum:0411ce23fd693f810e4b17271b84e567)
  */
 
 /**
diff --git a/civicrm/CRM/Upgrade/Incremental/php/FiveForty.php b/civicrm/CRM/Upgrade/Incremental/php/FiveForty.php
new file mode 100644
index 0000000000000000000000000000000000000000..0c07adf0814400bec62e70928b56cb9a83cfc5ab
--- /dev/null
+++ b/civicrm/CRM/Upgrade/Incremental/php/FiveForty.php
@@ -0,0 +1,147 @@
+<?php
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ * Upgrade logic for FiveForty */
+class CRM_Upgrade_Incremental_php_FiveForty extends CRM_Upgrade_Incremental_Base {
+
+  /**
+   * Compute any messages which should be displayed beforeupgrade.
+   *
+   * Note: This function is called iteratively for each incremental upgrade step.
+   * There must be a concrete step (eg 'X.Y.Z.mysql.tpl' or 'upgrade_X_Y_Z()').
+   *
+   * @param string $preUpgradeMessage
+   * @param string $rev
+   *   a version number, e.g. '4.4.alpha1', '4.4.beta3', '4.4.0'.
+   * @param null $currentVer
+   */
+  public function setPreUpgradeMessage(&$preUpgradeMessage, $rev, $currentVer = NULL) {
+    // Example: Generate a pre-upgrade message.
+    // if ($rev == '5.12.34') {
+    //   $preUpgradeMessage .= '<p>' . ts('A new permission, "%1", has been added. This permission is now used to control access to the Manage Tags screen.', array(1 => ts('manage tags'))) . '</p>';
+    // }
+  }
+
+  /**
+   * Compute any messages which should be displayed after upgrade.
+   *
+   * Note: This function is called iteratively for each incremental upgrade step.
+   * There must be a concrete step (eg 'X.Y.Z.mysql.tpl' or 'upgrade_X_Y_Z()').
+   *
+   * @param string $postUpgradeMessage
+   *   alterable.
+   * @param string $rev
+   *   an intermediate version; note that setPostUpgradeMessage is called repeatedly with different $revs.
+   */
+  public function setPostUpgradeMessage(&$postUpgradeMessage, $rev) {
+    // Example: Generate a post-upgrade message.
+    // if ($rev == '5.12.34') {
+    //   $postUpgradeMessage .= '<br /><br />' . ts("By default, CiviCRM now disables the ability to import directly from SQL. To use this feature, you must explicitly grant permission 'import SQL datasource'.");
+    // }
+  }
+
+  public function upgrade_5_40_alpha1($rev) {
+    $this->addTask(ts('Upgrade DB to %1: SQL', [1 => $rev]), 'runSql', $rev);
+    $this->addTask('Add option list for group_used_for', 'addGroupOptionList');
+    $this->addTask('core-issue#2486  - Add product_id foreign key to civicrm_contribution_product', 'addContributionProductFK');
+    $this->addTask('Add membership_num_terms column to civicrm_line_item', 'addColumn',
+      'civicrm_line_item', 'membership_num_terms', "int unsigned DEFAULT NULL COMMENT 'Number of terms for this membership (only supported in Order->Payment flow). If the field is NULL it means unknown and it will be assumed to be 1 during payment.create if entity_table is civicrm_membership'"
+    );
+    $this->addTask('Enable new CKEditor 4 Extension', 'installCkeditor4Extension');
+    $this->addTask('Update CKeditor label to indicate it is version 4', 'updateCkeditorOptionLabel');
+  }
+
+  /**
+   * @param CRM_Queue_TaskContext $ctx
+   * @return bool
+   */
+  public static function addGroupOptionList(CRM_Queue_TaskContext $ctx) {
+    $optionGroupId = \CRM_Core_BAO_OptionGroup::ensureOptionGroupExists([
+      'name' => 'note_used_for',
+      'title' => ts('Note Used For'),
+      'is_reserved' => 1,
+      'is_active' => 1,
+      'is_locked' => 1,
+    ]);
+    $values = [
+      ['value' => 'civicrm_relationship', 'name' => 'Relationship', 'label' => ts('Relationships')],
+      ['value' => 'civicrm_contact', 'name' => 'Contact', 'label' => ts('Contacts')],
+      ['value' => 'civicrm_participant', 'name' => 'Participant', 'label' => ts('Participants')],
+      ['value' => 'civicrm_contribution', 'name' => 'Contribution', 'label' => ts('Contributions')],
+    ];
+    foreach ($values as $value) {
+      \CRM_Core_BAO_OptionValue::ensureOptionValueExists($value + ['option_group_id' => $optionGroupId]);
+    }
+    return TRUE;
+  }
+
+  /**
+   * @param \CRM_Queue_TaskContext $ctx
+   *
+   * @return bool
+   */
+  public static function addContributionProductFK(CRM_Queue_TaskContext $ctx): bool {
+    if (!self::checkFKExists('civicrm_contribution_product', 'FK_civicrm_contribution_product_product_id')) {
+      // dev/core#2680 Clear out any rows with problematic product_ids from the civicrm_contribution_product table.
+      CRM_Core_DAO::executeQuery("DELETE FROM civicrm_contribution_product WHERE product_id NOT IN (SELECT id FROM civicrm_product)");
+      CRM_Core_DAO::executeQuery("
+        ALTER TABLE `civicrm_contribution_product`
+          ADD CONSTRAINT `FK_civicrm_contribution_product_product_id`
+            FOREIGN KEY (`product_id`) REFERENCES `civicrm_product` (`id`)
+            ON DELETE CASCADE;
+      ", [], TRUE, NULL, FALSE, FALSE);
+    }
+
+    return TRUE;
+  }
+
+  /**
+   * @param CRM_Queue_TaskContext $ctx
+   * @return bool
+   */
+  public static function updateCkeditorOptionLabel(CRM_Queue_TaskContext $ctx) {
+    civicrm_api3('OptionValue', 'get', [
+      'name' => 'CKEditor',
+      'option_group_id' => 'wysiwyg_editor',
+      'api.OptionValue.create' => [
+        'label' => ts('CKEditor 4'),
+        'id' => "\$value.id",
+      ],
+    ]);
+    return TRUE;
+  }
+
+  /**
+   * Install CKEditor4 extension.
+   *
+   * @param \CRM_Queue_TaskContext $ctx
+   *
+   * @return bool
+   *
+   * @throws \CRM_Core_Exception
+   */
+  public static function installCkeditor4Extension(CRM_Queue_TaskContext $ctx) {
+    $insert = CRM_Utils_SQL_Insert::into('civicrm_extension')->row([
+      'type' => 'module',
+      'full_name' => 'ckeditor4',
+      'name' => 'CKEditor4',
+      'label' => 'CKEditor4',
+      'file' => 'ckeditor4',
+      'schema_version' => NULL,
+      'is_active' => 1,
+    ]);
+    CRM_Core_DAO::executeQuery($insert->usingReplace()->toSQL());
+
+    return TRUE;
+  }
+
+}
diff --git a/civicrm/CRM/Upgrade/Incremental/sql/5.40.alpha1.mysql.tpl b/civicrm/CRM/Upgrade/Incremental/sql/5.40.alpha1.mysql.tpl
new file mode 100644
index 0000000000000000000000000000000000000000..3841afccc594e41e17b94fbcf0fe201fac641aad
--- /dev/null
+++ b/civicrm/CRM/Upgrade/Incremental/sql/5.40.alpha1.mysql.tpl
@@ -0,0 +1,15 @@
+{* file to handle db changes in 5.40.alpha1 during upgrade *}
+
+SELECT @option_group_id_tuf := max(id) from civicrm_option_group where name = 'tag_used_for';
+
+UPDATE civicrm_option_value SET name = 'Contact'
+  WHERE value = 'civicrm_contact' AND option_group_id = @option_group_id_tuf;
+UPDATE civicrm_option_value SET name = 'Activity'
+  WHERE value = 'civicrm_activity' AND option_group_id = @option_group_id_tuf;
+UPDATE civicrm_option_value SET name = 'Case'
+  WHERE value = 'civicrm_case' AND option_group_id = @option_group_id_tuf;
+UPDATE civicrm_option_value SET name = 'File'
+  WHERE value = 'civicrm_file' AND option_group_id = @option_group_id_tuf;
+
+ALTER TABLE civicrm_mailing
+MODIFY COLUMN `created_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Date and time this mailing was created.';
diff --git a/civicrm/CRM/Utils/Address.php b/civicrm/CRM/Utils/Address.php
index 90163f01174727465aacc7746009ef63f6fdef92..5b8331ec6029ba27b00689eb25bc6237adca9e33 100644
--- a/civicrm/CRM/Utils/Address.php
+++ b/civicrm/CRM/Utils/Address.php
@@ -141,8 +141,8 @@ class CRM_Utils_Address {
         'contact.contact_source' => $fields['contact_source'] ?? NULL,
         'contact.external_identifier' => $fields['external_identifier'] ?? NULL,
         'contact.contact_id' => $fields['id'] ?? NULL,
-        'contact.household_name' => $fields['display_name'] ?? NULL,
-        'contact.organization_name' => $fields['display_name'] ?? NULL,
+        'contact.household_name' => $fields['household_name'] ?? NULL,
+        'contact.organization_name' => $fields['organization_name'] ?? NULL,
         'contact.legal_name' => $fields['legal_name'] ?? NULL,
         'contact.preferred_communication_method' => $fields['preferred_communication_method'] ?? NULL,
         'contact.communication_style' => $fields['communication_style'] ?? NULL,
diff --git a/civicrm/CRM/Utils/Array.php b/civicrm/CRM/Utils/Array.php
index 06aa5a8faf634d85fc23cb7cd5431a0c0e3a038a..99cd769b5dddb8d72447d23ee4bdee1e6a6e75d5 100644
--- a/civicrm/CRM/Utils/Array.php
+++ b/civicrm/CRM/Utils/Array.php
@@ -983,6 +983,34 @@ class CRM_Utils_Array {
     return $newRows;
   }
 
+  /**
+   * Rotate a matrix, converting from row-oriented array to a column-oriented array.
+   *
+   * @param iterable $rows
+   *   Ex: [['a'=>10,'b'=>'11'], ['a'=>20,'b'=>21]]
+   *   Formula: [scalar $rowId => [scalar $colId => mixed $value]]
+   * @param bool $unique
+   *   Only return unique values.
+   * @return array
+   *   Ex: ['a'=>[10,20], 'b'=>[11,21]]
+   *   Formula: [scalar $colId => [scalar $rowId => mixed $value]]
+   *   Note: In unique mode, the $rowId is not meaningful.
+   */
+  public static function asColumns(iterable $rows, bool $unique = FALSE) {
+    $columns = [];
+    foreach ($rows as $rowKey => $row) {
+      foreach ($row as $columnKey => $value) {
+        if (FALSE === $unique) {
+          $columns[$columnKey][$rowKey] = $value;
+        }
+        elseif (!in_array($value, $columns[$columnKey] ?? [])) {
+          $columns[$columnKey][] = $value;
+        }
+      }
+    }
+    return $columns;
+  }
+
   /**
    * Rewrite the keys in an array.
    *
@@ -1058,6 +1086,40 @@ class CRM_Utils_Array {
     return TRUE;
   }
 
+  /**
+   * Remove a key from an array.
+   *
+   * This is a helper for when the calling function does not know how many layers deep
+   * the path array is so cannot easily check.
+   *
+   * @param array $values
+   * @param array $path
+   * @param bool $cleanup
+   *   If removed item leaves behind an empty array, should you remove the empty array?
+   * @return bool
+   *   TRUE if anything has been removed. FALSE if no changes were required.
+   */
+  public static function pathUnset(&$values, $path, $cleanup = FALSE) {
+    if (count($path) === 1) {
+      if (isset($values[$path[0]])) {
+        unset($values[$path[0]]);
+        return TRUE;
+      }
+      else {
+        return FALSE;
+      }
+    }
+    else {
+      $next = array_shift($path);
+      $r = static::pathUnset($values[$next], $path, $cleanup);
+      if ($cleanup && $values[$next] === []) {
+        $r = TRUE;
+        unset($values[$next]);
+      }
+      return $r;
+    }
+  }
+
   /**
    * Set a single value in an array tree.
    *
diff --git a/civicrm/CRM/Utils/Check/Component/Schema.php b/civicrm/CRM/Utils/Check/Component/Schema.php
index 4e9e9c7ed7e0e1d37954adbdaff069e96da9395b..0fc536184fd4da39fdf655f38e04c76adc6c05af 100644
--- a/civicrm/CRM/Utils/Check/Component/Schema.php
+++ b/civicrm/CRM/Utils/Check/Component/Schema.php
@@ -125,7 +125,7 @@ class CRM_Utils_Check_Component_Schema extends CRM_Utils_Check_Component {
       }
       foreach ($group['form_values'] as $formValues) {
         if (isset($formValues[0]) && (strpos($formValues[0], 'custom_') === 0)) {
-          list(, $customFieldID) = explode('_', $formValues[0]);
+          [, $customFieldID] = explode('_', $formValues[0]);
           if (!in_array((int) $customFieldID, $customFieldIds, TRUE)) {
             $problematicSG[CRM_Contact_BAO_SavedSearch::getName($group['id'], 'id')] = [
               'title' => CRM_Contact_BAO_SavedSearch::getName($group['id'], 'title'),
@@ -203,4 +203,30 @@ class CRM_Utils_Check_Component_Schema extends CRM_Utils_Check_Component {
     return $messages;
   }
 
+  /**
+   * Check the function to populate phone_numeric exists.
+   *
+   * @return array|\CRM_Utils_Check_Message[]
+   */
+  public function checkPhoneFunctionExists():array {
+    $dao = CRM_Core_DAO::executeQuery("SHOW function status WHERE db = database() AND name = 'civicrm_strip_non_numeric'");
+    if (!$dao->fetch()) {
+      $msg = new CRM_Utils_Check_Message(
+        __FUNCTION__,
+        ts("Your database is missing a function to populate the 'Phone number' field with a numbers-only version of the phone."),
+        ts('Missing Phone numeric function'),
+        \Psr\Log\LogLevel::WARNING,
+        'fa-server'
+      );
+      $msg->addAction(
+        ts('Rebuild triggers (also re-builds the phone number function)'),
+        ts('Create missing function now? This may take few minutes.'),
+        'api3',
+        ['System', 'flush', ['triggers' => TRUE]]
+      );
+      return [$msg];
+    }
+    return [];
+  }
+
 }
diff --git a/civicrm/CRM/Utils/Token.php b/civicrm/CRM/Utils/Token.php
index 2dd76bf4f84a722f2d980874003b69b5a85c02d3..ce10fce61cb53373164098536cb69aee4950a627 100644
--- a/civicrm/CRM/Utils/Token.php
+++ b/civicrm/CRM/Utils/Token.php
@@ -1559,10 +1559,16 @@ class CRM_Utils_Token {
   protected static function _buildContributionTokens() {
     $key = 'contribution';
     if (self::$_tokens[$key] == NULL) {
-      self::$_tokens[$key] = array_keys(array_merge(CRM_Contribute_BAO_Contribution::exportableFields('All'),
-        ['campaign', 'financial_type'],
+      $tokens = array_merge(CRM_Contribute_BAO_Contribution::exportableFields('All'),
+        ['campaign' => [], 'financial_type' => [], 'payment_instrument' => []],
         self::getCustomFieldTokens('Contribution')
-      ));
+      );
+      foreach ($tokens as $token) {
+        if (!empty($token['name'])) {
+          $tokens[$token['name']] = [];
+        }
+      }
+      self::$_tokens[$key] = array_keys($tokens);
     }
   }
 
@@ -1680,7 +1686,6 @@ class CRM_Utils_Token {
       //early return
       return $str;
     }
-    self::_buildContributionTokens();
 
     // here we intersect with the list of pre-configured valid tokens
     // so that we remove anything we do not recognize
diff --git a/civicrm/Civi/API/SelectQuery.php b/civicrm/Civi/API/SelectQuery.php
index 97fac0a1333ea2c435a57780f5bc5e6432314114..76ae48e06489fc2d230ca3d487d82a11d2229952 100644
--- a/civicrm/Civi/API/SelectQuery.php
+++ b/civicrm/Civi/API/SelectQuery.php
@@ -11,6 +11,7 @@
 namespace Civi\API;
 
 use Civi\API\Exception\UnauthorizedException;
+use CRM_Core_Exception;
 
 /**
  * Query builder for civicrm_api_basic_get.
@@ -78,11 +79,16 @@ abstract class SelectQuery {
   /**
    * @param string $entity
    * @param bool $checkPermissions
+   *
+   * @throws \CRM_Core_Exception
    */
   public function __construct($entity, $checkPermissions) {
     $this->entity = $entity;
     require_once 'api/v3/utils.php';
     $baoName = _civicrm_api3_get_BAO($entity);
+    if (!$baoName) {
+      throw new CRM_Core_Exception('Invalid entity: ' . \CRM_Utils_Type::validate($entity, 'Alphanumeric'));
+    }
     $bao = new $baoName();
 
     $this->entityFieldNames = array_column($baoName::fields(), 'name');
@@ -239,7 +245,7 @@ abstract class SelectQuery {
       $this->join($side, $fkTable, $tableAlias, $joinCondition);
 
       if (strpos($fieldName, 'custom_') === 0) {
-        list($tableAlias, $fieldName) = $this->addCustomField($fieldInfo, $side, $tableAlias);
+        [$tableAlias, $fieldName] = $this->addCustomField($fieldInfo, $side, $tableAlias);
       }
 
       // Get ready to recurse to the next level
@@ -473,7 +479,7 @@ abstract class SelectQuery {
         }
       }
       elseif ($field && strpos($fieldName, 'custom_') === 0) {
-        list($table_name, $column_name) = $this->addCustomField($field, 'LEFT');
+        [$table_name, $column_name] = $this->addCustomField($field, 'LEFT');
 
         if ($field['data_type'] != 'ContactReference') {
           // 'ordinary' custom field. We will select the value as custom_XX.
diff --git a/civicrm/Civi/ActionSchedule/RecipientBuilder.php b/civicrm/Civi/ActionSchedule/RecipientBuilder.php
index c52f64adbb6549278a2c6a0dd83b8a945442243a..8871a4e6b6e05ae3f21182e3506411fb3bd704cb 100644
--- a/civicrm/Civi/ActionSchedule/RecipientBuilder.php
+++ b/civicrm/Civi/ActionSchedule/RecipientBuilder.php
@@ -409,6 +409,12 @@ class RecipientBuilder {
       else {
         $startDateClauses[] = "DATE_SUB(!casNow, INTERVAL 1 DAY ) <= {$date}";
       }
+      if (!empty($actionSchedule->effective_start_date)) {
+        $startDateClauses[] = "'{$actionSchedule->effective_start_date}' <= {$date}";
+      }
+      if (!empty($actionSchedule->effective_end_date)) {
+        $startDateClauses[] = "'{$actionSchedule->effective_end_date}' > {$date}";
+      }
     }
     elseif ($actionSchedule->absolute_date) {
       $startDateClauses[] = "DATEDIFF(DATE('!casNow'),'{$actionSchedule->absolute_date}') = 0";
diff --git a/civicrm/Civi/Angular/AngularLoader.php b/civicrm/Civi/Angular/AngularLoader.php
index a5d6d38b5774ecde81dc9da97fab8b942c750cbb..a6b5f80a42e8f3c40237a69ba3fc994f755be7cc 100644
--- a/civicrm/Civi/Angular/AngularLoader.php
+++ b/civicrm/Civi/Angular/AngularLoader.php
@@ -345,11 +345,13 @@ class AngularLoader {
    * Replace all previously set modules.
    *
    * Use with caution, as it can cause conflicts with other extensions who have added modules.
-   *
+   * @internal
+   * @deprecated
    * @param array $modules
    * @return AngularLoader
    */
   public function setModules($modules) {
+    \CRM_Core_Error::deprecatedFunctionWarning('addModules');
     $this->modules = $modules;
     return $this;
   }
diff --git a/civicrm/Civi/Api4/ACL.php b/civicrm/Civi/Api4/ACL.php
index df7ac101a143e9189f7a585e434c11bacff338ab..700aed13e8006d5f82d0781c101afb71e02400da 100644
--- a/civicrm/Civi/Api4/ACL.php
+++ b/civicrm/Civi/Api4/ACL.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -32,6 +23,7 @@ namespace Civi\Api4;
  *
  * @searchable none
  * @see https://docs.civicrm.org/user/en/latest/initial-set-up/permissions-and-access-control
+ * @since 5.19
  * @package Civi\Api4
  */
 class ACL extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/ACLEntityRole.php b/civicrm/Civi/Api4/ACLEntityRole.php
index aa0047d4f9214787bc34edbd63dd7d64bf75243e..20d6647752163cdbfd9f51a9cfcd1d85acdd661b 100644
--- a/civicrm/Civi/Api4/ACLEntityRole.php
+++ b/civicrm/Civi/Api4/ACLEntityRole.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,20 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
  * This api exposes CiviCRM ACLEntityRole.
  *
  * @see https://docs.civicrm.org/user/en/latest/initial-set-up/permissions-and-access-control
+ * @since 5.39
  * @package Civi\Api4
  */
 class ACLEntityRole extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Action/Address/AddressSaveTrait.php b/civicrm/Civi/Api4/Action/Address/AddressSaveTrait.php
index 2f966d97e1ef3c7d9bba00c67c981452761dc340..1a2746f1db9b16418b8d82131e545ad525ba9ae6 100644
--- a/civicrm/Civi/Api4/Action/Address/AddressSaveTrait.php
+++ b/civicrm/Civi/Api4/Action/Address/AddressSaveTrait.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\Address;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/Address/Create.php b/civicrm/Civi/Api4/Action/Address/Create.php
index 0968990c225be3f88be372a509878563e96d3307..bbc535a8ae52a00b296515ecf2387ab510706ac5 100644
--- a/civicrm/Civi/Api4/Action/Address/Create.php
+++ b/civicrm/Civi/Api4/Action/Address/Create.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\Address;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/Address/Save.php b/civicrm/Civi/Api4/Action/Address/Save.php
index d443614056e8dc83ee89eb2eff94dfe474b82c0e..43d8b9578b6eb601549f4bf6407a978990448b82 100644
--- a/civicrm/Civi/Api4/Action/Address/Save.php
+++ b/civicrm/Civi/Api4/Action/Address/Save.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\Address;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/Address/Update.php b/civicrm/Civi/Api4/Action/Address/Update.php
index ddd11ea1d815a5d257ae820771a6072762244853..21ec8db4225dc29c36d87f08aea561a533aff946 100644
--- a/civicrm/Civi/Api4/Action/Address/Update.php
+++ b/civicrm/Civi/Api4/Action/Address/Update.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\Address;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/Campaign/Get.php b/civicrm/Civi/Api4/Action/Campaign/Get.php
index 25d475479b38e07fb32dc78a58a97dd7c069e051..4861f8dc8ff522b655f73633d6e4ef63a5eb7278 100644
--- a/civicrm/Civi/Api4/Action/Campaign/Get.php
+++ b/civicrm/Civi/Api4/Action/Campaign/Get.php
@@ -9,19 +9,10 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4\Action\Campaign;
 
 /**
  * @inheritDoc
- *
- * Set current = true to get active, non past campaigns.
  */
 class Get extends \Civi\Api4\Generic\DAOGetAction {
   use \Civi\Api4\Generic\Traits\IsCurrentTrait;
diff --git a/civicrm/Civi/Api4/Action/CiviCase/CiviCaseSaveTrait.php b/civicrm/Civi/Api4/Action/CiviCase/CiviCaseSaveTrait.php
index 33d2d1514120d6a0ebe2b008fa8453434d7c3568..b112a4a7c007723bc4c2b4d7935ce851079dad45 100644
--- a/civicrm/Civi/Api4/Action/CiviCase/CiviCaseSaveTrait.php
+++ b/civicrm/Civi/Api4/Action/CiviCase/CiviCaseSaveTrait.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\CiviCase;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/CiviCase/Create.php b/civicrm/Civi/Api4/Action/CiviCase/Create.php
index 9ebd5de83247c9b12da9ab2a35907a4ffcb8c168..010507339888e331f415766cd5122ce5a3c40eec 100644
--- a/civicrm/Civi/Api4/Action/CiviCase/Create.php
+++ b/civicrm/Civi/Api4/Action/CiviCase/Create.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\CiviCase;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/CiviCase/Update.php b/civicrm/Civi/Api4/Action/CiviCase/Update.php
index 67bd77147973ca5167c1988e3976f07ca2059cd4..4ba3a41da5db7fab9a8c2029e0b2ecc9cb038da6 100644
--- a/civicrm/Civi/Api4/Action/CiviCase/Update.php
+++ b/civicrm/Civi/Api4/Action/CiviCase/Update.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\CiviCase;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/Contact/GetChecksum.php b/civicrm/Civi/Api4/Action/Contact/GetChecksum.php
index be15c2ac7fb1a5d173696a321fadafcafcb0be34..b46029894065c79c4e29fd288db22b803750dbfe 100644
--- a/civicrm/Civi/Api4/Action/Contact/GetChecksum.php
+++ b/civicrm/Civi/Api4/Action/Contact/GetChecksum.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\Contact;
 
 use Civi\Api4\Generic\Result;
diff --git a/civicrm/Civi/Api4/Action/Contact/ValidateChecksum.php b/civicrm/Civi/Api4/Action/Contact/ValidateChecksum.php
index 383575da3bbf5f4b14b62ed9606c95086afd3183..da6ca2efb74010dd246b312f52f0bba6a049c3c7 100644
--- a/civicrm/Civi/Api4/Action/Contact/ValidateChecksum.php
+++ b/civicrm/Civi/Api4/Action/Contact/ValidateChecksum.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\Contact;
 
 use Civi\Api4\Generic\Result;
diff --git a/civicrm/Civi/Api4/Action/CustomValue/Create.php b/civicrm/Civi/Api4/Action/CustomValue/Create.php
index 7ed66b848b878e4756cf19006a7ca97c4b0b8480..033cdcc2d4644dd014dce476a4378b14a0d6211a 100644
--- a/civicrm/Civi/Api4/Action/CustomValue/Create.php
+++ b/civicrm/Civi/Api4/Action/CustomValue/Create.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\CustomValue;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/CustomValue/Delete.php b/civicrm/Civi/Api4/Action/CustomValue/Delete.php
index 6cc5a8de563ee0d7f3f821bde5224de744d6fae6..49452338d17ce4585281afd49b1ac8cc980468f4 100644
--- a/civicrm/Civi/Api4/Action/CustomValue/Delete.php
+++ b/civicrm/Civi/Api4/Action/CustomValue/Delete.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\CustomValue;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/CustomValue/Get.php b/civicrm/Civi/Api4/Action/CustomValue/Get.php
index d9bd647c3a88be8cb3e38c7a027a8a52e44fc5f8..dc5f8f05e71eb407610b4f8149de86f3b34189d2 100644
--- a/civicrm/Civi/Api4/Action/CustomValue/Get.php
+++ b/civicrm/Civi/Api4/Action/CustomValue/Get.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\CustomValue;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/CustomValue/Save.php b/civicrm/Civi/Api4/Action/CustomValue/Save.php
index 7a72c738b8c6cd06312716ce582a1e69f9c63304..095dfe53a439e8c7199e48ef0a6bf734f90d65f5 100644
--- a/civicrm/Civi/Api4/Action/CustomValue/Save.php
+++ b/civicrm/Civi/Api4/Action/CustomValue/Save.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\CustomValue;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/CustomValue/Update.php b/civicrm/Civi/Api4/Action/CustomValue/Update.php
index 636771d6fb9799d2e3490d917183499ac684f3c9..205ab77e2a9bc08054aab37db64f6d16477e818a 100644
--- a/civicrm/Civi/Api4/Action/CustomValue/Update.php
+++ b/civicrm/Civi/Api4/Action/CustomValue/Update.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\CustomValue;
 
 /**
@@ -25,4 +18,12 @@ namespace Civi\Api4\Action\CustomValue;
 class Update extends \Civi\Api4\Generic\DAOUpdateAction {
   use \Civi\Api4\Generic\Traits\CustomValueActionTrait;
 
+  /**
+   * Ensure entity_id is returned by getBatchRecords()
+   * @return string[]
+   */
+  protected function getSelect() {
+    return ['id', 'entity_id'];
+  }
+
 }
diff --git a/civicrm/Civi/Api4/Action/Domain/Get.php b/civicrm/Civi/Api4/Action/Domain/Get.php
index 0f8d12ca02fb73ed4cad8074b41b933594209741..517a6cf124cb5ff03b8e14d007c7ae52979364c5 100644
--- a/civicrm/Civi/Api4/Action/Domain/Get.php
+++ b/civicrm/Civi/Api4/Action/Domain/Get.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\Domain;
 
 use Civi\Api4\Generic\Result;
diff --git a/civicrm/Civi/Api4/Action/Entity/Get.php b/civicrm/Civi/Api4/Action/Entity/Get.php
index fbfe399e4d3ccb4f04f30346fb12e49c279876da..06e262c34b94558a7909360a8d0a3e3fafa6c175 100644
--- a/civicrm/Civi/Api4/Action/Entity/Get.php
+++ b/civicrm/Civi/Api4/Action/Entity/Get.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\Entity;
 
 use Civi\Api4\CustomGroup;
diff --git a/civicrm/Civi/Api4/Action/Entity/GetLinks.php b/civicrm/Civi/Api4/Action/Entity/GetLinks.php
index 59b152eab7f02897470b00a88578a6ee45a2c35a..e0458b56b59974b483dea52ddf3d4ea526548eb9 100644
--- a/civicrm/Civi/Api4/Action/Entity/GetLinks.php
+++ b/civicrm/Civi/Api4/Action/Entity/GetLinks.php
@@ -10,23 +10,20 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\Entity;
 
 use Civi\Api4\Utils\CoreUtil;
 
 /**
- * Get a list of FK links between entities
+ * Get a list of FK links between entities.
+ *
+ * This action is deprecated; the API no longer uses these links to determine available joins.
+ * @deprecated
  */
 class GetLinks extends \Civi\Api4\Generic\BasicGetAction {
 
   public function getRecords() {
+    \CRM_Core_Error::deprecatedWarning('APIv4 Entity::getLinks is deprecated.');
     $result = [];
     /** @var \Civi\Api4\Service\Schema\SchemaMap $schema */
     $schema = \Civi::container()->get('schema_map');
diff --git a/civicrm/Civi/Api4/Action/Event/Get.php b/civicrm/Civi/Api4/Action/Event/Get.php
index db21840488cae398ef81da93f5898d69dd158a46..3f8c667aa9296e800bdac743089e5df918099574 100644
--- a/civicrm/Civi/Api4/Action/Event/Get.php
+++ b/civicrm/Civi/Api4/Action/Event/Get.php
@@ -9,19 +9,10 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4\Action\Event;
 
 /**
  * @inheritDoc
- *
- * Set current = true to get active, non past events.
  */
 class Get extends \Civi\Api4\Generic\DAOGetAction {
   use \Civi\Api4\Generic\Traits\IsCurrentTrait;
diff --git a/civicrm/Civi/Api4/Action/GroupContact/Create.php b/civicrm/Civi/Api4/Action/GroupContact/Create.php
index 1f55f76b2eec5a55b849146937f2995e27eea96a..2b21b7f0787aeb4bf850771d1227d88b81818457 100644
--- a/civicrm/Civi/Api4/Action/GroupContact/Create.php
+++ b/civicrm/Civi/Api4/Action/GroupContact/Create.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\GroupContact;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/GroupContact/GroupContactSaveTrait.php b/civicrm/Civi/Api4/Action/GroupContact/GroupContactSaveTrait.php
index 546a94458f7944622dd57ad364d6fe0bff7a16b0..0060ba0487fcc0828809a754ebacb18d00ced3b8 100644
--- a/civicrm/Civi/Api4/Action/GroupContact/GroupContactSaveTrait.php
+++ b/civicrm/Civi/Api4/Action/GroupContact/GroupContactSaveTrait.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\GroupContact;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/GroupContact/Update.php b/civicrm/Civi/Api4/Action/GroupContact/Update.php
index 4cf5c389cd4d2f10e30d3218e37235168fc6d3cc..02e297f50fde264ac098b8fc82aa6cf1a16d3b8f 100644
--- a/civicrm/Civi/Api4/Action/GroupContact/Update.php
+++ b/civicrm/Civi/Api4/Action/GroupContact/Update.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Action\GroupContact;
 
 /**
diff --git a/civicrm/Civi/Api4/Action/Relationship/Get.php b/civicrm/Civi/Api4/Action/Relationship/Get.php
index e9460283c44bb471c856cb2548b1fa560fce79ba..21a832b5c12e257b4f18f38b73c7c0f46c3ae577 100644
--- a/civicrm/Civi/Api4/Action/Relationship/Get.php
+++ b/civicrm/Civi/Api4/Action/Relationship/Get.php
@@ -14,8 +14,6 @@ namespace Civi\Api4\Action\Relationship;
 
 /**
  * @inheritDoc
- *
- * Set current = true to get active, non past relationships.
  */
 class Get extends \Civi\Api4\Generic\DAOGetAction {
   use \Civi\Api4\Generic\Traits\IsCurrentTrait;
diff --git a/civicrm/Civi/Api4/ActionSchedule.php b/civicrm/Civi/Api4/ActionSchedule.php
index 4f2a6f1fe384807fd5c145944c59480d28424a93..7289720a6efee6dd4d9dacbd0137a151752ddb91 100644
--- a/civicrm/Civi/Api4/ActionSchedule.php
+++ b/civicrm/Civi/Api4/ActionSchedule.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -30,6 +21,7 @@ namespace Civi\Api4;
  *
  * @searchable none
  * @see https://docs.civicrm.org/user/en/latest/email/scheduled-reminders/
+ * @since 5.19
  * @package Civi\Api4
  */
 class ActionSchedule extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Activity.php b/civicrm/Civi/Api4/Activity.php
index 8166c628254e026cd715c3a4afb5b239b9d3e292..2de02dceed474a05f6b0008e5be1568658e46089 100644
--- a/civicrm/Civi/Api4/Activity.php
+++ b/civicrm/Civi/Api4/Activity.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -31,6 +23,7 @@ namespace Civi\Api4;
  *
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/activities/
  * @searchable primary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Activity extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/ActivityContact.php b/civicrm/Civi/Api4/ActivityContact.php
index 767595de702887669bca83679ca643533e79069d..4449626127ed54a39453545904dfc0b561225208 100644
--- a/civicrm/Civi/Api4/ActivityContact.php
+++ b/civicrm/Civi/Api4/ActivityContact.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -29,6 +20,7 @@ namespace Civi\Api4;
  *
  * @searchable bridge
  * @see \Civi\Api4\Activity
+ * @since 5.19
  * @package Civi\Api4
  */
 class ActivityContact extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Address.php b/civicrm/Civi/Api4/Address.php
index a8e53641e6515c9879fce2768b05105d3789f448..a0e40683d44fc01cb5ae874be24caabc25befd7a 100644
--- a/civicrm/Civi/Api4/Address.php
+++ b/civicrm/Civi/Api4/Address.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -28,9 +19,8 @@ namespace Civi\Api4;
  * Creating a new address requires at minimum a contact's ID and location type ID
  * and other attributes (although optional) like street address, city, country etc.
  *
- * @ui_join_filters location_type_id
- *
  * @searchable secondary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Address extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Batch.php b/civicrm/Civi/Api4/Batch.php
index 7e48003af68beb02dcbc0c5741c40ad4bf649ef4..90a03e0f16236db3392b9feb37e3255d52cf9f7f 100644
--- a/civicrm/Civi/Api4/Batch.php
+++ b/civicrm/Civi/Api4/Batch.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +15,7 @@ namespace Civi\Api4;
  *
  * @searchable secondary
  * @see https://docs.civicrm.org/user/en/latest/pledges/everyday-tasks/#batch-entry-of-pledges
+ * @since 5.37
  * @package Civi\Api4
  */
 class Batch extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Campaign.php b/civicrm/Civi/Api4/Campaign.php
index 11e88341395e5e88eb5781bf7988136e3fbb6c93..08073a684fe754c358282ea7d792ef3534843bda 100644
--- a/civicrm/Civi/Api4/Campaign.php
+++ b/civicrm/Civi/Api4/Campaign.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +15,7 @@ namespace Civi\Api4;
  *
  * @see https://docs.civicrm.org/user/en/latest/campaign/what-is-civicampaign/
  * @searchable secondary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Campaign extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/CaseActivity.php b/civicrm/Civi/Api4/CaseActivity.php
index f38ce21ee93c6ab9c489310e78254ea9530ed3bb..670c61a5faaefe0cd676a07e1100a601119020c3 100644
--- a/civicrm/Civi/Api4/CaseActivity.php
+++ b/civicrm/Civi/Api4/CaseActivity.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +17,7 @@ namespace Civi\Api4;
  *
  * @searchable bridge
  * @see \Civi\Api4\Case
+ * @since 5.37
  * @package Civi\Api4
  */
 class CaseActivity extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/CaseContact.php b/civicrm/Civi/Api4/CaseContact.php
index a9351a9798f5e822dea67db419f1a6b1c1fed20a..b3e3405183778746b9ddfd3b7b754f8506d4ef2f 100644
--- a/civicrm/Civi/Api4/CaseContact.php
+++ b/civicrm/Civi/Api4/CaseContact.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +17,7 @@ namespace Civi\Api4;
  *
  * @searchable bridge
  * @see \Civi\Api4\Case
+ * @since 5.37
  * @package Civi\Api4
  */
 class CaseContact extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/CaseType.php b/civicrm/Civi/Api4/CaseType.php
index a546412cebab8c40f023985639aec6cfb3bdd9e4..a8ae7273e4f9ac1eda389b170d223c3793602437 100644
--- a/civicrm/Civi/Api4/CaseType.php
+++ b/civicrm/Civi/Api4/CaseType.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +17,7 @@ namespace Civi\Api4;
  *
  * @see \Civi\Api4\Case
  * @searchable none
+ * @since 5.37
  * @package Civi\Api4
  */
 class CaseType extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/CiviCase.php b/civicrm/Civi/Api4/CiviCase.php
index 189dba867dfa12cde35ec541e42812041eee53fe..2b0005fe66e157ee0b9b095fe17ae618b4faf3eb 100644
--- a/civicrm/Civi/Api4/CiviCase.php
+++ b/civicrm/Civi/Api4/CiviCase.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +17,7 @@ namespace Civi\Api4;
  *
  * @see https://docs.civicrm.org/user/en/latest/case-management/what-is-civicase/
  * @searchable primary
+ * @since 5.37
  * @package Civi\Api4
  */
 class CiviCase extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Contact.php b/civicrm/Civi/Api4/Contact.php
index 9c24e00d7529ff1e1032f95299ade2a92354ddb8..9ec5679d9555a3bd409d980fa969f3f1ef3bdcd9 100644
--- a/civicrm/Civi/Api4/Contact.php
+++ b/civicrm/Civi/Api4/Contact.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -29,6 +20,7 @@ namespace Civi\Api4;
  *
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/contacts/
  * @searchable primary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Contact extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/ContactType.php b/civicrm/Civi/Api4/ContactType.php
index df3c75367617b135276baae570baf56fcee30656..e78beb2cc169c0e0997302d37b5a673d02763137 100644
--- a/civicrm/Civi/Api4/ContactType.php
+++ b/civicrm/Civi/Api4/ContactType.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -31,6 +22,7 @@ namespace Civi\Api4;
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/contacts/#contact-subtypes
  * @see \Civi\Api4\Contact
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class ContactType extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Contribution.php b/civicrm/Civi/Api4/Contribution.php
index fe7bc91624a1801b8d386114bdf456e18d4d9e15..2be2264b61725d7c006a06d14a96baaca89bac71 100644
--- a/civicrm/Civi/Api4/Contribution.php
+++ b/civicrm/Civi/Api4/Contribution.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
 namespace Civi\Api4;
 
 /**
  * Contribution entity.
  *
  * @searchable primary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Contribution extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/ContributionPage.php b/civicrm/Civi/Api4/ContributionPage.php
index 845780e7a04d5bd4d935067f1215c754c9608c0b..d3577d6a356b15fe08d8dea83212e6e1114c4793 100644
--- a/civicrm/Civi/Api4/ContributionPage.php
+++ b/civicrm/Civi/Api4/ContributionPage.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
 namespace Civi\Api4;
 
 /**
  * ContributionPage entity.
  *
  * @searchable secondary
+ * @since 5.19
  * @package Civi\Api4
  */
 class ContributionPage extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/ContributionRecur.php b/civicrm/Civi/Api4/ContributionRecur.php
index 75380c7f0a04bd5d8102d2c89dd9402959696761..9a821f99c9234fb55649c4ca393c1a207d8c6aa4 100644
--- a/civicrm/Civi/Api4/ContributionRecur.php
+++ b/civicrm/Civi/Api4/ContributionRecur.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
 namespace Civi\Api4;
 
 /**
  * ContributionRecur entity.
  *
  * @searchable secondary
+ * @since 5.27
  * @package Civi\Api4
  */
 class ContributionRecur extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/ContributionSoft.php b/civicrm/Civi/Api4/ContributionSoft.php
index 8271fa2225641e97ca6d1451c28a66a3dfe2f558..493e1077163e0be5610801ff944aba04f8f33b80 100644
--- a/civicrm/Civi/Api4/ContributionSoft.php
+++ b/civicrm/Civi/Api4/ContributionSoft.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
 namespace Civi\Api4;
 
 /**
  * ContributionSoft entity.
  *
  * @searchable secondary
+ * @since 5.34
  * @package Civi\Api4
  */
 class ContributionSoft extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Country.php b/civicrm/Civi/Api4/Country.php
index 9441b4ac6cdddff37e907fb63154ea02ef2aa043..63093db8e845538349efa4ee98e894767b8b19a1 100644
--- a/civicrm/Civi/Api4/Country.php
+++ b/civicrm/Civi/Api4/Country.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,19 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
  * Country entity.
  *
  * @searchable secondary
+ * @since 5.22
  * @package Civi\Api4
  */
 class Country extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/CustomField.php b/civicrm/Civi/Api4/CustomField.php
index 2428efc93a21c93d76b0e56c36578f2f8a1528d6..c308738a962e909f5df5a2f717294150e49757a4 100644
--- a/civicrm/Civi/Api4/CustomField.php
+++ b/civicrm/Civi/Api4/CustomField.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +15,7 @@ namespace Civi\Api4;
  *
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class CustomField extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/CustomGroup.php b/civicrm/Civi/Api4/CustomGroup.php
index ba1729d82a3e97e8cfb5ff158811573332f65a4e..26125a102dc070161921ccb7b7b4d5b89ee12ad5 100644
--- a/civicrm/Civi/Api4/CustomGroup.php
+++ b/civicrm/Civi/Api4/CustomGroup.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +15,7 @@ namespace Civi\Api4;
  *
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class CustomGroup extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/CustomValue.php b/civicrm/Civi/Api4/CustomValue.php
index e036aa48e8441f89b0c02ba69710833b1779cfdb..7e7496099d2be0fe0346addad5a9c463101bd4ec 100644
--- a/civicrm/Civi/Api4/CustomValue.php
+++ b/civicrm/Civi/Api4/CustomValue.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -107,7 +99,7 @@ class CustomValue {
    * @throws \API_Exception
    */
   public static function replace($customGroup, $checkPermissions = TRUE) {
-    return (new Generic\BasicReplaceAction("Custom_$customGroup", __FUNCTION__, ['id', 'entity_id']))
+    return (new Generic\BasicReplaceAction("Custom_$customGroup", __FUNCTION__))
       ->setCheckPermissions($checkPermissions);
   }
 
@@ -150,6 +142,7 @@ class CustomValue {
       'class' => __CLASS__,
       'type' => ['CustomValue'],
       'searchable' => 'secondary',
+      'primary_key' => ['id'],
       'see' => [
         'https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/#multiple-record-fieldsets',
         '\Civi\Api4\CustomGroup',
diff --git a/civicrm/Civi/Api4/Dashboard.php b/civicrm/Civi/Api4/Dashboard.php
index a8c424f19d6430b04402c8ca6981bb3fb3863cf7..de640785254dc7645ac92a8dd39ad1e15fdabe51 100644
--- a/civicrm/Civi/Api4/Dashboard.php
+++ b/civicrm/Civi/Api4/Dashboard.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -29,6 +21,7 @@ namespace Civi\Api4;
  *
  * @see \Civi\Api4\DashboardContact
  * @searchable none
+ * @since 5.25
  * @package Civi\Api4
  */
 class Dashboard extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/DashboardContact.php b/civicrm/Civi/Api4/DashboardContact.php
index 91eae6be2f05e6d3e0c27ffd7f5697856ec53c83..8fa747bdbd653b992ff4f2c713bb3ac8f9829024 100644
--- a/civicrm/Civi/Api4/DashboardContact.php
+++ b/civicrm/Civi/Api4/DashboardContact.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +18,7 @@ namespace Civi\Api4;
  * @searchable bridge
  * @see \Civi\Api4\Dashboard
  * @searchable none
+ * @since 5.25
  * @package Civi\Api4
  */
 class DashboardContact extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/DedupeException.php b/civicrm/Civi/Api4/DedupeException.php
index 1100587b68b2c6b5e3338b476f6eafdd1cee7f24..989506cd80b49cc5ace3796d577ddd5e666e1133 100644
--- a/civicrm/Civi/Api4/DedupeException.php
+++ b/civicrm/Civi/Api4/DedupeException.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +17,7 @@ namespace Civi\Api4;
  *
  * @searchable none
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/contacts/
+ * @since 5.39
  * @package Civi\Api4
  */
 class DedupeException extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/DedupeRule.php b/civicrm/Civi/Api4/DedupeRule.php
index dafcda898eedb6c77f6096ec7cdd4d2f7cdaf45c..1080d704fc8d2647dbefe16013ff2b8d284a2440 100644
--- a/civicrm/Civi/Api4/DedupeRule.php
+++ b/civicrm/Civi/Api4/DedupeRule.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +17,7 @@ namespace Civi\Api4;
  *
  * @searchable none
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/contacts/
+ * @since 5.39
  * @package Civi\Api4
  */
 class DedupeRule extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/DedupeRuleGroup.php b/civicrm/Civi/Api4/DedupeRuleGroup.php
index 70433a1c0450f97842bbc56c6c569aeb27dd110c..e596b75323449c79ea5b178c374dc6654941d8ca 100644
--- a/civicrm/Civi/Api4/DedupeRuleGroup.php
+++ b/civicrm/Civi/Api4/DedupeRuleGroup.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +17,7 @@ namespace Civi\Api4;
  *
  * @searchable none
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/contacts/
+ * @since 5.39
  * @package Civi\Api4
  */
 class DedupeRuleGroup extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Domain.php b/civicrm/Civi/Api4/Domain.php
index 88e2df9eb583da5257a7b0da1abd3ba9b3d0621e..e24040bdaf2ce0ccaa2527b89eb9b7cdcf512672 100644
--- a/civicrm/Civi/Api4/Domain.php
+++ b/civicrm/Civi/Api4/Domain.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +15,7 @@ namespace Civi\Api4;
  *
  * @see https://docs.civicrm.org/sysadmin/en/latest/setup/multisite/
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class Domain extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Email.php b/civicrm/Civi/Api4/Email.php
index c9ec6d4bad2be3410162c8e272a3e1faec5db38d..e9d02cbdee9a90fc2a2c3c85a7ed1727a95bc044 100644
--- a/civicrm/Civi/Api4/Email.php
+++ b/civicrm/Civi/Api4/Email.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -27,6 +18,7 @@ namespace Civi\Api4;
  * Creating a new email address requires at minimum a contact's ID and email
  *
  * @searchable secondary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Email extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Entity.php b/civicrm/Civi/Api4/Entity.php
index e66a9bec701b3f9cb70bd6db438642115d492ca7..1660d74d8cb0726e4d07ac40bf469dd74be5c7c7 100644
--- a/civicrm/Civi/Api4/Entity.php
+++ b/civicrm/Civi/Api4/Entity.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -25,6 +16,7 @@ namespace Civi\Api4;
  * @see \Civi\Api4\Generic\AbstractEntity
  *
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class Entity extends Generic\AbstractEntity {
@@ -87,8 +79,9 @@ class Entity extends Generic\AbstractEntity {
           'description' => 'Class name for dao-based entities',
         ],
         [
-          'name' => 'id_field',
-          'description' => 'Name of unique identifier field (e.g. "id")',
+          'name' => 'primary_key',
+          'type' => 'Array',
+          'description' => 'Name of unique identifier field(s) (e.g. [id])',
         ],
         [
           'name' => 'label_field',
@@ -114,6 +107,11 @@ class Entity extends Generic\AbstractEntity {
           'data_type' => 'Array',
           'description' => 'Any @see annotations from docblock',
         ],
+        [
+          'name' => 'since',
+          'data_type' => 'String',
+          'description' => 'Version this API entity was added',
+        ],
         [
           'name' => 'bridge',
           'data_type' => 'Array',
@@ -130,6 +128,7 @@ class Entity extends Generic\AbstractEntity {
 
   /**
    * @param bool $checkPermissions
+   * @deprecated
    * @return Action\Entity\GetLinks
    */
   public static function getLinks($checkPermissions = TRUE) {
diff --git a/civicrm/Civi/Api4/EntityFinancialAccount.php b/civicrm/Civi/Api4/EntityFinancialAccount.php
index e8f4750ce94982b7210dfdaf4ee0286502c269de..b5495e3d6e69c1520e32d24303b50f3ec1d6957b 100644
--- a/civicrm/Civi/Api4/EntityFinancialAccount.php
+++ b/civicrm/Civi/Api4/EntityFinancialAccount.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +18,7 @@ namespace Civi\Api4;
  * @ui_join_filters account_relationship
  *
  * @searchable bridge
+ * @since 5.37
  * @package Civi\Api4
  */
 class EntityFinancialAccount extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/EntityFinancialTrxn.php b/civicrm/Civi/Api4/EntityFinancialTrxn.php
index 568f57d4823bd7b8b74017614a7330484e60e507..0c7172d35e61252708aff9f4f1f61d359db7df98 100644
--- a/civicrm/Civi/Api4/EntityFinancialTrxn.php
+++ b/civicrm/Civi/Api4/EntityFinancialTrxn.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -25,6 +17,7 @@ namespace Civi\Api4;
  * @see https://docs.civicrm.org/dev/en/latest/financial/financialentities/
  *
  * @searchable bridge
+ * @since 5.37
  * @package Civi\Api4
  */
 class EntityFinancialTrxn extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/EntityTag.php b/civicrm/Civi/Api4/EntityTag.php
index 62fe8b68704cebfe451598de40789668392512b5..57070981873d2dfc62eaf43c82233b6525378c5d 100644
--- a/civicrm/Civi/Api4/EntityTag.php
+++ b/civicrm/Civi/Api4/EntityTag.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -23,6 +15,7 @@ namespace Civi\Api4;
  *
  * @see \Civi\Api4\Tag
  * @searchable bridge
+ * @since 5.19
  * @package Civi\Api4
  */
 class EntityTag extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Event.php b/civicrm/Civi/Api4/Event.php
index 021ebc9818ba24161b105a8c75204240f08e22b8..9a9913136e11dfe6b342ce05866346ab472cf4ba 100644
--- a/civicrm/Civi/Api4/Event.php
+++ b/civicrm/Civi/Api4/Event.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -25,6 +16,7 @@ namespace Civi\Api4;
  * @see https://docs.civicrm.org/user/en/latest/events/what-is-civievent/
  *
  * @searchable primary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Event extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Event/AuthorizeRecordEvent.php b/civicrm/Civi/Api4/Event/AuthorizeRecordEvent.php
index ba480de842261b4125625f0dd000d430ea5eb264..5fc1db1c4ead35494b93e89667e636fdd96e350e 100644
--- a/civicrm/Civi/Api4/Event/AuthorizeRecordEvent.php
+++ b/civicrm/Civi/Api4/Event/AuthorizeRecordEvent.php
@@ -9,13 +9,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4\Event;
 
 use Civi\API\Event\AuthorizedTrait;
diff --git a/civicrm/Civi/Api4/Event/Events.php b/civicrm/Civi/Api4/Event/Events.php
index 83ef7b4c97c3491c633ff658d9d6a192268d2747..70b54400854791c82dbff585c62af91c217a6627 100644
--- a/civicrm/Civi/Api4/Event/Events.php
+++ b/civicrm/Civi/Api4/Event/Events.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Event;
 
 class Events {
diff --git a/civicrm/Civi/Api4/Event/PostSelectQueryEvent.php b/civicrm/Civi/Api4/Event/PostSelectQueryEvent.php
index 7fd6ce93f4c9605108eaf0163c96d6b6e9ccb0d4..ed28eb109f6bbb765e66009e1fdbba9848b73fd4 100644
--- a/civicrm/Civi/Api4/Event/PostSelectQueryEvent.php
+++ b/civicrm/Civi/Api4/Event/PostSelectQueryEvent.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Event;
 
 use Civi\Api4\Query\Api4SelectQuery;
diff --git a/civicrm/Civi/Api4/Event/SchemaMapBuildEvent.php b/civicrm/Civi/Api4/Event/SchemaMapBuildEvent.php
index a29b7fddee990d8f2560e0ac8c34bd099a9f7965..e504eb3d20814a31007b271599ceb0b2e5d921fe 100644
--- a/civicrm/Civi/Api4/Event/SchemaMapBuildEvent.php
+++ b/civicrm/Civi/Api4/Event/SchemaMapBuildEvent.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Event;
 
 use Civi\Api4\Service\Schema\SchemaMap;
diff --git a/civicrm/Civi/Api4/Event/Subscriber/ActivitySchemaMapSubscriber.php b/civicrm/Civi/Api4/Event/Subscriber/ActivitySchemaMapSubscriber.php
deleted file mode 100644
index fa8d4af8d9c2fe1c7f4e613ece561af87283e0be..0000000000000000000000000000000000000000
--- a/civicrm/Civi/Api4/Event/Subscriber/ActivitySchemaMapSubscriber.php
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-
-/*
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC. All rights reserved.                        |
- |                                                                    |
- | This work is published under the GNU AGPLv3 license with some      |
- | permitted exceptions and without any warranty. For full license    |
- | and copyright information, see https://civicrm.org/licensing       |
- +--------------------------------------------------------------------+
- */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
-namespace Civi\Api4\Event\Subscriber;
-
-use Civi\Api4\Event\Events;
-use Civi\Api4\Event\SchemaMapBuildEvent;
-use Civi\Api4\Service\Schema\Joinable\ActivityToActivityContactAssigneesJoinable;
-use Civi\Api4\Service\Schema\Joinable\BridgeJoinable;
-use Civi\Api4\Service\Schema\Joinable\Joinable;
-use Symfony\Component\EventDispatcher\EventSubscriberInterface;
-
-class ActivitySchemaMapSubscriber implements EventSubscriberInterface {
-
-  /**
-   * @return array
-   */
-  public static function getSubscribedEvents() {
-    return [
-      Events::SCHEMA_MAP_BUILD => 'onSchemaBuild',
-    ];
-  }
-
-  /**
-   * @param \Civi\Api4\Event\SchemaMapBuildEvent $event
-   */
-  public function onSchemaBuild(SchemaMapBuildEvent $event) {
-    $schema = $event->getSchemaMap();
-    $table = $schema->getTableByName('civicrm_activity');
-
-    $middleAlias = \CRM_Utils_String::createRandom(10, implode(range('a', 'z')));
-    $middleLink = new ActivityToActivityContactAssigneesJoinable($middleAlias);
-
-    $bridge = new BridgeJoinable('civicrm_contact', 'id', 'assignees', $middleLink);
-    $bridge->setBaseTable('civicrm_activity_contact');
-    $bridge->setJoinType(Joinable::JOIN_TYPE_ONE_TO_MANY);
-
-    $table->addTableLink('contact_id', $bridge);
-  }
-
-}
diff --git a/civicrm/Civi/Api4/Event/Subscriber/ContactPreSaveSubscriber.php b/civicrm/Civi/Api4/Event/Subscriber/ContactPreSaveSubscriber.php
index b2d2180d5028ffe2c5df153f1b347b37e95d700a..3af614ffed0c9aab2c8428ef19767760e9eb727e 100644
--- a/civicrm/Civi/Api4/Event/Subscriber/ContactPreSaveSubscriber.php
+++ b/civicrm/Civi/Api4/Event/Subscriber/ContactPreSaveSubscriber.php
@@ -10,19 +10,15 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Event\Subscriber;
 
 use Civi\Api4\Generic\AbstractAction;
 
 class ContactPreSaveSubscriber extends Generic\PreSaveSubscriber {
 
+  /**
+   * @var string
+   */
   public $supportedOperation = 'create';
 
   public function modify(&$contact, AbstractAction $request) {
diff --git a/civicrm/Civi/Api4/Event/Subscriber/ContributionPreSaveSubscriber.php b/civicrm/Civi/Api4/Event/Subscriber/ContributionPreSaveSubscriber.php
index 9689f4bc207f001d211e0cfb3e9e2f352196ff18..20f623f817bb8d244a969cfdebcea9abf1a13da2 100644
--- a/civicrm/Civi/Api4/Event/Subscriber/ContributionPreSaveSubscriber.php
+++ b/civicrm/Civi/Api4/Event/Subscriber/ContributionPreSaveSubscriber.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Event\Subscriber;
 
 use Civi\Api4\Generic\AbstractAction;
diff --git a/civicrm/Civi/Api4/Event/Subscriber/CustomFieldPreSaveSubscriber.php b/civicrm/Civi/Api4/Event/Subscriber/CustomFieldPreSaveSubscriber.php
index b3bf36f6dfa4da5b4afd6cb263403787c1bf0e18..8d8be12420c3e5b1bc282668767b1df115bff0ce 100644
--- a/civicrm/Civi/Api4/Event/Subscriber/CustomFieldPreSaveSubscriber.php
+++ b/civicrm/Civi/Api4/Event/Subscriber/CustomFieldPreSaveSubscriber.php
@@ -10,19 +10,15 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Event\Subscriber;
 
 use Civi\Api4\Generic\AbstractAction;
 
 class CustomFieldPreSaveSubscriber extends Generic\PreSaveSubscriber {
 
+  /**
+   * @var string
+   */
   public $supportedOperation = 'create';
 
   public function modify(&$field, AbstractAction $request) {
diff --git a/civicrm/Civi/Api4/Event/Subscriber/CustomGroupPreCreationSubscriber.php b/civicrm/Civi/Api4/Event/Subscriber/CustomGroupPreCreationSubscriber.php
index e0615aae143bc5cf177ee588040bac0bf783ca23..132c789f2f7e3c77ff3f904b3ed8109d686c8d59 100644
--- a/civicrm/Civi/Api4/Event/Subscriber/CustomGroupPreCreationSubscriber.php
+++ b/civicrm/Civi/Api4/Event/Subscriber/CustomGroupPreCreationSubscriber.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Event\Subscriber;
 
 use Civi\Api4\Generic\DAOCreateAction;
@@ -27,14 +20,9 @@ class CustomGroupPreCreationSubscriber extends Generic\PreCreationSubscriber {
    * @param \Civi\Api4\Generic\DAOCreateAction $request
    */
   protected function modify(DAOCreateAction $request) {
-    $extends = $request->getValue('extends');
     $title = $request->getValue('title');
     $name = $request->getValue('name');
 
-    if (is_string($extends)) {
-      $request->addValue('extends', [$extends]);
-    }
-
     if (NULL === $title && $name) {
       $request->addValue('title', $name);
     }
diff --git a/civicrm/Civi/Api4/Event/Subscriber/Generic/AbstractPrepareSubscriber.php b/civicrm/Civi/Api4/Event/Subscriber/Generic/AbstractPrepareSubscriber.php
index 032c0f07e5b13e075064b6f747c954348a69004f..254d8db20914c699f002887010b9039cf99a8e24 100644
--- a/civicrm/Civi/Api4/Event/Subscriber/Generic/AbstractPrepareSubscriber.php
+++ b/civicrm/Civi/Api4/Event/Subscriber/Generic/AbstractPrepareSubscriber.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Event\Subscriber\Generic;
 
 use Civi\API\Event\PrepareEvent;
diff --git a/civicrm/Civi/Api4/Event/Subscriber/Generic/PreCreationSubscriber.php b/civicrm/Civi/Api4/Event/Subscriber/Generic/PreCreationSubscriber.php
index 28be65ed1aca8cbc282b886f61b086a4e23bdad8..c5946165c4c150d1677673135886108c9ab1d338 100644
--- a/civicrm/Civi/Api4/Event/Subscriber/Generic/PreCreationSubscriber.php
+++ b/civicrm/Civi/Api4/Event/Subscriber/Generic/PreCreationSubscriber.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Event\Subscriber\Generic;
 
 use Civi\API\Event\PrepareEvent;
diff --git a/civicrm/Civi/Api4/Event/Subscriber/Generic/PreSaveSubscriber.php b/civicrm/Civi/Api4/Event/Subscriber/Generic/PreSaveSubscriber.php
index 256af1f5f5bde68761f21b5ea24295d9ed4731f8..8741f842d8b4705d5ff0462c457260cf55ccccf4 100644
--- a/civicrm/Civi/Api4/Event/Subscriber/Generic/PreSaveSubscriber.php
+++ b/civicrm/Civi/Api4/Event/Subscriber/Generic/PreSaveSubscriber.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Event\Subscriber\Generic;
 
 use Civi\API\Event\PrepareEvent;
diff --git a/civicrm/Civi/Api4/Event/Subscriber/IsCurrentSubscriber.php b/civicrm/Civi/Api4/Event/Subscriber/IsCurrentSubscriber.php
index 648843468c2c26a5bf08d0ec8809641c7a76ebbd..fcede7f824b655c4ed6947bfbf7ca014312e3578 100644
--- a/civicrm/Civi/Api4/Event/Subscriber/IsCurrentSubscriber.php
+++ b/civicrm/Civi/Api4/Event/Subscriber/IsCurrentSubscriber.php
@@ -10,21 +10,13 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Event\Subscriber;
 
 use Civi\API\Event\PrepareEvent;
 use Civi\Api4\Utils\ReflectionUtils;
 
 /**
- * Process $current api param for Get actions
- *
+ * @deprecated
  * @see \Civi\Api4\Generic\Traits\IsCurrentTrait
  */
 class IsCurrentSubscriber extends Generic\AbstractPrepareSubscriber {
diff --git a/civicrm/Civi/Api4/Event/Subscriber/OptionValuePreCreationSubscriber.php b/civicrm/Civi/Api4/Event/Subscriber/OptionValuePreCreationSubscriber.php
index 0396eb16b0e4714cca65e2de01723a19582405bb..3b37c70f158c7b3de70243a3fdc8e4bdc3347cf6 100644
--- a/civicrm/Civi/Api4/Event/Subscriber/OptionValuePreCreationSubscriber.php
+++ b/civicrm/Civi/Api4/Event/Subscriber/OptionValuePreCreationSubscriber.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Event\Subscriber;
 
 use Civi\Api4\Generic\DAOCreateAction;
diff --git a/civicrm/Civi/Api4/Event/ValidateValuesEvent.php b/civicrm/Civi/Api4/Event/ValidateValuesEvent.php
index 6444ad3b6739f4457c9c0d9d4c4f30da725b11ad..8368a97ca5f7f85e9dcd664ab31eef833f816197 100644
--- a/civicrm/Civi/Api4/Event/ValidateValuesEvent.php
+++ b/civicrm/Civi/Api4/Event/ValidateValuesEvent.php
@@ -9,13 +9,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4\Event;
 
 use Civi\API\Event\RequestTrait;
diff --git a/civicrm/Civi/Api4/FinancialAccount.php b/civicrm/Civi/Api4/FinancialAccount.php
index 04b1dd821a27f7203393ba688f7aed9176a26f3d..4e717370790720c8936c838e5188520f2e5aa794 100644
--- a/civicrm/Civi/Api4/FinancialAccount.php
+++ b/civicrm/Civi/Api4/FinancialAccount.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +18,7 @@ namespace Civi\Api4;
  * @see https://docs.civicrm.org/user/en/latest/contributions/key-concepts-and-configurations/#financial-types-financial-accounts-and-accounting-codes
  *
  * @searchable secondary
+ * @since 5.34
  * @package Civi\Api4
  */
 class FinancialAccount extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/FinancialItem.php b/civicrm/Civi/Api4/FinancialItem.php
index ced033b3c445ca51c82712fca7c53e8dee0fe437..9ca7131a9239f552429cf298118a999025089a64 100644
--- a/civicrm/Civi/Api4/FinancialItem.php
+++ b/civicrm/Civi/Api4/FinancialItem.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -26,7 +18,7 @@ namespace Civi\Api4;
  * If your interest is really in payments you should use that api.
  *
  * @see https://docs.civicrm.org/dev/en/latest/financial/financialentities/#financial-items
- *
+ * @since 5.40
  * @package Civi\Api4
  */
 class FinancialItem extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/FinancialTrxn.php b/civicrm/Civi/Api4/FinancialTrxn.php
index f96f515196f9aa9282cc32ac61b594047b4203b7..e91fa7c79960d5edb0a21d1271fe05ca3e5b0d65 100644
--- a/civicrm/Civi/Api4/FinancialTrxn.php
+++ b/civicrm/Civi/Api4/FinancialTrxn.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -29,6 +21,7 @@ namespace Civi\Api4;
  * @see https://docs.civicrm.org/dev/en/latest/financial/financialentities/#financial-transactions
  *
  * @searchable secondary
+ * @since 5.40
  * @package Civi\Api4
  */
 class FinancialTrxn extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/FinancialType.php b/civicrm/Civi/Api4/FinancialType.php
index 2a389bd37a4ed5109a19ffcadf48606b8c742c93..14db20d00a55b950c7d23f8223230dc15f9e61c1 100644
--- a/civicrm/Civi/Api4/FinancialType.php
+++ b/civicrm/Civi/Api4/FinancialType.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +18,7 @@ namespace Civi\Api4;
  * @see https://docs.civicrm.org/user/en/latest/contributions/key-concepts-and-configurations/#financial-types-financial-accounts-and-accounting-codes
  *
  * @searchable secondary
+ * @since 5.34
  * @package Civi\Api4
  */
 class FinancialType extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Generic/AbstractAction.php b/civicrm/Civi/Api4/Generic/AbstractAction.php
index a91e85853ffc9f872ebb0e40ef0a5e259f849877..a82852bf2a53c0df00f02896afc70b5804e8eedf 100644
--- a/civicrm/Civi/Api4/Generic/AbstractAction.php
+++ b/civicrm/Civi/Api4/Generic/AbstractAction.php
@@ -9,13 +9,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4\Generic;
 
 use Civi\Api4\Utils\CoreUtil;
@@ -424,9 +417,7 @@ abstract class AbstractAction implements \ArrayAccess {
    * Returns schema fields for this entity & action.
    *
    * Here we bypass the api wrapper and run the getFields action directly.
-   * This is because we DON'T want the wrapper to check permissions as this is an internal op,
-   * but we DO want permissions to be checked inside the getFields request so e.g. the api_key
-   * field can be conditionally included.
+   * This is because we DON'T want the wrapper to check permissions as this is an internal op.
    * @see \Civi\Api4\Action\Contact\GetFields
    *
    * @throws \API_Exception
@@ -440,7 +431,7 @@ abstract class AbstractAction implements \ArrayAccess {
       }
       $getFields = \Civi\API\Request::create($this->getEntityName(), 'getFields', [
         'version' => 4,
-        'checkPermissions' => $this->checkPermissions,
+        'checkPermissions' => FALSE,
         'action' => $this->getActionName(),
         'where' => [['type', 'IN', $allowedTypes]],
       ]);
diff --git a/civicrm/Civi/Api4/Generic/AbstractBatchAction.php b/civicrm/Civi/Api4/Generic/AbstractBatchAction.php
index f0701590f14b1d60c67b3fddd369af66c18cc234..19040576de168309afd4477f978bb5d3113bf7e5 100644
--- a/civicrm/Civi/Api4/Generic/AbstractBatchAction.php
+++ b/civicrm/Civi/Api4/Generic/AbstractBatchAction.php
@@ -10,15 +10,10 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
+use Civi\Api4\Utils\CoreUtil;
+
 /**
  * Base class for all batch actions (Update, Delete, Replace).
  *
@@ -36,23 +31,6 @@ abstract class AbstractBatchAction extends AbstractQueryAction {
    */
   protected $where = [];
 
-  /**
-   * @var array
-   */
-  private $select;
-
-  /**
-   * BatchAction constructor.
-   * @param string $entityName
-   * @param string $actionName
-   * @param string|array $select
-   *   One or more fields to load for each item.
-   */
-  public function __construct($entityName, $actionName, $select = 'id') {
-    $this->select = (array) $select;
-    parent::__construct($entityName, $actionName);
-  }
-
   /**
    * Get a list of records for this batch.
    *
@@ -63,7 +41,7 @@ abstract class AbstractBatchAction extends AbstractQueryAction {
   }
 
   /**
-   * Get a query which resolves the list of records for this batch.
+   * Get an API action object which resolves the list of records for this batch.
    *
    * This is similar to `getBatchRecords()`, but you may further refine the
    * API call (e.g. selecting different fields or data-pages) before executing.
@@ -79,16 +57,20 @@ abstract class AbstractBatchAction extends AbstractQueryAction {
       'offset' => $this->offset,
     ];
     if (empty($this->reload)) {
-      $params['select'] = $this->select;
+      $params['select'] = $this->getSelect();
     }
     return \Civi\API\Request::create($this->getEntityName(), 'get', ['version' => 4] + $params);
   }
 
   /**
-   * @return array
+   * Determines what fields will be returned by getBatchRecords
+   *
+   * Defaults to an entity's primary key(s), typically ['id']
+   *
+   * @return string[]
    */
   protected function getSelect() {
-    return $this->select;
+    return CoreUtil::getInfoItem($this->getEntityName(), 'primary_key');
   }
 
 }
diff --git a/civicrm/Civi/Api4/Generic/AbstractCreateAction.php b/civicrm/Civi/Api4/Generic/AbstractCreateAction.php
index c8b75eb870e33b5eff0c30ff50a51caeffae3d25..d6b7c6dd8ef9a113ab6c98c5881fdac002030eb8 100644
--- a/civicrm/Civi/Api4/Generic/AbstractCreateAction.php
+++ b/civicrm/Civi/Api4/Generic/AbstractCreateAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\Api4\Event\ValidateValuesEvent;
diff --git a/civicrm/Civi/Api4/Generic/AbstractEntity.php b/civicrm/Civi/Api4/Generic/AbstractEntity.php
index ce0fb9d29bf9dbb85ca412e198fdc677e8ef6c5a..266c6307a491f968ca5e5e8a1a3ffe6ec568a71e 100644
--- a/civicrm/Civi/Api4/Generic/AbstractEntity.php
+++ b/civicrm/Civi/Api4/Generic/AbstractEntity.php
@@ -9,13 +9,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4\Generic;
 
 use Civi\API\Exception\NotImplementedException;
@@ -139,32 +132,42 @@ abstract class AbstractEntity {
    * @return array
    */
   public static function getInfo() {
-    $info = [
-      'name' => static::getEntityName(),
-      'title' => static::getEntityTitle(),
-      'title_plural' => static::getEntityTitle(TRUE),
-      'type' => [self::stripNamespace(get_parent_class(static::class))],
-      'paths' => static::getEntityPaths(),
-      'class' => static::class,
-      'id_field' => 'id',
-    ];
-    // Add info for entities with a corresponding DAO
-    $dao = \CRM_Core_DAO_AllCoreTables::getFullName($info['name']);
-    if ($dao) {
-      $info['paths'] = $dao::getEntityPaths();
-      $info['icon'] = $dao::$_icon;
-      $info['label_field'] = $dao::$_labelField;
-      $info['dao'] = $dao;
-    }
-    foreach (ReflectionUtils::getTraits(static::class) as $trait) {
-      $info['type'][] = self::stripNamespace($trait);
+    $cache = \Civi::cache('metadata');
+    $entityName = static::getEntityName();
+    $info = $cache->get("api4.$entityName.info");
+    if (!$info) {
+      $info = [
+        'name' => $entityName,
+        'title' => static::getEntityTitle(),
+        'title_plural' => static::getEntityTitle(TRUE),
+        'type' => [self::stripNamespace(get_parent_class(static::class))],
+        'paths' => static::getEntityPaths(),
+        'class' => static::class,
+        'primary_key' => ['id'],
+        // Entities without a @searchable annotation will default to secondary,
+        // which makes them visible in SearchKit but not at the top of the list.
+        'searchable' => 'secondary',
+      ];
+      // Add info for entities with a corresponding DAO
+      $dao = \CRM_Core_DAO_AllCoreTables::getFullName($info['name']);
+      if ($dao) {
+        $info['paths'] = $dao::getEntityPaths();
+        $info['primary_key'] = $dao::$_primaryKey;
+        $info['icon'] = $dao::$_icon;
+        $info['label_field'] = $dao::$_labelField;
+        $info['dao'] = $dao;
+      }
+      foreach (ReflectionUtils::getTraits(static::class) as $trait) {
+        $info['type'][] = self::stripNamespace($trait);
+      }
+      $reflection = new \ReflectionClass(static::class);
+      $info = array_merge($info, ReflectionUtils::getCodeDocs($reflection, NULL, ['entity' => $info['name']]));
+      if ($dao) {
+        $info['description'] = $dao::getEntityDescription() ?? $info['description'] ?? NULL;
+      }
+      unset($info['package'], $info['method']);
+      $cache->set("api4.$entityName.info", $info);
     }
-    // Entities without a @searchable annotation will default to secondary,
-    // which makes them visible in SearchKit but not at the top of the list.
-    $info['searchable'] = 'secondary';
-    $reflection = new \ReflectionClass(static::class);
-    $info = array_merge($info, ReflectionUtils::getCodeDocs($reflection, NULL, ['entity' => $info['name']]));
-    unset($info['package'], $info['method']);
     return $info;
   }
 
diff --git a/civicrm/Civi/Api4/Generic/AbstractGetAction.php b/civicrm/Civi/Api4/Generic/AbstractGetAction.php
index 153f2e60a072b2c265c301a3ab76cf21a6dcdeac..0d5b27739b996d127460e54d49f56057d9ba9229 100644
--- a/civicrm/Civi/Api4/Generic/AbstractGetAction.php
+++ b/civicrm/Civi/Api4/Generic/AbstractGetAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\Api4\Utils\SelectUtil;
diff --git a/civicrm/Civi/Api4/Generic/AbstractQueryAction.php b/civicrm/Civi/Api4/Generic/AbstractQueryAction.php
index 85ebcfb5edd58447d268a8bbf6b258692e3054a1..308c5dcc27062ed41ebf6f6438a1b482c11b34d3 100644
--- a/civicrm/Civi/Api4/Generic/AbstractQueryAction.php
+++ b/civicrm/Civi/Api4/Generic/AbstractQueryAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\Api4\Utils\CoreUtil;
diff --git a/civicrm/Civi/Api4/Generic/AbstractSaveAction.php b/civicrm/Civi/Api4/Generic/AbstractSaveAction.php
index 578e1dfc7238c0624713d61bbeba4917029086fa..c815645abbce17243185f4021b363814653a81fa 100644
--- a/civicrm/Civi/Api4/Generic/AbstractSaveAction.php
+++ b/civicrm/Civi/Api4/Generic/AbstractSaveAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\Api4\Event\ValidateValuesEvent;
@@ -76,32 +69,16 @@ abstract class AbstractSaveAction extends AbstractAction {
    */
   protected $reload = FALSE;
 
-  /**
-   * @var string
-   */
-  private $idField;
-
-  /**
-   * BatchAction constructor.
-   * @param string $entityName
-   * @param string $actionName
-   * @param string $idField
-   */
-  public function __construct($entityName, $actionName, $idField = 'id') {
-    // $idField should be a string but some apis (e.g. CustomValue) give us an array
-    $this->idField = array_values((array) $idField)[0];
-    parent::__construct($entityName, $actionName);
-  }
-
   /**
    * @throws \API_Exception
    * @throws \Civi\API\Exception\UnauthorizedException
    */
   protected function validateValues() {
+    $idField = $this->getIdField();
     // FIXME: There should be a protocol to report a full list of errors... Perhaps a subclass of API_Exception?
     $unmatched = [];
     foreach ($this->records as $record) {
-      if (empty($record[$this->idField])) {
+      if (empty($record[$idField])) {
         $unmatched = array_unique(array_merge($unmatched, $this->checkRequiredFields($record)));
       }
     }
@@ -111,23 +88,23 @@ abstract class AbstractSaveAction extends AbstractAction {
 
     if ($this->checkPermissions) {
       foreach ($this->records as $record) {
-        $action = empty($record[$this->idField]) ? 'create' : 'update';
+        $action = empty($record[$idField]) ? 'create' : 'update';
         if (!CoreUtil::checkAccessDelegated($this->getEntityName(), $action, $record, \CRM_Core_Session::getLoggedInContactID() ?: 0)) {
           throw new UnauthorizedException("ACL check failed");
         }
       }
     }
 
-    $e = new ValidateValuesEvent($this, $this->records, new \CRM_Utils_LazyArray(function() {
-      $existingIds = array_column($this->records, $this->idField);
+    $e = new ValidateValuesEvent($this, $this->records, new \CRM_Utils_LazyArray(function() use ($idField) {
+      $existingIds = array_column($this->records, $idField);
       $existing = civicrm_api4($this->getEntityName(), 'get', [
         'checkPermissions' => $this->checkPermissions,
-        'where' => [[$this->idField, 'IN', $existingIds]],
-      ], $this->idField);
+        'where' => [[$idField, 'IN', $existingIds]],
+      ], $idField);
 
       $result = [];
       foreach ($this->records as $k => $new) {
-        $old = isset($new[$this->idField]) ? $existing[$new[$this->idField]] : NULL;
+        $old = isset($new[$idField]) ? $existing[$new[$idField]] : NULL;
         $result[$k] = ['old' => $old, 'new' => $new];
       }
       return $result;
@@ -142,7 +119,7 @@ abstract class AbstractSaveAction extends AbstractAction {
    * @return string
    */
   protected function getIdField() {
-    return $this->idField;
+    return CoreUtil::getInfoItem($this->getEntityName(), 'primary_key')[0];
   }
 
   /**
diff --git a/civicrm/Civi/Api4/Generic/AbstractUpdateAction.php b/civicrm/Civi/Api4/Generic/AbstractUpdateAction.php
index 42a61cccf7a0a79a4c3b0ba07091c8a72ecb7cdc..ba8e3934a81d0ea369681d87b948bbc2b533acee 100644
--- a/civicrm/Civi/Api4/Generic/AbstractUpdateAction.php
+++ b/civicrm/Civi/Api4/Generic/AbstractUpdateAction.php
@@ -10,16 +10,11 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
+use Civi\API\Exception\UnauthorizedException;
 use Civi\Api4\Event\ValidateValuesEvent;
+use Civi\Api4\Utils\CoreUtil;
 
 /**
  * Base class for all `Update` api actions
@@ -51,6 +46,67 @@ abstract class AbstractUpdateAction extends AbstractBatchAction {
    */
   protected $reload = FALSE;
 
+  /**
+   * Criteria for selecting items to update.
+   *
+   * Required if no id is supplied in values.
+   *
+   * @var array
+   */
+  protected $where = [];
+
+  abstract protected function updateRecords(array $items): array;
+
+  /**
+   * @inheritDoc
+   */
+  public function _run(Result $result) {
+    $primaryKeys = CoreUtil::getInfoItem($this->getEntityName(), 'primary_key');
+    $this->formatWriteValues($this->values);
+
+    // Add primary keys from values to WHERE clause and check for mismatch
+    foreach ($primaryKeys as $id) {
+      if (!empty($this->values[$id])) {
+        $wheres = array_column($this->where, NULL, 0);
+        if (!isset($wheres[$id])) {
+          $this->addWhere($id, '=', $this->values[$id]);
+        }
+        elseif (!($wheres[$id][1] === '=' && $wheres[$id][2] == $this->values[$id])) {
+          throw new \Exception("Cannot update the $id of an existing " . $this->getEntityName() . '.');
+        }
+      }
+    }
+
+    // Require WHERE if we didn't get primary keys from values
+    if (!$this->where) {
+      throw new \API_Exception('Parameter "where" is required unless primary keys are supplied in values.');
+    }
+
+    // Update a single record by primary key (if this entity has a single primary key)
+    if (count($this->where) === 1 && count($primaryKeys) === 1 && $primaryKeys === $this->getSelect() && $this->where[0][0] === $id && $this->where[0][1] === '=' && !empty($this->where[0][2])) {
+      $this->values[$id] = $this->where[0][2];
+      if ($this->checkPermissions && !CoreUtil::checkAccessRecord($this, $this->values, \CRM_Core_Session::getLoggedInContactID() ?: 0)) {
+        throw new UnauthorizedException("ACL check failed");
+      }
+      $items = [$this->values];
+      $this->validateValues();
+      $result->exchangeArray($this->updateRecords($items));
+      return;
+    }
+
+    // Batch update 1 or more records based on WHERE clause
+    $items = $this->getBatchRecords();
+    foreach ($items as &$item) {
+      $item = $this->values + $item;
+      if ($this->checkPermissions && !CoreUtil::checkAccessRecord($this, $item, \CRM_Core_Session::getLoggedInContactID() ?: 0)) {
+        throw new UnauthorizedException("ACL check failed");
+      }
+    }
+
+    $this->validateValues();
+    $result->exchangeArray($this->updateRecords($items));
+  }
+
   /**
    * @param string $fieldName
    *
diff --git a/civicrm/Civi/Api4/Generic/BasicBatchAction.php b/civicrm/Civi/Api4/Generic/BasicBatchAction.php
index 25b662e56bc96a43dedfe78fbc1adc5eccd475ce..bc3d6a51e6a3f91c5be4f3d8461fad4daf84dc8d 100644
--- a/civicrm/Civi/Api4/Generic/BasicBatchAction.php
+++ b/civicrm/Civi/Api4/Generic/BasicBatchAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\API\Exception\NotImplementedException;
@@ -50,13 +43,19 @@ class BasicBatchAction extends AbstractBatchAction {
    *
    * @param string $entityName
    * @param string $actionName
-   * @param string|array $select
-   *   One or more fields to select from each matching item.
    * @param callable $doer
    */
-  public function __construct($entityName, $actionName, $select = 'id', $doer = NULL) {
-    parent::__construct($entityName, $actionName, $select);
+  public function __construct($entityName, $actionName, $doer = NULL) {
+    parent::__construct($entityName, $actionName);
     $this->doer = $doer;
+    // Accept doer as 4th param for now, but emit deprecated warning
+    $this->doer = func_get_args()[3] ?? NULL;
+    if ($this->doer) {
+      \CRM_Core_Error::deprecatedWarning(__CLASS__ . ' constructor received $doer as 4th param; it should be the 3rd as the $select param has been removed');
+    }
+    else {
+      $this->doer = $doer;
+    }
   }
 
   /**
diff --git a/civicrm/Civi/Api4/Generic/BasicCreateAction.php b/civicrm/Civi/Api4/Generic/BasicCreateAction.php
index 6a5027d35122d1351cdaa5177633784de86926a3..3be4e25bb292a892ad58418356cd8fec5fa5a48c 100644
--- a/civicrm/Civi/Api4/Generic/BasicCreateAction.php
+++ b/civicrm/Civi/Api4/Generic/BasicCreateAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\API\Exception\NotImplementedException;
diff --git a/civicrm/Civi/Api4/Generic/BasicEntity.php b/civicrm/Civi/Api4/Generic/BasicEntity.php
index 66ea70c00e07863946761fdaa304780b5f3915ba..48c649b66150fc0589b4aba1e18eee685a17bb39 100644
--- a/civicrm/Civi/Api4/Generic/BasicEntity.php
+++ b/civicrm/Civi/Api4/Generic/BasicEntity.php
@@ -105,7 +105,7 @@ abstract class BasicEntity extends AbstractEntity {
    * @return BasicSaveAction
    */
   public static function save($checkPermissions = TRUE) {
-    return (new BasicSaveAction(static::getEntityName(), __FUNCTION__, static::$idField, static::$setter))
+    return (new BasicSaveAction(static::getEntityName(), __FUNCTION__, static::$setter))
       ->setCheckPermissions($checkPermissions);
   }
 
@@ -114,7 +114,7 @@ abstract class BasicEntity extends AbstractEntity {
    * @return BasicUpdateAction
    */
   public static function update($checkPermissions = TRUE) {
-    return (new BasicUpdateAction(static::getEntityName(), __FUNCTION__, static::$idField, static::$setter))
+    return (new BasicUpdateAction(static::getEntityName(), __FUNCTION__, static::$setter))
       ->setCheckPermissions($checkPermissions);
   }
 
@@ -123,7 +123,7 @@ abstract class BasicEntity extends AbstractEntity {
    * @return BasicBatchAction
    */
   public static function delete($checkPermissions = TRUE) {
-    return (new BasicBatchAction(static::getEntityName(), __FUNCTION__, static::$idField, static::$deleter))
+    return (new BasicBatchAction(static::getEntityName(), __FUNCTION__, static::$deleter))
       ->setCheckPermissions($checkPermissions);
   }
 
@@ -132,7 +132,7 @@ abstract class BasicEntity extends AbstractEntity {
    * @return BasicReplaceAction
    */
   public static function replace($checkPermissions = TRUE) {
-    return (new BasicReplaceAction(static::getEntityName(), __FUNCTION__, static::$idField))
+    return (new BasicReplaceAction(static::getEntityName(), __FUNCTION__))
       ->setCheckPermissions($checkPermissions);
   }
 
@@ -141,7 +141,7 @@ abstract class BasicEntity extends AbstractEntity {
    */
   public static function getInfo() {
     $info = parent::getInfo();
-    $info['id_field'] = static::$idField;
+    $info['primary_key'] = (array) static::$idField;
     return $info;
   }
 
diff --git a/civicrm/Civi/Api4/Generic/BasicGetAction.php b/civicrm/Civi/Api4/Generic/BasicGetAction.php
index f436427c921ed8ecd8c16eb97ec51d2608cafa7d..1f784cc6b90333d5b675cee80b15a41e46737ee7 100644
--- a/civicrm/Civi/Api4/Generic/BasicGetAction.php
+++ b/civicrm/Civi/Api4/Generic/BasicGetAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\API\Exception\NotImplementedException;
diff --git a/civicrm/Civi/Api4/Generic/BasicGetFieldsAction.php b/civicrm/Civi/Api4/Generic/BasicGetFieldsAction.php
index 1261260fc0461bff3e6dc7fcaff0ab8dbb8398f0..c64be64977a6594d42199614da4c2b87a7926c10 100644
--- a/civicrm/Civi/Api4/Generic/BasicGetFieldsAction.php
+++ b/civicrm/Civi/Api4/Generic/BasicGetFieldsAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\API\Exception\NotImplementedException;
diff --git a/civicrm/Civi/Api4/Generic/BasicReplaceAction.php b/civicrm/Civi/Api4/Generic/BasicReplaceAction.php
index ca4d03c13ab48f77367ea8426980e7ac6732a460..7291de47ff20e79b447f284d818444ce68dfaaf3 100644
--- a/civicrm/Civi/Api4/Generic/BasicReplaceAction.php
+++ b/civicrm/Civi/Api4/Generic/BasicReplaceAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 /**
diff --git a/civicrm/Civi/Api4/Generic/BasicSaveAction.php b/civicrm/Civi/Api4/Generic/BasicSaveAction.php
index c1316ede9707c4d38e834d94fa3945aed9fd221c..f0e175e5faf7d39644685230c17a7a3da190af75 100644
--- a/civicrm/Civi/Api4/Generic/BasicSaveAction.php
+++ b/civicrm/Civi/Api4/Generic/BasicSaveAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\API\Exception\NotImplementedException;
@@ -37,12 +30,18 @@ class BasicSaveAction extends AbstractSaveAction {
    *
    * @param string $entityName
    * @param string $actionName
-   * @param string $idField
    * @param callable $setter
    */
-  public function __construct($entityName, $actionName, $idField = 'id', $setter = NULL) {
-    parent::__construct($entityName, $actionName, $idField);
-    $this->setter = $setter;
+  public function __construct($entityName, $actionName, $setter = NULL) {
+    parent::__construct($entityName, $actionName);
+    // Accept setter as 4th param for now, but emit deprecated warning
+    $this->setter = func_get_args()[3] ?? NULL;
+    if ($this->setter) {
+      \CRM_Core_Error::deprecatedWarning(__CLASS__ . ' constructor received $setter as 4th param; it should be the 3rd as the $select param has been removed');
+    }
+    else {
+      $this->setter = $setter;
+    }
   }
 
   /**
diff --git a/civicrm/Civi/Api4/Generic/BasicUpdateAction.php b/civicrm/Civi/Api4/Generic/BasicUpdateAction.php
index 1eaabfe28c3f4172af3394032c56c0a6d176e2ca..5fefc107f47e804437d80beb2766d1baaa5a747e 100644
--- a/civicrm/Civi/Api4/Generic/BasicUpdateAction.php
+++ b/civicrm/Civi/Api4/Generic/BasicUpdateAction.php
@@ -10,18 +10,9 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\API\Exception\NotImplementedException;
-use Civi\API\Exception\UnauthorizedException;
-use Civi\Api4\Utils\CoreUtil;
 
 /**
  * Update one or more $ENTITY with new values.
@@ -41,33 +32,27 @@ class BasicUpdateAction extends AbstractUpdateAction {
    *
    * @param string $entityName
    * @param string $actionName
-   * @param string|array $select
-   *   One or more fields to select from each matching item.
    * @param callable $setter
    */
-  public function __construct($entityName, $actionName, $select = 'id', $setter = NULL) {
-    parent::__construct($entityName, $actionName, $select);
-    $this->setter = $setter;
+  public function __construct($entityName, $actionName, $setter = NULL) {
+    parent::__construct($entityName, $actionName);
+    // Accept setter as 4th param for now, but emit deprecated warning
+    $this->setter = func_get_args()[3] ?? NULL;
+    if ($this->setter) {
+      \CRM_Core_Error::deprecatedWarning(__CLASS__ . ' constructor received $setter as 4th param; it should be the 3rd as the $select param has been removed');
+    }
+    else {
+      $this->setter = $setter;
+    }
   }
 
   /**
-   * We pass the writeRecord function an array representing one item to update.
-   * We expect to get the same format back.
-   *
-   * @param \Civi\Api4\Generic\Result $result
+   * @param array $items
+   * @return array
    * @throws \API_Exception
-   * @throws \Civi\API\Exception\NotImplementedException
    */
-  public function _run(Result $result) {
-    $this->formatWriteValues($this->values);
-    $this->validateValues();
-    foreach ($this->getBatchRecords() as $item) {
-      $record = $this->values + $item;
-      if ($this->checkPermissions && !CoreUtil::checkAccessRecord($this, $record, \CRM_Core_Session::getLoggedInContactID() ?: 0)) {
-        throw new UnauthorizedException("ACL check failed");
-      }
-      $result[] = $this->writeRecord($record);
-    }
+  protected function updateRecords(array $items): array {
+    return array_map([$this, 'writeRecord'], $items);
   }
 
   /**
diff --git a/civicrm/Civi/Api4/Generic/CheckAccessAction.php b/civicrm/Civi/Api4/Generic/CheckAccessAction.php
index c1f0e919d399270b51570f54f9cd184a9c22dd5a..a3cd5dc0a3924bc61c293701df14dd0e491555be 100644
--- a/civicrm/Civi/Api4/Generic/CheckAccessAction.php
+++ b/civicrm/Civi/Api4/Generic/CheckAccessAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\Api4\Utils\CoreUtil;
diff --git a/civicrm/Civi/Api4/Generic/DAOCreateAction.php b/civicrm/Civi/Api4/Generic/DAOCreateAction.php
index cf88e31910cc12b9fe2804239672887e7875d2e1..14914175bcb0e2066f336eb49d4aafcf24c8fc8b 100644
--- a/civicrm/Civi/Api4/Generic/DAOCreateAction.php
+++ b/civicrm/Civi/Api4/Generic/DAOCreateAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 /**
diff --git a/civicrm/Civi/Api4/Generic/DAODeleteAction.php b/civicrm/Civi/Api4/Generic/DAODeleteAction.php
index 902d28838a2d4baa261c7ecc07c9892670b56448..b2b9584e921db92494b24ae08eba4e2340de2c38 100644
--- a/civicrm/Civi/Api4/Generic/DAODeleteAction.php
+++ b/civicrm/Civi/Api4/Generic/DAODeleteAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\API\Exception\UnauthorizedException;
diff --git a/civicrm/Civi/Api4/Generic/DAOGetAction.php b/civicrm/Civi/Api4/Generic/DAOGetAction.php
index 778cc3de40b71bbaa387febff1ee0edb95fd66d3..f374047486b853dea3bf37222471b2999a097f0a 100644
--- a/civicrm/Civi/Api4/Generic/DAOGetAction.php
+++ b/civicrm/Civi/Api4/Generic/DAOGetAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 use Civi\Api4\Query\Api4SelectQuery;
@@ -85,9 +78,17 @@ class DAOGetAction extends AbstractGetAction {
    */
   protected $having = [];
 
+  /**
+   * @throws \API_Exception
+   * @throws \CRM_Core_Exception
+   */
   public function _run(Result $result) {
     // Early return if table doesn't exist yet due to pending upgrade
     $baoName = $this->getBaoName();
+    if (!$baoName) {
+      // In some cases (eg. site spin-up) the code may attempt to call the api before the entity name is registered.
+      throw new \API_Exception("BAO for {$this->getEntityName()} is not available. This could be a load-order issue");
+    }
     if (!$baoName::tableHasBeenAdded()) {
       \Civi::log()->warning("Could not read from {$this->getEntityName()} before table has been added. Upgrade required.", ['civi.tag' => 'upgrade_needed']);
       return;
diff --git a/civicrm/Civi/Api4/Generic/DAOGetFieldsAction.php b/civicrm/Civi/Api4/Generic/DAOGetFieldsAction.php
index a8a359b5d17a51e42c8f0a1944047c5848c51a03..e11ac0c8f7c3975e0c425a07ac7cc03e21ced1d8 100644
--- a/civicrm/Civi/Api4/Generic/DAOGetFieldsAction.php
+++ b/civicrm/Civi/Api4/Generic/DAOGetFieldsAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 /**
@@ -125,6 +118,11 @@ class DAOGetFieldsAction extends BasicGetFieldsAction {
       'data_type' => 'Array',
       '@internal' => TRUE,
     ];
+    $fields[] = [
+      'name' => 'sql_renderer',
+      'data_type' => 'Array',
+      '@internal' => TRUE,
+    ];
     return $fields;
   }
 
diff --git a/civicrm/Civi/Api4/Generic/DAOSaveAction.php b/civicrm/Civi/Api4/Generic/DAOSaveAction.php
index a3d8a288f55a9861d30750b9cb36dee1e5f2e7d6..14eee589459efcc521084adbb784f1089a6494ca 100644
--- a/civicrm/Civi/Api4/Generic/DAOSaveAction.php
+++ b/civicrm/Civi/Api4/Generic/DAOSaveAction.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
 /**
diff --git a/civicrm/Civi/Api4/Generic/DAOUpdateAction.php b/civicrm/Civi/Api4/Generic/DAOUpdateAction.php
index 33adb73a2d9c36883a61d25a82bdc891b93dfa36..25593822a6b70be6a9e645bacf3e481bbf4f7608 100644
--- a/civicrm/Civi/Api4/Generic/DAOUpdateAction.php
+++ b/civicrm/Civi/Api4/Generic/DAOUpdateAction.php
@@ -10,79 +10,25 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic;
 
-use Civi\API\Exception\UnauthorizedException;
-use Civi\Api4\Utils\CoreUtil;
-
 /**
  * Update one or more $ENTITY with new values.
  *
- * Use the `where` clause (required) to select them.
+ * Use the `where` clause to bulk update multiple records,
+ * or supply 'id' as a value to update a single record.
  */
 class DAOUpdateAction extends AbstractUpdateAction {
   use Traits\DAOActionTrait;
 
   /**
-   * Criteria for selecting items to update.
-   *
-   * Required if no id is supplied in values.
-   *
-   * @var array
+   * @param array $items
+   * @return array
+   * @throws \API_Exception
+   * @throws \CRM_Core_Exception
    */
-  protected $where = [];
-
-  /**
-   * @inheritDoc
-   */
-  public function _run(Result $result) {
-    $this->formatWriteValues($this->values);
-    // Add ID from values to WHERE clause and check for mismatch
-    if (!empty($this->values['id'])) {
-      $wheres = array_column($this->where, NULL, 0);
-      if (!isset($wheres['id'])) {
-        $this->addWhere('id', '=', $this->values['id']);
-      }
-      elseif (!($wheres['id'][1] === '=' && $wheres['id'][2] == $this->values['id'])) {
-        throw new \Exception("Cannot update the id of an existing " . $this->getEntityName() . '.');
-      }
-    }
-
-    // Require WHERE if we didn't get an ID from values
-    if (!$this->where) {
-      throw new \API_Exception('Parameter "where" is required unless an id is supplied in values.');
-    }
-
-    // Update a single record by ID unless select requires more than id
-    if ($this->getSelect() === ['id'] && count($this->where) === 1 && $this->where[0][0] === 'id' && $this->where[0][1] === '=' && !empty($this->where[0][2])) {
-      $this->values['id'] = $this->where[0][2];
-      if ($this->checkPermissions && !CoreUtil::checkAccessRecord($this, $this->values, \CRM_Core_Session::getLoggedInContactID() ?: 0)) {
-        throw new UnauthorizedException("ACL check failed");
-      }
-      $items = [$this->values];
-      $this->validateValues();
-      $result->exchangeArray($this->writeObjects($items));
-      return;
-    }
-
-    // Batch update 1 or more records based on WHERE clause
-    $items = $this->getBatchRecords();
-    foreach ($items as &$item) {
-      $item = $this->values + $item;
-      if ($this->checkPermissions && !CoreUtil::checkAccessRecord($this, $item, \CRM_Core_Session::getLoggedInContactID() ?: 0)) {
-        throw new UnauthorizedException("ACL check failed");
-      }
-    }
-
-    $this->validateValues();
-    $result->exchangeArray($this->writeObjects($items));
+  protected function updateRecords(array $items): array {
+    return $this->writeObjects($items);
   }
 
 }
diff --git a/civicrm/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php b/civicrm/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php
index 88c24a78c49de6dd1b33c1be23ec5c5246455e9d..f11966f2277703eebc1902e117d7add041593531 100644
--- a/civicrm/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php
+++ b/civicrm/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic\Traits;
 
 use Civi\API\Exception\NotImplementedException;
diff --git a/civicrm/Civi/Api4/Generic/Traits/CustomValueActionTrait.php b/civicrm/Civi/Api4/Generic/Traits/CustomValueActionTrait.php
index 6d595b04ae2b34841fb99883978a5ce01379addd..066167fb2c1f859b85d9b41769ba1ce66743d0dc 100644
--- a/civicrm/Civi/Api4/Generic/Traits/CustomValueActionTrait.php
+++ b/civicrm/Civi/Api4/Generic/Traits/CustomValueActionTrait.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Generic\Traits;
 
 use Civi\Api4\Utils\FormattingUtil;
@@ -31,7 +24,7 @@ trait CustomValueActionTrait {
 
   public function __construct($customGroup, $actionName) {
     $this->customGroup = $customGroup;
-    parent::__construct('CustomValue', $actionName, ['id', 'entity_id']);
+    parent::__construct('CustomValue', $actionName);
   }
 
   /**
diff --git a/civicrm/Civi/Api4/Generic/Traits/DAOActionTrait.php b/civicrm/Civi/Api4/Generic/Traits/DAOActionTrait.php
index af611354480c2320c8082e248b86774715c7a329..0c5f5ebe8c47bdd42836e0e009c8d5751829129f 100644
--- a/civicrm/Civi/Api4/Generic/Traits/DAOActionTrait.php
+++ b/civicrm/Civi/Api4/Generic/Traits/DAOActionTrait.php
@@ -164,6 +164,35 @@ trait DAOActionTrait {
     return $result;
   }
 
+  /**
+   * @inheritDoc
+   */
+  protected function formatWriteValues(&$record) {
+    $this->resolveFKValues($record);
+    parent::formatWriteValues($record);
+  }
+
+  /**
+   * Looks up an id based on some other property of an fk entity
+   *
+   * @param array $record
+   */
+  private function resolveFKValues(array &$record): void {
+    foreach ($record as $key => $value) {
+      if (substr_count($key, '.') !== 1) {
+        continue;
+      }
+      [$fieldName, $fkField] = explode('.', $key);
+      $field = $this->entityFields()[$fieldName] ?? NULL;
+      if (!$field || empty($field['fk_entity'])) {
+        continue;
+      }
+      $fkDao = CoreUtil::getBAOFromApiName($field['fk_entity']);
+      $record[$fieldName] = \CRM_Core_DAO::getFieldValue($fkDao, $value, 'id', $fkField);
+      unset($record[$key]);
+    }
+  }
+
   /**
    * @param array $params
    * @param int $entityId
@@ -195,7 +224,10 @@ trait DAOActionTrait {
           formatCheckBoxField($value, 'custom_' . $field['id'], $this->getEntityName());
         }
 
-        if ($field['data_type'] === 'ContactReference' && !is_numeric($value)) {
+        // Match contact id to strings like "user_contact_id"
+        // FIXME handle arrays for multi-value contact reference fields, etc.
+        if ($field['data_type'] === 'ContactReference' && is_string($value) && !is_numeric($value)) {
+          // FIXME decouple from v3 API
           require_once 'api/v3/utils.php';
           $value = \_civicrm_api3_resolve_contactID($value);
           if ('unknown-user' === $value) {
@@ -207,7 +239,7 @@ trait DAOActionTrait {
           $field['id'],
           $customParams,
           $value,
-          $field['custom_group.extends'],
+          $field['custom_group_id.extends'],
           // todo check when this is needed
           NULL,
           $entityId,
@@ -241,13 +273,13 @@ trait DAOActionTrait {
     if (!isset($info[$fieldName])) {
       $info = [];
       $fields = CustomField::get(FALSE)
-        ->addSelect('id', 'name', 'html_type', 'data_type', 'custom_group.extends')
-        ->addWhere('custom_group.name', '=', $groupName)
+        ->addSelect('id', 'name', 'html_type', 'data_type', 'custom_group_id.extends')
+        ->addWhere('custom_group_id.name', '=', $groupName)
         ->execute()->indexBy('name');
       foreach ($fields as $name => $field) {
         $field['custom_field_id'] = $field['id'];
         $field['name'] = $groupName . '.' . $name;
-        $field['entity'] = CustomGroupJoinable::getEntityFromExtends($field['custom_group.extends']);
+        $field['entity'] = CustomGroupJoinable::getEntityFromExtends($field['custom_group_id.extends']);
         $info[$name] = $field;
       }
       \Civi::cache('metadata')->set($cacheKey, $info);
diff --git a/civicrm/Civi/Api4/Generic/Traits/IsCurrentTrait.php b/civicrm/Civi/Api4/Generic/Traits/IsCurrentTrait.php
index aec4b82e6608daaa16ef0eff8b4a16e82d8d722c..8853d25651ed6e58ee5d33c6deeb23b522cd3eec 100644
--- a/civicrm/Civi/Api4/Generic/Traits/IsCurrentTrait.php
+++ b/civicrm/Civi/Api4/Generic/Traits/IsCurrentTrait.php
@@ -9,36 +9,24 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4\Generic\Traits;
 
 /**
- * This trait adds the $current param to a Get action.
- *
+ * @deprecated
  * @see \Civi\Api4\Event\Subscriber\IsCurrentSubscriber
  */
 trait IsCurrentTrait {
 
   /**
-   * Convenience filter for selecting items that are enabled and are currently within their start/end dates.
-   *
-   * Adding current = TRUE is a shortcut for
-   *   WHERE is_active = 1 AND (end_date IS NULL OR end_date >= now) AND (start_date IS NULL OR start_DATE <= now)
-   *
-   * Adding current = FALSE is a shortcut for
-   *   WHERE is_active = 0 OR start_date > now OR end_date < now
+   * Param deprecated in favor of is_current filter.
    *
    * @var bool
+   * @deprecated
    */
   protected $current;
 
   /**
+   * @deprecated
    * @return bool
    */
   public function getCurrent() {
@@ -46,6 +34,7 @@ trait IsCurrentTrait {
   }
 
   /**
+   * @deprecated
    * @param bool $current
    * @return $this
    */
diff --git a/civicrm/Civi/Api4/Grant.php b/civicrm/Civi/Api4/Grant.php
index 470672fc87452cc11e619f94b5893c977a28af31..b7327f6d54b9b620d55ec7326a3fe20c37366b07 100644
--- a/civicrm/Civi/Api4/Grant.php
+++ b/civicrm/Civi/Api4/Grant.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +18,7 @@ namespace Civi\Api4;
  * @see https://docs.civicrm.org/user/en/latest/grants/what-is-civigrant/
  *
  * @searchable primary
+ * @since 5.33
  * @package Civi\Api4
  */
 class Grant extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Group.php b/civicrm/Civi/Api4/Group.php
index 4764d76b4d30595bc2f38811762096d8c4362275..098d48d8fbd82a141017601aebc5cc79dce1cccd 100644
--- a/civicrm/Civi/Api4/Group.php
+++ b/civicrm/Civi/Api4/Group.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +16,7 @@ namespace Civi\Api4;
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/groups-and-tags/#groups
  *
  * @searchable secondary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Group extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/GroupContact.php b/civicrm/Civi/Api4/GroupContact.php
index 850fe78b440604af997232c8f75fab0e43579254..cb7259ef9e31e74266062332cb723fbdd0d79322 100644
--- a/civicrm/Civi/Api4/GroupContact.php
+++ b/civicrm/Civi/Api4/GroupContact.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -28,6 +20,7 @@ namespace Civi\Api4;
  *
  * @searchable bridge
  * @see \Civi\Api4\Group
+ * @since 5.19
  * @package Civi\Api4
  */
 class GroupContact extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/GroupNesting.php b/civicrm/Civi/Api4/GroupNesting.php
index b2428b1a65a7c7cde1b3d294b420655354f793cd..3dd4f366b3f0d9a36e4f52dfcea6386573363073 100644
--- a/civicrm/Civi/Api4/GroupNesting.php
+++ b/civicrm/Civi/Api4/GroupNesting.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -23,6 +15,7 @@ namespace Civi\Api4;
  *
  * @see \Civi\Api4\Group
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class GroupNesting extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/GroupOrganization.php b/civicrm/Civi/Api4/GroupOrganization.php
index c392cf91a454ae12d1d8a4cdb6c1e9784a4516f1..610087bfe2307898a544139747963f63430a3bcc 100644
--- a/civicrm/Civi/Api4/GroupOrganization.php
+++ b/civicrm/Civi/Api4/GroupOrganization.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -27,6 +19,7 @@ namespace Civi\Api4;
  * @searchable none
  *
  * @see \Civi\Api4\Group
+ * @since 5.19
  * @package Civi\Api4
  */
 class GroupOrganization extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/IM.php b/civicrm/Civi/Api4/IM.php
index f563d3c7172cd82cb65d338c7ec78bd4fbc202f8..f6d8045f4de86070a197fab017767687a898c42b 100644
--- a/civicrm/Civi/Api4/IM.php
+++ b/civicrm/Civi/Api4/IM.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,20 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
  * IM entity.
  *
  * @searchable secondary
+ * @since 5.19
  * @package Civi\Api4
  */
 class IM extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/LineItem.php b/civicrm/Civi/Api4/LineItem.php
index ca425f9278e13513cfcf10877db06a28a47fb260..2cf59426db9704195523530b2dac6010b7ee3c48 100644
--- a/civicrm/Civi/Api4/LineItem.php
+++ b/civicrm/Civi/Api4/LineItem.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,19 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
  * LineItem entity.
  *
  * @searchable secondary
+ * @since 5.31
  * @package Civi\Api4
  */
 class LineItem extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/LocBlock.php b/civicrm/Civi/Api4/LocBlock.php
index d68c961ed18e0a966b6b86744558941999c00736..41a79885dc3899523f7af099bed28ac5d91df0bc 100644
--- a/civicrm/Civi/Api4/LocBlock.php
+++ b/civicrm/Civi/Api4/LocBlock.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,7 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
 namespace Civi\Api4;
 
 /**
@@ -17,7 +15,8 @@ namespace Civi\Api4;
  *
  * Links addresses, emails & phones to Events.
  *
- * @searchable none
+ * @searchable secondary
+ * @since 5.31
  * @package Civi\Api4
  */
 class LocBlock extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/LocationType.php b/civicrm/Civi/Api4/LocationType.php
index 3b8c2d793bfbac0d7043223ff361c59ec2bd0380..a3b282dace61a5371450120bfad1d0434e05c368 100644
--- a/civicrm/Civi/Api4/LocationType.php
+++ b/civicrm/Civi/Api4/LocationType.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
 namespace Civi\Api4;
 
 /**
  * LocationType entity.
  *
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class LocationType extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/MailSettings.php b/civicrm/Civi/Api4/MailSettings.php
index 4730e8a18a5468c137347c5ae87daea4910e6ea4..89bc970e99045fd63960cecca5b4c703003040e0 100644
--- a/civicrm/Civi/Api4/MailSettings.php
+++ b/civicrm/Civi/Api4/MailSettings.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,20 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
  * MailSettings entity.
  *
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class MailSettings extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Mapping.php b/civicrm/Civi/Api4/Mapping.php
index e7d6cbf11d279844fa9029b82da24b17bfe3f799..697c22a96e54d49940256d822835f4897716f335 100644
--- a/civicrm/Civi/Api4/Mapping.php
+++ b/civicrm/Civi/Api4/Mapping.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +16,7 @@ namespace Civi\Api4;
  * This is a collection of MappingFields, for reuse in import, export, etc.
  *
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class Mapping extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/MappingField.php b/civicrm/Civi/Api4/MappingField.php
index 7e8b4ce4bc085bdf979f17a942f4e7a777b9c3d2..786b51c9648fdc6aafe068de45445611639ad191 100644
--- a/civicrm/Civi/Api4/MappingField.php
+++ b/civicrm/Civi/Api4/MappingField.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -25,6 +17,7 @@ namespace Civi\Api4;
  *
  * @see \Civi\Api4\Mapping
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class MappingField extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/MembershipType.php b/civicrm/Civi/Api4/MembershipType.php
index 089d8076ff15006d5e8d811ff034333e351dce39..7b1d891c23d275798b49d58e013b6030f59d8914 100644
--- a/civicrm/Civi/Api4/MembershipType.php
+++ b/civicrm/Civi/Api4/MembershipType.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
 namespace Civi\Api4;
 
 /**
  * MembershipType entity.
  *
  * @searchable secondary
+ * @since 5.27
  * @package Civi\Api4
  */
 class MembershipType extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/MessageTemplate.php b/civicrm/Civi/Api4/MessageTemplate.php
index d20f1054ec6b2fdcc259c72462edfb7f423066ec..c99390dafad0f913848605b9b694ba8ae99f75b2 100644
--- a/civicrm/Civi/Api4/MessageTemplate.php
+++ b/civicrm/Civi/Api4/MessageTemplate.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -23,6 +15,7 @@ namespace Civi\Api4;
  *
  * This is a collection of MsgTemplate, for reuse in import, export, etc.
  * @searchable none
+ * @since 5.26
  * @package Civi\Api4
  */
 class MessageTemplate extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Navigation.php b/civicrm/Civi/Api4/Navigation.php
index fd15888301ed6cdfb391fff1a82b387ee4e64931..5c8a65c50013973ffc4d4044f49856a1ac3c7284 100644
--- a/civicrm/Civi/Api4/Navigation.php
+++ b/civicrm/Civi/Api4/Navigation.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,19 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
  * Navigation entity.
  *
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class Navigation extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Note.php b/civicrm/Civi/Api4/Note.php
index baf205301f8f521e031a8d421fe3486798331574..7437bafc02ead601b262f04cb707c1f3301a64be 100644
--- a/civicrm/Civi/Api4/Note.php
+++ b/civicrm/Civi/Api4/Note.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,20 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
  * Note entity.
  *
  * @searchable secondary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Note extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/OpenID.php b/civicrm/Civi/Api4/OpenID.php
index c9c56472f7fb7c9bd700be193c2344d7135a516e..a3fbf58996290a51701d1905a11afae16806000e 100644
--- a/civicrm/Civi/Api4/OpenID.php
+++ b/civicrm/Civi/Api4/OpenID.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,20 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
  * OpenID entity.
  *
  * @searchable secondary
+ * @since 5.19
  * @package Civi\Api4
  */
 class OpenID extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/OptionGroup.php b/civicrm/Civi/Api4/OptionGroup.php
index 26d5817ce089bcb35d9578d7111e2189453a890e..0f909bd6b0b77f4fa13f04da106b08c9be0478b2 100644
--- a/civicrm/Civi/Api4/OptionGroup.php
+++ b/civicrm/Civi/Api4/OptionGroup.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +15,7 @@ namespace Civi\Api4;
  *
  * @see \Civi\Api4\OptionValue
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class OptionGroup extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/OptionValue.php b/civicrm/Civi/Api4/OptionValue.php
index 7722160d8e2aa60866e2dfa9fe8c9bbc6af83d40..cccb88f6be551ee5f7ae36a2fb59a7b2c16d129e 100644
--- a/civicrm/Civi/Api4/OptionValue.php
+++ b/civicrm/Civi/Api4/OptionValue.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +15,7 @@ namespace Civi\Api4;
  *
  * @see \Civi\Api4\OptionGroup
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class OptionValue extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/PCPBlock.php b/civicrm/Civi/Api4/PCPBlock.php
index 0e7532a26ec01a0f11d8a22bdeb672ed319ffa22..e2f45b807f9e68c9465527ceb7f877873f26df52 100644
--- a/civicrm/Civi/Api4/PCPBlock.php
+++ b/civicrm/Civi/Api4/PCPBlock.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,19 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
  * PCP Block entity.
  *
  * @searchable secondary
+ * @since 5.34
  * @package Civi\Api4
  */
 class PCPBlock extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Participant.php b/civicrm/Civi/Api4/Participant.php
index 9658035310025d34e65f89b2d26da07f8cc5c73c..425020067ebd2906593d24b0689f77d4ba29bfd9 100644
--- a/civicrm/Civi/Api4/Participant.php
+++ b/civicrm/Civi/Api4/Participant.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,19 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
  * Participant entity, stores the participation record of a contact in an event.
  *
  * @searchable primary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Participant extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/PaymentProcessor.php b/civicrm/Civi/Api4/PaymentProcessor.php
index f88f88da5564bad72110ed8b053734f93d9b621c..761fa58c2120a3cf795d8ec8bea5d177c184c690 100644
--- a/civicrm/Civi/Api4/PaymentProcessor.php
+++ b/civicrm/Civi/Api4/PaymentProcessor.php
@@ -8,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -23,6 +16,7 @@ namespace Civi\Api4;
  * @see https://docs.civicrm.org/sysadmin/en/latest/setup/payment-processors/
  *
  * @searchable none
+ * @since 5.23
  * @package Civi\Api4
  */
 class PaymentProcessor extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/PaymentProcessorType.php b/civicrm/Civi/Api4/PaymentProcessorType.php
index 5b41c808590cedf6deb5fd1f2094218e0747276b..bc60c6180d95a55318c4068f56e63dd9e354a09b 100644
--- a/civicrm/Civi/Api4/PaymentProcessorType.php
+++ b/civicrm/Civi/Api4/PaymentProcessorType.php
@@ -8,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -23,6 +16,7 @@ namespace Civi\Api4;
  * @see \Civi\Api4\PaymentProcessor
  *
  * @searchable none
+ * @since 5.23
  * @package Civi\Api4
  */
 class PaymentProcessorType extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/PaymentToken.php b/civicrm/Civi/Api4/PaymentToken.php
index c4fca79d5cc3434cef88eab7fab981783c8a0900..f1fb0d38f14c20adc3012d8a9b1d4d5faefb711c 100644
--- a/civicrm/Civi/Api4/PaymentToken.php
+++ b/civicrm/Civi/Api4/PaymentToken.php
@@ -8,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -23,6 +16,7 @@ namespace Civi\Api4;
  * @see https://docs.civicrm.org/user/en/latest/contributions/payment-processors/#managing-recurring-contributions
  *
  * @searchable secondary
+ * @since 5.37
  * @package Civi\Api4
  */
 class PaymentToken extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Permission.php b/civicrm/Civi/Api4/Permission.php
index f046cbf888a51b380d0f206a565513843279a88c..07bf9ff34060ac474881a62f8cdc0c801ad743a2 100644
--- a/civicrm/Civi/Api4/Permission.php
+++ b/civicrm/Civi/Api4/Permission.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +18,7 @@ namespace Civi\Api4;
  * on top of permissions!) or during install/uninstall processes.
  *
  * @searchable none
+ * @since 5.34
  * @package Civi\Api4
  */
 class Permission extends Generic\AbstractEntity {
diff --git a/civicrm/Civi/Api4/Phone.php b/civicrm/Civi/Api4/Phone.php
index 38e857555050be156da6cd7b3659bea24929c614..8eeedf8de5b0a17a5fcf9ecbe6e4f6c00a25bce1 100644
--- a/civicrm/Civi/Api4/Phone.php
+++ b/civicrm/Civi/Api4/Phone.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -27,6 +18,7 @@ namespace Civi\Api4;
  * Creating a new phone of a contact, requires at minimum a contact's ID and phone number
  *
  * @searchable secondary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Phone extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Pledge.php b/civicrm/Civi/Api4/Pledge.php
index c946d4905f2755d41b0795dfc9ce12ce9ac94ac1..c571f9d464fdd2836c93048387980b9fe80be3a4 100644
--- a/civicrm/Civi/Api4/Pledge.php
+++ b/civicrm/Civi/Api4/Pledge.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,12 +8,14 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
 namespace Civi\Api4;
 
 /**
  * Pledge entity.
  *
+ * @see https://docs.civicrm.org/user/en/latest/pledges/what-is-civipledge/
+ * @searchable primary
+ * @since 5.35
  * @package Civi\Api4
  */
 class Pledge extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/PledgePayment.php b/civicrm/Civi/Api4/PledgePayment.php
index daa7ffad83b2b288afe30dd58754d84ee2904b90..bd3b43108b092d833bb144bf829fed1b9e88b289 100644
--- a/civicrm/Civi/Api4/PledgePayment.php
+++ b/civicrm/Civi/Api4/PledgePayment.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,20 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
  * PledgePayment entity.
  *
  * @searchable secondary
+ * @since 5.35
  * @package Civi\Api4
  */
 class PledgePayment extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/PriceField.php b/civicrm/Civi/Api4/PriceField.php
index 341a70bbf61d67545e1430100bc1fbbebb831cdf..0e8e7d11e2a0a1110f90297b8a6a02e989cec39e 100644
--- a/civicrm/Civi/Api4/PriceField.php
+++ b/civicrm/Civi/Api4/PriceField.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
 namespace Civi\Api4;
 
 /**
  * PriceField entity.
  *
  * @searchable secondary
+ * @since 5.27
  * @package Civi\Api4
  */
 class PriceField extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/PriceFieldValue.php b/civicrm/Civi/Api4/PriceFieldValue.php
index d9bb5f578b4315f563b1dab00b6e37eb8b93afa7..f5bb0372614e08a2d5cd441ef8e3d6bc729b075f 100644
--- a/civicrm/Civi/Api4/PriceFieldValue.php
+++ b/civicrm/Civi/Api4/PriceFieldValue.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
 namespace Civi\Api4;
 
 /**
  * PriceFieldValue entity.
  *
  * @searchable secondary
+ * @since 5.27
  * @package Civi\Api4
  */
 class PriceFieldValue extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/PriceSet.php b/civicrm/Civi/Api4/PriceSet.php
index df178613cafcfc5719338f9bde898aa94c560238..5b09ef830ed1feec13aa434b0366a7d3147ed4a2 100644
--- a/civicrm/Civi/Api4/PriceSet.php
+++ b/civicrm/Civi/Api4/PriceSet.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
 namespace Civi\Api4;
 
 /**
  * PriceSet entity.
  *
  * @searchable secondary
+ * @since 5.27
  * @package Civi\Api4
  */
 class PriceSet extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Query/Api4SelectQuery.php b/civicrm/Civi/Api4/Query/Api4SelectQuery.php
index 27b232d8c4ca25646aec21dd6e24230dcdc24040..452a75bb1e16006af6b19b4a54ae547723c3be34 100644
--- a/civicrm/Civi/Api4/Query/Api4SelectQuery.php
+++ b/civicrm/Civi/Api4/Query/Api4SelectQuery.php
@@ -11,6 +11,7 @@
 
 namespace Civi\Api4\Query;
 
+use Civi\API\Exception\UnauthorizedException;
 use Civi\Api4\Service\Schema\Joinable\CustomGroupJoinable;
 use Civi\Api4\Utils\FormattingUtil;
 use Civi\Api4\Utils\CoreUtil;
@@ -88,7 +89,8 @@ class Api4SelectQuery {
     $this->api = $apiGet;
 
     // Always select ID of main table unless grouping by something else
-    $this->forceSelectId = !$this->isAggregateQuery() || $this->getGroupBy() === ['id'];
+    $keys = CoreUtil::getInfoItem($this->getEntity(), 'primary_key');
+    $this->forceSelectId = !$this->isAggregateQuery() || array_intersect($this->getGroupBy(), $keys);
 
     // Build field lists
     foreach ($this->api->entityFields() as $field) {
@@ -203,7 +205,8 @@ class Api4SelectQuery {
     }
     else {
       if ($this->forceSelectId) {
-        $select = array_merge(['id'], $select);
+        $keys = CoreUtil::getInfoItem($this->getEntity(), 'primary_key');
+        $select = array_merge($keys, $select);
       }
 
       // Expand the superstar 'custom.*' to select all fields in all custom groups
@@ -228,8 +231,10 @@ class Api4SelectQuery {
       foreach ($wildFields as $wildField) {
         $pos = array_search($wildField, array_values($select));
         // If the joined_entity.id isn't in the fieldspec already, autoJoinFK will attempt to add the entity.
-        $idField = substr($wildField, 0, strrpos($wildField, '.')) . '.id';
-        $this->autoJoinFK($idField);
+        $fkField = substr($wildField, 0, strrpos($wildField, '.'));
+        $fkEntity = $this->getField($fkField)['fk_entity'] ?? NULL;
+        $id = $fkEntity ? CoreUtil::getInfoItem($fkEntity, 'primary_key')[0] : 'id';
+        $this->autoJoinFK($fkField . ".$id");
         $matches = $this->selectMatchingFields($wildField);
         array_splice($select, $pos, 1, $matches);
       }
@@ -241,9 +246,8 @@ class Api4SelectQuery {
       foreach ($expr->getFields() as $fieldName) {
         $field = $this->getField($fieldName);
         // Remove expressions with unknown fields without raising an error
-        if (!$field || !in_array($field['type'], ['Field', 'Custom'], TRUE)) {
+        if (!$field || $field['type'] === 'Filter') {
           $select = array_diff($select, [$item]);
-          $this->debug('undefined_fields', $fieldName);
           $valid = FALSE;
         }
       }
@@ -267,7 +271,7 @@ class Api4SelectQuery {
   private function selectMatchingFields($pattern) {
     // Only core & custom fields can be selected
     $availableFields = array_filter($this->apiFieldSpec, function($field) {
-      return in_array($field['type'], ['Field', 'Custom'], TRUE);
+      return is_array($field) && in_array($field['type'], ['Field', 'Custom'], TRUE);
     });
     return SelectUtil::getMatchingFields($pattern, array_keys($availableFields));
   }
@@ -291,7 +295,10 @@ class Api4SelectQuery {
    */
   protected function buildHavingClause() {
     foreach ($this->getHaving() as $clause) {
-      $this->query->having($this->treeWalkClauses($clause, 'HAVING'));
+      $sql = $this->treeWalkClauses($clause, 'HAVING');
+      if ($sql) {
+        $this->query->having($sql);
+      }
     }
   }
 
@@ -321,6 +328,11 @@ class Api4SelectQuery {
       }
       // If the expression could not be rendered, it might be a field alias
       catch (\API_Exception $e) {
+        // Silently ignore fields the user lacks permission to see
+        if (is_a($e, 'Civi\API\Exception\UnauthorizedException')) {
+          $this->debug('unauthorized_fields', $item);
+          continue;
+        }
         if (!empty($this->selectAliases[$item])) {
           $column = '`' . $item . '`';
         }
@@ -395,7 +407,13 @@ class Api4SelectQuery {
         return 'NOT (' . $this->treeWalkClauses($clause[1], $type, $depth + 1) . ')';
 
       default:
-        return $this->composeClause($clause, $type, $depth);
+        try {
+          return $this->composeClause($clause, $type, $depth);
+        }
+        // Silently ignore fields the user lacks permission to see
+        catch (UnauthorizedException $e) {
+          return '';
+        }
     }
   }
 
@@ -421,7 +439,7 @@ class Api4SelectQuery {
     if ($type === 'WHERE') {
       $field = $this->getField($expr, TRUE);
       FormattingUtil::formatInputValue($value, $expr, $field, $operator);
-      $fieldAlias = $field['sql_name'];
+      $fieldAlias = $this->getExpression($expr)->render($this->apiFieldSpec);
     }
     // For HAVING, expr must be an item in the SELECT clause
     elseif ($type === 'HAVING') {
@@ -452,7 +470,12 @@ class Api4SelectQuery {
         }
       }
       if (!isset($fieldAlias)) {
-        throw new \API_Exception("Invalid expression in HAVING clause: '$expr'. Must use a value from SELECT clause.");
+        if (in_array($expr, $this->getSelect())) {
+          throw new UnauthorizedException("Unauthorized field '$expr'");
+        }
+        else {
+          throw new \API_Exception("Invalid expression in HAVING clause: '$expr'. Must use a value from SELECT clause.");
+        }
       }
       $fieldAlias = '`' . $fieldAlias . '`';
     }
@@ -502,7 +525,7 @@ class Api4SelectQuery {
     if (!empty($field['sql_filters'])) {
       $sql = [];
       foreach ($field['sql_filters'] as $filter) {
-        $clause = is_callable($filter) ? $filter($fieldAlias, $operator, $value, $this, $depth) : NULL;
+        $clause = is_callable($filter) ? $filter($field, $fieldAlias, $operator, $value, $this, $depth) : NULL;
         if ($clause) {
           $sql[] = $clause;
         }
@@ -540,6 +563,9 @@ class Api4SelectQuery {
         return "($fieldAlias $isEmptyClause $fieldAlias $operator)";
       }
     }
+    if (is_bool($value)) {
+      $value = (int) $value;
+    }
 
     return \CRM_Core_DAO::createSQLFilter($fieldAlias, [$operator => $value]);
   }
@@ -603,9 +629,15 @@ class Api4SelectQuery {
       $this->autoJoinFK($fieldName);
     }
     $field = $this->apiFieldSpec[$fieldName] ?? NULL;
-    if ($strict && !$field) {
+    if (!$field) {
+      $this->debug($field === FALSE ? 'unauthorized_fields' : 'undefined_fields', $fieldName);
+    }
+    if ($strict && $field === NULL) {
       throw new \API_Exception("Invalid field '$fieldName'");
     }
+    if ($strict && $field === FALSE) {
+      throw new UnauthorizedException("Unauthorized field '$fieldName'");
+    }
     if ($field) {
       $this->apiFieldSpec[$expr] = $field;
     }
@@ -723,7 +755,7 @@ class Api4SelectQuery {
     // If we're not explicitly referencing the ID (or some other FK field) of the joinEntity, search for a default
     if (!$explicitFK) {
       foreach ($this->apiFieldSpec as $name => $field) {
-        if ($field['entity'] !== $joinEntity && $field['fk_entity'] === $joinEntity) {
+        if (is_array($field) && $field['entity'] !== $joinEntity && $field['fk_entity'] === $joinEntity) {
           $conditions[] = $this->treeWalkClauses([$name, '=', "$alias.id"], 'ON');
         }
         elseif (strpos($name, "$alias.") === 0 && substr_count($name, '.') === 1 && $field['fk_entity'] === $this->getEntity()) {
@@ -787,7 +819,9 @@ class Api4SelectQuery {
     else {
       $joinEntityClass = CoreUtil::getApiClass($joinEntity);
       foreach ($joinEntityClass::get($this->getCheckPermissions())->entityFields() as $name => $field) {
-        $bridgeFields[$field['column_name']] = '`' . $joinAlias . '`.`' . $field['column_name'] . '`';
+        if ($field['type'] === 'Field') {
+          $bridgeFields[$field['column_name']] = '`' . $joinAlias . '`.`' . $field['column_name'] . '`';
+        }
       }
       $select = implode(',', $bridgeFields);
       $joinConditions = array_merge($joinConditions, $bridgeConditions);
@@ -806,16 +840,13 @@ class Api4SelectQuery {
    * @throws \API_Exception
    */
   private function getBridgeRefs(string $bridgeEntity, string $joinEntity): array {
-    /* @var \Civi\Api4\Generic\DAOEntity $bridgeEntityClass */
-    $bridgeEntityClass = CoreUtil::getApiClass($bridgeEntity);
-    $bridgeInfo = $bridgeEntityClass::getInfo();
-    $bridgeFields = $bridgeInfo['bridge'] ?? [];
+    $bridgeFields = CoreUtil::getInfoItem($bridgeEntity, 'bridge') ?? [];
     // Sanity check - bridge entity should declare exactly 2 FK fields
     if (count($bridgeFields) !== 2) {
       throw new \API_Exception("Illegal bridge entity specified: $bridgeEntity. Expected 2 bridge fields, found " . count($bridgeFields));
     }
     /* @var \CRM_Core_DAO $bridgeDAO */
-    $bridgeDAO = $bridgeInfo['dao'];
+    $bridgeDAO = CoreUtil::getInfoItem($bridgeEntity, 'dao');
     $bridgeTable = $bridgeDAO::getTableName();
 
     // Get the 2 bridge reference columns as CRM_Core_Reference_* objects
@@ -872,7 +903,7 @@ class Api4SelectQuery {
     $bridgeFkFields = [$joinRef->getReferenceKey(), $joinRef->getTypeColumn(), $baseRef->getReferenceKey(), $baseRef->getTypeColumn()];
     $bridgeEntityClass = CoreUtil::getApiClass($bridgeEntity);
     foreach ($bridgeEntityClass::get($this->getCheckPermissions())->entityFields() as $name => $field) {
-      if ($name === 'id' || ($side === 'INNER' && in_array($name, $bridgeFkFields, TRUE))) {
+      if ($field['type'] !== 'Field' || $name === 'id' || ($side === 'INNER' && in_array($name, $bridgeFkFields, TRUE))) {
         continue;
       }
       // For INNER joins, these fields get a sql alias pointing to the bridge entity,
@@ -959,6 +990,7 @@ class Api4SelectQuery {
       return;
     }
     $lastLink = array_pop($joinPath);
+    $previousLink = array_pop($joinPath);
 
     // Custom field names are already prefixed
     $isCustom = $lastLink instanceof CustomGroupJoinable;
@@ -969,7 +1001,15 @@ class Api4SelectQuery {
     // Cache field info for retrieval by $this->getField()
     foreach ($lastLink->getEntityFields() as $fieldObject) {
       $fieldArray = $fieldObject->toArray();
-      $fieldArray['sql_name'] = '`' . $lastLink->getAlias() . '`.`' . $fieldArray['column_name'] . '`';
+      // Set sql name of field, using column name for real joins
+      if (!$lastLink->getSerialize()) {
+        $fieldArray['sql_name'] = '`' . $lastLink->getAlias() . '`.`' . $fieldArray['column_name'] . '`';
+      }
+      // For virtual joins on serialized fields, the callback function will need the sql name of the serialized field
+      // @see self::renderSerializedJoin()
+      else {
+        $fieldArray['sql_name'] = '`' . $previousLink->getAlias() . '`.`' . $lastLink->getBaseColumn() . '`';
+      }
       $this->addSpecField($prefix . $fieldArray['name'], $fieldArray);
     }
   }
@@ -988,6 +1028,27 @@ class Api4SelectQuery {
     }
   }
 
+  /**
+   * Performs a virtual join with a serialized field using FIND_IN_SET
+   *
+   * @param array $field
+   * @return string
+   */
+  public static function renderSerializedJoin(array $field): string {
+    $sep = \CRM_Core_DAO::VALUE_SEPARATOR;
+    $id = CoreUtil::getInfoItem($field['entity'], 'primary_key')[0];
+    $searchFn = "FIND_IN_SET(`{$field['table_name']}`.`$id`, REPLACE({$field['sql_name']}, '$sep', ','))";
+    return "(
+      SELECT GROUP_CONCAT(
+        `{$field['column_name']}`
+        ORDER BY $searchFn
+        SEPARATOR '$sep'
+      )
+      FROM `{$field['table_name']}`
+      WHERE $searchFn
+    )";
+  }
+
   /**
    * @return FALSE|string
    */
diff --git a/civicrm/Civi/Api4/Query/SqlField.php b/civicrm/Civi/Api4/Query/SqlField.php
index b6f69f4d5fb0744df03265abd522fa3b9c1796b5..6180fbf1b4ddde73f70254a2956dd5c9b8665c4e 100644
--- a/civicrm/Civi/Api4/Query/SqlField.php
+++ b/civicrm/Civi/Api4/Query/SqlField.php
@@ -11,6 +11,8 @@
 
 namespace Civi\Api4\Query;
 
+use Civi\API\Exception\UnauthorizedException;
+
 /**
  * Sql column expression
  */
@@ -26,9 +28,16 @@ class SqlField extends SqlExpression {
   }
 
   public function render(array $fieldList): string {
-    if (empty($fieldList[$this->expr])) {
+    if (!isset($fieldList[$this->expr])) {
       throw new \API_Exception("Invalid field '{$this->expr}'");
     }
+    if ($fieldList[$this->expr] === FALSE) {
+      throw new UnauthorizedException("Unauthorized field '{$this->expr}'");
+    }
+    if (!empty($fieldList[$this->expr]['sql_renderer'])) {
+      $renderer = $fieldList[$this->expr]['sql_renderer'];
+      return $renderer($fieldList[$this->expr]);
+    }
     return $fieldList[$this->expr]['sql_name'];
   }
 
diff --git a/civicrm/Civi/Api4/Query/SqlFunction.php b/civicrm/Civi/Api4/Query/SqlFunction.php
index ef5d7747f259a5b5252f137a4e1dd08a1d808e3a..c6c4f93e4e041edcbb66d682b8477d727f385d4d 100644
--- a/civicrm/Civi/Api4/Query/SqlFunction.php
+++ b/civicrm/Civi/Api4/Query/SqlFunction.php
@@ -97,7 +97,6 @@ abstract class SqlFunction extends SqlExpression {
       $expr = SqlExpression::convert($item, FALSE, $mustBe, $cantBe);
       $this->fields = array_merge($this->fields, $expr->getFields());
       $captured[] = $expr;
-      $captured++;
       // Keep going if we have a comma indicating another expression follows
       if (count($captured) < $limit && substr($arg, 0, 1) === ',') {
         $arg = ltrim(substr($arg, 1));
diff --git a/civicrm/Civi/Api4/Query/SqlFunctionCOUNT.php b/civicrm/Civi/Api4/Query/SqlFunctionCOUNT.php
index 2ab3d661630f9da57e8944502ddfb8f70e854c60..19ddd4ceba6f1fa61730bd9b212b954c51926e4d 100644
--- a/civicrm/Civi/Api4/Query/SqlFunctionCOUNT.php
+++ b/civicrm/Civi/Api4/Query/SqlFunctionCOUNT.php
@@ -32,9 +32,12 @@ class SqlFunctionCOUNT extends SqlFunction {
    *
    * @see \Civi\Api4\Utils\FormattingUtil::formatOutputValues
    * @param string $value
+   * @param string $dataType
    * @return string|array
    */
-  public function formatOutputValue($value) {
+  public function formatOutputValue($value, &$dataType) {
+    // Count is always an integer
+    $dataType = 'Integer';
     return (int) $value;
   }
 
diff --git a/civicrm/Civi/Api4/Query/SqlFunctionGROUP_CONCAT.php b/civicrm/Civi/Api4/Query/SqlFunctionGROUP_CONCAT.php
index fb618e0ac7c02eab3b56e865a960847635007fcb..0e0f7525b8bad3084a8a92aa9c6e80da1fd2557d 100644
--- a/civicrm/Civi/Api4/Query/SqlFunctionGROUP_CONCAT.php
+++ b/civicrm/Civi/Api4/Query/SqlFunctionGROUP_CONCAT.php
@@ -51,12 +51,22 @@ class SqlFunctionGROUP_CONCAT extends SqlFunction {
    *
    * @see \Civi\Api4\Utils\FormattingUtil::formatOutputValues
    * @param string $value
+   * @param string $dataType
    * @return string|array
    */
-  public function formatOutputValue($value) {
+  public function formatOutputValue($value, &$dataType) {
     $exprArgs = $this->getArgs();
+    // By default, values are split into an array and formatted according to the field's dataType
     if (!$exprArgs[2]['prefix']) {
       $value = explode(\CRM_Core_DAO::VALUE_SEPARATOR, $value);
+      // If the first expression is another sqlFunction then unset $dataType to preserve raw string
+      if ($exprArgs[0]['expr'][0] instanceof SqlFunction) {
+        $dataType = NULL;
+      }
+    }
+    // If using custom separator, unset $dataType to preserve raw string
+    else {
+      $dataType = NULL;
     }
     return $value;
   }
diff --git a/civicrm/Civi/Api4/Relationship.php b/civicrm/Civi/Api4/Relationship.php
index cc5a55c5c76b709684e4f12509437bbc3bc5a718..bed75391c4c230e01aa1d9617036d956aed80996 100644
--- a/civicrm/Civi/Api4/Relationship.php
+++ b/civicrm/Civi/Api4/Relationship.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +15,7 @@ namespace Civi\Api4;
  *
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/relationships/
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class Relationship extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/RelationshipCache.php b/civicrm/Civi/Api4/RelationshipCache.php
index 7a4b774fbc536a602c406c06d36a4b1feee931f9..e0d2713fc99a3e9195c26d894bae5d812f537224 100644
--- a/civicrm/Civi/Api4/RelationshipCache.php
+++ b/civicrm/Civi/Api4/RelationshipCache.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -25,6 +16,7 @@ namespace Civi\Api4;
  * @searchable secondary
  * @see \Civi\Api4\Relationship
  * @ui_join_filters near_relation
+ * @since 5.29
  * @package Civi\Api4
  */
 class RelationshipCache extends Generic\AbstractEntity {
diff --git a/civicrm/Civi/Api4/RelationshipType.php b/civicrm/Civi/Api4/RelationshipType.php
index 774da48432afee9ed3d0bcced3c6702b340561f4..a46723a051b3170aaabf3bd279b455840551bb53 100644
--- a/civicrm/Civi/Api4/RelationshipType.php
+++ b/civicrm/Civi/Api4/RelationshipType.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -25,6 +16,7 @@ namespace Civi\Api4;
  * @see \Civi\Api4\Relationship
  *
  * @searchable secondary
+ * @since 5.19
  * @package Civi\Api4
  */
 class RelationshipType extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Route.php b/civicrm/Civi/Api4/Route.php
index f40444037c7375ce412b6b31467101abf5862faa..ec735eb8473703ae8b2ab7b480856381d269d976 100644
--- a/civicrm/Civi/Api4/Route.php
+++ b/civicrm/Civi/Api4/Route.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
@@ -27,6 +19,7 @@ namespace Civi\Api4;
  *
  * @see https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_alterMenu/
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class Route extends \Civi\Api4\Generic\AbstractEntity {
diff --git a/civicrm/Civi/Api4/SavedSearch.php b/civicrm/Civi/Api4/SavedSearch.php
index 26a8994645fc317eca2ffcbc425e539c2502f5c1..281de180200c0eff65cca28ec14b9cf0afc90087 100644
--- a/civicrm/Civi/Api4/SavedSearch.php
+++ b/civicrm/Civi/Api4/SavedSearch.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +17,7 @@ namespace Civi\Api4;
  *
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/smart-groups/
  * @searchable none
+ * @since 5.24
  * @package Civi\Api4
  */
 class SavedSearch extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Service/Schema/Joinable/ActivityToActivityContactAssigneesJoinable.php b/civicrm/Civi/Api4/Service/Schema/Joinable/ActivityToActivityContactAssigneesJoinable.php
deleted file mode 100644
index b7da530eac9759d3f5c7bef5793d4a95b78d6750..0000000000000000000000000000000000000000
--- a/civicrm/Civi/Api4/Service/Schema/Joinable/ActivityToActivityContactAssigneesJoinable.php
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-
-/*
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC. All rights reserved.                        |
- |                                                                    |
- | This work is published under the GNU AGPLv3 license with some      |
- | permitted exceptions and without any warranty. For full license    |
- | and copyright information, see https://civicrm.org/licensing       |
- +--------------------------------------------------------------------+
- */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
-namespace Civi\Api4\Service\Schema\Joinable;
-
-class ActivityToActivityContactAssigneesJoinable extends Joinable {
-  /**
-   * @var string
-   */
-  protected $baseTable = 'civicrm_activity';
-
-  /**
-   * @var string
-   */
-  protected $baseColumn = 'id';
-
-  /**
-   * @param $alias
-   */
-  public function __construct($alias) {
-    $optionValueTable = 'civicrm_option_value';
-    $optionGroupTable = 'civicrm_option_group';
-
-    $subSubSelect = sprintf(
-      'SELECT id FROM %s WHERE name = "%s"',
-      $optionGroupTable,
-      'activity_contacts'
-    );
-
-    $subSelect = sprintf(
-      'SELECT value FROM %s WHERE name = "%s" AND option_group_id = (%s)',
-      $optionValueTable,
-      'Activity Assignees',
-      $subSubSelect
-    );
-
-    $this->addCondition(sprintf('%s.record_type_id = (%s)', $alias, $subSelect));
-    parent::__construct('civicrm_activity_contact', 'activity_id', $alias);
-  }
-
-}
diff --git a/civicrm/Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php b/civicrm/Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php
index d77de0ed1d4797227fdd3b513a62cf3ab001e716..4bff31bf69cad099d5da86bf6b762ae502b41b4b 100644
--- a/civicrm/Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php
+++ b/civicrm/Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Schema\Joinable;
 
 use Civi\Api4\CustomField;
@@ -60,11 +53,11 @@ class CustomGroupJoinable extends Joinable {
     $entityFields = (array) \Civi::cache('metadata')->get($cacheKey);
     if (!$entityFields) {
       $fields = CustomField::get(FALSE)
-        ->setSelect(['custom_group.name', 'custom_group.extends', 'custom_group.table_name', 'custom_group.title', '*'])
-        ->addWhere('custom_group.table_name', '=', $this->getTargetTable())
+        ->setSelect(['custom_group_id.name', 'custom_group_id.extends', 'custom_group_id.table_name', 'custom_group_id.title', '*'])
+        ->addWhere('custom_group_id.table_name', '=', $this->getTargetTable())
         ->execute();
       foreach ($fields as $field) {
-        $entityFields[] = \Civi\Api4\Service\Spec\SpecFormatter::arrayToField($field, self::getEntityFromExtends($field['custom_group.extends']));
+        $entityFields[] = \Civi\Api4\Service\Spec\SpecFormatter::arrayToField($field, self::getEntityFromExtends($field['custom_group_id.extends']));
       }
       \Civi::cache('metadata')->set($cacheKey, $entityFields);
     }
diff --git a/civicrm/Civi/Api4/Service/Schema/Joinable/Joinable.php b/civicrm/Civi/Api4/Service/Schema/Joinable/Joinable.php
index b45b8c685604d3cd62b0707869601bc3cec935c2..52738aac81c1de8ec77d97d68e073f006bee43e7 100644
--- a/civicrm/Civi/Api4/Service/Schema/Joinable/Joinable.php
+++ b/civicrm/Civi/Api4/Service/Schema/Joinable/Joinable.php
@@ -10,17 +10,9 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Schema\Joinable;
 
 use Civi\Api4\Utils\CoreUtil;
-use CRM_Core_DAO_AllCoreTables as AllCoreTables;
 
 class Joinable {
 
@@ -78,6 +70,11 @@ class Joinable {
    */
   protected $entity;
 
+  /**
+   * @var int
+   */
+  protected $serialize;
+
   /**
    * @var bool
    */
@@ -239,6 +236,24 @@ class Joinable {
     return $this;
   }
 
+  /**
+   * @return int|NULL
+   */
+  public function getSerialize():? int {
+    return $this->serialize;
+  }
+
+  /**
+   * @param int|NULL $serialize
+   *
+   * @return $this
+   */
+  public function setSerialize(?int $serialize) {
+    $this->serialize = $serialize;
+
+    return $this;
+  }
+
   /**
    * @return int
    */
@@ -282,17 +297,21 @@ class Joinable {
   }
 
   /**
-   * @return \Civi\Api4\Service\Spec\FieldSpec[]
+   * @return \Civi\Api4\Service\Spec\RequestSpec
    */
   public function getEntityFields() {
-    $entityFields = [];
-    $bao = AllCoreTables::getClassForTable($this->getTargetTable());
-    if ($bao) {
-      foreach ($bao::getSupportedFields() as $field) {
-        $entityFields[] = \Civi\Api4\Service\Spec\SpecFormatter::arrayToField($field, $this->getEntity());
+    /** @var \Civi\Api4\Service\Spec\SpecGatherer $gatherer */
+    $gatherer = \Civi::container()->get('spec_gatherer');
+    $spec = $gatherer->getSpec($this->entity, 'get', FALSE);
+    // Serialized fields require a specialized join
+    if ($this->serialize) {
+      foreach ($spec as $field) {
+        // The callback function expects separated values as output
+        $field->setSerialize(\CRM_Core_DAO::SERIALIZE_SEPARATOR_TRIMMED);
+        $field->setSqlRenderer(['Civi\Api4\Query\Api4SelectQuery', 'renderSerializedJoin']);
       }
     }
-    return $entityFields;
+    return $spec;
   }
 
   /**
@@ -310,12 +329,7 @@ class Joinable {
    * @return \Civi\Api4\Service\Spec\FieldSpec|NULL
    */
   public function getField($fieldName) {
-    foreach ($this->getEntityFields() as $field) {
-      if ($field->getName() === $fieldName) {
-        return $field;
-      }
-    }
-    return NULL;
+    return $this->getEntityFields()->getFieldByName($fieldName);
   }
 
 }
diff --git a/civicrm/Civi/Api4/Service/Schema/Joiner.php b/civicrm/Civi/Api4/Service/Schema/Joiner.php
index ce92405683f640478139721b950218231c8a225e..353aed300b03d536b7ad94bc0b677a3ef8e067a7 100644
--- a/civicrm/Civi/Api4/Service/Schema/Joiner.php
+++ b/civicrm/Civi/Api4/Service/Schema/Joiner.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Schema;
 
 use Civi\API\Exception\UnauthorizedException;
@@ -77,6 +70,14 @@ class Joiner {
       if ($joinEntity && !$query->checkEntityAccess($joinEntity)) {
         throw new UnauthorizedException('Cannot join to ' . $joinEntity);
       }
+      if ($link->isDeprecated()) {
+        \CRM_Core_Error::deprecatedWarning("Deprecated join alias '$alias' used in APIv4 get. Should be changed to '{$alias}_id'");
+      }
+      // Serialized joins are rendered by Api4SelectQuery::renderSerializedJoin
+      if ($link->getSerialize()) {
+        // Virtual join, don't actually add this table
+        break;
+      }
 
       $bao = $joinEntity ? CoreUtil::getBAOFromApiName($joinEntity) : NULL;
       $conditions = $link->getConditionsForJoin($baseTableAlias);
diff --git a/civicrm/Civi/Api4/Service/Schema/SchemaMap.php b/civicrm/Civi/Api4/Service/Schema/SchemaMap.php
index 951d8242117e0b0df868c94f7a46bf425d6dd17b..ff360f12bdee48fed3a398ce3c906d1ab921a7f7 100644
--- a/civicrm/Civi/Api4/Service/Schema/SchemaMap.php
+++ b/civicrm/Civi/Api4/Service/Schema/SchemaMap.php
@@ -10,17 +10,8 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Schema;
 
-use Civi\Api4\Service\Schema\Joinable\BridgeJoinable;
-
 class SchemaMap {
 
   const MAX_JOIN_DEPTH = 3;
@@ -45,16 +36,7 @@ class SchemaMap {
       return $path;
     }
 
-    $this->findPaths($table, $targetTableAlias, 1, $path);
-
-    foreach ($path as $index => $pathLink) {
-      if ($pathLink instanceof BridgeJoinable) {
-        $start = array_slice($path, 0, $index);
-        $middle = [$pathLink->getMiddleLink()];
-        $end = array_slice($path, $index, count($path) - $index);
-        $path = array_merge($start, $middle, $end);
-      }
-    }
+    $this->findPaths($table, $targetTableAlias, $path);
 
     return $path;
   }
@@ -106,49 +88,19 @@ class SchemaMap {
   }
 
   /**
-   * Recursive function to traverse the schema looking for a path
+   * Traverse the schema looking for a path
    *
    * @param Table $table
    *   The current table to base fromm
    * @param string $target
    *   The target joinable table alias
-   * @param int $depth
-   *   The current level of recursion which reflects the number of joins needed
    * @param \Civi\Api4\Service\Schema\Joinable\Joinable[] $path
    *   (By-reference) The possible paths to the target table
-   * @param \Civi\Api4\Service\Schema\Joinable\Joinable[] $currentPath
-   *   For internal use only to track the path to reach the target table
    */
-  private function findPaths(Table $table, $target, $depth, &$path, $currentPath = []
-  ) {
-    static $visited = [];
-
-    // reset if new call
-    if ($depth === 1) {
-      $visited = [];
-    }
-
-    $canBeShorter = empty($path) || count($currentPath) + 1 < count($path);
-    $tooFar = $depth > self::MAX_JOIN_DEPTH;
-    $beenHere = in_array($table->getName(), $visited);
-
-    if ($tooFar || $beenHere || !$canBeShorter) {
-      return;
-    }
-
-    // prevent circular reference
-    $visited[] = $table->getName();
-
-    foreach ($table->getExternalLinks() as $link) {
+  private function findPaths(Table $table, $target, &$path) {
+    foreach ($table->getTableLinks() as $link) {
       if ($link->getAlias() === $target) {
-        $path = array_merge($currentPath, [$link]);
-      }
-      else {
-        $linkTable = $this->getTableByName($link->getTargetTable());
-        if ($linkTable) {
-          $nextStep = array_merge($currentPath, [$link]);
-          $this->findPaths($linkTable, $target, $depth + 1, $path, $nextStep);
-        }
+        $path[] = $link;
       }
     }
   }
diff --git a/civicrm/Civi/Api4/Service/Schema/SchemaMapBuilder.php b/civicrm/Civi/Api4/Service/Schema/SchemaMapBuilder.php
index 752e729caae116ed7b741da9700b12f10551d028..87c2816ab68855429466545a090bee40ae36e193 100644
--- a/civicrm/Civi/Api4/Service/Schema/SchemaMapBuilder.php
+++ b/civicrm/Civi/Api4/Service/Schema/SchemaMapBuilder.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Schema;
 
 use Civi\Api4\Entity;
@@ -75,8 +68,6 @@ class SchemaMapBuilder {
         $this->addCustomFields($map, $table, $data['name']);
       }
     }
-
-    $this->addBackReferences($map);
   }
 
   /**
@@ -105,49 +96,6 @@ class SchemaMapBuilder {
     }
   }
 
-  /**
-   * Loop through existing links and provide link from the other side
-   *
-   * @param SchemaMap $map
-   */
-  private function addBackReferences(SchemaMap $map) {
-    foreach ($map->getTables() as $table) {
-      foreach ($table->getTableLinks() as $link) {
-        $target = $map->getTableByName($link->getTargetTable());
-        $tableName = $link->getBaseTable();
-        // Exclude custom field tables
-        if (strpos($link->getTargetTable(), 'civicrm_value_') !== 0 && strpos($link->getBaseTable(), 'civicrm_value_') !== 0) {
-          $plural = str_replace('civicrm_', '', $this->getPlural($tableName));
-          $joinable = new Joinable($tableName, $link->getBaseColumn(), $plural);
-          $joinable->setJoinType($joinable::JOIN_TYPE_ONE_TO_MANY);
-          $target->addTableLink($link->getTargetColumn(), $joinable);
-        }
-      }
-    }
-  }
-
-  /**
-   * Simple implementation of pluralization.
-   * Could be replaced with symfony/inflector
-   *
-   * @param string $singular
-   *
-   * @return string
-   */
-  private function getPlural($singular) {
-    $last_letter = substr($singular, -1);
-    switch ($last_letter) {
-      case 'y':
-        return substr($singular, 0, -1) . 'ies';
-
-      case 's':
-        return $singular . 'es';
-
-      default:
-        return $singular . 's';
-    }
-  }
-
   /**
    * @param \Civi\Api4\Service\Schema\SchemaMap $map
    * @param \Civi\Api4\Service\Schema\Table $baseTable
@@ -161,7 +109,7 @@ class SchemaMapBuilder {
     }
     $fieldData = \CRM_Utils_SQL_Select::from('civicrm_custom_field f')
       ->join('custom_group', 'INNER JOIN civicrm_custom_group g ON g.id = f.custom_group_id')
-      ->select(['g.name as custom_group_name', 'g.table_name', 'g.is_multiple', 'f.name', 'f.data_type', 'label', 'column_name', 'option_group_id'])
+      ->select(['g.name as custom_group_name', 'g.table_name', 'g.is_multiple', 'f.name', 'f.data_type', 'label', 'column_name', 'option_group_id', 'serialize'])
       ->where('g.extends IN (@entity)', ['@entity' => $customInfo['extends']])
       ->where('g.is_active')
       ->where('f.is_active')
@@ -192,6 +140,9 @@ class SchemaMapBuilder {
 
       if ($fieldData->data_type === 'ContactReference') {
         $joinable = new Joinable('civicrm_contact', 'id', $fieldData->name);
+        if ($fieldData->serialize) {
+          $joinable->setSerialize((int) $fieldData->serialize);
+        }
         $customTable->addTableLink($fieldData->column_name, $joinable);
       }
     }
diff --git a/civicrm/Civi/Api4/Service/Schema/Table.php b/civicrm/Civi/Api4/Service/Schema/Table.php
index 57fd4a256d4a4adf877e01cf42fefe43443380ef..8d45e45ea28d6af28867e4202f48c040806403d7 100644
--- a/civicrm/Civi/Api4/Service/Schema/Table.php
+++ b/civicrm/Civi/Api4/Service/Schema/Table.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Schema;
 
 use Civi\Api4\Service\Schema\Joinable\Joinable;
diff --git a/civicrm/Civi/Api4/Service/Spec/CustomFieldSpec.php b/civicrm/Civi/Api4/Service/Spec/CustomFieldSpec.php
index c233a915818dc990febf3914a43a6b47c924279d..1d5b8fe5fb53c226ceb63a8f8f18fc353a9ec710 100644
--- a/civicrm/Civi/Api4/Service/Spec/CustomFieldSpec.php
+++ b/civicrm/Civi/Api4/Service/Spec/CustomFieldSpec.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec;
 
 class CustomFieldSpec extends FieldSpec {
diff --git a/civicrm/Civi/Api4/Service/Spec/FieldSpec.php b/civicrm/Civi/Api4/Service/Spec/FieldSpec.php
index 6bc6600955e2957760a07c654b067fd9186e31a3..f5733bac8a07e1b721dbb74b24113252177f099e 100644
--- a/civicrm/Civi/Api4/Service/Spec/FieldSpec.php
+++ b/civicrm/Civi/Api4/Service/Spec/FieldSpec.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec;
 
 class FieldSpec {
@@ -140,12 +133,17 @@ class FieldSpec {
    */
   public $outputFormatters;
 
+  /**
+   * @var callable
+   */
+  public $sqlRenderer;
 
   /**
    * @var callable[]
    */
   public $sqlFilters;
 
+
   /**
    * Aliases for the valid data types
    *
@@ -439,6 +437,16 @@ class FieldSpec {
     return $this;
   }
 
+  /**
+   * @param callable $sqlRenderer
+   * @return $this
+   */
+  public function setSqlRenderer($sqlRenderer) {
+    $this->sqlRenderer = $sqlRenderer;
+
+    return $this;
+  }
+
   /**
    * @param callable[] $sqlFilters
    * @return $this
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/ACLCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/ACLCreationSpecProvider.php
index f97bfdb6cfcb4ada23bfa06ce96336231af355e5..efa13bb6aea0c97e1d774205e95a19a870b1846e 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/ACLCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/ACLCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/ACLEntityRoleCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/ACLEntityRoleCreationSpecProvider.php
index 0b4b27d5200fd70e881838f7be3c2069d0728030..6c887ab832e770176799667eeeda43a4122b5c4f 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/ACLEntityRoleCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/ACLEntityRoleCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/ActionScheduleCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/ActionScheduleCreationSpecProvider.php
index d1c00975939311bdaf1c1e41379f879a07e3b823..adf8d8a4c72d62867a038d5c4d23c6dd23db552f 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/ActionScheduleCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/ActionScheduleCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/ActivitySpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/ActivitySpecProvider.php
index 8c5b824678ec61b9f7b7b8345d157edd716ce730..7188735293864c4365337d7050be418214f88b8e 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/ActivitySpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/ActivitySpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\FieldSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/AddressCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/AddressCreationSpecProvider.php
index b929cb9da5161d88988d6b541268ff79ea14f90a..89de3774548cd45c7cf390cd36640c97c54889fd 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/AddressCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/AddressCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/BatchCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/BatchCreationSpecProvider.php
index d45ae81e502f5849a07ee0010a023cdefca85d23..0294e32338c0c8a43438c43bb181618b860d979b 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/BatchCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/BatchCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/CampaignCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/CampaignCreationSpecProvider.php
index 24bfc5a179be7d7248a8b79914d2f5f04cabebaf..71807abc6c1926892416bc3af85fde39d5489878 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/CampaignCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/CampaignCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/CaseCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/CaseCreationSpecProvider.php
index 73b828cdf2a13eba13618c607f37199139d60e01..74d4665beb71b3bc1c490e3d872fe3935f5d5358 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/CaseCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/CaseCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\FieldSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/CaseTypeGetSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/CaseTypeGetSpecProvider.php
index cd746a5585184cb4cfc05c6d5a27084652beaf36..2d2c9cb9d58a87619081d7575debb542937d3fd3 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/CaseTypeGetSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/CaseTypeGetSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/ContactCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/ContactCreationSpecProvider.php
index 8bbd33354268234422392392877accd0cef63b43..ac13bcba8186c904b2951d3b0d68ca75e4b26861 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/ContactCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/ContactCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/ContactGetSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/ContactGetSpecProvider.php
index 8f3683a15f5b20b779965620224bb2f128a28886..2d178bf4bdea58a15f9609eb9a38d508eac3d2a6 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/ContactGetSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/ContactGetSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Query\Api4SelectQuery;
@@ -52,6 +45,7 @@ class ContactGetSpecProvider implements Generic\SpecProviderInterface {
   }
 
   /**
+   * @param array $field
    * @param string $fieldAlias
    * @param string $operator
    * @param mixed $value
@@ -59,7 +53,7 @@ class ContactGetSpecProvider implements Generic\SpecProviderInterface {
    * @param int $depth
    * return string
    */
-  public static function getContactGroupSql(string $fieldAlias, string $operator, $value, Api4SelectQuery $query, int $depth): string {
+  public static function getContactGroupSql(array $field, string $fieldAlias, string $operator, $value, Api4SelectQuery $query, int $depth): string {
     $tempTable = \CRM_Utils_SQL_TempTable::build();
     $tempTable->createWithColumns('contact_id INT');
     $tableName = $tempTable->getName();
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/CustomFieldCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/CustomFieldCreationSpecProvider.php
index 2461c9345181fb8dbc65fe183ea9984d8c8eabac..4271fbf92668c7ae8c6f3f24a87611ec7652a442 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/CustomFieldCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/CustomFieldCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\FieldSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/CustomGroupCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/CustomGroupCreationSpecProvider.php
index 925f415681ef4b3e63f658156e1eb00385354ee8..726134b38124ff76c55e16eb77b8c0533e4ac1f8 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/CustomGroupCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/CustomGroupCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/CustomValueSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/CustomValueSpecProvider.php
index 3cc363afc7cf7b7051a167e9777c74424be5a826..3d2c635e3393498432bae936236161f69c2ae95a 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/CustomValueSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/CustomValueSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\FieldSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/DefaultLocationTypeProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/DefaultLocationTypeProvider.php
index 7c321631617426311581b8b8ed493d57f274ba38..14cf96061f303474c5425927dd66d711068ba2aa 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/DefaultLocationTypeProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/DefaultLocationTypeProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/EmailCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/EmailCreationSpecProvider.php
index bb6e0c72ab66e3009a9b362795a17eeb225951c0..048135483019a7a400539cf157dd21e2ac47a992 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/EmailCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/EmailCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/EntityTagCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/EntityTagCreationSpecProvider.php
index 87f94da38da9a5ce55f2b1818c0e4708ad826385..14c6f91b50955b8ea1502237b8250d6e5b7bd547 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/EntityTagCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/EntityTagCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/EntityTagFilterSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/EntityTagFilterSpecProvider.php
new file mode 100644
index 0000000000000000000000000000000000000000..dbe6efab673a655ac04b6edb219eb9447ad6e219
--- /dev/null
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/EntityTagFilterSpecProvider.php
@@ -0,0 +1,98 @@
+<?php
+
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+namespace Civi\Api4\Service\Spec\Provider;
+
+use Civi\API\Request;
+use Civi\Api4\Generic\Result;
+use Civi\Api4\Query\Api4SelectQuery;
+use Civi\Api4\Service\Spec\FieldSpec;
+use Civi\Api4\Service\Spec\RequestSpec;
+use Civi\Api4\Utils\CoreUtil;
+
+class EntityTagFilterSpecProvider implements Generic\SpecProviderInterface {
+
+  /**
+   * @param \Civi\Api4\Service\Spec\RequestSpec $spec
+   */
+  public function modifySpec(RequestSpec $spec) {
+    $field = new FieldSpec('tags', $spec->getEntity(), 'Array');
+    $field->setLabel(ts('With Tags'))
+      ->setTitle(ts('Tags'))
+      ->setColumnName('id')
+      ->setDescription(ts('Filter by tags (including child tags)'))
+      ->setType('Filter')
+      ->setOperators(['IN', 'NOT IN'])
+      ->addSqlFilter([__CLASS__, 'getTagFilterSql'])
+      ->setOptionsCallback([__CLASS__, 'getTagList']);
+    $spec->addFieldSpec($field);
+  }
+
+  /**
+   * @param string $entity
+   * @param string $action
+   *
+   * @return bool
+   */
+  public function applies($entity, $action) {
+    if ($action !== 'get') {
+      return FALSE;
+    }
+    $usedFor = \CRM_Core_OptionGroup::values('tag_used_for', FALSE, FALSE, FALSE, NULL, 'name');
+    return in_array($entity, $usedFor, TRUE);
+  }
+
+  /**
+   * @param array $field
+   * @param string $fieldAlias
+   * @param string $operator
+   * @param mixed $value
+   * @param \Civi\Api4\Query\Api4SelectQuery $query
+   * @param int $depth
+   * return string
+   */
+  public static function getTagFilterSql(array $field, string $fieldAlias, string $operator, $value, Api4SelectQuery $query, int $depth): string {
+    $tableName = CoreUtil::getTableName($field['entity']);
+    $tagTree = \CRM_Core_BAO_Tag::getChildTags();
+    foreach ($value as $tagID) {
+      if (!empty($tagTree[$tagID])) {
+        $value = array_unique(array_merge($value, $tagTree[$tagID]));
+      }
+    }
+    $tags = \CRM_Utils_Type::validate(implode(',', $value), 'CommaSeparatedIntegers');
+    return "$fieldAlias $operator (SELECT entity_id FROM `civicrm_entity_tag` WHERE entity_table = '$tableName' AND tag_id IN ($tags))";
+  }
+
+  /**
+   * Callback function to build option list for tags filters.
+   *
+   * @param \Civi\Api4\Service\Spec\FieldSpec $spec
+   * @param array $values
+   * @param bool|array $returnFormat
+   * @param bool $checkPermissions
+   * @return array
+   */
+  public static function getTagList($spec, $values, $returnFormat, $checkPermissions) {
+    $table = CoreUtil::getTableName($spec->getEntity());
+    $result = new Result();
+    Request::create('EntityTag', 'getFields', [
+      'version' => 4,
+      'loadOptions' => $returnFormat,
+      'values' => ['entity_table' => $table],
+      'select' => ['options'],
+      'where' => [['name', '=', 'tag_id']],
+      'checkPermissions' => $checkPermissions,
+    ])->_run($result);
+    return $result->first()['options'];
+  }
+
+}
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/EventCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/EventCreationSpecProvider.php
index 7e63ff5437aa6fac5a3d6c1c448f885fc51cad06..d6c331cc47bcadeda7c9df9d2beb2d0411e625ad 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/EventCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/EventCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\FieldSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/FieldCurrencySpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/FieldCurrencySpecProvider.php
index 458e5287741d65e6278237ad41b4694ec43a56cf..40656bb76e42318a2d2af079b70b02f8629188b5 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/FieldCurrencySpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/FieldCurrencySpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/FieldDomainIdSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/FieldDomainIdSpecProvider.php
index 2e6b2443d7375cd15fc40f4de4422c4414a7d1b4..c833277c4eeba911f2b67da512a48cdb8bb7658f 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/FieldDomainIdSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/FieldDomainIdSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/FinancialItemCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/FinancialItemCreationSpecProvider.php
index 4567d2bed19b55971bcd53f7b4b2ab604a299150..ffae9971ad5dd9ca505020355dfd3581fd8a71bf 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/FinancialItemCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/FinancialItemCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/Generic/SpecProviderInterface.php b/civicrm/Civi/Api4/Service/Spec/Provider/Generic/SpecProviderInterface.php
index a9768949a04351707e12929d503ef8ac0cb885d4..35e17c41c09b95238579b710193d1543d536d18a 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/Generic/SpecProviderInterface.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/Generic/SpecProviderInterface.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider\Generic;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/GetActionDefaultsProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/GetActionDefaultsProvider.php
index fd8698d74d5e9e6ee95d6d30a153acab16b37df5..2e9795be71aec7b506462a249ec896e322045b60 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/GetActionDefaultsProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/GetActionDefaultsProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/GroupCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/GroupCreationSpecProvider.php
index 798e00db93a06499080df7f2a1288a9725182ef5..397e943bd26b888877dd97e0efc038b8395811f4 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/GroupCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/GroupCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/IsCurrentFieldSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/IsCurrentFieldSpecProvider.php
new file mode 100644
index 0000000000000000000000000000000000000000..03598ac6405b56578a340dce9ec6c6a95c4ff2b0
--- /dev/null
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/IsCurrentFieldSpecProvider.php
@@ -0,0 +1,70 @@
+<?php
+
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ *
+ * @package CRM
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
+ */
+
+
+namespace Civi\Api4\Service\Spec\Provider;
+
+use Civi\Api4\Service\Spec\FieldSpec;
+use Civi\Api4\Service\Spec\RequestSpec;
+
+class IsCurrentFieldSpecProvider implements Generic\SpecProviderInterface {
+
+  /**
+   * @param \Civi\Api4\Service\Spec\RequestSpec $spec
+   */
+  public function modifySpec(RequestSpec $spec) {
+    $field = new FieldSpec('is_current', $spec->getEntity(), 'Boolean');
+    $field->setLabel(ts('Is Current'))
+      ->setTitle(ts('Current'))
+      // This pseudo-field is like is_active with some extra criteria
+      ->setColumnName('is_current')
+      ->setDescription(ts('Is active with a non-past end-date'))
+      ->setType('Extra')
+      ->setSqlRenderer([__CLASS__, 'renderIsCurrentSql']);
+    $spec->addFieldSpec($field);
+  }
+
+  /**
+   * @param string $entity
+   * @param string $action
+   *
+   * @return bool
+   */
+  public function applies($entity, $action) {
+    if ($action !== 'get') {
+      return FALSE;
+    }
+    // TODO: If we wanted this to not be a hard-coded list, we could always return TRUE here
+    // and then in the `modifySpec` function check for the 3 fields `is_active`, `start_date`, and `end_date`
+    return in_array($entity, ['Relationship', 'RelationshipCache', 'Event', 'Campaign'], TRUE);
+  }
+
+  /**
+   * @param array $field
+   * return string
+   */
+  public static function renderIsCurrentSql(array $field): string {
+    $startDate = substr_replace($field['sql_name'], 'start_date', -11, -1);
+    $endDate = substr_replace($field['sql_name'], 'end_date', -11, -1);
+    $isActive = substr_replace($field['sql_name'], 'is_active', -11, -1);
+    $todayStart = date('Ymd', strtotime('now'));
+    $todayEnd = date('Ymd', strtotime('now'));
+    return "IF($isActive = 1 AND ($startDate <= '$todayStart' OR $startDate IS NULL) AND ($endDate >= '$todayEnd' OR $endDate IS NULL), '1', '0')";
+  }
+
+}
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/MappingCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/MappingCreationSpecProvider.php
index ac77bb893407da663cbee471707cecb3e91490d5..c33eb07c0b90b792fe989b4f1cfa54c418ca3f1e 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/MappingCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/MappingCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/NavigationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/NavigationSpecProvider.php
index fdb99b5fea4790ad3f7790b294eac9b60a741f93..3721f094170e100d88fd73bbc07119b5d82ccfa7 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/NavigationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/NavigationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/NoteCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/NoteCreationSpecProvider.php
index 90863dfc109b8dcd64d7cb20b68bac45500c2bc8..d26a58e5ce344006879d72d78356f890aaecacfa 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/NoteCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/NoteCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/OptionValueCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/OptionValueCreationSpecProvider.php
index 7e6887596c8df1372c6b1f5a085ebdc553dd9236..3ce0a1f6026c6b5b78e6653049a8f0c9648a41bb 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/OptionValueCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/OptionValueCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/PaymentProcessorCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/PaymentProcessorCreationSpecProvider.php
index e94c7f4d20316f91f45a7c8265d8e75d9bdeff2a..cbcb995df0d4a4336b182ca9b94f8955ce2f7b09 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/PaymentProcessorCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/PaymentProcessorCreationSpecProvider.php
@@ -8,13 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\FieldSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/PhoneCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/PhoneCreationSpecProvider.php
index 4faecb1c5539d23b0e39a4775a7a5d7ccae37568..3cd8f27680d084075ff0474380e82e99dda0e0aa 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/PhoneCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/PhoneCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/PriceFieldValueCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/PriceFieldValueCreationSpecProvider.php
index 76cfa28739ca56efc33468c96fb543465ce4b09f..4ba33e000cbcdfb6d31cd19f36cec5a56508c639 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/PriceFieldValueCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/PriceFieldValueCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/RelationshipTypeCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/RelationshipTypeCreationSpecProvider.php
index 5d0cc3ab65c7dcfa9890fe6f88cbe9926c82b1c3..d5abcd40db0e1eee31d541e96049276ef473327a 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/RelationshipTypeCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/RelationshipTypeCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/TagCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/TagCreationSpecProvider.php
index 68e9d1bf46bf968d6d5089fa5a6d5e5098be861e..6f74f99e94811d0951c22660d05483cd95b757f4 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/TagCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/TagCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/UFFieldCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/UFFieldCreationSpecProvider.php
index 73fbac579c1e0c6f6998d1806294a39ead50b447..c13264e9c0516a62035a98eb7076610bb20fc652 100644
--- a/civicrm/Civi/Api4/Service/Spec/Provider/UFFieldCreationSpecProvider.php
+++ b/civicrm/Civi/Api4/Service/Spec/Provider/UFFieldCreationSpecProvider.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec\Provider;
 
 use Civi\Api4\Service\Spec\RequestSpec;
diff --git a/civicrm/Civi/Api4/Service/Spec/RequestSpec.php b/civicrm/Civi/Api4/Service/Spec/RequestSpec.php
index d9e2b5bf135c1b412ec3ee3a9e2e1cd93773e281..a66b244a630c4e681b22c2e04d92ce210cb65cb1 100644
--- a/civicrm/Civi/Api4/Service/Spec/RequestSpec.php
+++ b/civicrm/Civi/Api4/Service/Spec/RequestSpec.php
@@ -10,18 +10,11 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec;
 
 use Civi\Api4\Utils\CoreUtil;
 
-class RequestSpec {
+class RequestSpec implements \Iterator {
 
   /**
    * @var string
@@ -140,4 +133,24 @@ class RequestSpec {
     return $this->action;
   }
 
+  public function rewind() {
+    return reset($this->fields);
+  }
+
+  public function current() {
+    return current($this->fields);
+  }
+
+  public function key() {
+    return key($this->fields);
+  }
+
+  public function next() {
+    return next($this->fields);
+  }
+
+  public function valid() {
+    return key($this->fields) !== NULL;
+  }
+
 }
diff --git a/civicrm/Civi/Api4/Service/Spec/SpecFormatter.php b/civicrm/Civi/Api4/Service/Spec/SpecFormatter.php
index 7a5aee1813e164ab15b5a61c5639ef1653593120..6eae4b396d4f412a0a4e019d62dfbf7716736401 100644
--- a/civicrm/Civi/Api4/Service/Spec/SpecFormatter.php
+++ b/civicrm/Civi/Api4/Service/Spec/SpecFormatter.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec;
 
 use Civi\Api4\Utils\CoreUtil;
@@ -36,16 +29,16 @@ class SpecFormatter {
     if (!empty($data['custom_group_id'])) {
       $field = new CustomFieldSpec($data['name'], $entity, $dataTypeName);
       if (strpos($entity, 'Custom_') !== 0) {
-        $field->setName($data['custom_group.name'] . '.' . $data['name']);
+        $field->setName($data['custom_group_id.name'] . '.' . $data['name']);
       }
       else {
-        $field->setTableName($data['custom_group.table_name']);
+        $field->setTableName($data['custom_group_id.table_name']);
       }
       $field->setColumnName($data['column_name']);
       $field->setCustomFieldId($data['id'] ?? NULL);
-      $field->setCustomGroupName($data['custom_group.name']);
+      $field->setCustomGroupName($data['custom_group_id.name']);
       $field->setTitle($data['label']);
-      $field->setLabel($data['custom_group.title'] . ': ' . $data['label']);
+      $field->setLabel($data['custom_group_id.title'] . ': ' . $data['label']);
       $field->setHelpPre($data['help_pre'] ?? NULL);
       $field->setHelpPost($data['help_post'] ?? NULL);
       if (self::customFieldHasOptions($data)) {
diff --git a/civicrm/Civi/Api4/Service/Spec/SpecGatherer.php b/civicrm/Civi/Api4/Service/Spec/SpecGatherer.php
index ca2de569b09f76b590df8714a14c06c2d0713d34..f4a9eacd9e3387719c786c2a80a1f3e631c5be32 100644
--- a/civicrm/Civi/Api4/Service/Spec/SpecGatherer.php
+++ b/civicrm/Civi/Api4/Service/Spec/SpecGatherer.php
@@ -10,19 +10,16 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Service\Spec;
 
 use Civi\Api4\CustomField;
 use Civi\Api4\Service\Spec\Provider\Generic\SpecProviderInterface;
 use Civi\Api4\Utils\CoreUtil;
 
+/**
+ * Class SpecGatherer
+ * @package Civi\Api4\Service\Spec
+ */
 class SpecGatherer {
 
   /**
@@ -135,9 +132,9 @@ class SpecGatherer {
       $extends = $customInfo['extends'];
     }
     $customFields = CustomField::get(FALSE)
-      ->addWhere('custom_group.extends', 'IN', $extends)
-      ->addWhere('custom_group.is_multiple', '=', '0')
-      ->setSelect(['custom_group.name', 'custom_group.title', '*'])
+      ->addWhere('custom_group_id.extends', 'IN', $extends)
+      ->addWhere('custom_group_id.is_multiple', '=', '0')
+      ->setSelect(['custom_group_id.name', 'custom_group_id.title', '*'])
       ->execute();
 
     foreach ($customFields as $fieldArray) {
@@ -152,8 +149,8 @@ class SpecGatherer {
    */
   private function getCustomGroupFields($customGroup, RequestSpec $specification) {
     $customFields = CustomField::get(FALSE)
-      ->addWhere('custom_group.name', '=', $customGroup)
-      ->setSelect(['custom_group.name', 'custom_group.table_name', 'custom_group.title', '*'])
+      ->addWhere('custom_group_id.name', '=', $customGroup)
+      ->setSelect(['custom_group_id.name', 'custom_group_id.table_name', 'custom_group_id.title', '*'])
       ->execute();
 
     foreach ($customFields as $fieldArray) {
@@ -166,10 +163,13 @@ class SpecGatherer {
    * @param string $entityName
    *
    * @return array
+   * @throws \API_Exception
    */
-  private function getDAOFields($entityName) {
+  private function getDAOFields(string $entityName): array {
     $bao = CoreUtil::getBAOFromApiName($entityName);
-
+    if (!$bao) {
+      throw new \API_Exception('Entity not loaded' . $entityName);
+    }
     return $bao::getSupportedFields();
   }
 
diff --git a/civicrm/Civi/Api4/Setting.php b/civicrm/Civi/Api4/Setting.php
index a41baa6180e975764288b9a5f148fd5f3338e04a..2e89f53e27a25fb44844a8eeaaf09747616e6302 100644
--- a/civicrm/Civi/Api4/Setting.php
+++ b/civicrm/Civi/Api4/Setting.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -26,6 +17,7 @@ namespace Civi\Api4;
  *
  * @see \Civi\Core\SettingsBag
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class Setting extends Generic\AbstractEntity {
diff --git a/civicrm/Civi/Api4/StateProvince.php b/civicrm/Civi/Api4/StateProvince.php
index 640cc30a2f7ffef16b69f774800aca218f100169..fdea49b91f8404833be85cdb49bbae45a1609fb0 100644
--- a/civicrm/Civi/Api4/StateProvince.php
+++ b/civicrm/Civi/Api4/StateProvince.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,19 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
  * StateProvince entity.
  *
  * @searchable secondary
+ * @since 5.22
  * @package Civi\Api4
  */
 class StateProvince extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/StatusPreference.php b/civicrm/Civi/Api4/StatusPreference.php
index e3b01c5d7c0b4b0585f536b1e98fad1d73d672e9..07940eb9eb5ad782b54acb8d8d44efeec980958b 100644
--- a/civicrm/Civi/Api4/StatusPreference.php
+++ b/civicrm/Civi/Api4/StatusPreference.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -25,6 +16,7 @@ namespace Civi\Api4;
  * For setting "hush" preferences for system check alerts.
  *
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class StatusPreference extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/System.php b/civicrm/Civi/Api4/System.php
index 1f1f4d4b5d8c0809893143984ba220177c12cd5d..f9d5d099600c5bafc38b7f02d0c9f4edfc1da924 100644
--- a/civicrm/Civi/Api4/System.php
+++ b/civicrm/Civi/Api4/System.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,19 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
 namespace Civi\Api4;
 
 /**
  * A collection of system maintenance/diagnostic utilities.
  *
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class System extends Generic\AbstractEntity {
diff --git a/civicrm/Civi/Api4/Tag.php b/civicrm/Civi/Api4/Tag.php
index 57d94d74f45721e1924a79c97c1170d1c17bef20..67e54a9fcf935fc36314e6ea6fe450b13e8bc325 100644
--- a/civicrm/Civi/Api4/Tag.php
+++ b/civicrm/Civi/Api4/Tag.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -27,6 +18,7 @@ namespace Civi\Api4;
  *
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/groups-and-tags/#tags
  * @searchable secondary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Tag extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Translation.php b/civicrm/Civi/Api4/Translation.php
new file mode 100644
index 0000000000000000000000000000000000000000..8268be224dfccf56ee984fd3c1d29a7e47e098b7
--- /dev/null
+++ b/civicrm/Civi/Api4/Translation.php
@@ -0,0 +1,28 @@
+<?php
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+namespace Civi\Api4;
+
+/**
+ * Attach supplemental translations to strings stored in the database.
+ *
+ * @since 5.40
+ * @package Civi\Api4
+ */
+class Translation extends Generic\DAOEntity {
+
+  public static function permissions() {
+    return [
+      'meta' => ['access CiviCRM'],
+      'default' => ['translate CiviCRM'],
+    ];
+  }
+
+}
diff --git a/civicrm/Civi/Api4/UFField.php b/civicrm/Civi/Api4/UFField.php
index 0de725af343aba7f2dadb0ae4d9f0f3cf233bd42..46a5744f95d4c082aa2ec2a1cae0ceb6f123c731 100644
--- a/civicrm/Civi/Api4/UFField.php
+++ b/civicrm/Civi/Api4/UFField.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +15,7 @@ namespace Civi\Api4;
  *
  * @see \Civi\Api4\UFGroup
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class UFField extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/UFGroup.php b/civicrm/Civi/Api4/UFGroup.php
index 3f82f12f762fb62e2f041debb779085016789da3..0500e015e7ea295ab79e8000609f900dd3284d43 100644
--- a/civicrm/Civi/Api4/UFGroup.php
+++ b/civicrm/Civi/Api4/UFGroup.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +15,7 @@ namespace Civi\Api4;
  *
  * @see https://docs.civicrm.org/user/en/latest/organising-your-data/profiles/
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class UFGroup extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/UFJoin.php b/civicrm/Civi/Api4/UFJoin.php
index e2f0b3b2433e8276205a1ebe80813eabf13d3c37..c9f235f411a35c9b2244f4b6814688033333bc05 100644
--- a/civicrm/Civi/Api4/UFJoin.php
+++ b/civicrm/Civi/Api4/UFJoin.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -24,6 +15,7 @@ namespace Civi\Api4;
  *
  * @see \Civi\Api4\UFGroup
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class UFJoin extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/UFMatch.php b/civicrm/Civi/Api4/UFMatch.php
index 87df0cbf98ae5f653cb0b9b294cf46b9f15c70e5..cb4df4ec43cf6be20a97a9ceaf21b7ac35109c51 100644
--- a/civicrm/Civi/Api4/UFMatch.php
+++ b/civicrm/Civi/Api4/UFMatch.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,20 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
  * UFMatch entity - links civicrm contacts with users created externally
  *
  * @searchable none
+ * @since 5.19
  * @package Civi\Api4
  */
 class UFMatch extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/Utils/CoreUtil.php b/civicrm/Civi/Api4/Utils/CoreUtil.php
index 8399142500b78322b87776b6bb480aee79d1c736..7d27b9ea247f5e6a34317dea9e9ccfb50bf5278a 100644
--- a/civicrm/Civi/Api4/Utils/CoreUtil.php
+++ b/civicrm/Civi/Api4/Utils/CoreUtil.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Utils;
 
 use Civi\API\Request;
@@ -35,7 +28,7 @@ class CoreUtil {
     if ($entityName === 'CustomValue' || strpos($entityName, 'Custom_') === 0) {
       return 'CRM_Core_BAO_CustomValue';
     }
-    $dao = self::getApiClass($entityName)::getInfo()['dao'] ?? NULL;
+    $dao = self::getInfoItem($entityName, 'dao');
     if (!$dao) {
       return NULL;
     }
@@ -59,6 +52,17 @@ class CoreUtil {
     return class_exists($className) ? $className : NULL;
   }
 
+  /**
+   * Get item from an entity's getInfo array
+   *
+   * @param string $entityName
+   * @param string $keyToReturn
+   * @return mixed
+   */
+  public static function getInfoItem(string $entityName, string $keyToReturn) {
+    return self::getApiClass($entityName)::getInfo()[$keyToReturn] ?? NULL;
+  }
+
   /**
    * Get table name of given entity
    *
@@ -166,6 +170,12 @@ class CoreUtil {
    * @throws \Civi\API\Exception\UnauthorizedException
    */
   public static function checkAccessRecord(\Civi\Api4\Generic\AbstractAction $apiRequest, array $record, int $userID) {
+
+    // Super-admins always have access to everything
+    if (\CRM_Core_Permission::check('all CiviCRM permissions and ACLs', $userID)) {
+      return TRUE;
+    }
+
     // For get actions, just run a get and ACLs will be applied to the query.
     // It's a cheap trick and not as efficient as not running the query at all,
     // but BAO::checkAccess doesn't consistently check permissions for the "get" action.
diff --git a/civicrm/Civi/Api4/Utils/FormattingUtil.php b/civicrm/Civi/Api4/Utils/FormattingUtil.php
index 888aafb4b795cdff87b5d86f04dae9cf8ccb47ea..beecbb5e3dbdafc158ae13081fa606e1d227d2c4 100644
--- a/civicrm/Civi/Api4/Utils/FormattingUtil.php
+++ b/civicrm/Civi/Api4/Utils/FormattingUtil.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Utils;
 
 use Civi\Api4\Query\SqlExpression;
@@ -25,12 +18,18 @@ require_once 'api/v3/utils.php';
 
 class FormattingUtil {
 
+  /**
+   * @var string[]
+   */
   public static $pseudoConstantContexts = [
     'name' => 'validate',
     'abbr' => 'abbreviate',
     'label' => 'get',
   ];
 
+  /**
+   * @var string[]
+   */
   public static $pseudoConstantSuffixes = ['name', 'abbr', 'label', 'color', 'description', 'icon'];
 
   /**
@@ -201,10 +200,9 @@ class FormattingUtil {
         $fieldName = \CRM_Utils_Array::first($fieldExpr->getFields());
         $field = $fieldName && isset($fields[$fieldName]) ? $fields[$fieldName] : NULL;
         $dataType = $field['data_type'] ?? ($fieldName == 'id' ? 'Integer' : NULL);
-        // If Sql Function e.g. GROUP_CONCAT or COUNT wants to do its own formatting, apply and skip dataType conversion
+        // If Sql Function e.g. GROUP_CONCAT or COUNT wants to do its own formatting, apply
         if (method_exists($fieldExpr, 'formatOutputValue') && is_string($value)) {
-          $result[$key] = $value = $fieldExpr->formatOutputValue($value);
-          $dataType = NULL;
+          $result[$key] = $value = $fieldExpr->formatOutputValue($value, $dataType);
         }
         if (!$field) {
           continue;
diff --git a/civicrm/Civi/Api4/Utils/SelectUtil.php b/civicrm/Civi/Api4/Utils/SelectUtil.php
index 781428e2449659800602584adf4b5ee2972246c4..79a256e551eb7fe4d5ce518aa78cf3a9a10da4ba 100644
--- a/civicrm/Civi/Api4/Utils/SelectUtil.php
+++ b/civicrm/Civi/Api4/Utils/SelectUtil.php
@@ -10,13 +10,6 @@
  +--------------------------------------------------------------------+
  */
 
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4\Utils;
 
 class SelectUtil {
diff --git a/civicrm/Civi/Api4/Website.php b/civicrm/Civi/Api4/Website.php
index d155f81416037d72b6b72f764288c5b4c9d49d01..7560933a903a037fb0dfb9f9012c802d185ec973 100644
--- a/civicrm/Civi/Api4/Website.php
+++ b/civicrm/Civi/Api4/Website.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,20 +8,13 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
  * Website entity.
  *
  * @searchable secondary
+ * @since 5.19
  * @package Civi\Api4
  */
 class Website extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Api4/WordReplacement.php b/civicrm/Civi/Api4/WordReplacement.php
index ffe6e0107f0fc517e61c22cd028b136cd49395b5..8406b63495c0c8c743dd44e46fa77decac7a01a1 100644
--- a/civicrm/Civi/Api4/WordReplacement.php
+++ b/civicrm/Civi/Api4/WordReplacement.php
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -9,14 +8,6 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
  */
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
-
 namespace Civi\Api4;
 
 /**
@@ -25,6 +16,7 @@ namespace Civi\Api4;
  * This entity stores global string replacements for the CiviCRM UI.
  *
  * @searchable secondary
+ * @since 5.39
  * @package Civi\Api4
  */
 class WordReplacement extends Generic\DAOEntity {
diff --git a/civicrm/Civi/Core/Container.php b/civicrm/Civi/Core/Container.php
index 0632c649c440e3adcb8b1fc81aabd835f49d7033..72e69c4762d11702877d06615f43156eb48aec0e 100644
--- a/civicrm/Civi/Core/Container.php
+++ b/civicrm/Civi/Core/Container.php
@@ -285,11 +285,6 @@ class Container {
     $container->setDefinition('cache_config', new Definition('ArrayObject'))
       ->setFactory([new Reference(self::SELF), 'createCacheConfig'])->setPublic(TRUE);
 
-    $container->setDefinition('civi.mailing.triggers', new Definition(
-      'Civi\Core\SqlTrigger\TimestampTriggers',
-      ['civicrm_mailing', 'Mailing']
-    ))->addTag('kernel.event_listener', ['event' => 'hook_civicrm_triggerInfo', 'method' => 'onTriggerInfo'])->setPublic(TRUE);
-
     $container->setDefinition('civi.activity.triggers', new Definition(
       'Civi\Core\SqlTrigger\TimestampTriggers',
       ['civicrm_activity', 'Activity']
diff --git a/civicrm/Civi/Core/SqlTriggers.php b/civicrm/Civi/Core/SqlTriggers.php
index de0b5a9de9d7b1b6b28f0ec0cfe26ecb125eb2f2..b1ac987d532fe8bcc811ebe444dd6cd88d4d058c 100644
--- a/civicrm/Civi/Core/SqlTriggers.php
+++ b/civicrm/Civi/Core/SqlTriggers.php
@@ -24,7 +24,14 @@ class SqlTriggers {
    *
    * @var string|null
    */
-  private $file = NULL;
+  private $file;
+
+  /**
+   * Queries written to file when the class is destructed.
+   *
+   * @var array
+   */
+  private $enqueuedQueries = [];
 
   /**
    * Build a list of triggers via hook and add them to (err, reconcile them
@@ -52,6 +59,7 @@ class SqlTriggers {
 
     // now create the set of new triggers
     $this->createTriggers($info, $tableName);
+    $this->writeEnqueuedQueriesToFile();
   }
 
   /**
@@ -141,7 +149,7 @@ class SqlTriggers {
     // Sort tables alphabetically in order to output in a consistent order
     // for sites that like to diff this output over time
     // (ie. with the logging_no_trigger_permission setting in place).
-    asort($triggers);
+    ksort($triggers);
     // now spit out the sql
     foreach ($triggers as $tableName => $tables) {
       if ($onlyTableName != NULL && $onlyTableName != $tableName) {
@@ -202,12 +210,8 @@ class SqlTriggers {
           ['expires' => 0]
         );
       }
-
-      $buf = "\n";
-      $buf .= "DELIMITER //\n";
-      $buf .= \CRM_Core_DAO::composeQuery($triggerSQL, $params) . " //\n";
-      $buf .= "DELIMITER ;\n";
-      file_put_contents($this->getFile(), $buf, FILE_APPEND);
+      $query = \CRM_Core_DAO::composeQuery($triggerSQL, $params);
+      $this->enqueuedQueries[$query] = $query;
     }
     else {
       \CRM_Core_DAO::executeQuery($triggerSQL, $params, TRUE, NULL, FALSE, FALSE);
@@ -226,4 +230,35 @@ class SqlTriggers {
     return $this->file;
   }
 
+  /**
+   * Write queries to file when the class is destructed.
+   *
+   * Note this is already written out for a full rebuild but it is
+   * possible (at least in terms of what is public) to call drop & create
+   * separately so this ensures they are output.
+   */
+  public function __destruct() {
+    $this->writeEnqueuedQueriesToFile();
+  }
+
+  /**
+   * Write queries queued for write-to-file.
+   */
+  protected function writeEnqueuedQueriesToFile(): void {
+    if (!empty($this->enqueuedQueries) && $this->getFile()) {
+      $buf = "DELIMITER //\n";
+      foreach ($this->enqueuedQueries as $query) {
+        if (strpos($query, 'CREATE TRIGGER') === 0) {
+          // The create triggers are long so put spaces between them. For the drops
+          // condensed is more readable.
+          $buf .= "\n";
+        }
+        $buf .= $query . " //\n";
+      }
+      $buf .= "DELIMITER ;\n";
+      file_put_contents($this->getFile(), $buf, FILE_APPEND);
+      $this->enqueuedQueries = [];
+    }
+  }
+
 }
diff --git a/civicrm/Civi/Test/Api3TestTrait.php b/civicrm/Civi/Test/Api3TestTrait.php
index 58e5563a0379acb95edfa39d086724e8eeff4c80..65bd2ee2162e5c167d6bc1a56ef70513a13d937c 100644
--- a/civicrm/Civi/Test/Api3TestTrait.php
+++ b/civicrm/Civi/Test/Api3TestTrait.php
@@ -152,8 +152,6 @@ trait Api3TestTrait {
    *   better or worse )
    *
    * @return array|int
-   *
-   * @throws \CRM_Core_Exception
    */
   public function callAPISuccess($entity, $action, $params = [], $checkAgainst = NULL) {
     $params = array_merge([
@@ -186,8 +184,6 @@ trait Api3TestTrait {
    * @param array $params
    * @param int $count
    *
-   * @throws \CRM_Core_Exception
-   *
    * @return array|int
    */
   public function callAPISuccessGetCount($entity, $params, $count = NULL) {
@@ -197,7 +193,7 @@ trait Api3TestTrait {
     ];
     $result = $this->civicrm_api($entity, 'getcount', $params);
     if (!is_int($result) || !empty($result['is_error']) || isset($result['values'])) {
-      throw new \CRM_Core_Exception('Invalid getcount result : ' . print_r($result, TRUE) . " type :" . gettype($result));
+      $this->fail('Invalid getcount result : ' . print_r($result, TRUE) . ' type :' . gettype($result));
     }
     if (is_int($count)) {
       $this->assertEquals($count, $result, "incorrect count returned from $entity getcount");
@@ -220,8 +216,6 @@ trait Api3TestTrait {
    *   - array
    *   - object
    *
-   * @throws \CRM_Core_Exception
-   *
    * @return array|int
    */
   public function callAPISuccessGetSingle($entity, $params, $checkAgainst = NULL) {
@@ -234,7 +228,7 @@ trait Api3TestTrait {
     $result = $this->civicrm_api($entity, 'getsingle', $params);
     if (!is_array($result) || !empty($result['is_error']) || isset($result['values'])) {
       $unfilteredResult = $this->civicrm_api($entity, 'get', ['version' => $this->_apiversion]);
-      throw new \CRM_Core_Exception(
+      $this->fail(
         'Invalid getsingle result' . print_r($result, TRUE)
         . "\n entity: $entity . \n params \n " . print_r($params, TRUE)
         . "\n entities retrieved with blank params \n" . print_r($unfilteredResult, TRUE)
@@ -248,9 +242,7 @@ trait Api3TestTrait {
   }
 
   /**
-   * This function exists to wrap api getValue function & check the result
-   * so we can ensure they succeed & throw exceptions without litterering the test with checks
-   * There is a type check in this
+   * This function wraps the getValue api and checks the result.
    *
    * @param string $entity
    * @param array $params
@@ -264,7 +256,6 @@ trait Api3TestTrait {
    *   - object
    *
    * @return array|int
-   * @throws \CRM_Core_Exception
    */
   public function callAPISuccessGetValue($entity, $params, $type = NULL) {
     $params += [
@@ -272,7 +263,7 @@ trait Api3TestTrait {
     ];
     $result = $this->civicrm_api($entity, 'getvalue', $params);
     if (is_array($result) && (!empty($result['is_error']) || isset($result['values']))) {
-      throw new \CRM_Core_Exception('Invalid getvalue result' . print_r($result, TRUE));
+      $this->fail('Invalid getvalue result' . print_r($result, TRUE));
     }
     if ($type) {
       if ($type === 'integer') {
@@ -322,14 +313,15 @@ trait Api3TestTrait {
     $onlyId = !empty($v3Params['format.only_id']);
     $onlySuccess = !empty($v3Params['format.is_success']);
     if (!empty($v3Params['filters']['is_current']) || !empty($v3Params['isCurrent'])) {
-      $v4Params['current'] = TRUE;
+      $v3Params['is_current'] = 1;
+      unset($v3Params['filters']['is_current'], $v3Params['isCurrent']);
     }
     $language = $v3Params['options']['language'] ?? $v3Params['option.language'] ?? NULL;
     if ($language) {
       $v4Params['language'] = $language;
     }
     $toRemove = ['option.', 'return', 'api.', 'format.'];
-    $chains = $joins = $custom = [];
+    $chains = $custom = [];
     foreach ($v3Params as $key => $val) {
       foreach ($toRemove as $remove) {
         if (strpos($key, $remove) === 0) {
@@ -410,7 +402,7 @@ trait Api3TestTrait {
         // This is a per field hack (bad) but we can't solve everything at once
         // & a cleverer way turned out to be too much for this round.
         // Being in the test class it's tested....
-        $v3Params['option_group.name'] = $v3Params['option_group_id'];
+        $v3Params['option_group_id.name'] = $v3Params['option_group_id'];
         unset($v3Params['option_group_id']);
       }
       if (isset($field['pseudoconstant'], $v3Params[$name]) && $field['type'] === \CRM_Utils_Type::T_INT && !is_numeric($v3Params[$name]) && is_string($v3Params[$name])) {
@@ -433,12 +425,6 @@ trait Api3TestTrait {
           if ($v4Entity != 'Setting' && !in_array('id', $v4Params['select'])) {
             $v4Params['select'][] = 'id';
           }
-          // Convert join syntax
-          foreach ($v4Params['select'] as $idx => $select) {
-            if (strstr($select, '_id.')) {
-              $joins[$select] = $v4Params['select'][$idx] = str_replace('_id.', '.', $select);
-            }
-          }
         }
         if ($options['limit'] && $v4Entity != 'Setting') {
           $v4Params['limit'] = $options['limit'];
@@ -605,10 +591,6 @@ trait Api3TestTrait {
       foreach ($chains as $key => $params) {
         $result[$index][$key] = $this->runApi4LegacyChain($key, $params, $v4Entity, $row, $sequential);
       }
-      // Convert join format
-      foreach ($joins as $api3Key => $api4Key) {
-        $result[$index][$api3Key] = $result[$index][$api4Key] ?? NULL;
-      }
       // Resolve custom field names
       foreach ($custom as $group => $fields) {
         foreach ($fields as $field => $v3FieldName) {
diff --git a/civicrm/ang/api4Explorer.ang.php b/civicrm/ang/api4Explorer.ang.php
index 2eec108aaf14abe9d0c390e7640a8c7c12c596ef..d0ac2be6ecfea710ecc7c38c1641e5ede84a8b76 100644
--- a/civicrm/ang/api4Explorer.ang.php
+++ b/civicrm/ang/api4Explorer.ang.php
@@ -1,5 +1,5 @@
 <?php
-// Autoloader data for Api4 explorer.
+// Autoloader data for Api4 Explorer Angular module.
 return [
   'ext' => 'civicrm',
   'js' => [
@@ -13,5 +13,7 @@ return [
     'ang/api4Explorer',
   ],
   'basePages' => [],
+  'bundles' => ['bootstrap3'],
+  'permissions' => ['access debug output', 'edit groups', 'administer reserved groups'],
   'requires' => ['crmUi', 'crmUtil', 'ngRoute', 'crmRouteBinder', 'ui.sortable', 'api4', 'ngSanitize', 'dialogService', 'checklist-model'],
 ];
diff --git a/civicrm/ang/api4Explorer/Explorer.html b/civicrm/ang/api4Explorer/Explorer.html
index f28cec6dbe9bc5d297f0bc494cacf38b6a6af003..3d800559426b89d092659ba01bc90b24bcf6c2c8 100644
--- a/civicrm/ang/api4Explorer/Explorer.html
+++ b/civicrm/ang/api4Explorer/Explorer.html
@@ -10,10 +10,10 @@
         <div class="panel-heading">
           <div class="form-inline">
             <span ng-mouseenter="help('entity', paramDoc('$entity'))" ng-mouseleave="help()">
-              <input class="collapsible-optgroups form-control" ng-model="entity" ng-disabled="!entities.length" ng-class="{loading: !entities.length}" crm-ui-select="::{placeholder: ts('Entity'), data: entities}" />
+              <input class="collapsible-optgroups form-control" ng-model="entity" ng-disabled="!entities.length" ng-class="{loading: !entities.length}" crm-ui-select="::{placeholder: ts('Entity'), data: entities, formatResultCssClass: formatResultCssClass}" />
             </span>
             <span ng-mouseenter="help('action', paramDoc('$action'))" ng-mouseleave="help()">
-              <input class="collapsible-optgroups form-control" ng-model="action" ng-disabled="!entity || !actions.length" ng-class="{loading: entity && !actions.length}" crm-ui-select="::{placeholder: ts('Action'), data: actions}" />
+              <input class="collapsible-optgroups form-control" ng-model="action" ng-disabled="!entity || !actions.length" ng-class="{loading: entity && !actions.length}" crm-ui-select="::{placeholder: ts('Action'), data: actions, formatResultCssClass: formatResultCssClass}" />
             </span>
             <input class="form-control api4-index" type="search" ng-model="index" ng-mouseenter="help('index', paramDoc('$index'))" ng-mouseleave="help()" placeholder="{{:: ts('Index') }}" />
             <button class="btn btn-success pull-right" crm-icon="fa-bolt" ng-disabled="!entity || !action || loading" ng-click="execute()" ng-mouseenter="help(ts('Execute'), executeDoc())" ng-mouseleave="help()">{{:: ts('Execute') }}</button>
diff --git a/civicrm/ang/api4Explorer/Explorer.js b/civicrm/ang/api4Explorer/Explorer.js
index 5cc419a6461dd3709863328c71aee24befccdbd3..a0cdc38ac82eb81965b6c20e6b3261232436bebb 100644
--- a/civicrm/ang/api4Explorer/Explorer.js
+++ b/civicrm/ang/api4Explorer/Explorer.js
@@ -2,8 +2,6 @@
 
   // Schema metadata
   var schema = CRM.vars.api4.schema;
-  // FK schema data
-  var links = CRM.vars.api4.links;
   // Cache list of entities
   var entities = [];
   // Cache list of actions
@@ -13,7 +11,6 @@
   // Api params
   var params;
 
-
   angular.module('api4Explorer').config(function($routeProvider) {
     $routeProvider.when('/explorer/:api4entity?/:api4action?', {
       controller: 'Api4Explorer',
@@ -122,44 +119,63 @@
     }
 
     // Replaces contents of fieldList array with current fields formatted for select2
-    function getFieldList(fieldList, action, addPseudoconstant) {
+    function getFieldList(fieldList, action, addPseudoconstant, addWriteJoins) {
       var fieldInfo = _.cloneDeep(_.findWhere(getEntity().actions, {name: action}).fields);
       fieldList.length = 0;
       if (addPseudoconstant) {
         addPseudoconstants(fieldInfo, addPseudoconstant);
       }
+      if (addWriteJoins) {
+        addWriteJoinFields(fieldInfo);
+      }
       formatForSelect2(fieldInfo, fieldList, 'name', ['description', 'required', 'default_value']);
     }
 
     // Note: this function expects fieldList to be select2-formatted already
     function addJoins(fieldList, addWildcard, addPseudoconstant) {
       // Add entities specified by the join param
-      _.each(getExplicitJoins(), function(joinEntity, joinAlias) {
-        var wildCard = addWildcard ? [{id: joinAlias + '.*', text: joinAlias + '.*', 'description': 'All core ' + joinEntity + ' fields'}] : [],
-          joinFields = _.cloneDeep(entityFields(joinEntity));
+      _.each(getExplicitJoins(), function(join) {
+        var wildCard = addWildcard ? [{id: join.alias + '.*', text: join.alias + '.*', 'description': 'All core ' + join.entity + ' fields'}] : [],
+          joinFields = _.cloneDeep(entityFields(join.entity));
         if (joinFields) {
+          // Add fields from bridge entity
+          if (join.bridge) {
+            var bridgeFields = _.cloneDeep(entityFields(join.bridge)),
+              bridgeEntity = getEntity(join.bridge),
+              joinFieldNames = _.pluck(joinFields, 'name');
+            _.each(bridgeFields, function(field) {
+              if (
+                // Only include bridge fields that link back to the original entity
+                (!bridgeEntity.bridge[field.name] || field.fk_entity !== join.entity) &&
+                // Exclude fields with the same name as those in the original entity
+                !_.includes(joinFieldNames, field.name)
+              ) {
+                joinFields.push(field);
+              }
+            });
+          }
           if (addPseudoconstant) {
             addPseudoconstants(joinFields, addPseudoconstant);
           }
           fieldList.push({
-            text: joinEntity + ' AS ' + joinAlias,
-            description: 'Explicit join to ' + joinEntity,
-            children: wildCard.concat(formatForSelect2(joinFields, [], 'name', ['description'], joinAlias + '.'))
+            text: join.entity + ' AS ' + join.alias,
+            description: 'Explicit join to ' + join.entity,
+            children: wildCard.concat(formatForSelect2(joinFields, [], 'name', ['description'], join.alias + '.'))
           });
         }
       });
       // Add implicit joins based on schema links
-      _.each(links[$scope.entity], function(link) {
-        var linkFields = _.cloneDeep(entityFields(link.entity)),
-          wildCard = addWildcard ? [{id: link.alias + '.*', text: link.alias + '.*', 'description': 'All core ' + link.entity + ' fields'}] : [];
-        if (linkFields) {
+      _.each(entityFields($scope.entity, $scope.action), function(field) {
+        if (field.fk_entity) {
+          var linkFields = _.cloneDeep(entityFields(field.fk_entity)),
+            wildCard = addWildcard ? [{id: field.name + '.*', text: field.name + '.*', 'description': 'All core ' + field.fk_entity + ' fields'}] : [];
           if (addPseudoconstant) {
             addPseudoconstants(linkFields, addPseudoconstant);
           }
           fieldList.push({
-            text: link.alias,
-            description: 'Implicit join to ' + link.entity,
-            children: wildCard.concat(formatForSelect2(linkFields, [], 'name', ['description'], link.alias + '.'))
+            text: field.name,
+            description: 'Implicit join to ' + field.fk_entity,
+            children: wildCard.concat(formatForSelect2(linkFields, [], 'name', ['description'], field.name + '.'))
           });
         }
       });
@@ -178,6 +194,19 @@
       });
     }
 
+    // Adds join fields for create actions
+    // Note: this function transforms a raw list a-la getFields; not a select2-formatted list
+    function addWriteJoinFields(fieldList) {
+      _.eachRight(fieldList, function(field, pos) {
+        var fkNameField = field.fk_entity && getField('name', field.fk_entity, $scope.action);
+        if (fkNameField) {
+          var newField = _.cloneDeep(fkNameField);
+          newField.name = field.name + '.' + newField.name;
+          fieldList.splice(pos, 0, newField);
+        }
+      });
+    }
+
     $scope.help = function(title, content) {
       if (!content) {
         $scope.helpTitle = helpTitle;
@@ -247,12 +276,13 @@
     $scope.fieldList = function(param) {
       return function() {
         var fields = [];
-        getFieldList(fields, $scope.action === 'getFields' ? ($scope.params.action || 'get') : $scope.action, ['name']);
+        getFieldList(fields, $scope.action === 'getFields' ? ($scope.params.action || 'get') : $scope.action, ['name'], true);
         // Disable fields that are already in use
         _.each($scope.params[param] || [], function(val) {
-          var usedField = val[0].replace(':name', '');
+          var usedField = val[0].replace(/[:.]name/, '');
           (_.findWhere(fields, {id: usedField}) || {}).disabled = true;
           (_.findWhere(fields, {id: usedField + ':name'}) || {}).disabled = true;
+          (_.findWhere(fields, {id: usedField + '.name'}) || {}).disabled = true;
         });
         return {results: fields};
       };
@@ -326,15 +356,15 @@
         path = alias.split('.');
       // First check explicit joins
       if (joins[alias]) {
-        return joins[alias];
+        return joins[alias].entity;
       }
-      // Then lookup implicit links
+      // Then lookup implicit joins
       _.each(path, function(node) {
-        var link = _.find(links[entity], {alias: node});
-        if (!link) {
+        var field = getField(node, entity, $scope.action);
+        if (!field || !field.fk_entity) {
           return false;
         }
-        entity = link.entity;
+        entity = field.fk_entity;
       });
       return entity;
     }
@@ -351,6 +381,16 @@
           }
         }
       });
+      _.each(params.join, function(join) {
+        // Add alias if not specified
+        if (!_.contains(join[0], 'AS')) {
+          join[0] += ' AS ' + join[0].toLowerCase();
+        }
+        // Remove EntityBridge from join if empty
+        if (!join[2]) {
+          join.splice(2, 1);
+        }
+      });
       _.each(objectParams, function(defaultVal, key) {
         if (params[key]) {
           var newParam = {};
@@ -358,7 +398,7 @@
             var val = _.cloneDeep(item[1]);
             // Remove blank items from "chain" array
             if (_.isArray(val)) {
-              _.eachRight(item[1], function(v, k) {
+              _.eachRight(item[1], function(v) {
                 if (v) {
                   return false;
                 }
@@ -433,10 +473,15 @@
       $scope.fieldsAndJoinsAndFunctionsAndWildcards.unshift({id: '*', text: '*', 'description': 'All core ' + $scope.entity + ' fields'});
     };
 
+    // Select2 formatter: Add 'strikethrough' class to deprecated items
+    $scope.formatResultCssClass = function(result) {
+      return result.deprecated ? 'strikethrough' : '';
+    };
+
     function selectAction() {
       $scope.action = $routeParams.api4action;
       if (!actions.length) {
-        formatForSelect2(getEntity().actions, actions, 'name', ['description', 'params']);
+        formatForSelect2(getEntity().actions, actions, 'name', ['description', 'params', 'deprecated']);
       }
       if ($scope.action) {
         var actionInfo = _.findWhere(actions, {id: $scope.action});
@@ -458,7 +503,7 @@
               default:
                 format = 'raw';
             }
-            if (name === 'limit') {
+            if (name === 'limit' && $scope.action === 'get') {
               defaultVal = 25;
             }
             if (name === 'debug') {
@@ -752,6 +797,10 @@
             code += newLine + "->addChain('" + name + "', " + formatOOP(chain[0], chain[1], chain[2], 2 + indent);
             code += (chain.length > 3 ? ',' : '') + (!_.isEmpty(chain[2]) ? newLine : ' ') + (chain.length > 3 ? phpFormat(chain[3]) : '') + ')';
           });
+        } else if (key === 'join') {
+          _.each(param, function(join) {
+            code += newLine + "->addJoin(" + phpFormat(join).slice(1, -1) + ')';
+          });
         }
         else if (key !== 'checkPermissions') {
           code += newLine + "->set" + ucfirst(key) + '(' + phpFormat(param, 2 + indent) + ')';
@@ -879,6 +928,7 @@
         description: entityInfo.description,
         comment: entityInfo.comment,
         type: entityInfo.type,
+        since: entityInfo.since,
         see: entityInfo.see
       });
     }
@@ -910,7 +960,7 @@
       if ($scope.entity && $routeParams.api4action !== newVal && !_.isUndefined(newVal)) {
         $location.url('/explorer/' + $scope.entity + '/' + newVal);
       } else if (newVal) {
-        setHelp($scope.entity + '::' + newVal, _.pick(_.findWhere(getEntity().actions, {name: newVal}), ['description', 'comment', 'see']));
+        setHelp($scope.entity + '::' + newVal, _.pick(_.findWhere(getEntity().actions, {name: newVal}), ['description', 'comment', 'see', 'deprecated']));
       }
     });
 
@@ -1163,7 +1213,8 @@
                 $el.removeClass('loading').crmSelect2({data: options, multiple: multi});
               });
             } else if (field.fk_entity) {
-              $el.crmEntityRef({entity: field.fk_entity, select:{multiple: multi}, static: field.fk_entity === 'Contact' ? ['user_contact_id'] : []});
+              var apiParams = field.id_field ? {id_field: field.id_field} : {};
+              $el.crmEntityRef({entity: field.fk_entity, api: apiParams, select: {multiple: multi}, static: field.fk_entity === 'Contact' ? ['user_contact_id'] : []});
             } else if (dataType === 'Boolean') {
               $el.attr('placeholder', ts('- select -')).crmSelect2({allowClear: false, multiple: multi, placeholder: ts('- select -'), data: [
                 {id: 'true', text: ts('Yes')},
@@ -1325,10 +1376,17 @@
 
   function getExplicitJoins() {
     return _.transform(params.join, function(joins, join) {
+      // Fix capitalization of AS
+      join[0] = join[0].replace(/ as /i, ' AS ');
       var j = join[0].split(' AS '),
         joinEntity = _.trim(j[0]),
         joinAlias = _.trim(j[1]) || joinEntity.toLowerCase();
-      joins[joinAlias] = joinEntity;
+      joins[joinAlias] = {
+        entity: joinEntity,
+        alias: joinAlias,
+        side: join[1] || 'LEFT',
+        bridge: _.isString(join[2]) ? join[2] : null
+      };
     }, {});
   }
 
@@ -1336,10 +1394,15 @@
     var suffix = fieldName.split(':')[1];
     fieldName = fieldName.split(':')[0];
     var fieldNames = fieldName.split('.');
-    var field = get(entity, fieldNames);
+    var field = _.cloneDeep(get(entity, fieldNames));
     if (field && suffix) {
       field.pseudoconstant = suffix;
     }
+    // When joining to a 'name' field, value fields should render an appropriate entityRef
+    if (field && field.type === 'Field' && field.name === 'name' && _.includes(fieldName, '.')) {
+      field.fk_entity = field.entity;
+      field.id_field = 'name';
+    }
     return field;
 
     function get(entity, fieldNames) {
@@ -1351,7 +1414,8 @@
         return comboName;
       }
       var linkName = fieldNames.shift(),
-        newEntity = getExplicitJoins()[linkName] || _.findWhere(links[entity], {alias: linkName}).entity;
+        join = getExplicitJoins()[linkName],
+        newEntity = join ? join.entity : _.findWhere(entityFields(entity, action), {name: linkName}).fk_entity;
       return get(newEntity, fieldNames);
     }
   }
diff --git a/civicrm/ang/crmUi.js b/civicrm/ang/crmUi.js
index 20ee8b1a8f10af7da538e118becc24499a43b7ee..7daef656ccededda09ed128a954d697ef2360159 100644
--- a/civicrm/ang/crmUi.js
+++ b/civicrm/ang/crmUi.js
@@ -633,6 +633,22 @@
       };
     })
 
+    // Use a select2 widget as a pick-list. Instead of updating ngModel, the select2 widget will fire an event.
+    // This similar to ngModel+ngChange, except that value is never stored in a model. It is only fired in the event.
+    // usage: <select crm-ui-select='{...}' on-crm-ui-select="alert("User picked this item: " + selection)"></select>
+    .directive('onCrmUiSelect', function ($parse) {
+      return {
+        priority: 10,
+        link: function (scope, element, attrs) {
+          element.on('select2-selecting', function(e) {
+            e.preventDefault();
+            element.select2('close').select2('val', '');
+            scope.$parent.$eval(attrs.onCrmUiSelect, {selection: e.val});
+          });
+        }
+      };
+    })
+
     // Render a crmEntityRef widget
     // usage: <input crm-entityref="{entity: 'Contact', select: {allowClear:true}}" ng-model="myobj.field" />
     .directive('crmEntityref', function ($parse, $timeout) {
diff --git a/civicrm/api/v3/Activity.php b/civicrm/api/v3/Activity.php
index 422ebff5905d98b3345d749f4f96a67eed860c4f..d6dc51b7ffabcd6aab626668cdb9395a152c4bf2 100644
--- a/civicrm/api/v3/Activity.php
+++ b/civicrm/api/v3/Activity.php
@@ -744,6 +744,8 @@ function _civicrm_api3_activity_getlist_params(&$request) {
     'activity_type_id',
     'subject',
     'source_contact_id',
+    $request['id_field'],
+    $request['label_field'],
   ];
   $request['params']['return'] = array_unique(array_merge($fieldsToReturn, $request['extra']));
   $request['params']['options']['sort'] = 'activity_date_time DESC';
diff --git a/civicrm/api/v3/Campaign.php b/civicrm/api/v3/Campaign.php
index 3ea11481d9b8b5037b32191bde7d11de7e552c09..3a39dd3bc03a0821c387a5cc35ad3b2d770fa6c7 100644
--- a/civicrm/api/v3/Campaign.php
+++ b/civicrm/api/v3/Campaign.php
@@ -81,7 +81,15 @@ function civicrm_api3_campaign_delete($params) {
  * @param array $request
  */
 function _civicrm_api3_campaign_getlist_params(&$request) {
-  $fieldsToReturn = ['title', 'campaign_type_id', 'status_id', 'start_date', 'end_date'];
+  $fieldsToReturn = [
+    'title',
+    'campaign_type_id',
+    'status_id',
+    'start_date',
+    'end_date',
+    $request['id_field'],
+    $request['label_field'],
+  ];
   $request['params']['return'] = array_unique(array_merge($fieldsToReturn, $request['extra']));
   if (empty($request['params']['id'])) {
     $request['params']['options']['sort'] = 'start_date DESC, title';
diff --git a/civicrm/api/v3/Contribution.php b/civicrm/api/v3/Contribution.php
index 459b6849822f4592dbc67cd99fb4012a04d31264..3a72fd9f650cfb3469955f25e1d6762ece961cd6 100644
--- a/civicrm/api/v3/Contribution.php
+++ b/civicrm/api/v3/Contribution.php
@@ -15,6 +15,8 @@
  * @package CiviCRM_APIv3
  */
 
+use Civi\Api4\Contribution;
+
 /**
  * Add or update a Contribution.
  *
@@ -40,18 +42,14 @@ function civicrm_api3_contribution_create($params) {
   }
   $params['skipCleanMoney'] = TRUE;
 
-  if (!empty($params['check_permissions']) && CRM_Financial_BAO_FinancialType::isACLFinancialTypeStatus()) {
-    if (empty($params['id'])) {
-      $op = CRM_Core_Action::ADD;
-    }
-    else {
-      if (empty($params['financial_type_id'])) {
-        $params['financial_type_id'] = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_Contribution', $params['id'], 'financial_type_id');
-      }
-      $op = CRM_Core_Action::UPDATE;
-    }
-    CRM_Financial_BAO_FinancialType::getAvailableFinancialTypes($types, $op);
-    if (!array_key_exists($params['financial_type_id'], $types)) {
+  if (!empty($params['check_permissions'])) {
+    // Check acls on this entity. Note that we pass in financial type id, if we have it
+    // since we know this is checked by acls. In v4 we do something more generic.
+    if (!Contribution::checkAccess()
+      ->setAction(empty($params['id']) ? 'create' : 'update')
+      ->addValue('id', $params['id'] ?? NULL)
+      ->addValue('financial_type_id', $params['financial_type_id'] ?? NULL)
+      ->execute()->first()['access']) {
       throw new API_Exception('You do not have permission to create this contribution');
     }
   }
diff --git a/civicrm/api/v3/CustomField.php b/civicrm/api/v3/CustomField.php
index f8652419bee97ca74bfab766dd24175dc4d0e033..7a66f733f50c45d53d57ddd0519ad381a2b984c0 100644
--- a/civicrm/api/v3/CustomField.php
+++ b/civicrm/api/v3/CustomField.php
@@ -19,20 +19,21 @@
  * Create a 'custom field' within a custom field group.
  *
  * We also empty the static var in the getfields
- * function after deletion so that the field is available for us (getfields manages date conversion
- * among other things
+ * function after deletion so that the field is available for us (getfields
+ * manages date conversion among other things
  *
  * @param array $params
  *   Array per getfields metadata.
  *
  * @return array
  *   API success array
+ * @throws \CiviCRM_API3_Exception
  */
-function civicrm_api3_custom_field_create($params) {
+function civicrm_api3_custom_field_create(array $params): array {
 
   // Legacy handling for old way of naming serialized fields
   if (!empty($params['html_type'])) {
-    if ($params['html_type'] == 'CheckBox' || strpos($params['html_type'], 'Multi-') === 0) {
+    if ($params['html_type'] === 'CheckBox' || strpos($params['html_type'], 'Multi-') === 0) {
       $params['serialize'] = 1;
     }
     $params['html_type'] = str_replace(['Multi-Select', 'Select Country', 'Select State/Province'], 'Select', $params['html_type']);
@@ -58,6 +59,18 @@ function civicrm_api3_custom_field_create($params) {
       $params['option_weight'][$key] = $value['weight'];
     }
   }
+  elseif (
+    // Legacy handling for historical apiv3 behaviour.
+    empty($params['id'])
+    && !empty($params['html_type'])
+    && $params['html_type'] !== 'Text'
+    && empty($params['option_group_id'])
+    && empty($params['option_value'])
+    && in_array($params['data_type'] ?? '', ['String', 'Int', 'Float', 'Money'])) {
+    // Trick the BAO into creating an option group even though no option values exist
+    // because that odd behaviour is locked in via a test.
+    $params['option_value'] = 1;
+  }
   $values = [];
   $customField = CRM_Core_BAO_CustomField::create($params);
   _civicrm_api3_object_to_array_unique_fields($customField, $values[$customField->id]);
@@ -90,13 +103,6 @@ function _civicrm_api3_custom_field_create_spec(&$params) {
     'title' => 'Option Values',
     'description' => "Pass an array of options (value => label) to create this field's option values",
   ];
-  // TODO: Why expose this to the api at all?
-  $params['option_type'] = [
-    'title' => 'Option Type',
-    'description' => 'This (boolean) field tells the BAO to create an option group for the field if the field type is appropriate',
-    'api.default' => 1,
-    'type' => CRM_Utils_Type::T_BOOLEAN,
-  ];
   $params['data_type']['api.default'] = 'String';
   $params['is_active']['api.default'] = 1;
 }
diff --git a/civicrm/api/v3/CustomGroup.php b/civicrm/api/v3/CustomGroup.php
index 3c5519fc706fcd6417a67eb41cf10ead72f5c247..f45c9ca3028be8885c4d4eaaf79c36b8d496a41d 100644
--- a/civicrm/api/v3/CustomGroup.php
+++ b/civicrm/api/v3/CustomGroup.php
@@ -40,6 +40,29 @@ function civicrm_api3_custom_group_create($params) {
 
     return civicrm_api3_create_error("First item in params['extends'] must be a class name (e.g. 'Contact').");
   }
+  if (!isset($params['extends_entity_column_value']) && isset($params['extends'][1])) {
+    $extendsEntity = $params['extends'][0] ?? NULL;
+    $participantEntities = [
+      'ParticipantRole',
+      'ParticipantEventName',
+      'ParticipantEventType',
+    ];
+    $params['extends_entity_column_id'] = 'null';
+    if (in_array($extendsEntity, $participantEntities)
+    ) {
+      $params['extends_entity_column_id'] = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_OptionValue', $extendsEntity, 'value', 'name');
+    }
+    $params['extends_entity_column_value'] = $params['extends'][1];
+    if (in_array($extendsEntity, $participantEntities)) {
+      $params['extends'] = 'Participant';
+    }
+    else {
+      $params['extends'] = $extendsEntity;
+    }
+  }
+  elseif (isset($params['extends']) && (!isset($params['extends'][1]) || empty($params['extends'][1]))) {
+    $params['extends'] = $params['extends'][0];
+  }
   if (isset($params['extends_entity_column_value']) && !is_array($params['extends_entity_column_value'])) {
     // BAO fails if this is a string, but API getFields says this must be a string, so we'll do a double backflip
     $params['extends_entity_column_value'] = CRM_Utils_Array::explodePadded($params['extends_entity_column_value']);
diff --git a/civicrm/api/v3/Event.php b/civicrm/api/v3/Event.php
index 324bb9775b2748a7a1e5c339d3992f770787f3ac..f20d6702cf81ec2e303c415261e4a4ae73c86659 100644
--- a/civicrm/api/v3/Event.php
+++ b/civicrm/api/v3/Event.php
@@ -204,7 +204,14 @@ function _civicrm_api3_event_getisfull(&$event, $event_id) {
  * @param array $request
  */
 function _civicrm_api3_event_getlist_params(&$request) {
-  $fieldsToReturn = ['start_date', 'event_type_id', 'title', 'summary'];
+  $fieldsToReturn = [
+    'start_date',
+    'event_type_id',
+    'title',
+    'summary',
+    $request['id_field'],
+    $request['label_field'],
+  ];
   $request['params']['return'] = array_unique(array_merge($fieldsToReturn, $request['extra']));
   $request['params']['options']['sort'] = 'start_date DESC';
   if (empty($request['params']['id'])) {
diff --git a/civicrm/api/v3/Mailing.php b/civicrm/api/v3/Mailing.php
index 653fdcd2b2a95762f9b086cd587dab8aa5c4cc51..51a5679bba02756bc72d66759601d036ce7f467b 100644
--- a/civicrm/api/v3/Mailing.php
+++ b/civicrm/api/v3/Mailing.php
@@ -782,6 +782,18 @@ function civicrm_api3_mailing_stats($params) {
   return civicrm_api3_create_success($stats);
 }
 
+function _civicrm_api3_mailing_update_email_resetdate_spec(&$spec) {
+  $spec['minDays']['title'] = 'Number of days to wait without a bounce to assume successful delivery (default 3)';
+  $spec['minDays']['type'] = CRM_Utils_Type::T_INT;
+  $spec['minDays']['api.default'] = 3;
+  $spec['minDays']['api.required'] = 1;
+
+  $spec['maxDays']['title'] = 'Analyze mailings since this many days ago (default 7)';
+  $spec['maxDays']['type'] = CRM_Utils_Type::T_INT;
+  $spec['maxDays']['api.default'] = 7;
+  $spec['maxDays']['api.required'] = 1;
+}
+
 /**
  * Fix the reset dates on the email record based on when a mail was last delivered.
  *
@@ -793,9 +805,6 @@ function civicrm_api3_mailing_stats($params) {
  * @return array
  */
 function civicrm_api3_mailing_update_email_resetdate($params) {
-  CRM_Mailing_Event_BAO_Delivered::updateEmailResetDate(
-    CRM_Utils_Array::value('minDays', $params, 3),
-    CRM_Utils_Array::value('maxDays', $params, 3)
-  );
+  CRM_Mailing_Event_BAO_Delivered::updateEmailResetDate((int) $params['minDays'], (int) $params['maxDays']);
   return civicrm_api3_create_success();
 }
diff --git a/civicrm/api/v3/Membership.php b/civicrm/api/v3/Membership.php
index c7a3b1d5e478cba39c8a0fc6575f83f75a370d92..52e64b8b741bf653cf755544d81991aa97c191c9 100644
--- a/civicrm/api/v3/Membership.php
+++ b/civicrm/api/v3/Membership.php
@@ -90,19 +90,9 @@ function civicrm_api3_membership_create($params) {
 
   // Calculate membership dates
   // Fixme: This code belongs in the BAO
-  if (empty($params['id']) || !empty($params['num_terms'])) {
+  if (!empty($params['num_terms'])) {
     // If this is a new membership or we have a specified number of terms calculate membership dates.
-    if (empty($params['id'])) {
-      // This is a new membership, calculate the membership dates.
-      $calcDates = CRM_Member_BAO_MembershipType::getDatesForMembershipType(
-        $params['membership_type_id'],
-        CRM_Utils_Array::value('join_date', $params),
-        CRM_Utils_Array::value('start_date', $params),
-        CRM_Utils_Array::value('end_date', $params),
-        CRM_Utils_Array::value('num_terms', $params, 1)
-      );
-    }
-    else {
+    if (!empty($params['id'])) {
       // This is an existing membership, calculate the membership dates after renewal
       // num_terms is treated as a 'special sauce' for is_renewal but this
       // isn't really helpful for completing pendings.
@@ -112,10 +102,10 @@ function civicrm_api3_membership_create($params) {
         CRM_Utils_Array::value('membership_type_id', $params),
         $params['num_terms']
       );
-    }
-    foreach (['join_date', 'start_date', 'end_date'] as $date) {
-      if (empty($params[$date]) && isset($calcDates[$date])) {
-        $params[$date] = $calcDates[$date];
+      foreach (['join_date', 'start_date', 'end_date'] as $date) {
+        if (empty($params[$date]) && isset($calcDates[$date])) {
+          $params[$date] = $calcDates[$date];
+        }
       }
     }
   }
diff --git a/civicrm/api/v3/MembershipType.php b/civicrm/api/v3/MembershipType.php
index 9dd682e0a9fb7026f83c8faf55b8ed8b396c6109..595b18046a230634b30ce543863bff99b8023f65 100644
--- a/civicrm/api/v3/MembershipType.php
+++ b/civicrm/api/v3/MembershipType.php
@@ -106,6 +106,7 @@ function _civicrm_api3_membership_type_get_spec(&$params) {
  *   Array of parameters determined by getfields.
  */
 function _civicrm_api3_membership_type_getlist_params(&$request) {
+  _civicrm_api3_generic_getlist_params($request);
   if (!isset($request['params']['is_active']) && empty($request['params']['id'])) {
     $request['params']['is_active'] = 1;
   }
diff --git a/civicrm/api/v3/Order.php b/civicrm/api/v3/Order.php
index 870b07fbd44253baec3415a32a700c5c3bed1d33..fdb86c1253785d75815791328b44d348205d0598 100644
--- a/civicrm/api/v3/Order.php
+++ b/civicrm/api/v3/Order.php
@@ -73,28 +73,23 @@ function _civicrm_api3_order_get_spec(array &$params) {
  */
 function civicrm_api3_order_create(array $params): array {
   civicrm_api3_verify_one_mandatory($params, NULL, ['line_items', 'total_amount']);
-  $entity = NULL;
-  $entityIds = [];
+
   $params['contribution_status_id'] = 'Pending';
-  $priceSetID = NULL;
+  $order = new CRM_Financial_BAO_Order();
+  $order->setDefaultFinancialTypeID($params['financial_type_id'] ?? NULL);
 
   if (!empty($params['line_items']) && is_array($params['line_items'])) {
     CRM_Contribute_BAO_Contribution::checkLineItems($params);
-    foreach ($params['line_items'] as $lineItems) {
-      $entityParams = $lineItems['params'] ?? [];
-      if (!empty($entityParams) && !empty($lineItems['line_item'])) {
-        $item = reset($lineItems['line_item']);
-        if (!empty($item['membership_type_id'])) {
-          $entity = 'membership';
-        }
-        else {
-          $entity = str_replace('civicrm_', '', $item['entity_table']);
-        }
+    foreach ($params['line_items'] as $index => $lineItems) {
+      foreach ($lineItems['line_item'] as $innerIndex => $lineItem) {
+        $lineIndex = $index . '+' . $innerIndex;
+        $order->setLineItem($lineItem, $lineIndex);
       }
 
-      if ($entityParams) {
-        $supportedEntity = TRUE;
-        switch ($entity) {
+      $entityParams = $lineItems['params'] ?? NULL;
+
+      if ($entityParams && $order->getLineItemEntity($lineIndex) !== 'contribution') {
+        switch ($order->getLineItemEntity($lineIndex)) {
           case 'participant':
             if (isset($entityParams['participant_status_id'])
               && (!CRM_Event_BAO_ParticipantStatusType::getIsValidStatusForClass($entityParams['participant_status_id'], 'Pending'))) {
@@ -102,39 +97,38 @@ function civicrm_api3_order_create(array $params): array {
             }
             $entityParams['participant_status_id'] = $entityParams['participant_status_id'] ?? 'Pending from incomplete transaction';
             $entityParams['status_id'] = $entityParams['participant_status_id'];
+            $entityParams['skipLineItem'] = TRUE;
+            $entityResult = civicrm_api3('Participant', 'create', $entityParams);
+            // @todo - once membership is cleaned up & financial validation tests are extended
+            // we can look at removing this - some weird handling in removeFinancialAccounts
+            $params['contribution_mode'] = 'participant';
+            $params['participant_id'] = $entityResult['id'];
             break;
 
           case 'membership':
             $entityParams['status_id'] = 'Pending';
+            if (!empty($params['contribution_recur_id'])) {
+              $entityParams['contribution_recur_id'] = $params['contribution_recur_id'];
+            }
+            $entityParams['skipLineItem'] = TRUE;
+            $entityResult = civicrm_api3('Membership', 'create', $entityParams);
             break;
 
-          default:
-            // Don't create any related entities. We might want to support eg. Pledge one day?
-            $supportedEntity = FALSE;
-            break;
         }
-        if ($supportedEntity) {
-          $entityParams['skipLineItem'] = TRUE;
-          $entityResult = civicrm_api3($entity, 'create', $entityParams);
-          $params['contribution_mode'] = $entity;
-          $entityIds[] = $params[$entity . '_id'] = $entityResult['id'];
-          foreach ($lineItems['line_item'] as &$items) {
-            $items['entity_id'] = $entityResult['id'];
-          }
-        }
-      }
 
-      if (empty($priceSetID)) {
-        $item = reset($lineItems['line_item']);
-        $priceSetID = (int) civicrm_api3('PriceField', 'getvalue', [
-          'return' => 'price_set_id',
-          'id' => $item['price_field_id'],
-        ]);
-        $params['line_item'][$priceSetID] = [];
+        foreach ($lineItems['line_item'] as $innerIndex => $lineItem) {
+          $lineIndex = $index . '+' . $innerIndex;
+          $order->setLineItemValue('entity_id', $entityResult['id'], $lineIndex);
+        }
       }
-      $params['line_item'][$priceSetID] = array_merge($params['line_item'][$priceSetID], $lineItems['line_item']);
     }
+    $priceSetID = $order->getPriceSetID();
+    $params['line_item'][$priceSetID] = $order->getLineItems();
+  }
+  else {
+    $order->setPriceSetToDefault('contribution');
   }
+
   $contributionParams = $params;
   // If this is nested we need to set sequential to 0 as sequential handling is done
   // in create_success & id will be miscalculated...
@@ -149,25 +143,8 @@ function civicrm_api3_order_create(array $params): array {
   }
 
   $contribution = civicrm_api3('Contribution', 'create', $contributionParams);
-  $contribution['values'][$contribution['id']]['line_item'] = $params['line_item'][$priceSetID] ?? [];
+  $contribution['values'][$contribution['id']]['line_item'] = array_values($order->getLineItems());
 
-  // add payments
-  if ($entity && !empty($contribution['id'])) {
-    foreach ($entityIds as $entityId) {
-      $paymentParams = [
-        'contribution_id' => $contribution['id'],
-        $entity . '_id' => $entityId,
-      ];
-      // if entity is pledge then build pledge param
-      if ($entity === 'pledge') {
-        $paymentParams += $entityParams;
-      }
-      elseif ($entity === 'membership') {
-        $paymentParams['isSkipLineItem'] = TRUE;
-      }
-      civicrm_api3($entity . '_payment', 'create', $paymentParams);
-    }
-  }
   return civicrm_api3_create_success($contribution['values'] ?? [], $params, 'Order', 'create');
 }
 
diff --git a/civicrm/api/v3/Profile.php b/civicrm/api/v3/Profile.php
index c7c337d20985a520a5ffbc5e3ec3b99c3dcb73ad..eb78e51e0dfe6932f04d2e7bfbe7d58d7646e842 100644
--- a/civicrm/api/v3/Profile.php
+++ b/civicrm/api/v3/Profile.php
@@ -500,7 +500,7 @@ function _civicrm_api3_buildprofile_submitfields($profileID, $optionsBehaviour,
   if (isset($profileFields[$profileID])) {
     return $profileFields[$profileID];
   }
-  $fields = civicrm_api3('uf_field', 'get', ['uf_group_id' => $profileID]);
+  $fields = civicrm_api3('uf_field', 'get', ['uf_group_id' => $profileID, 'options' => ['limit' => 0]]);
   $entities = [];
   foreach ($fields['values'] as $field) {
     if (!$field['is_active']) {
diff --git a/civicrm/api/v3/utils.php b/civicrm/api/v3/utils.php
index c9a7f03fef5ea7ee6a6918debb1a7f0d00ec9288..0c8f3190202858715f7ebec9fa7b4d0cf97f82dd 100644
--- a/civicrm/api/v3/utils.php
+++ b/civicrm/api/v3/utils.php
@@ -2344,6 +2344,18 @@ function _civicrm_api3_api_match_pseudoconstant_value(&$value, $options, $fieldN
     return;
   }
 
+  // Legacy handling of tag used_for values, see https://github.com/civicrm/civicrm-core/pull/20573
+  if ($fieldName === 'used_for') {
+    $legacyTagUsedFor = [
+      'Activities' => 'Activity',
+      'Contacts' => 'Contact',
+      'Cases' => 'Case',
+      // Attachements [sic] was the original spelling
+      'Attachements' => 'File',
+    ];
+    $value = $legacyTagUsedFor[$value] ?? $value;
+  }
+
   // Translate value into key
   // Cast $value to string to avoid a bug in array_search
   $newValue = array_search((string) $value, $options);
diff --git a/civicrm/bin/regen.sh b/civicrm/bin/regen.sh
index db3e70511bb393c99253a8ad548cbd882d3cd328..5eaaeddc029335e4d2a20924058ac80a065acf4b 100755
--- a/civicrm/bin/regen.sh
+++ b/civicrm/bin/regen.sh
@@ -47,7 +47,7 @@ php GenerateData.php
 
 ## Prune local data
 $MYSQLCMD -e "DROP TABLE IF EXISTS civicrm_install_canary; DELETE FROM civicrm_cache; DELETE FROM civicrm_setting;"
-$MYSQLCMD -e "DELETE FROM civicrm_extension WHERE full_name NOT IN ('sequentialcreditnotes', 'eventcart', 'greenwich', 'search', 'flexmailer', 'financialacls', 'contributioncancelactions', 'recaptcha');"
+$MYSQLCMD -e "DELETE FROM civicrm_extension WHERE full_name NOT IN ('sequentialcreditnotes', 'eventcart', 'greenwich', 'search', 'flexmailer', 'financialacls', 'contributioncancelactions', 'recaptcha', 'ckeditor4');"
 TABLENAMES=$( echo "show tables like 'civicrm_%'" | $MYSQLCMD | grep ^civicrm_ | xargs )
 
 cd $CIVISOURCEDIR/sql
diff --git a/civicrm/bower_components/sms-counter/.composer-downloads/sms-counter-c807b9dfbc50b183762a05eda008e56b.json b/civicrm/bower_components/sms-counter/.composer-downloads/sms-counter-c807b9dfbc50b183762a05eda008e56b.json
new file mode 100644
index 0000000000000000000000000000000000000000..0092349f9ba9651eafe9e71fca0bf3f39e934012
--- /dev/null
+++ b/civicrm/bower_components/sms-counter/.composer-downloads/sms-counter-c807b9dfbc50b183762a05eda008e56b.json
@@ -0,0 +1,8 @@
+{
+    "name": "civicrm/civicrm-core:sms-counter",
+    "url": "https://github.com/danxexe/sms-counter/archive/master.zip",
+    "checksum": "871dc7092c66985ec766dd1bf5c66df94dcc66b8f003d3cf3fee541aa1115fc0",
+    "ignore": [
+        "examples"
+    ]
+}
\ No newline at end of file
diff --git a/civicrm/bower_components/sms-counter/LICENSE.txt b/civicrm/bower_components/sms-counter/LICENSE.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3a28c5830faa4e3583f39d9c6f5c5b8c7902bc5
--- /dev/null
+++ b/civicrm/bower_components/sms-counter/LICENSE.txt
@@ -0,0 +1,19 @@
+Copyright (c) 2013 danxexe
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
\ No newline at end of file
diff --git a/civicrm/bower_components/sms-counter/package.json b/civicrm/bower_components/sms-counter/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..a2b9dc45fb5da47724c074cae6aceba9a2891a55
--- /dev/null
+++ b/civicrm/bower_components/sms-counter/package.json
@@ -0,0 +1,26 @@
+{
+  "name": "sms-counter",
+  "version": "1.0.0",
+  "description": "Character counter for SMS messages.",
+  "main": "sms_counter.js",
+  "directories": {
+    "example": "examples"
+  },
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1"
+  },
+  "repository": {
+    "type": "git",
+    "url": "git+ssh://git@github.com/danxexe/sms-counter.git"
+  },
+  "keywords": [
+    "sms",
+    "sms-counter"
+  ],
+  "author": "Danilo R. Gonçalves",
+  "license": "ISC",
+  "bugs": {
+    "url": "https://github.com/danxexe/sms-counter/issues"
+  },
+  "homepage": "https://github.com/danxexe/sms-counter#readme"
+}
diff --git a/civicrm/bower_components/sms-counter/readme.md b/civicrm/bower_components/sms-counter/readme.md
new file mode 100644
index 0000000000000000000000000000000000000000..9fe1722100d2826ebf406c579b712c8090224f73
--- /dev/null
+++ b/civicrm/bower_components/sms-counter/readme.md
@@ -0,0 +1,70 @@
+SMS Counter
+=============================
+
+Character counter for SMS messages.
+
+
+Usage
+----------
+
+```javascript
+SmsCounter.count('content of the SMS')
+```
+
+This will return the following object:
+
+```javascript
+{
+	encoding: "GSM_7BIT",
+	length: 18,
+	messages: 1,
+	per_message: 160,
+	remaining: 142
+}
+```
+
+jQuery Plugin
+----------
+
+Given the following markup:
+
+```html
+<textarea name="message" id="message"></textarea>
+<ul id="sms-counter">
+	<li>Encoding: <span class="encoding"></span></li>
+	<li>Length: <span class="length"></span></li>
+	<li>Messages: <span class="messages"></span></li>
+	<li>Per Message: <span class="per_message"></span></li>
+	<li>Remaining: <span class="remaining"></span></li>
+</ul>
+```
+
+You can use the `countSms` jQuery extension to update the count on keyup:
+
+```javascript
+$('#message').countSms('#sms-counter')
+```
+
+
+TODO
+----
+
+- Better docs
+
+
+Known Issue
+----
+
+(none)
+
+
+Other Languages
+----
+
+- PHP: [https://github.com/acpmasquerade/sms-counter-php](https://github.com/acpmasquerade/sms-counter-php)
+- C#: [https://github.com/troll31/sms-counter-csharp](https://github.com/troll31/sms-counter-csharp)
+
+
+## License
+
+SMS Counter is released under the [MIT License](LICENSE.txt).
\ No newline at end of file
diff --git a/civicrm/bower_components/sms-counter/sms_counter.js b/civicrm/bower_components/sms-counter/sms_counter.js
new file mode 100644
index 0000000000000000000000000000000000000000..fdab0536618ea48991915fc3a1e6db0a9e6b75f3
--- /dev/null
+++ b/civicrm/bower_components/sms-counter/sms_counter.js
@@ -0,0 +1,112 @@
+(function() {
+  var $, SmsCounter;
+
+  window.SmsCounter = SmsCounter = (function() {
+    function SmsCounter() {}
+
+    SmsCounter.gsm7bitChars = "@£$¥èéùìòÇ\\nØø\\rÅåΔ_ΦΓΛΩΠΨΣΘΞÆæßÉ !\\\"#¤%&'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà";
+
+    SmsCounter.gsm7bitExChar = "\\^{}\\\\\\[~\\]|€";
+
+    SmsCounter.gsm7bitRegExp = RegExp("^[" + SmsCounter.gsm7bitChars + "]*$");
+
+    SmsCounter.gsm7bitExRegExp = RegExp("^[" + SmsCounter.gsm7bitChars + SmsCounter.gsm7bitExChar + "]*$");
+
+    SmsCounter.gsm7bitExOnlyRegExp = RegExp("^[\\" + SmsCounter.gsm7bitExChar + "]*$");
+
+    SmsCounter.GSM_7BIT = 'GSM_7BIT';
+
+    SmsCounter.GSM_7BIT_EX = 'GSM_7BIT_EX';
+
+    SmsCounter.UTF16 = 'UTF16';
+
+    SmsCounter.messageLength = {
+      GSM_7BIT: 160,
+      GSM_7BIT_EX: 160,
+      UTF16: 70
+    };
+
+    SmsCounter.multiMessageLength = {
+      GSM_7BIT: 153,
+      GSM_7BIT_EX: 153,
+      UTF16: 67
+    };
+
+    SmsCounter.count = function(text) {
+      var count, encoding, length, messages, per_message, remaining;
+      encoding = this.detectEncoding(text);
+      length = text.length;
+      if (encoding === this.GSM_7BIT_EX) {
+        length += this.countGsm7bitEx(text);
+      }
+      per_message = this.messageLength[encoding];
+      if (length > per_message) {
+        per_message = this.multiMessageLength[encoding];
+      }
+      messages = Math.ceil(length / per_message);
+      remaining = (per_message * messages) - length;
+      if(remaining == 0 && messages == 0){
+        remaining = per_message;
+      }
+      return count = {
+        encoding: encoding,
+        length: length,
+        per_message: per_message,
+        remaining: remaining,
+        messages: messages
+      };
+    };
+
+    SmsCounter.detectEncoding = function(text) {
+      switch (false) {
+        case text.match(this.gsm7bitRegExp) == null:
+          return this.GSM_7BIT;
+        case text.match(this.gsm7bitExRegExp) == null:
+          return this.GSM_7BIT_EX;
+        default:
+          return this.UTF16;
+      }
+    };
+
+    SmsCounter.countGsm7bitEx = function(text) {
+      var char2, chars;
+      chars = (function() {
+        var _i, _len, _results;
+        _results = [];
+        for (_i = 0, _len = text.length; _i < _len; _i++) {
+          char2 = text[_i];
+          if (char2.match(this.gsm7bitExOnlyRegExp) != null) {
+            _results.push(char2);
+          }
+        }
+        return _results;
+      }).call(this);
+      return chars.length;
+    };
+
+    return SmsCounter;
+
+  })();
+
+  if (typeof jQuery !== "undefined" && jQuery !== null) {
+    $ = jQuery;
+    $.fn.countSms = function(target) {
+      var count_sms, input;
+      input = this;
+      target = $(target);
+      count_sms = function() {
+        var count, k, v, _results;
+        count = SmsCounter.count(input.val());
+        _results = [];
+        for (k in count) {
+          v = count[k];
+          _results.push(target.find("." + k).text(v));
+        }
+        return _results;
+      };
+      this.on('keyup', count_sms);
+      return count_sms();
+    };
+  }
+
+}).call(this);
diff --git a/civicrm/bower_components/sms-counter/sms_counter.js.coffee b/civicrm/bower_components/sms-counter/sms_counter.js.coffee
new file mode 100644
index 0000000000000000000000000000000000000000..214cbf1da9204b762fbdd4540aee811e4905264a
--- /dev/null
+++ b/civicrm/bower_components/sms-counter/sms_counter.js.coffee
@@ -0,0 +1,65 @@
+window.SmsCounter = class SmsCounter
+
+  @gsm7bitChars = "@£$¥èéùìòÇ\\nØø\\rÅåΔ_ΦΓΛΩΠΨΣΘΞÆæßÉ !\\\"#¤%&'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà"
+  @gsm7bitExChar = "\\^{}\\\\\\[~\\]|€"
+
+  @gsm7bitRegExp = RegExp("^[#{(@gsm7bitChars)}]*$")
+  @gsm7bitExRegExp = RegExp("^[#{ (@gsm7bitChars)}#{(@gsm7bitExChar)}]*$")
+  @gsm7bitExOnlyRegExp = RegExp("^[\\#{(@gsm7bitExChar)}]*$")
+
+  @GSM_7BIT = 'GSM_7BIT'
+  @GSM_7BIT_EX = 'GSM_7BIT_EX'
+  @UTF16 = 'UTF16'
+
+  @messageLength =
+    GSM_7BIT: 160
+    GSM_7BIT_EX: 160
+    UTF16: 70
+
+  @multiMessageLength =
+    GSM_7BIT: 153
+    GSM_7BIT_EX: 153
+    UTF16: 67
+
+  @count: (text) ->
+    encoding = @detectEncoding(text)
+
+    length = text.length
+    length += @countGsm7bitEx(text) if encoding == @GSM_7BIT_EX
+
+    per_message = @messageLength[encoding]
+    per_message = @multiMessageLength[encoding] if length > per_message
+
+    messages = Math.ceil(length / per_message)
+    remaining = (per_message * messages) - length
+    remaining = per_message if (remaining == 0 && messages == 0)
+
+    count =
+      encoding: encoding
+      length: length
+      per_message: per_message
+      remaining: remaining
+      messages: messages
+
+  @detectEncoding: (text) ->
+    switch
+      when text.match(@gsm7bitRegExp)? then @GSM_7BIT
+      when text.match(@gsm7bitExRegExp)? then @GSM_7BIT_EX
+      else @UTF16
+
+  @countGsm7bitEx: (text) ->
+    chars = (char2 for char2 in text when char2.match(@gsm7bitExOnlyRegExp)?)
+    chars.length
+
+if jQuery?
+  $ = jQuery
+  $.fn.countSms = (target) ->
+    input = @
+    target = $(target)
+    count_sms = ->
+      count = SmsCounter.count(input.val())
+      for k, v of count
+        target.find(".#{k}").text(v)
+
+    @.on 'keyup', count_sms
+    count_sms()
diff --git a/civicrm/bower_components/sms-counter/sms_counter.min.js b/civicrm/bower_components/sms-counter/sms_counter.min.js
new file mode 100644
index 0000000000000000000000000000000000000000..3558ea98c2cd172210e79deaafd94b13f86c1edc
--- /dev/null
+++ b/civicrm/bower_components/sms-counter/sms_counter.min.js
@@ -0,0 +1 @@
+!function(){var $,SmsCounter;window.SmsCounter=SmsCounter=function(){function SmsCounter(){}SmsCounter.gsm7bitChars="@£$¥èéùìòÇ\\nØø\\rÅåΔ_ΦΓΛΩΠΨΣΘΞÆæßÉ !\\\"#¤%&'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà";SmsCounter.gsm7bitExChar="\\^{}\\\\\\[~\\]|€";SmsCounter.gsm7bitRegExp=RegExp("^["+SmsCounter.gsm7bitChars+"]*$");SmsCounter.gsm7bitExRegExp=RegExp("^["+SmsCounter.gsm7bitChars+SmsCounter.gsm7bitExChar+"]*$");SmsCounter.gsm7bitExOnlyRegExp=RegExp("^[\\"+SmsCounter.gsm7bitExChar+"]*$");SmsCounter.GSM_7BIT="GSM_7BIT";SmsCounter.GSM_7BIT_EX="GSM_7BIT_EX";SmsCounter.UTF16="UTF16";SmsCounter.messageLength={GSM_7BIT:160,GSM_7BIT_EX:160,UTF16:70};SmsCounter.multiMessageLength={GSM_7BIT:153,GSM_7BIT_EX:153,UTF16:67};SmsCounter.count=function(text){var count,encoding,length,messages,per_message,remaining;encoding=this.detectEncoding(text);length=text.length;if(encoding===this.GSM_7BIT_EX){length+=this.countGsm7bitEx(text)}per_message=this.messageLength[encoding];if(length>per_message){per_message=this.multiMessageLength[encoding]}messages=Math.ceil(length/per_message);remaining=per_message*messages-length;if(remaining == 0 && messages == 0){remaining = per_message; }return count={encoding:encoding,length:length,per_message:per_message,remaining:remaining,messages:messages}};SmsCounter.detectEncoding=function(text){switch(false){case text.match(this.gsm7bitRegExp)==null:return this.GSM_7BIT;case text.match(this.gsm7bitExRegExp)==null:return this.GSM_7BIT_EX;default:return this.UTF16}};SmsCounter.countGsm7bitEx=function(text){var char2,chars;chars=function(){var _i,_len,_results;_results=[];for(_i=0,_len=text.length;_i<_len;_i++){char2=text[_i];if(char2.match(this.gsm7bitExOnlyRegExp)!=null){_results.push(char2)}}return _results}.call(this);return chars.length};return SmsCounter}();if(typeof jQuery!=="undefined"&&jQuery!==null){$=jQuery;$.fn.countSms=function(target){var count_sms,input;input=this;target=$(target);count_sms=function(){var count,k,v,_results;count=SmsCounter.count(input.val());_results=[];for(k in count){v=count[k];_results.push(target.find("."+k).text(v))}return _results};this.on("keyup",count_sms);return count_sms()}}}.call(this);
\ No newline at end of file
diff --git a/civicrm/civicrm-version.php b/civicrm/civicrm-version.php
index 53b70d8074d2f002a388596b8f9f325c490d57a7..7a93937c575607edd37354f4554fdb62591c5d23 100644
--- a/civicrm/civicrm-version.php
+++ b/civicrm/civicrm-version.php
@@ -1,7 +1,7 @@
 <?php
 /** @deprecated */
 function civicrmVersion( ) {
-  return array( 'version'  => '5.39.1',
+  return array( 'version'  => '5.40.0',
                 'cms'      => 'Wordpress',
                 'revision' => '' );
 }
diff --git a/civicrm/composer.json b/civicrm/composer.json
index 6e15bd0388dd5fe9b76d69abf8dd117d6f7f838d..5015cc35eb01c175ca06edef0ea9d55d35794659 100644
--- a/civicrm/composer.json
+++ b/civicrm/composer.json
@@ -42,7 +42,7 @@
     }
   },
   "require": {
-    "php": "~7.2",
+    "php": "~7.2 || ~8",
     "cache/integration-tests": "~0.17.0",
     "dompdf/dompdf" : "~1.0.0",
     "firebase/php-jwt": ">=3 <6",
@@ -260,6 +260,10 @@
       "smartmenus": {
         "url": "https://github.com/vadikom/smartmenus/archive/1.1.0.zip",
         "ignore": [".gitignore", "Gruntfile.js"]
+      },
+      "sms-counter": {
+        "url": "https://github.com/danxexe/sms-counter/archive/master.zip",
+        "ignore": ["examples"]
       }
     },
     "patches": {
diff --git a/civicrm/composer.lock b/civicrm/composer.lock
index 48ef36a914801c6f380b0661e1809f50b937d649..8dfc659d5ffefa1843cdb3db7a411dbfe2870e14 100644
--- a/civicrm/composer.lock
+++ b/civicrm/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "e7cca2de5a5b2bd54ac4c14b677845ed",
+    "content-hash": "3d4576d680aea8094656e1d832571507",
     "packages": [
         {
             "name": "adrienrn/php-mimetyper",
@@ -4036,7 +4036,7 @@
     "prefer-stable": false,
     "prefer-lowest": false,
     "platform": {
-        "php": "~7.2",
+        "php": "~7.2 || ~8",
         "ext-intl": "*",
         "ext-json": "*"
     },
diff --git a/civicrm/css/civicrm.css b/civicrm/css/civicrm.css
index c91c5a000c1326fd11af6d1bf375c387a7612bdc..27277e73b756c68062c967179ab21262a8b5e23e 100644
--- a/civicrm/css/civicrm.css
+++ b/civicrm/css/civicrm.css
@@ -2781,7 +2781,7 @@ tbody.scrollContent tr.alternateRow {
 }
 
 .crm-container .disabled,
-.crm-container .disabled td,
+.crm-container .disabled *,
 .crm-container .cancelled,
 .crm-container .cancelled td,
 .crm-container li.disabled a.ui-tabs-anchor,
diff --git a/civicrm/ext/afform/admin/Civi/AfformAdmin/AfformAdminMeta.php b/civicrm/ext/afform/admin/Civi/AfformAdmin/AfformAdminMeta.php
index 06619a649c00aa7a50643d7e3c8b92716242a5eb..fa8554171b9126abf0f5a0589199064bff5ed941 100644
--- a/civicrm/ext/afform/admin/Civi/AfformAdmin/AfformAdminMeta.php
+++ b/civicrm/ext/afform/admin/Civi/AfformAdmin/AfformAdminMeta.php
@@ -2,6 +2,7 @@
 
 namespace Civi\AfformAdmin;
 
+use Civi\Api4\Utils\CoreUtil;
 use CRM_AfformAdmin_ExtensionUtil as E;
 
 class AfformAdminMeta {
@@ -104,7 +105,26 @@ class AfformAdminMeta {
       }
       $params['values']['state_province_id'] = \Civi::settings()->get('defaultContactStateProvince');
     }
-    return (array) civicrm_api4($entityName, 'getFields', $params, 'name');
+    $fields = (array) civicrm_api4($entityName, 'getFields', $params);
+
+    // Add implicit joins to search fields
+    if ($params['action'] === 'search') {
+      foreach (array_reverse($fields, TRUE) as $index => $field) {
+        if (!empty($field['fk_entity']) && !$field['options']) {
+          $fkLabelField = CoreUtil::getInfoItem($field['fk_entity'], 'label_field');
+          if ($fkLabelField) {
+            // Add the label field from the other entity to this entity's list of fields
+            $newField = civicrm_api4($field['fk_entity'], 'getFields', [
+              'where' => [['name', '=', $fkLabelField]],
+            ])->first();
+            $newField['name'] = $field['name'] . '.' . $newField['name'];
+            $newField['label'] = $field['label'] . ' ' . $newField['label'];
+            array_splice($fields, $index, 0, [$newField]);
+          }
+        }
+      }
+    }
+    return array_column($fields, NULL, 'name');
   }
 
   /**
diff --git a/civicrm/ext/afform/admin/afform_admin.civix.php b/civicrm/ext/afform/admin/afform_admin.civix.php
index 9db46b2caab539d6d0a53773d953166c6631cd73..1a1fcfc28ef0ad27a365f32a9925ebd9ac19abea 100644
--- a/civicrm/ext/afform/admin/afform_admin.civix.php
+++ b/civicrm/ext/afform/admin/afform_admin.civix.php
@@ -7,9 +7,9 @@
  * extension.
  */
 class CRM_AfformAdmin_ExtensionUtil {
-  const SHORT_NAME = "afform_admin";
-  const LONG_NAME = "org.civicrm.afform_admin";
-  const CLASS_PREFIX = "CRM_AfformAdmin";
+  const SHORT_NAME = 'afform_admin';
+  const LONG_NAME = 'org.civicrm.afform_admin';
+  const CLASS_PREFIX = 'CRM_AfformAdmin';
 
   /**
    * Translate a string using the extension's domain.
@@ -221,7 +221,8 @@ function _afform_admin_civix_upgrader() {
  * Search directory tree for files which match a glob pattern.
  *
  * Note: Dot-directories (like "..", ".git", or ".svn") will be ignored.
- * Note: In Civi 4.3+, delegate to CRM_Utils_File::findFiles()
+ * Note: Delegate to CRM_Utils_File::findFiles(), this function kept only
+ * for backward compatibility of extension code that uses it.
  *
  * @param string $dir base dir
  * @param string $pattern , glob pattern, eg "*.txt"
@@ -229,32 +230,7 @@ function _afform_admin_civix_upgrader() {
  * @return array
  */
 function _afform_admin_civix_find_files($dir, $pattern) {
-  if (is_callable(['CRM_Utils_File', 'findFiles'])) {
-    return CRM_Utils_File::findFiles($dir, $pattern);
-  }
-
-  $todos = [$dir];
-  $result = [];
-  while (!empty($todos)) {
-    $subdir = array_shift($todos);
-    foreach (_afform_admin_civix_glob("$subdir/$pattern") as $match) {
-      if (!is_dir($match)) {
-        $result[] = $match;
-      }
-    }
-    if ($dh = opendir($subdir)) {
-      while (FALSE !== ($entry = readdir($dh))) {
-        $path = $subdir . DIRECTORY_SEPARATOR . $entry;
-        if ($entry[0] == '.') {
-        }
-        elseif (is_dir($path)) {
-          $todos[] = $path;
-        }
-      }
-      closedir($dh);
-    }
-  }
-  return $result;
+  return CRM_Utils_File::findFiles($dir, $pattern);
 }
 
 /**
diff --git a/civicrm/ext/afform/admin/ang/afGuiEditor.css b/civicrm/ext/afform/admin/ang/afGuiEditor.css
index a36906c0244677e5ead857701e4f3725e4be267e..7e5c2f219e6484b147a53c4918f9874608542dff 100644
--- a/civicrm/ext/afform/admin/ang/afGuiEditor.css
+++ b/civicrm/ext/afform/admin/ang/afGuiEditor.css
@@ -268,7 +268,7 @@ body.af-gui-dragging {
   color: #0071bd;
 }
 
-#afGuiEditor [ui-sortable] {
+#afGuiEditor-canvas [ui-sortable] {
   min-height: 60px;
   margin-top: 10px;
 }
@@ -291,7 +291,9 @@ body.af-gui-dragging {
   max-height: 400px;
   overflow-y: auto;
 }
-
+#afGuiEditor .af-gui-entity-palette-select-list label {
+  margin-top: 10px;
+}
 #afGuiEditor .af-gui-entity-palette-select-list [ui-sortable] > div {
   cursor: move;
   padding-left: 10px;
diff --git a/civicrm/ext/afform/admin/ang/afGuiEditor/afGuiSearch.html b/civicrm/ext/afform/admin/ang/afGuiEditor/afGuiSearch.html
index 17a131afcf0354a543b24bd1f3e1881ca5e207c7..63f107c8033c9b66e82dd5c1f3ce9b164edf16b2 100644
--- a/civicrm/ext/afform/admin/ang/afGuiEditor/afGuiSearch.html
+++ b/civicrm/ext/afform/admin/ang/afGuiEditor/afGuiSearch.html
@@ -25,7 +25,7 @@
         <label>{{:: ts('Calculated Fields') }}</label>
         <div ui-sortable="$ctrl.editor.getSortableOptions()" ui-sortable-update="buildPaletteLists" ng-model="calcFieldList">
           <div ng-repeat="field in calcFieldList" ng-class="{disabled: fieldInUse(field.name)}">
-            <div class="af-gui-palette-item">{{:: field.defn.label }}></div>
+            <div class="af-gui-palette-item">{{:: field.defn.label }}</div>
           </div>
         </div>
       </div>
diff --git a/civicrm/ext/afform/admin/info.xml b/civicrm/ext/afform/admin/info.xml
index 389826b6dcbacea8fbd5ad7034da2f96454c44fc..051e85f81e180f666738556069f78518d29388af 100644
--- a/civicrm/ext/afform/admin/info.xml
+++ b/civicrm/ext/afform/admin/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-09</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <develStage>alpha</develStage>
   <compatibility>
     <ver>5.23</ver>
diff --git a/civicrm/ext/afform/core/Civi/Afform/AfformMetadataInjector.php b/civicrm/ext/afform/core/Civi/Afform/AfformMetadataInjector.php
index 3033386fe7e1b4ff4eed60eef7a1b83d39ee0f62..418e6cb8abbfe904bb5b64f2227b2b01e5b2ab21 100644
--- a/civicrm/ext/afform/core/Civi/Afform/AfformMetadataInjector.php
+++ b/civicrm/ext/afform/core/Civi/Afform/AfformMetadataInjector.php
@@ -28,7 +28,7 @@ class AfformMetadataInjector {
       ->alterHtml(';\\.aff\\.html$;', function($doc, $path) {
         try {
           $module = \Civi::service('angular')->getModule(basename($path, '.aff.html'));
-          $meta = \Civi\Api4\Afform::get()->addWhere('name', '=', $module['_afform'])->setSelect(['join', 'block'])->setCheckPermissions(FALSE)->execute()->first();
+          $meta = \Civi\Api4\Afform::get(FALSE)->addWhere('name', '=', $module['_afform'])->setSelect(['join', 'block'])->execute()->first();
         }
         catch (\Exception $e) {
         }
@@ -83,24 +83,7 @@ class AfformMetadataInjector {
    */
   private static function fillFieldMetadata($entityName, $action, \DOMElement $afField) {
     $fieldName = $afField->getAttribute('name');
-    // For explicit joins, strip the alias off the field name
-    if (strpos($entityName, ' AS ')) {
-      [$entityName, $alias] = explode(' AS ', $entityName);
-      $fieldName = preg_replace('/^' . preg_quote($alias . '.', '/') . '/', '', $fieldName);
-    }
-    $params = [
-      'action' => $action,
-      'where' => [['name', '=', $fieldName]],
-      'select' => ['label', 'input_type', 'input_attrs', 'help_pre', 'help_post', 'options', 'fk_entity'],
-      'loadOptions' => ['id', 'label'],
-      // If the admin included this field on the form, then it's OK to get metadata about the field regardless of user permissions.
-      'checkPermissions' => FALSE,
-    ];
-    if (in_array($entityName, \CRM_Contact_BAO_ContactType::basicTypes(TRUE))) {
-      $params['values'] = ['contact_type' => $entityName];
-      $entityName = 'Contact';
-    }
-    $fieldInfo = civicrm_api4($entityName, 'getFields', $params)->first();
+    $fieldInfo = self::getField($entityName, $fieldName, $action);
     // Merge field definition data with whatever's already in the markup.
     $deep = ['input_attrs'];
     if ($fieldInfo) {
@@ -160,6 +143,48 @@ class AfformMetadataInjector {
     }
   }
 
+  /**
+   * @param string $entityName
+   * @param string $fieldName
+   * @param string $action
+   * @return array|NULL
+   */
+  private static function getField(string $entityName, string $fieldName, string $action):? array {
+    // For explicit joins, strip the alias off the field name
+    if (strpos($entityName, ' AS ')) {
+      [$entityName, $alias] = explode(' AS ', $entityName);
+      $fieldName = preg_replace('/^' . preg_quote($alias . '.', '/') . '/', '', $fieldName);
+    }
+    $namesToMatch = [$fieldName];
+    // Also match base field if this is an implicit join
+    if ($action === 'get' && strpos($fieldName, '.')) {
+      $namesToMatch[] = substr($fieldName, 0, strrpos($fieldName, '.'));
+    }
+    $params = [
+      'action' => $action,
+      'where' => [['name', 'IN', $namesToMatch]],
+      'select' => ['name', 'label', 'input_type', 'input_attrs', 'help_pre', 'help_post', 'options', 'fk_entity'],
+      'loadOptions' => ['id', 'label'],
+      // If the admin included this field on the form, then it's OK to get metadata about the field regardless of user permissions.
+      'checkPermissions' => FALSE,
+    ];
+    if (in_array($entityName, \CRM_Contact_BAO_ContactType::basicTypes(TRUE))) {
+      $params['values'] = ['contact_type' => $entityName];
+      $entityName = 'Contact';
+    }
+    $fields = civicrm_api4($entityName, 'getFields', $params);
+    $field = $originalField = $fields->first();
+    // If this is an implicit join, get new field from fk entity
+    if ($field['name'] !== $fieldName && $field['fk_entity']) {
+      $params['where'] = [['name', '=', substr($fieldName, 1 + strrpos($fieldName, '.'))]];
+      $field = civicrm_api4($field['fk_entity'], 'getFields', $params)->first();
+      if ($field) {
+        $field['label'] = $originalField['label'] . ' ' . $field['label'];
+      }
+    }
+    return $field;
+  }
+
   /**
    * Determines name of the api entity based on the field name prefix
    *
diff --git a/civicrm/ext/afform/core/Civi/Api4/Action/Afform/Get.php b/civicrm/ext/afform/core/Civi/Api4/Action/Afform/Get.php
index 8e32e56fe086a874158325d01a074bed1f0cdd91..277eaa197469676723497edad2a7f4015bec014a 100644
--- a/civicrm/ext/afform/core/Civi/Api4/Action/Afform/Get.php
+++ b/civicrm/ext/afform/core/Civi/Api4/Action/Afform/Get.php
@@ -103,16 +103,15 @@ class Get extends \Civi\Api4\Generic\BasicGetAction {
     }
     $customApi = CustomGroup::get()
       ->setCheckPermissions(FALSE)
-      ->setSelect(['name', 'title', 'help_pre', 'help_post', 'extends', 'max_multiple'])
+      ->addSelect('name', 'title', 'help_pre', 'help_post', 'extends', 'max_multiple')
       ->addWhere('is_multiple', '=', 1)
       ->addWhere('is_active', '=', 1);
     if ($groupNames) {
       $customApi->addWhere('name', 'IN', $groupNames);
     }
     if ($getLayout) {
-      $customApi->addSelect('help_pre')->addSelect('help_post');
-      $customApi->addChain('fields', CustomField::get()
-        ->setCheckPermissions(FALSE)
+      $customApi->addSelect('help_pre', 'help_post');
+      $customApi->addChain('fields', CustomField::get(FALSE)
         ->addSelect('name')
         ->addWhere('custom_group_id', '=', '$id')
         ->addWhere('is_active', '=', 1)
diff --git a/civicrm/ext/afform/core/Civi/Api4/Afform.php b/civicrm/ext/afform/core/Civi/Api4/Afform.php
index a9b38c500599094558be34c66652829f94e53af9..5aa33eb1f50192dddba79fced3ae3260355e234e 100644
--- a/civicrm/ext/afform/core/Civi/Api4/Afform.php
+++ b/civicrm/ext/afform/core/Civi/Api4/Afform.php
@@ -44,7 +44,7 @@ class Afform extends Generic\AbstractEntity {
    * @return Action\Afform\Update
    */
   public static function update($checkPermissions = TRUE) {
-    return (new Action\Afform\Update('Afform', __FUNCTION__, 'name'))
+    return (new Action\Afform\Update('Afform', __FUNCTION__))
       ->setCheckPermissions($checkPermissions);
   }
 
@@ -53,7 +53,7 @@ class Afform extends Generic\AbstractEntity {
    * @return Action\Afform\Save
    */
   public static function save($checkPermissions = TRUE) {
-    return (new Action\Afform\Save('Afform', __FUNCTION__, 'name'))
+    return (new Action\Afform\Save('Afform', __FUNCTION__))
       ->setCheckPermissions($checkPermissions);
   }
 
@@ -89,7 +89,7 @@ class Afform extends Generic\AbstractEntity {
    * @return Generic\BasicBatchAction
    */
   public static function revert($checkPermissions = TRUE) {
-    return (new BasicBatchAction('Afform', __FUNCTION__, ['name'], function($item, BasicBatchAction $action) {
+    return (new BasicBatchAction('Afform', __FUNCTION__, function($item, BasicBatchAction $action) {
       $scanner = \Civi::service('afform_scanner');
       $files = [
         \CRM_Afform_AfformScanner::METADATA_FILE,
@@ -229,7 +229,7 @@ class Afform extends Generic\AbstractEntity {
    */
   public static function getInfo() {
     $info = parent::getInfo();
-    $info['id_field'] = 'name';
+    $info['primary_key'] = ['name'];
     return $info;
   }
 
diff --git a/civicrm/ext/afform/core/afform.civix.php b/civicrm/ext/afform/core/afform.civix.php
index a43b055281f8ec09b4b95aedc6adf6fbd09d4e92..1ab6c2b2cfdcde99ee80518f04d3a0ed92e0e3b9 100644
--- a/civicrm/ext/afform/core/afform.civix.php
+++ b/civicrm/ext/afform/core/afform.civix.php
@@ -7,9 +7,9 @@
  * extension.
  */
 class CRM_Afform_ExtensionUtil {
-  const SHORT_NAME = "afform";
-  const LONG_NAME = "org.civicrm.afform";
-  const CLASS_PREFIX = "CRM_Afform";
+  const SHORT_NAME = 'afform';
+  const LONG_NAME = 'org.civicrm.afform';
+  const CLASS_PREFIX = 'CRM_Afform';
 
   /**
    * Translate a string using the extension's domain.
@@ -221,7 +221,8 @@ function _afform_civix_upgrader() {
  * Search directory tree for files which match a glob pattern.
  *
  * Note: Dot-directories (like "..", ".git", or ".svn") will be ignored.
- * Note: In Civi 4.3+, delegate to CRM_Utils_File::findFiles()
+ * Note: Delegate to CRM_Utils_File::findFiles(), this function kept only
+ * for backward compatibility of extension code that uses it.
  *
  * @param string $dir base dir
  * @param string $pattern , glob pattern, eg "*.txt"
@@ -229,32 +230,7 @@ function _afform_civix_upgrader() {
  * @return array
  */
 function _afform_civix_find_files($dir, $pattern) {
-  if (is_callable(['CRM_Utils_File', 'findFiles'])) {
-    return CRM_Utils_File::findFiles($dir, $pattern);
-  }
-
-  $todos = [$dir];
-  $result = [];
-  while (!empty($todos)) {
-    $subdir = array_shift($todos);
-    foreach (_afform_civix_glob("$subdir/$pattern") as $match) {
-      if (!is_dir($match)) {
-        $result[] = $match;
-      }
-    }
-    if ($dh = opendir($subdir)) {
-      while (FALSE !== ($entry = readdir($dh))) {
-        $path = $subdir . DIRECTORY_SEPARATOR . $entry;
-        if ($entry[0] == '.') {
-        }
-        elseif (is_dir($path)) {
-          $todos[] = $path;
-        }
-      }
-      closedir($dh);
-    }
-  }
-  return $result;
+  return CRM_Utils_File::findFiles($dir, $pattern);
 }
 
 /**
diff --git a/civicrm/ext/afform/core/api/v3/Afform.php b/civicrm/ext/afform/core/api/v3/Afform.php
index 41c20c63a48703177bf26f001444faec0b68fb00..fda6038cb506502cd02ccb7ea772f1b0e427dbe0 100644
--- a/civicrm/ext/afform/core/api/v3/Afform.php
+++ b/civicrm/ext/afform/core/api/v3/Afform.php
@@ -88,7 +88,14 @@ function _civicrm_api3_afform_get_spec(&$fields) {
  *   API request.
  */
 function _civicrm_api3_afform_getlist_params(&$request) {
-  $fieldsToReturn = ['name', 'title', 'type', 'description'];
+  $fieldsToReturn = [
+    'name',
+    'title',
+    'type',
+    'description',
+    $request['id_field'],
+    $request['label_field'],
+  ];
   $request['params']['return'] = array_unique(array_merge($fieldsToReturn, $request['extra']));
 }
 
diff --git a/civicrm/ext/afform/core/info.xml b/civicrm/ext/afform/core/info.xml
index ccea548afe64f58d492ed3c847bf0a2d24ac34d6..1a92203b699b0ce8b1a73ffe200db548e1ca78f8 100644
--- a/civicrm/ext/afform/core/info.xml
+++ b/civicrm/ext/afform/core/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-09</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <develStage>alpha</develStage>
   <compatibility>
     <ver>5.23</ver>
diff --git a/civicrm/ext/afform/html/afform_html.civix.php b/civicrm/ext/afform/html/afform_html.civix.php
index 948f0ce17b7ab3e47da272eeef59cf4191628c7e..eb663989c5d5cc15005fce0f2b3d01beeca7f97a 100644
--- a/civicrm/ext/afform/html/afform_html.civix.php
+++ b/civicrm/ext/afform/html/afform_html.civix.php
@@ -7,9 +7,9 @@
  * extension.
  */
 class CRM_AfformHtml_ExtensionUtil {
-  const SHORT_NAME = "afform_html";
-  const LONG_NAME = "org.civicrm.afform-html";
-  const CLASS_PREFIX = "CRM_AfformHtml";
+  const SHORT_NAME = 'afform_html';
+  const LONG_NAME = 'org.civicrm.afform-html';
+  const CLASS_PREFIX = 'CRM_AfformHtml';
 
   /**
    * Translate a string using the extension's domain.
@@ -221,7 +221,8 @@ function _afform_html_civix_upgrader() {
  * Search directory tree for files which match a glob pattern.
  *
  * Note: Dot-directories (like "..", ".git", or ".svn") will be ignored.
- * Note: In Civi 4.3+, delegate to CRM_Utils_File::findFiles()
+ * Note: Delegate to CRM_Utils_File::findFiles(), this function kept only
+ * for backward compatibility of extension code that uses it.
  *
  * @param string $dir base dir
  * @param string $pattern , glob pattern, eg "*.txt"
@@ -229,32 +230,7 @@ function _afform_html_civix_upgrader() {
  * @return array
  */
 function _afform_html_civix_find_files($dir, $pattern) {
-  if (is_callable(['CRM_Utils_File', 'findFiles'])) {
-    return CRM_Utils_File::findFiles($dir, $pattern);
-  }
-
-  $todos = [$dir];
-  $result = [];
-  while (!empty($todos)) {
-    $subdir = array_shift($todos);
-    foreach (_afform_html_civix_glob("$subdir/$pattern") as $match) {
-      if (!is_dir($match)) {
-        $result[] = $match;
-      }
-    }
-    if ($dh = opendir($subdir)) {
-      while (FALSE !== ($entry = readdir($dh))) {
-        $path = $subdir . DIRECTORY_SEPARATOR . $entry;
-        if ($entry[0] == '.') {
-        }
-        elseif (is_dir($path)) {
-          $todos[] = $path;
-        }
-      }
-      closedir($dh);
-    }
-  }
-  return $result;
+  return CRM_Utils_File::findFiles($dir, $pattern);
 }
 
 /**
diff --git a/civicrm/ext/afform/html/info.xml b/civicrm/ext/afform/html/info.xml
index b00bf92881b0772dc82c14d82e3be8ed3e8a22a8..8c224a40564e1d90297a3a5c906b73d8d975291d 100644
--- a/civicrm/ext/afform/html/info.xml
+++ b/civicrm/ext/afform/html/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-09</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <develStage>alpha</develStage>
   <compatibility>
     <ver>5.23</ver>
diff --git a/civicrm/ext/afform/mock/afform_mock.civix.php b/civicrm/ext/afform/mock/afform_mock.civix.php
index 32aad3e5563d02c3fcb87e68ea1ec0744ddc6519..37f78752702257a75f98d4039ee1eaf3d83f9c38 100644
--- a/civicrm/ext/afform/mock/afform_mock.civix.php
+++ b/civicrm/ext/afform/mock/afform_mock.civix.php
@@ -7,9 +7,9 @@
  * extension.
  */
 class CRM_AfformMock_ExtensionUtil {
-  const SHORT_NAME = "afform_mock";
-  const LONG_NAME = "org.civicrm.afform-mock";
-  const CLASS_PREFIX = "CRM_AfformMock";
+  const SHORT_NAME = 'afform_mock';
+  const LONG_NAME = 'org.civicrm.afform-mock';
+  const CLASS_PREFIX = 'CRM_AfformMock';
 
   /**
    * Translate a string using the extension's domain.
@@ -221,7 +221,8 @@ function _afform_mock_civix_upgrader() {
  * Search directory tree for files which match a glob pattern.
  *
  * Note: Dot-directories (like "..", ".git", or ".svn") will be ignored.
- * Note: In Civi 4.3+, delegate to CRM_Utils_File::findFiles()
+ * Note: Delegate to CRM_Utils_File::findFiles(), this function kept only
+ * for backward compatibility of extension code that uses it.
  *
  * @param string $dir base dir
  * @param string $pattern , glob pattern, eg "*.txt"
@@ -229,32 +230,7 @@ function _afform_mock_civix_upgrader() {
  * @return array
  */
 function _afform_mock_civix_find_files($dir, $pattern) {
-  if (is_callable(['CRM_Utils_File', 'findFiles'])) {
-    return CRM_Utils_File::findFiles($dir, $pattern);
-  }
-
-  $todos = [$dir];
-  $result = [];
-  while (!empty($todos)) {
-    $subdir = array_shift($todos);
-    foreach (_afform_mock_civix_glob("$subdir/$pattern") as $match) {
-      if (!is_dir($match)) {
-        $result[] = $match;
-      }
-    }
-    if ($dh = opendir($subdir)) {
-      while (FALSE !== ($entry = readdir($dh))) {
-        $path = $subdir . DIRECTORY_SEPARATOR . $entry;
-        if ($entry[0] == '.') {
-        }
-        elseif (is_dir($path)) {
-          $todos[] = $path;
-        }
-      }
-      closedir($dh);
-    }
-  }
-  return $result;
+  return CRM_Utils_File::findFiles($dir, $pattern);
 }
 
 /**
diff --git a/civicrm/ext/afform/mock/info.xml b/civicrm/ext/afform/mock/info.xml
index c28d7fc9d567cb0f671bd26fc570f07f557f8c30..b6f2c2d2f71d52d954480924994ff45fa443bc75 100644
--- a/civicrm/ext/afform/mock/info.xml
+++ b/civicrm/ext/afform/mock/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-09</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
diff --git a/civicrm/ext/authx/info.xml b/civicrm/ext/authx/info.xml
index f763e1fa98f354bfdbc41b3c2b9799b574db8764..2647fa24f965ead2a63dc61cb980a6c3765af9ca 100644
--- a/civicrm/ext/authx/info.xml
+++ b/civicrm/ext/authx/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2021-02-11</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <develStage>alpha</develStage>
   <compatibility>
     <ver>5.0</ver>
diff --git a/civicrm/CRM/Admin/Form/CKEditorConfig.php b/civicrm/ext/ckeditor4/CRM/Ckeditor4/Form/CKEditorConfig.php
similarity index 97%
rename from civicrm/CRM/Admin/Form/CKEditorConfig.php
rename to civicrm/ext/ckeditor4/CRM/Ckeditor4/Form/CKEditorConfig.php
index d0e3c7c435b48376554f8c4acd886e19795158e3..5842a6297d0487eb042fdab9ee824e3d77afb08f 100644
--- a/civicrm/CRM/Admin/Form/CKEditorConfig.php
+++ b/civicrm/ext/ckeditor4/CRM/Ckeditor4/Form/CKEditorConfig.php
@@ -15,10 +15,12 @@
  * @copyright CiviCRM LLC https://civicrm.org/licensing
  */
 
+use CRM_Ckeditor4_ExtensionUtil as E;
+
 /**
  * Form for configuring CKEditor options.
  */
-class CRM_Admin_Form_CKEditorConfig extends CRM_Core_Form {
+class CRM_Ckeditor4_Form_CKEditorConfig extends CRM_Core_Form {
 
   const CONFIG_FILEPATH = '[civicrm.files]/persist/crm-ckeditor-';
 
@@ -79,7 +81,7 @@ class CRM_Admin_Form_CKEditorConfig extends CRM_Core_Form {
       ->addScriptFile('civicrm', 'bower_components/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js', 1)
       ->addScriptFile('civicrm', 'bower_components/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js', 2)
       ->addScriptFile('civicrm', 'bower_components/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js', 3)
-      ->addScriptFile('civicrm', 'js/wysiwyg/admin.ckeditor-configurator.js', 10)
+      ->addScriptFile('ckeditor4', 'js/admin.ckeditor-configurator.js', 10)
       ->addStyleFile('civicrm', 'bower_components/ckeditor/samples/toolbarconfigurator/css/fontello.css')
       ->addStyleFile('civicrm', 'bower_components/ckeditor/samples/css/samples.css')
       ->addVars('ckConfig', [
@@ -162,7 +164,7 @@ class CRM_Admin_Form_CKEditorConfig extends CRM_Core_Form {
       . preg_replace('~\R~u', "\n", $params['config']);
 
     // Generate a whitelist of allowed config params
-    $allOptions = json_decode(file_get_contents(\Civi::paths()->getPath('[civicrm.root]/js/wysiwyg/ck-options.json')), TRUE);
+    $allOptions = json_decode(file_get_contents(E::path('js/ck-options.json')), TRUE);
     // These two aren't really blacklisted they're just in a different part of the form
     $blackList = array_diff($this->blackList, ['skin', 'extraPlugins']);
     // All options minus blacklist = whitelist
diff --git a/civicrm/ext/ckeditor4/CRM/Ckeditor4/Upgrader.php b/civicrm/ext/ckeditor4/CRM/Ckeditor4/Upgrader.php
new file mode 100644
index 0000000000000000000000000000000000000000..22d48b861c898576e679d2f857c304689dbaf031
--- /dev/null
+++ b/civicrm/ext/ckeditor4/CRM/Ckeditor4/Upgrader.php
@@ -0,0 +1,147 @@
+<?php
+use CRM_Ckeditor4_ExtensionUtil as E;
+
+/**
+ * Collection of upgrade steps.
+ */
+class CRM_Ckeditor4_Upgrader extends CRM_Ckeditor4_Upgrader_Base {
+
+  // By convention, functions that look like "function upgrade_NNNN()" are
+  // upgrade tasks. They are executed in order (like Drupal's hook_update_N).
+
+  /**
+   * Example: Run an external SQL script when the module is installed.
+   */
+  public function install() {
+    CRM_Core_BAO_OptionValue::ensureOptionValueExists([
+      'option_group_id' => 'wysiwyg_editor',
+      'label' => E::ts('CKEditor 4'),
+      'name' => 'CKEditor',
+      'is_default' => 1,
+    ]);
+  }
+
+  /**
+   * Example: Work with entities usually not available during the install step.
+   *
+   * This method can be used for any post-install tasks. For example, if a step
+   * of your installation depends on accessing an entity that is itself
+   * created during the installation (e.g., a setting or a managed entity), do
+   * so here to avoid order of operation problems.
+   */
+  // public function postInstall() {
+  //  $customFieldId = civicrm_api3('CustomField', 'getvalue', array(
+  //    'return' => array("id"),
+  //    'name' => "customFieldCreatedViaManagedHook",
+  //  ));
+  //  civicrm_api3('Setting', 'create', array(
+  //    'myWeirdFieldSetting' => array('id' => $customFieldId, 'weirdness' => 1),
+  //  ));
+  // }
+
+  /**
+   * Example: Run an external SQL script when the module is uninstalled.
+   */
+  public function uninstall() {
+    $domains = civicrm_api3('Domain', 'get', ['options' => ['limit' => 0]])['values'];
+    foreach ($domains as $domain) {
+      $currentSetting = \Civi::settings($domain['id'])->get('editor_id');
+      if ($currentSetting === 'CKEditor') {
+        \Civi::setttings($domain['id'])->set('editor_id', 'Textarea');
+      }
+    }
+    civicrm_api3('OptionValue', 'get', ['name' => 'CKEditor', 'api.option_value.delete' => ['id' => "\$value.id"]]);
+  }
+
+  /**
+   * Example: Run a simple query when a module is enabled.
+   */
+  // public function enable() {
+  //  CRM_Core_DAO::executeQuery('UPDATE foo SET is_active = 1 WHERE bar = "whiz"');
+  // }
+
+  /**
+   * Example: Run a simple query when a module is disabled.
+   */
+  // public function disable() {
+  //   CRM_Core_DAO::executeQuery('UPDATE foo SET is_active = 0 WHERE bar = "whiz"');
+  // }
+
+  /**
+   * Example: Run a couple simple queries.
+   *
+   * @return TRUE on success
+   * @throws Exception
+   */
+  // public function upgrade_4200() {
+  //   $this->ctx->log->info('Applying update 4200');
+  //   CRM_Core_DAO::executeQuery('UPDATE foo SET bar = "whiz"');
+  //   CRM_Core_DAO::executeQuery('DELETE FROM bang WHERE willy = wonka(2)');
+  //   return TRUE;
+  // }
+
+
+  /**
+   * Example: Run an external SQL script.
+   *
+   * @return TRUE on success
+   * @throws Exception
+   */
+  // public function upgrade_4201() {
+  //   $this->ctx->log->info('Applying update 4201');
+  //   // this path is relative to the extension base dir
+  //   $this->executeSqlFile('sql/upgrade_4201.sql');
+  //   return TRUE;
+  // }
+
+
+  /**
+   * Example: Run a slow upgrade process by breaking it up into smaller chunk.
+   *
+   * @return TRUE on success
+   * @throws Exception
+   */
+  // public function upgrade_4202() {
+  //   $this->ctx->log->info('Planning update 4202'); // PEAR Log interface
+
+  //   $this->addTask(E::ts('Process first step'), 'processPart1', $arg1, $arg2);
+  //   $this->addTask(E::ts('Process second step'), 'processPart2', $arg3, $arg4);
+  //   $this->addTask(E::ts('Process second step'), 'processPart3', $arg5);
+  //   return TRUE;
+  // }
+  // public function processPart1($arg1, $arg2) { sleep(10); return TRUE; }
+  // public function processPart2($arg3, $arg4) { sleep(10); return TRUE; }
+  // public function processPart3($arg5) { sleep(10); return TRUE; }
+
+  /**
+   * Example: Run an upgrade with a query that touches many (potentially
+   * millions) of records by breaking it up into smaller chunks.
+   *
+   * @return TRUE on success
+   * @throws Exception
+   */
+  // public function upgrade_4203() {
+  //   $this->ctx->log->info('Planning update 4203'); // PEAR Log interface
+
+  //   $minId = CRM_Core_DAO::singleValueQuery('SELECT coalesce(min(id),0) FROM civicrm_contribution');
+  //   $maxId = CRM_Core_DAO::singleValueQuery('SELECT coalesce(max(id),0) FROM civicrm_contribution');
+  //   for ($startId = $minId; $startId <= $maxId; $startId += self::BATCH_SIZE) {
+  //     $endId = $startId + self::BATCH_SIZE - 1;
+  //     $title = E::ts('Upgrade Batch (%1 => %2)', array(
+  //       1 => $startId,
+  //       2 => $endId,
+  //     ));
+  //     $sql = '
+  //       UPDATE civicrm_contribution SET foobar = whiz(wonky()+wanker)
+  //       WHERE id BETWEEN %1 and %2
+  //     ';
+  //     $params = array(
+  //       1 => array($startId, 'Integer'),
+  //       2 => array($endId, 'Integer'),
+  //     );
+  //     $this->addTask($title, 'executeSql', $sql, $params);
+  //   }
+  //   return TRUE;
+  // }
+
+}
diff --git a/civicrm/ext/ckeditor4/CRM/Ckeditor4/Upgrader/Base.php b/civicrm/ext/ckeditor4/CRM/Ckeditor4/Upgrader/Base.php
new file mode 100644
index 0000000000000000000000000000000000000000..f323ad094128c02764d1de4ebd0dd72bac17887d
--- /dev/null
+++ b/civicrm/ext/ckeditor4/CRM/Ckeditor4/Upgrader/Base.php
@@ -0,0 +1,396 @@
+<?php
+
+// AUTO-GENERATED FILE -- Civix may overwrite any changes made to this file
+use CRM_Ckeditor4_ExtensionUtil as E;
+
+/**
+ * Base class which provides helpers to execute upgrade logic
+ */
+class CRM_Ckeditor4_Upgrader_Base {
+
+  /**
+   * @var CRM_Ckeditor4_Upgrader_Base
+   */
+  public static $instance;
+
+  /**
+   * @var CRM_Queue_TaskContext
+   */
+  protected $ctx;
+
+  /**
+   * @var string
+   *   eg 'com.example.myextension'
+   */
+  protected $extensionName;
+
+  /**
+   * @var string
+   *   full path to the extension's source tree
+   */
+  protected $extensionDir;
+
+  /**
+   * @var array
+   *   sorted numerically
+   */
+  private $revisions;
+
+  /**
+   * @var bool
+   *   Flag to clean up extension revision data in civicrm_setting
+   */
+  private $revisionStorageIsDeprecated = FALSE;
+
+  /**
+   * Obtain a reference to the active upgrade handler.
+   */
+  public static function instance() {
+    if (!self::$instance) {
+      self::$instance = new CRM_Ckeditor4_Upgrader(
+        'ckeditor4',
+        E::path()
+      );
+    }
+    return self::$instance;
+  }
+
+  /**
+   * Adapter that lets you add normal (non-static) member functions to the queue.
+   *
+   * Note: Each upgrader instance should only be associated with one
+   * task-context; otherwise, this will be non-reentrant.
+   *
+   * ```
+   * CRM_Ckeditor4_Upgrader_Base::_queueAdapter($ctx, 'methodName', 'arg1', 'arg2');
+   * ```
+   */
+  public static function _queueAdapter() {
+    $instance = self::instance();
+    $args = func_get_args();
+    $instance->ctx = array_shift($args);
+    $instance->queue = $instance->ctx->queue;
+    $method = array_shift($args);
+    return call_user_func_array([$instance, $method], $args);
+  }
+
+  /**
+   * CRM_Ckeditor4_Upgrader_Base constructor.
+   *
+   * @param $extensionName
+   * @param $extensionDir
+   */
+  public function __construct($extensionName, $extensionDir) {
+    $this->extensionName = $extensionName;
+    $this->extensionDir = $extensionDir;
+  }
+
+  // ******** Task helpers ********
+
+  /**
+   * Run a CustomData file.
+   *
+   * @param string $relativePath
+   *   the CustomData XML file path (relative to this extension's dir)
+   * @return bool
+   */
+  public function executeCustomDataFile($relativePath) {
+    $xml_file = $this->extensionDir . '/' . $relativePath;
+    return $this->executeCustomDataFileByAbsPath($xml_file);
+  }
+
+  /**
+   * Run a CustomData file
+   *
+   * @param string $xml_file
+   *   the CustomData XML file path (absolute path)
+   *
+   * @return bool
+   */
+  protected function executeCustomDataFileByAbsPath($xml_file) {
+    $import = new CRM_Utils_Migrate_Import();
+    $import->run($xml_file);
+    return TRUE;
+  }
+
+  /**
+   * Run a SQL file.
+   *
+   * @param string $relativePath
+   *   the SQL file path (relative to this extension's dir)
+   *
+   * @return bool
+   */
+  public function executeSqlFile($relativePath) {
+    CRM_Utils_File::sourceSQLFile(
+      CIVICRM_DSN,
+      $this->extensionDir . DIRECTORY_SEPARATOR . $relativePath
+    );
+    return TRUE;
+  }
+
+  /**
+   * Run the sql commands in the specified file.
+   *
+   * @param string $tplFile
+   *   The SQL file path (relative to this extension's dir).
+   *   Ex: "sql/mydata.mysql.tpl".
+   *
+   * @return bool
+   * @throws \CRM_Core_Exception
+   */
+  public function executeSqlTemplate($tplFile) {
+    // Assign multilingual variable to Smarty.
+    $upgrade = new CRM_Upgrade_Form();
+
+    $tplFile = CRM_Utils_File::isAbsolute($tplFile) ? $tplFile : $this->extensionDir . DIRECTORY_SEPARATOR . $tplFile;
+    $smarty = CRM_Core_Smarty::singleton();
+    $smarty->assign('domainID', CRM_Core_Config::domainID());
+    CRM_Utils_File::sourceSQLFile(
+      CIVICRM_DSN, $smarty->fetch($tplFile), NULL, TRUE
+    );
+    return TRUE;
+  }
+
+  /**
+   * Run one SQL query.
+   *
+   * This is just a wrapper for CRM_Core_DAO::executeSql, but it
+   * provides syntactic sugar for queueing several tasks that
+   * run different queries
+   *
+   * @return bool
+   */
+  public function executeSql($query, $params = []) {
+    // FIXME verify that we raise an exception on error
+    CRM_Core_DAO::executeQuery($query, $params);
+    return TRUE;
+  }
+
+  /**
+   * Syntactic sugar for enqueuing a task which calls a function in this class.
+   *
+   * The task is weighted so that it is processed
+   * as part of the currently-pending revision.
+   *
+   * After passing the $funcName, you can also pass parameters that will go to
+   * the function. Note that all params must be serializable.
+   */
+  public function addTask($title) {
+    $args = func_get_args();
+    $title = array_shift($args);
+    $task = new CRM_Queue_Task(
+      [get_class($this), '_queueAdapter'],
+      $args,
+      $title
+    );
+    return $this->queue->createItem($task, ['weight' => -1]);
+  }
+
+  // ******** Revision-tracking helpers ********
+
+  /**
+   * Determine if there are any pending revisions.
+   *
+   * @return bool
+   */
+  public function hasPendingRevisions() {
+    $revisions = $this->getRevisions();
+    $currentRevision = $this->getCurrentRevision();
+
+    if (empty($revisions)) {
+      return FALSE;
+    }
+    if (empty($currentRevision)) {
+      return TRUE;
+    }
+
+    return ($currentRevision < max($revisions));
+  }
+
+  /**
+   * Add any pending revisions to the queue.
+   *
+   * @param CRM_Queue_Queue $queue
+   */
+  public function enqueuePendingRevisions(CRM_Queue_Queue $queue) {
+    $this->queue = $queue;
+
+    $currentRevision = $this->getCurrentRevision();
+    foreach ($this->getRevisions() as $revision) {
+      if ($revision > $currentRevision) {
+        $title = E::ts('Upgrade %1 to revision %2', [
+          1 => $this->extensionName,
+          2 => $revision,
+        ]);
+
+        // note: don't use addTask() because it sets weight=-1
+
+        $task = new CRM_Queue_Task(
+          [get_class($this), '_queueAdapter'],
+          ['upgrade_' . $revision],
+          $title
+        );
+        $this->queue->createItem($task);
+
+        $task = new CRM_Queue_Task(
+          [get_class($this), '_queueAdapter'],
+          ['setCurrentRevision', $revision],
+          $title
+        );
+        $this->queue->createItem($task);
+      }
+    }
+  }
+
+  /**
+   * Get a list of revisions.
+   *
+   * @return array
+   *   revisionNumbers sorted numerically
+   */
+  public function getRevisions() {
+    if (!is_array($this->revisions)) {
+      $this->revisions = [];
+
+      $clazz = new ReflectionClass(get_class($this));
+      $methods = $clazz->getMethods();
+      foreach ($methods as $method) {
+        if (preg_match('/^upgrade_(.*)/', $method->name, $matches)) {
+          $this->revisions[] = $matches[1];
+        }
+      }
+      sort($this->revisions, SORT_NUMERIC);
+    }
+
+    return $this->revisions;
+  }
+
+  public function getCurrentRevision() {
+    $revision = CRM_Core_BAO_Extension::getSchemaVersion($this->extensionName);
+    if (!$revision) {
+      $revision = $this->getCurrentRevisionDeprecated();
+    }
+    return $revision;
+  }
+
+  private function getCurrentRevisionDeprecated() {
+    $key = $this->extensionName . ':version';
+    if ($revision = \Civi::settings()->get($key)) {
+      $this->revisionStorageIsDeprecated = TRUE;
+    }
+    return $revision;
+  }
+
+  public function setCurrentRevision($revision) {
+    CRM_Core_BAO_Extension::setSchemaVersion($this->extensionName, $revision);
+    // clean up legacy schema version store (CRM-19252)
+    $this->deleteDeprecatedRevision();
+    return TRUE;
+  }
+
+  private function deleteDeprecatedRevision() {
+    if ($this->revisionStorageIsDeprecated) {
+      $setting = new CRM_Core_BAO_Setting();
+      $setting->name = $this->extensionName . ':version';
+      $setting->delete();
+      CRM_Core_Error::debug_log_message("Migrated extension schema revision ID for {$this->extensionName} from civicrm_setting (deprecated) to civicrm_extension.\n");
+    }
+  }
+
+  // ******** Hook delegates ********
+
+  /**
+   * @see https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install
+   */
+  public function onInstall() {
+    $files = glob($this->extensionDir . '/sql/*_install.sql');
+    if (is_array($files)) {
+      foreach ($files as $file) {
+        CRM_Utils_File::sourceSQLFile(CIVICRM_DSN, $file);
+      }
+    }
+    $files = glob($this->extensionDir . '/sql/*_install.mysql.tpl');
+    if (is_array($files)) {
+      foreach ($files as $file) {
+        $this->executeSqlTemplate($file);
+      }
+    }
+    $files = glob($this->extensionDir . '/xml/*_install.xml');
+    if (is_array($files)) {
+      foreach ($files as $file) {
+        $this->executeCustomDataFileByAbsPath($file);
+      }
+    }
+    if (is_callable([$this, 'install'])) {
+      $this->install();
+    }
+  }
+
+  /**
+   * @see https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_postInstall
+   */
+  public function onPostInstall() {
+    $revisions = $this->getRevisions();
+    if (!empty($revisions)) {
+      $this->setCurrentRevision(max($revisions));
+    }
+    if (is_callable([$this, 'postInstall'])) {
+      $this->postInstall();
+    }
+  }
+
+  /**
+   * @see https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_uninstall
+   */
+  public function onUninstall() {
+    $files = glob($this->extensionDir . '/sql/*_uninstall.mysql.tpl');
+    if (is_array($files)) {
+      foreach ($files as $file) {
+        $this->executeSqlTemplate($file);
+      }
+    }
+    if (is_callable([$this, 'uninstall'])) {
+      $this->uninstall();
+    }
+    $files = glob($this->extensionDir . '/sql/*_uninstall.sql');
+    if (is_array($files)) {
+      foreach ($files as $file) {
+        CRM_Utils_File::sourceSQLFile(CIVICRM_DSN, $file);
+      }
+    }
+  }
+
+  /**
+   * @see https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable
+   */
+  public function onEnable() {
+    // stub for possible future use
+    if (is_callable([$this, 'enable'])) {
+      $this->enable();
+    }
+  }
+
+  /**
+   * @see https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_disable
+   */
+  public function onDisable() {
+    // stub for possible future use
+    if (is_callable([$this, 'disable'])) {
+      $this->disable();
+    }
+  }
+
+  public function onUpgrade($op, CRM_Queue_Queue $queue = NULL) {
+    switch ($op) {
+      case 'check':
+        return [$this->hasPendingRevisions()];
+
+      case 'enqueue':
+        return $this->enqueuePendingRevisions($queue);
+
+      default:
+    }
+  }
+
+}
diff --git a/civicrm/ext/ckeditor4/LICENSE.txt b/civicrm/ext/ckeditor4/LICENSE.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa91ea7cd0bfd95f62c2280e8f9d8a048aca4e10
--- /dev/null
+++ b/civicrm/ext/ckeditor4/LICENSE.txt
@@ -0,0 +1,667 @@
+Package: ckeditor4
+Copyright (C) 2021, Seamus Lee <seamuslee001@gmail.com>
+Licensed under the GNU Affero Public License 3.0 (below).
+
+-------------------------------------------------------------------------------
+
+                    GNU AFFERO GENERAL PUBLIC LICENSE
+                       Version 3, 19 November 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The GNU Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+our General Public Licenses are intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  Developers that use our General Public Licenses protect your rights
+with two steps: (1) assert copyright on the software, and (2) offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
+
+  A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate.  Many developers of free software are heartened and
+encouraged by the resulting cooperation.  However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
+
+  The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community.  It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server.  Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
+
+  An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals.  This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                       TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU Affero General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+  A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+  To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy.  Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+  To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies.  Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+  An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License.  If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+  1. Source Code.
+
+  The "source code" for a work means the preferred form of the work
+for making modifications to it.  "Object code" means any non-source
+form of a work.
+
+  A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+  The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form.  A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+  The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities.  However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work.  For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+  The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+  The Corresponding Source for a work in source code form is that
+same work.
+
+  2. Basic Permissions.
+
+  All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met.  This License explicitly affirms your unlimited
+permission to run the unmodified Program.  The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work.  This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+  You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force.  You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright.  Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+  Conveying under any other circumstances is permitted solely under
+the conditions stated below.  Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+  No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+  When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+  4. Conveying Verbatim Copies.
+
+  You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+  You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+  5. Conveying Modified Source Versions.
+
+  You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+    a) The work must carry prominent notices stating that you modified
+    it, and giving a relevant date.
+
+    b) The work must carry prominent notices stating that it is
+    released under this License and any conditions added under section
+    7.  This requirement modifies the requirement in section 4 to
+    "keep intact all notices".
+
+    c) You must license the entire work, as a whole, under this
+    License to anyone who comes into possession of a copy.  This
+    License will therefore apply, along with any applicable section 7
+    additional terms, to the whole of the work, and all its parts,
+    regardless of how they are packaged.  This License gives no
+    permission to license the work in any other way, but it does not
+    invalidate such permission if you have separately received it.
+
+    d) If the work has interactive user interfaces, each must display
+    Appropriate Legal Notices; however, if the Program has interactive
+    interfaces that do not display Appropriate Legal Notices, your
+    work need not make them do so.
+
+  A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit.  Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+  6. Conveying Non-Source Forms.
+
+  You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+    a) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by the
+    Corresponding Source fixed on a durable physical medium
+    customarily used for software interchange.
+
+    b) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by a
+    written offer, valid for at least three years and valid for as
+    long as you offer spare parts or customer support for that product
+    model, to give anyone who possesses the object code either (1) a
+    copy of the Corresponding Source for all the software in the
+    product that is covered by this License, on a durable physical
+    medium customarily used for software interchange, for a price no
+    more than your reasonable cost of physically performing this
+    conveying of source, or (2) access to copy the
+    Corresponding Source from a network server at no charge.
+
+    c) Convey individual copies of the object code with a copy of the
+    written offer to provide the Corresponding Source.  This
+    alternative is allowed only occasionally and noncommercially, and
+    only if you received the object code with such an offer, in accord
+    with subsection 6b.
+
+    d) Convey the object code by offering access from a designated
+    place (gratis or for a charge), and offer equivalent access to the
+    Corresponding Source in the same way through the same place at no
+    further charge.  You need not require recipients to copy the
+    Corresponding Source along with the object code.  If the place to
+    copy the object code is a network server, the Corresponding Source
+    may be on a different server (operated by you or a third party)
+    that supports equivalent copying facilities, provided you maintain
+    clear directions next to the object code saying where to find the
+    Corresponding Source.  Regardless of what server hosts the
+    Corresponding Source, you remain obligated to ensure that it is
+    available for as long as needed to satisfy these requirements.
+
+    e) Convey the object code using peer-to-peer transmission, provided
+    you inform other peers where the object code and Corresponding
+    Source of the work are being offered to the general public at no
+    charge under subsection 6d.
+
+  A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+  A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling.  In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage.  For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product.  A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+  "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source.  The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+  If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information.  But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+  The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed.  Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+  Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+  7. Additional Terms.
+
+  "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law.  If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+  When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it.  (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.)  You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+  Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+    a) Disclaiming warranty or limiting liability differently from the
+    terms of sections 15 and 16 of this License; or
+
+    b) Requiring preservation of specified reasonable legal notices or
+    author attributions in that material or in the Appropriate Legal
+    Notices displayed by works containing it; or
+
+    c) Prohibiting misrepresentation of the origin of that material, or
+    requiring that modified versions of such material be marked in
+    reasonable ways as different from the original version; or
+
+    d) Limiting the use for publicity purposes of names of licensors or
+    authors of the material; or
+
+    e) Declining to grant rights under trademark law for use of some
+    trade names, trademarks, or service marks; or
+
+    f) Requiring indemnification of licensors and authors of that
+    material by anyone who conveys the material (or modified versions of
+    it) with contractual assumptions of liability to the recipient, for
+    any liability that these contractual assumptions directly impose on
+    those licensors and authors.
+
+  All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10.  If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term.  If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+  If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+  Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+  8. Termination.
+
+  You may not propagate or modify a covered work except as expressly
+provided under this License.  Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+  However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+  Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+  Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License.  If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+  9. Acceptance Not Required for Having Copies.
+
+  You are not required to accept this License in order to receive or
+run a copy of the Program.  Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance.  However,
+nothing other than this License grants you permission to propagate or
+modify any covered work.  These actions infringe copyright if you do
+not accept this License.  Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+  10. Automatic Licensing of Downstream Recipients.
+
+  Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License.  You are not responsible
+for enforcing compliance by third parties with this License.
+
+  An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations.  If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+  You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License.  For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+  11. Patents.
+
+  A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based.  The
+work thus licensed is called the contributor's "contributor version".
+
+  A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version.  For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+  Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+  In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement).  To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+  If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients.  "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+  If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+  A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License.  You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+  Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+  12. No Surrender of Others' Freedom.
+
+  If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all.  For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+  13. Remote Network Interaction; Use with the GNU General Public License.
+
+  Notwithstanding any other provision of this License, if you modify the
+Program, your modified version must prominently offer all users
+interacting with it remotely through a computer network (if your version
+supports such interaction) an opportunity to receive the Corresponding
+Source of your version by providing access to the Corresponding Source
+from a network server at no charge, through some standard or customary
+means of facilitating copying of software.  This Corresponding Source
+shall include the Corresponding Source for any work covered by version 3
+of the GNU General Public License that is incorporated pursuant to the
+following paragraph.
+
+  Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU General Public License into a single
+combined work, and to convey the resulting work.  The terms of this
+License will continue to apply to the part which is the covered work,
+but the work with which it is combined will remain governed by version
+3 of the GNU General Public License.
+
+  14. Revised Versions of this License.
+
+  The Free Software Foundation may publish revised and/or new versions of
+the GNU Affero General Public License from time to time.  Such new versions
+will be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+  Each version is given a distinguishing version number.  If the
+Program specifies that a certain numbered version of the GNU Affero General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation.  If the Program does not specify a version number of the
+GNU Affero General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+  If the Program specifies that a proxy can decide which future
+versions of the GNU Affero General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+  Later license versions may give you additional or different
+permissions.  However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+  15. Disclaimer of Warranty.
+
+  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. Limitation of Liability.
+
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+  17. Interpretation of Sections 15 and 16.
+
+  If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU Affero General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU Affero General Public License for more details.
+
+    You should have received a copy of the GNU Affero General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+  If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source.  For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code.  There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+  You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+<http://www.gnu.org/licenses/>.
diff --git a/civicrm/ext/ckeditor4/README.md b/civicrm/ext/ckeditor4/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..d7cb51e26b01f0bcf9a622e069adfc32f18959c2
--- /dev/null
+++ b/civicrm/ext/ckeditor4/README.md
@@ -0,0 +1,44 @@
+# ckeditor4
+
+![Screenshot](/images/screenshot.png)
+
+(*FIXME: In one or two paragraphs, describe what the extension does and why one would download it. *)
+
+The extension is licensed under [AGPL-3.0](LICENSE.txt).
+
+## Requirements
+
+* PHP v7.2+
+* CiviCRM (*FIXME: Version number*)
+
+## Installation (Web UI)
+
+Learn more about installing CiviCRM extensions in the [CiviCRM Sysadmin Guide](https://docs.civicrm.org/sysadmin/en/latest/customize/extensions/).
+
+## Installation (CLI, Zip)
+
+Sysadmins and developers may download the `.zip` file for this extension and
+install it with the command-line tool [cv](https://github.com/civicrm/cv).
+
+```bash
+cd <extension-dir>
+cv dl ckeditor4@https://github.com/FIXME/ckeditor4/archive/master.zip
+```
+
+## Installation (CLI, Git)
+
+Sysadmins and developers may clone the [Git](https://en.wikipedia.org/wiki/Git) repo for this extension and
+install it with the command-line tool [cv](https://github.com/civicrm/cv).
+
+```bash
+git clone https://github.com/FIXME/ckeditor4.git
+cv en ckeditor4
+```
+
+## Getting Started
+
+(* FIXME: Where would a new user navigate to get started? What changes would they see? *)
+
+## Known Issues
+
+(* FIXME *)
diff --git a/civicrm/ext/ckeditor4/ckeditor4.civix.php b/civicrm/ext/ckeditor4/ckeditor4.civix.php
new file mode 100644
index 0000000000000000000000000000000000000000..aa0b6e5f490ceeb502828bb1c0373f49da380441
--- /dev/null
+++ b/civicrm/ext/ckeditor4/ckeditor4.civix.php
@@ -0,0 +1,453 @@
+<?php
+
+// AUTO-GENERATED FILE -- Civix may overwrite any changes made to this file
+
+/**
+ * The ExtensionUtil class provides small stubs for accessing resources of this
+ * extension.
+ */
+class CRM_Ckeditor4_ExtensionUtil {
+  const SHORT_NAME = 'ckeditor4';
+  const LONG_NAME = 'ckeditor4';
+  const CLASS_PREFIX = 'CRM_Ckeditor4';
+
+  /**
+   * Translate a string using the extension's domain.
+   *
+   * If the extension doesn't have a specific translation
+   * for the string, fallback to the default translations.
+   *
+   * @param string $text
+   *   Canonical message text (generally en_US).
+   * @param array $params
+   * @return string
+   *   Translated text.
+   * @see ts
+   */
+  public static function ts($text, $params = []) {
+    if (!array_key_exists('domain', $params)) {
+      $params['domain'] = [self::LONG_NAME, NULL];
+    }
+    return ts($text, $params);
+  }
+
+  /**
+   * Get the URL of a resource file (in this extension).
+   *
+   * @param string|NULL $file
+   *   Ex: NULL.
+   *   Ex: 'css/foo.css'.
+   * @return string
+   *   Ex: 'http://example.org/sites/default/ext/org.example.foo'.
+   *   Ex: 'http://example.org/sites/default/ext/org.example.foo/css/foo.css'.
+   */
+  public static function url($file = NULL) {
+    if ($file === NULL) {
+      return rtrim(CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME), '/');
+    }
+    return CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME, $file);
+  }
+
+  /**
+   * Get the path of a resource file (in this extension).
+   *
+   * @param string|NULL $file
+   *   Ex: NULL.
+   *   Ex: 'css/foo.css'.
+   * @return string
+   *   Ex: '/var/www/example.org/sites/default/ext/org.example.foo'.
+   *   Ex: '/var/www/example.org/sites/default/ext/org.example.foo/css/foo.css'.
+   */
+  public static function path($file = NULL) {
+    // return CRM_Core_Resources::singleton()->getPath(self::LONG_NAME, $file);
+    return __DIR__ . ($file === NULL ? '' : (DIRECTORY_SEPARATOR . $file));
+  }
+
+  /**
+   * Get the name of a class within this extension.
+   *
+   * @param string $suffix
+   *   Ex: 'Page_HelloWorld' or 'Page\\HelloWorld'.
+   * @return string
+   *   Ex: 'CRM_Foo_Page_HelloWorld'.
+   */
+  public static function findClass($suffix) {
+    return self::CLASS_PREFIX . '_' . str_replace('\\', '_', $suffix);
+  }
+
+}
+
+use CRM_Ckeditor4_ExtensionUtil as E;
+
+/**
+ * (Delegated) Implements hook_civicrm_config().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config
+ */
+function _ckeditor4_civix_civicrm_config(&$config = NULL) {
+  static $configured = FALSE;
+  if ($configured) {
+    return;
+  }
+  $configured = TRUE;
+
+  $template =& CRM_Core_Smarty::singleton();
+
+  $extRoot = dirname(__FILE__) . DIRECTORY_SEPARATOR;
+  $extDir = $extRoot . 'templates';
+
+  if (is_array($template->template_dir)) {
+    array_unshift($template->template_dir, $extDir);
+  }
+  else {
+    $template->template_dir = [$extDir, $template->template_dir];
+  }
+
+  $include_path = $extRoot . PATH_SEPARATOR . get_include_path();
+  set_include_path($include_path);
+}
+
+/**
+ * (Delegated) Implements hook_civicrm_xmlMenu().
+ *
+ * @param $files array(string)
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
+ */
+function _ckeditor4_civix_civicrm_xmlMenu(&$files) {
+  foreach (_ckeditor4_civix_glob(__DIR__ . '/xml/Menu/*.xml') as $file) {
+    $files[] = $file;
+  }
+}
+
+/**
+ * Implements hook_civicrm_install().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install
+ */
+function _ckeditor4_civix_civicrm_install() {
+  _ckeditor4_civix_civicrm_config();
+  if ($upgrader = _ckeditor4_civix_upgrader()) {
+    $upgrader->onInstall();
+  }
+}
+
+/**
+ * Implements hook_civicrm_postInstall().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_postInstall
+ */
+function _ckeditor4_civix_civicrm_postInstall() {
+  _ckeditor4_civix_civicrm_config();
+  if ($upgrader = _ckeditor4_civix_upgrader()) {
+    if (is_callable([$upgrader, 'onPostInstall'])) {
+      $upgrader->onPostInstall();
+    }
+  }
+}
+
+/**
+ * Implements hook_civicrm_uninstall().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_uninstall
+ */
+function _ckeditor4_civix_civicrm_uninstall() {
+  _ckeditor4_civix_civicrm_config();
+  if ($upgrader = _ckeditor4_civix_upgrader()) {
+    $upgrader->onUninstall();
+  }
+}
+
+/**
+ * (Delegated) Implements hook_civicrm_enable().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable
+ */
+function _ckeditor4_civix_civicrm_enable() {
+  _ckeditor4_civix_civicrm_config();
+  if ($upgrader = _ckeditor4_civix_upgrader()) {
+    if (is_callable([$upgrader, 'onEnable'])) {
+      $upgrader->onEnable();
+    }
+  }
+}
+
+/**
+ * (Delegated) Implements hook_civicrm_disable().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_disable
+ * @return mixed
+ */
+function _ckeditor4_civix_civicrm_disable() {
+  _ckeditor4_civix_civicrm_config();
+  if ($upgrader = _ckeditor4_civix_upgrader()) {
+    if (is_callable([$upgrader, 'onDisable'])) {
+      $upgrader->onDisable();
+    }
+  }
+}
+
+/**
+ * (Delegated) Implements hook_civicrm_upgrade().
+ *
+ * @param $op string, the type of operation being performed; 'check' or 'enqueue'
+ * @param $queue CRM_Queue_Queue, (for 'enqueue') the modifiable list of pending up upgrade tasks
+ *
+ * @return mixed
+ *   based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending)
+ *   for 'enqueue', returns void
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade
+ */
+function _ckeditor4_civix_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
+  if ($upgrader = _ckeditor4_civix_upgrader()) {
+    return $upgrader->onUpgrade($op, $queue);
+  }
+}
+
+/**
+ * @return CRM_Ckeditor4_Upgrader
+ */
+function _ckeditor4_civix_upgrader() {
+  if (!file_exists(__DIR__ . '/CRM/Ckeditor4/Upgrader.php')) {
+    return NULL;
+  }
+  else {
+    return CRM_Ckeditor4_Upgrader_Base::instance();
+  }
+}
+
+/**
+ * Search directory tree for files which match a glob pattern.
+ *
+ * Note: Dot-directories (like "..", ".git", or ".svn") will be ignored.
+ * Note: Delegate to CRM_Utils_File::findFiles(), this function kept only
+ * for backward compatibility of extension code that uses it.
+ *
+ * @param string $dir base dir
+ * @param string $pattern , glob pattern, eg "*.txt"
+ *
+ * @return array
+ */
+function _ckeditor4_civix_find_files($dir, $pattern) {
+  return CRM_Utils_File::findFiles($dir, $pattern);
+}
+
+/**
+ * (Delegated) Implements hook_civicrm_managed().
+ *
+ * Find any *.mgd.php files, merge their content, and return.
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_managed
+ */
+function _ckeditor4_civix_civicrm_managed(&$entities) {
+  $mgdFiles = _ckeditor4_civix_find_files(__DIR__, '*.mgd.php');
+  sort($mgdFiles);
+  foreach ($mgdFiles as $file) {
+    $es = include $file;
+    foreach ($es as $e) {
+      if (empty($e['module'])) {
+        $e['module'] = E::LONG_NAME;
+      }
+      if (empty($e['params']['version'])) {
+        $e['params']['version'] = '3';
+      }
+      $entities[] = $e;
+    }
+  }
+}
+
+/**
+ * (Delegated) Implements hook_civicrm_caseTypes().
+ *
+ * Find any and return any files matching "xml/case/*.xml"
+ *
+ * Note: This hook only runs in CiviCRM 4.4+.
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_caseTypes
+ */
+function _ckeditor4_civix_civicrm_caseTypes(&$caseTypes) {
+  if (!is_dir(__DIR__ . '/xml/case')) {
+    return;
+  }
+
+  foreach (_ckeditor4_civix_glob(__DIR__ . '/xml/case/*.xml') as $file) {
+    $name = preg_replace('/\.xml$/', '', basename($file));
+    if ($name != CRM_Case_XMLProcessor::mungeCaseType($name)) {
+      $errorMessage = sprintf("Case-type file name is malformed (%s vs %s)", $name, CRM_Case_XMLProcessor::mungeCaseType($name));
+      throw new CRM_Core_Exception($errorMessage);
+    }
+    $caseTypes[$name] = [
+      'module' => E::LONG_NAME,
+      'name' => $name,
+      'file' => $file,
+    ];
+  }
+}
+
+/**
+ * (Delegated) Implements hook_civicrm_angularModules().
+ *
+ * Find any and return any files matching "ang/*.ang.php"
+ *
+ * Note: This hook only runs in CiviCRM 4.5+.
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_angularModules
+ */
+function _ckeditor4_civix_civicrm_angularModules(&$angularModules) {
+  if (!is_dir(__DIR__ . '/ang')) {
+    return;
+  }
+
+  $files = _ckeditor4_civix_glob(__DIR__ . '/ang/*.ang.php');
+  foreach ($files as $file) {
+    $name = preg_replace(':\.ang\.php$:', '', basename($file));
+    $module = include $file;
+    if (empty($module['ext'])) {
+      $module['ext'] = E::LONG_NAME;
+    }
+    $angularModules[$name] = $module;
+  }
+}
+
+/**
+ * (Delegated) Implements hook_civicrm_themes().
+ *
+ * Find any and return any files matching "*.theme.php"
+ */
+function _ckeditor4_civix_civicrm_themes(&$themes) {
+  $files = _ckeditor4_civix_glob(__DIR__ . '/*.theme.php');
+  foreach ($files as $file) {
+    $themeMeta = include $file;
+    if (empty($themeMeta['name'])) {
+      $themeMeta['name'] = preg_replace(':\.theme\.php$:', '', basename($file));
+    }
+    if (empty($themeMeta['ext'])) {
+      $themeMeta['ext'] = E::LONG_NAME;
+    }
+    $themes[$themeMeta['name']] = $themeMeta;
+  }
+}
+
+/**
+ * Glob wrapper which is guaranteed to return an array.
+ *
+ * The documentation for glob() says, "On some systems it is impossible to
+ * distinguish between empty match and an error." Anecdotally, the return
+ * result for an empty match is sometimes array() and sometimes FALSE.
+ * This wrapper provides consistency.
+ *
+ * @link http://php.net/glob
+ * @param string $pattern
+ *
+ * @return array
+ */
+function _ckeditor4_civix_glob($pattern) {
+  $result = glob($pattern);
+  return is_array($result) ? $result : [];
+}
+
+/**
+ * Inserts a navigation menu item at a given place in the hierarchy.
+ *
+ * @param array $menu - menu hierarchy
+ * @param string $path - path to parent of this item, e.g. 'my_extension/submenu'
+ *    'Mailing', or 'Administer/System Settings'
+ * @param array $item - the item to insert (parent/child attributes will be
+ *    filled for you)
+ *
+ * @return bool
+ */
+function _ckeditor4_civix_insert_navigation_menu(&$menu, $path, $item) {
+  // If we are done going down the path, insert menu
+  if (empty($path)) {
+    $menu[] = [
+      'attributes' => array_merge([
+        'label'      => CRM_Utils_Array::value('name', $item),
+        'active'     => 1,
+      ], $item),
+    ];
+    return TRUE;
+  }
+  else {
+    // Find an recurse into the next level down
+    $found = FALSE;
+    $path = explode('/', $path);
+    $first = array_shift($path);
+    foreach ($menu as $key => &$entry) {
+      if ($entry['attributes']['name'] == $first) {
+        if (!isset($entry['child'])) {
+          $entry['child'] = [];
+        }
+        $found = _ckeditor4_civix_insert_navigation_menu($entry['child'], implode('/', $path), $item);
+      }
+    }
+    return $found;
+  }
+}
+
+/**
+ * (Delegated) Implements hook_civicrm_navigationMenu().
+ */
+function _ckeditor4_civix_navigationMenu(&$nodes) {
+  if (!is_callable(['CRM_Core_BAO_Navigation', 'fixNavigationMenu'])) {
+    _ckeditor4_civix_fixNavigationMenu($nodes);
+  }
+}
+
+/**
+ * Given a navigation menu, generate navIDs for any items which are
+ * missing them.
+ */
+function _ckeditor4_civix_fixNavigationMenu(&$nodes) {
+  $maxNavID = 1;
+  array_walk_recursive($nodes, function($item, $key) use (&$maxNavID) {
+    if ($key === 'navID') {
+      $maxNavID = max($maxNavID, $item);
+    }
+  });
+  _ckeditor4_civix_fixNavigationMenuItems($nodes, $maxNavID, NULL);
+}
+
+function _ckeditor4_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) {
+  $origKeys = array_keys($nodes);
+  foreach ($origKeys as $origKey) {
+    if (!isset($nodes[$origKey]['attributes']['parentID']) && $parentID !== NULL) {
+      $nodes[$origKey]['attributes']['parentID'] = $parentID;
+    }
+    // If no navID, then assign navID and fix key.
+    if (!isset($nodes[$origKey]['attributes']['navID'])) {
+      $newKey = ++$maxNavID;
+      $nodes[$origKey]['attributes']['navID'] = $newKey;
+      $nodes[$newKey] = $nodes[$origKey];
+      unset($nodes[$origKey]);
+      $origKey = $newKey;
+    }
+    if (isset($nodes[$origKey]['child']) && is_array($nodes[$origKey]['child'])) {
+      _ckeditor4_civix_fixNavigationMenuItems($nodes[$origKey]['child'], $maxNavID, $nodes[$origKey]['attributes']['navID']);
+    }
+  }
+}
+
+/**
+ * (Delegated) Implements hook_civicrm_alterSettingsFolders().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_alterSettingsFolders
+ */
+function _ckeditor4_civix_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
+  $settingsDir = __DIR__ . DIRECTORY_SEPARATOR . 'settings';
+  if (!in_array($settingsDir, $metaDataFolders) && is_dir($settingsDir)) {
+    $metaDataFolders[] = $settingsDir;
+  }
+}
+
+/**
+ * (Delegated) Implements hook_civicrm_entityTypes().
+ *
+ * Find any *.entityType.php files, merge their content, and return.
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes
+ */
+function _ckeditor4_civix_civicrm_entityTypes(&$entityTypes) {
+  $entityTypes = array_merge($entityTypes, []);
+}
diff --git a/civicrm/ext/ckeditor4/ckeditor4.php b/civicrm/ext/ckeditor4/ckeditor4.php
new file mode 100644
index 0000000000000000000000000000000000000000..1823176d607502ddbaacfdece649ac94f50ff41d
--- /dev/null
+++ b/civicrm/ext/ckeditor4/ckeditor4.php
@@ -0,0 +1,205 @@
+<?php
+
+require_once 'ckeditor4.civix.php';
+// phpcs:disable
+use CRM_Ckeditor4_ExtensionUtil as E;
+// phpcs:enable
+
+/**
+ * Implements hook_civicrm_config().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config/
+ */
+function ckeditor4_civicrm_config(&$config) {
+  _ckeditor4_civix_civicrm_config($config);
+}
+
+/**
+ * Implements hook_civicrm_xmlMenu().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
+ */
+function ckeditor4_civicrm_xmlMenu(&$files) {
+  _ckeditor4_civix_civicrm_xmlMenu($files);
+}
+
+/**
+ * Implements hook_civicrm_install().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install
+ */
+function ckeditor4_civicrm_install() {
+  _ckeditor4_civix_civicrm_install();
+}
+
+/**
+ * Implements hook_civicrm_postInstall().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_postInstall
+ */
+function ckeditor4_civicrm_postInstall() {
+  _ckeditor4_civix_civicrm_postInstall();
+}
+
+/**
+ * Implements hook_civicrm_uninstall().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_uninstall
+ */
+function ckeditor4_civicrm_uninstall() {
+  _ckeditor4_civix_civicrm_uninstall();
+}
+
+/**
+ * Implements hook_civicrm_enable().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable
+ */
+function ckeditor4_civicrm_enable() {
+  _ckeditor4_civix_civicrm_enable();
+}
+
+/**
+ * Implements hook_civicrm_disable().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_disable
+ */
+function ckeditor4_civicrm_disable() {
+  _ckeditor4_civix_civicrm_disable();
+}
+
+/**
+ * Implements hook_civicrm_upgrade().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade
+ */
+function ckeditor4_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
+  return _ckeditor4_civix_civicrm_upgrade($op, $queue);
+}
+
+/**
+ * Implements hook_civicrm_managed().
+ *
+ * Generate a list of entities to create/deactivate/delete when this module
+ * is installed, disabled, uninstalled.
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_managed
+ */
+function ckeditor4_civicrm_managed(&$entities) {
+  _ckeditor4_civix_civicrm_managed($entities);
+}
+
+/**
+ * Implements hook_civicrm_caseTypes().
+ *
+ * Generate a list of case-types.
+ *
+ * Note: This hook only runs in CiviCRM 4.4+.
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_caseTypes
+ */
+function ckeditor4_civicrm_caseTypes(&$caseTypes) {
+  _ckeditor4_civix_civicrm_caseTypes($caseTypes);
+}
+
+/**
+ * Implements hook_civicrm_angularModules().
+ *
+ * Generate a list of Angular modules.
+ *
+ * Note: This hook only runs in CiviCRM 4.5+. It may
+ * use features only available in v4.6+.
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_angularModules
+ */
+function ckeditor4_civicrm_angularModules(&$angularModules) {
+  _ckeditor4_civix_civicrm_angularModules($angularModules);
+}
+
+/**
+ * Implements hook_civicrm_alterSettingsFolders().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_alterSettingsFolders
+ */
+function ckeditor4_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
+  _ckeditor4_civix_civicrm_alterSettingsFolders($metaDataFolders);
+}
+
+/**
+ * Implements hook_civicrm_entityTypes().
+ *
+ * Declare entity types provided by this module.
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes
+ */
+function ckeditor4_civicrm_entityTypes(&$entityTypes) {
+  _ckeditor4_civix_civicrm_entityTypes($entityTypes);
+}
+
+/**
+ * Implements hook_civicrm_themes().
+ */
+function ckeditor4_civicrm_themes(&$themes) {
+  _ckeditor4_civix_civicrm_themes($themes);
+}
+
+function ckeditor4_civicrm_buildForm($formName, $form) {
+  if ($formName === 'CRM_Admin_Form_Preferences_Display') {
+    $form->addElement(
+      'xbutton',
+      'ckeditor_config',
+      CRM_Core_Page::crmIcon('fa-wrench') . ' ' . E::ts('Configure CKEditor 4'),
+      [
+        'type' => 'submit',
+        'class' => 'crm-button',
+        'style' => 'display:inline-block;vertical-align:middle;float:none!important;',
+        'value' => 1,
+      ]
+    );
+    CRM_Core_Region::instance('form-bottom')->add([
+      'template' => 'CRM/Admin/Form/Preferences/Ckeditor.tpl',
+    ]);
+  }
+}
+
+function ckeditor4_civicrm_coreResourceList(&$list, $region) {
+  // add wysiwyg editor
+  $editor = \Civi::settings()->get('editor_id');
+  if ($editor == "CKEditor") {
+    CRM_Ckeditor4_Form_CKEditorConfig::setConfigDefault();
+    $list[] = [
+      'config' => [
+        'wysisygScriptLocation' => E::url('js/crm.ckeditor.js'),
+        'CKEditorCustomConfig' => CRM_Ckeditor4_Form_CKEditorConfig::getConfigUrl(),
+      ],
+    ];
+  }
+}
+
+// --- Functions below this ship commented out. Uncomment as required. ---
+
+/**
+ * Implements hook_civicrm_preProcess().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
+ */
+//function ckeditor4_civicrm_preProcess($formName, &$form) {
+//
+//}
+
+/**
+ * Implements hook_civicrm_navigationMenu().
+ *
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
+ */
+//function ckeditor4_civicrm_navigationMenu(&$menu) {
+//  _ckeditor4_civix_insert_navigation_menu($menu, 'Mailings', array(
+//    'label' => E::ts('New subliminal message'),
+//    'name' => 'mailing_subliminal_message',
+//    'url' => 'civicrm/mailing/subliminal',
+//    'permission' => 'access CiviMail',
+//    'operator' => 'OR',
+//    'separator' => 0,
+//  ));
+//  _ckeditor4_civix_navigationMenu($menu);
+//}
diff --git a/civicrm/ext/ckeditor4/images/screenshot.png b/civicrm/ext/ckeditor4/images/screenshot.png
new file mode 100644
index 0000000000000000000000000000000000000000..6765b696fa03249ac2cd605d5f0e4aa000ad6dad
Binary files /dev/null and b/civicrm/ext/ckeditor4/images/screenshot.png differ
diff --git a/civicrm/ext/ckeditor4/info.xml b/civicrm/ext/ckeditor4/info.xml
new file mode 100644
index 0000000000000000000000000000000000000000..a67866d66b3c662e97200b89b6a73eb23804e228
--- /dev/null
+++ b/civicrm/ext/ckeditor4/info.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<extension key="ckeditor4" type="module">
+  <file>ckeditor4</file>
+  <name>CKEditor</name>
+  <description>CiviCRM CKEditor Plugin.</description>
+  <license>AGPL-3.0</license>
+  <maintainer>
+    <author>Seamus Lee</author>
+    <email>seamus@civicrm.org</email>
+  </maintainer>
+  <urls>
+    <url desc="Main Extension Page">https://github.com/civicrm/civicrm-core/</url>
+    <url desc="Documentation">https://github.com/civicrm/civicrm-core/</url>
+    <url desc="Support">https://github.com/civicrm/civicrm-core/</url>
+    <url desc="Licensing">https://www.gnu.org/licenses/agpl-3.0.html</url>
+  </urls>
+  <releaseDate>2021-05-23</releaseDate>
+  <version>5.40.0</version>
+  <develStage>stable</develStage>
+  <compatibility>
+    <ver>5.39</ver>
+  </compatibility>
+  <comments>This takes the original CKEditor and shifts it into its own core extension</comments>
+  <classloader>
+    <psr4 prefix="Civi\" path="Civi"/>
+  </classloader>
+  <civix>
+    <namespace>CRM/Ckeditor4</namespace>
+  </civix>
+</extension>
diff --git a/civicrm/js/wysiwyg/admin.ckeditor-configurator.js b/civicrm/ext/ckeditor4/js/admin.ckeditor-configurator.js
similarity index 97%
rename from civicrm/js/wysiwyg/admin.ckeditor-configurator.js
rename to civicrm/ext/ckeditor4/js/admin.ckeditor-configurator.js
index 9d87afc0dc20b02d6edf80a7fad86be336bec3d1..de6ccb8b15bade32334e896522ab889e5baa2521 100644
--- a/civicrm/js/wysiwyg/admin.ckeditor-configurator.js
+++ b/civicrm/ext/ckeditor4/js/admin.ckeditor-configurator.js
@@ -126,7 +126,7 @@
         }
       });
 
-    $.getJSON(CRM.config.resourceBase + 'js/wysiwyg/ck-options.json', null, initOptions);
+    $.getJSON(CRM.config.resourceBase + 'ext/ckeditor4/js/ck-options.json', null, initOptions);
   });
 
 })(CRM.$, CRM._);
diff --git a/civicrm/js/wysiwyg/ck-options.json b/civicrm/ext/ckeditor4/js/ck-options.json
similarity index 100%
rename from civicrm/js/wysiwyg/ck-options.json
rename to civicrm/ext/ckeditor4/js/ck-options.json
diff --git a/civicrm/js/wysiwyg/crm.ckeditor.js b/civicrm/ext/ckeditor4/js/crm.ckeditor.js
similarity index 100%
rename from civicrm/js/wysiwyg/crm.ckeditor.js
rename to civicrm/ext/ckeditor4/js/crm.ckeditor.js
diff --git a/civicrm/ext/ckeditor4/templates/CRM/Admin/Form/Preferences/Ckeditor.tpl b/civicrm/ext/ckeditor4/templates/CRM/Admin/Form/Preferences/Ckeditor.tpl
new file mode 100644
index 0000000000000000000000000000000000000000..df84beb7d0f3431ec375f8c1d25866d8f93d736f
--- /dev/null
+++ b/civicrm/ext/ckeditor4/templates/CRM/Admin/Form/Preferences/Ckeditor.tpl
@@ -0,0 +1,12 @@
+{$form.ckeditor_config.html}
+{literal}
+  <script type="text/javascript">
+    CRM.$(function($) {
+      $('#ckeditor_config').appendTo($('#editor_id').parent());
+      function showCKEditorConfig() {
+        $('.crm-preferences-display-form-block-editor_id .crm-button').toggle($(this).val() == 'CKEditor');
+      }
+      $('select[name=editor_id]').each(showCKEditorConfig).change(showCKEditorConfig);
+    });
+  </script>
+{/literal}
diff --git a/civicrm/templates/CRM/Admin/Form/CKEditorConfig.tpl b/civicrm/ext/ckeditor4/templates/CRM/Ckeditor4/Form/CKEditorConfig.tpl
similarity index 100%
rename from civicrm/templates/CRM/Admin/Form/CKEditorConfig.tpl
rename to civicrm/ext/ckeditor4/templates/CRM/Ckeditor4/Form/CKEditorConfig.tpl
diff --git a/civicrm/ext/ckeditor4/xml/Menu/ckeditor4.xml b/civicrm/ext/ckeditor4/xml/Menu/ckeditor4.xml
new file mode 100644
index 0000000000000000000000000000000000000000..06b387e2b0699d792523d6badbd22b2336fb25f4
--- /dev/null
+++ b/civicrm/ext/ckeditor4/xml/Menu/ckeditor4.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<menu>
+  <item>
+    <path>civicrm/admin/ckeditor</path>
+    <title>Configure CKEditor 4</title>
+    <page_callback>CRM_Ckeditor4_Form_CKEditorConfig</page_callback>
+    <access_arguments>administer CiviCRM</access_arguments>
+  </item>
+</menu>
diff --git a/civicrm/ext/contributioncancelactions/info.xml b/civicrm/ext/contributioncancelactions/info.xml
index f8cf312a02497ec03e5d4a17b2712c81f309244e..2493eabe0753806b86f267c1c0c23d678ca5789f 100644
--- a/civicrm/ext/contributioncancelactions/info.xml
+++ b/civicrm/ext/contributioncancelactions/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-10-12</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.32</ver>
diff --git a/civicrm/ext/contributioncancelactions/tests/phpunit/CancelTest.php b/civicrm/ext/contributioncancelactions/tests/phpunit/CancelTest.php
index eb475e2a76c034ee532bfcf87d33b6e33b72ef77..431e728ee0ffbbc622c0806542a43c6de2f4f9b7 100644
--- a/civicrm/ext/contributioncancelactions/tests/phpunit/CancelTest.php
+++ b/civicrm/ext/contributioncancelactions/tests/phpunit/CancelTest.php
@@ -98,7 +98,7 @@ class CancelTest extends TestCase implements HeadlessInterface, HookInterface, T
       'processor_id' => $this->createPaymentProcessor(),
     ]);
     $ipn->main();
-    $this->callAPISuccessGetSingle('Contribution', ['contribution_status_id' => 'Cancelled']);
+    $this->callAPISuccessGetCount('Contribution', ['contribution_status_id' => 'Cancelled'], 1);
     $this->callAPISuccessGetCount('Membership', ['status_id' => 'Cancelled'], 2);
   }
 
diff --git a/civicrm/ext/eventcart/info.xml b/civicrm/ext/eventcart/info.xml
index 716c1a3de97000c6895f3ebdd28ffb03a0c1150e..510e6e5e136add5d1c6c87ff6cf4c7990e8bd7fc 100644
--- a/civicrm/ext/eventcart/info.xml
+++ b/civicrm/ext/eventcart/info.xml
@@ -13,7 +13,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-08-03</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
diff --git a/civicrm/ext/ewaysingle/info.xml b/civicrm/ext/ewaysingle/info.xml
index 36b7dc598f9a864bcfc8471b41592c6067429e1c..161c56d73f54aa34a4bcfb312562665efc43e303 100644
--- a/civicrm/ext/ewaysingle/info.xml
+++ b/civicrm/ext/ewaysingle/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-10-07</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
diff --git a/civicrm/ext/financialacls/financialacls.php b/civicrm/ext/financialacls/financialacls.php
index abad6279ec09b540b0b0806be045e6a9cb481c7d..a0d94540682fc6cc8be4eb0cfaefe70f3ca332d7 100644
--- a/civicrm/ext/financialacls/financialacls.php
+++ b/civicrm/ext/financialacls/financialacls.php
@@ -305,19 +305,41 @@ function _financialacls_civi_api4_authorizeContribution(\Civi\Api4\Event\Authori
   if (!financialacls_is_acl_limiting_enabled()) {
     return;
   }
-  if ($e->getActionName() === 'delete' && $e->getEntityName() === 'Contribution') {
-    $contributionID = $e->getRecord()['id'];
-    // First check contribution financial type
-    $financialType = CRM_Core_PseudoConstant::getName('CRM_Contribute_DAO_Contribution', 'financial_type_id', CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_Contribution', $contributionID, 'financial_type_id'));
-    // Now check permissioned line items & permissioned contribution
-    if (!CRM_Core_Permission::check('delete contributions of type ' . $financialType, $e->getUserID()) ||
-      !CRM_Financial_BAO_FinancialType::checkPermissionedLineItems($contributionID, 'delete', FALSE, $e->getUserID())
-    ) {
+  if ($e->getEntityName() === 'Contribution') {
+    $contributionID = $e->getRecord()['id'] ?? NULL;
+    $financialTypeID = $e->getRecord()['financial_type_id'] ?? CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_Contribution', $contributionID, 'financial_type_id');
+    if (!CRM_Core_Permission::check(_financialacls_getRequiredPermission($financialTypeID, $e->getActionName()), $e->getUserID())) {
       $e->setAuthorized(FALSE);
     }
+    if ($e->getActionName() === 'delete') {
+      // First check contribution financial type
+      // Now check permissioned line items & permissioned contribution
+      if (!CRM_Financial_BAO_FinancialType::checkPermissionedLineItems($contributionID, 'delete', FALSE, $e->getUserID())
+      ) {
+        $e->setAuthorized(FALSE);
+      }
+    }
   }
 }
 
+/**
+ * Get the permission required to perform this action on this financial type.
+ *
+ * @param int $financialTypeID
+ * @param string $action
+ *
+ * @return string
+ */
+function _financialacls_getRequiredPermission(int $financialTypeID, string $action): string {
+  $financialType = CRM_Core_PseudoConstant::getName('CRM_Contribute_DAO_Contribution', 'financial_type_id', $financialTypeID);
+  $actionMap = [
+    'create' => 'add',
+    'update' => 'edit',
+    'delete' => 'delete',
+  ];
+  return $actionMap[$action] . ' contributions of type ' . $financialType;
+}
+
 /**
  * Remove unpermitted financial types from field Options in search context.
  *
diff --git a/civicrm/ext/financialacls/info.xml b/civicrm/ext/financialacls/info.xml
index 0b283eee3221da224fa36cabcd9d4f687ffe0468..786c0f03c82b43aee9bb131fde1c932495966a4c 100644
--- a/civicrm/ext/financialacls/info.xml
+++ b/civicrm/ext/financialacls/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-08-27</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.30</ver>
diff --git a/civicrm/ext/financialacls/tests/phpunit/Civi/Financialacls/BaseTestClass.php b/civicrm/ext/financialacls/tests/phpunit/Civi/Financialacls/BaseTestClass.php
index 6eb159cd810c4cfdca33978019065d230299bda3..c1434d1661a5af66770def9b5448646d92bbecf2 100644
--- a/civicrm/ext/financialacls/tests/phpunit/Civi/Financialacls/BaseTestClass.php
+++ b/civicrm/ext/financialacls/tests/phpunit/Civi/Financialacls/BaseTestClass.php
@@ -45,6 +45,7 @@ class BaseTestClass extends \PHPUnit\Framework\TestCase implements HeadlessInter
     $this->setPermissions([
       'access CiviCRM',
       'access CiviContribute',
+      'access CiviMember',
       'edit contributions',
       'delete in CiviContribute',
       'view contributions of type Donation',
diff --git a/civicrm/ext/financialacls/tests/phpunit/Civi/Financialacls/MembershipTypesTest.php b/civicrm/ext/financialacls/tests/phpunit/Civi/Financialacls/MembershipTypesTest.php
index df71a02e35532a05e4520d3aedfeca0808b4db95..131754a1292882f554e044e3e55fad590780f0f5 100644
--- a/civicrm/ext/financialacls/tests/phpunit/Civi/Financialacls/MembershipTypesTest.php
+++ b/civicrm/ext/financialacls/tests/phpunit/Civi/Financialacls/MembershipTypesTest.php
@@ -16,13 +16,39 @@ class MembershipTypesTest extends BaseTestClass {
    * Test buildMembershipTypes.
    */
   public function testMembershipTypesHook(): void {
-    $types = MembershipType::save(FALSE)->setRecords([
-      ['name' => 'Forbidden', 'financial_type_id:name' => 'Member Dues'],
-      ['name' => 'Go for it', 'financial_type_id:name' => 'Donation'],
-    ])->setDefaults(['period_type' => 'rolling', 'member_of_contact_id' => 1])->execute()->indexBy('name');
-    $this->setupLoggedInUserWithLimitedFinancialTypeAccess();
+    $types = $this->setUpMembershipTypesACLLimited();
     $permissionedTypes = \CRM_Member_BAO_Membership::buildMembershipTypeValues(new \CRM_Member_Form_Membership());
     $this->assertEquals([$types['Go for it']['id']], array_keys($permissionedTypes));
   }
 
+  /**
+   * Test the membership type page loads correctly.
+   */
+  public function testMembershipTypePage(): void {
+    $page = new \CRM_Member_Page_MembershipType();
+    $types = $this->setUpMembershipTypesACLLimited();
+    $page->browse();
+    $assigned = \CRM_Core_Smarty::singleton()->get_template_vars();
+    $this->assertArrayNotHasKey($types['Forbidden']['id'], $assigned['rows']);
+    $this->assertArrayHasKey($types['Go for it']['id'], $assigned['rows']);
+  }
+
+  /**
+   * @return \Civi\Api4\Generic\Result
+   * @throws \API_Exception
+   * @throws \Civi\API\Exception\UnauthorizedException
+   */
+  protected function setUpMembershipTypesACLLimited(): \Civi\Api4\Generic\Result {
+    $types = MembershipType::save(FALSE)
+      ->setRecords([
+        ['name' => 'Forbidden', 'financial_type_id:name' => 'Member Dues', 'weight' => 1],
+        ['name' => 'Go for it', 'financial_type_id:name' => 'Donation', 'weight' => 2],
+      ])
+      ->setDefaults(['period_type' => 'rolling', 'member_of_contact_id' => 1])
+      ->execute()
+      ->indexBy('name');
+    $this->setupLoggedInUserWithLimitedFinancialTypeAccess();
+    return $types;
+  }
+
 }
diff --git a/civicrm/ext/flexmailer/info.xml b/civicrm/ext/flexmailer/info.xml
index a27b8289ba9bdaa2e36545e50268ed43f1f73902..95137181023c6981bf74aa88a86e8bea0b43f494 100644
--- a/civicrm/ext/flexmailer/info.xml
+++ b/civicrm/ext/flexmailer/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-08-05</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <develStage>stable</develStage>
   <comments>
     FlexMailer is an email delivery engine which replaces the internal guts
diff --git a/civicrm/ext/greenwich/info.xml b/civicrm/ext/greenwich/info.xml
index 09fbfbb7a6b956dcc30c5e96d01f1e3745dc1444..e4dbefed157c3584413eeaf654a4adf01db23b60 100644
--- a/civicrm/ext/greenwich/info.xml
+++ b/civicrm/ext/greenwich/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-07-21</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
diff --git a/civicrm/ext/oauth-client/info.xml b/civicrm/ext/oauth-client/info.xml
index fb8aef699725ca317b6f0123de5d427059645d4c..56c8b15305772c48727131cc69937f00d3112c28 100644
--- a/civicrm/ext/oauth-client/info.xml
+++ b/civicrm/ext/oauth-client/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-10-23</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.38</ver>
diff --git a/civicrm/ext/oauth-client/tests/phpunit/api/v4/OAuthContactTokenTest.php b/civicrm/ext/oauth-client/tests/phpunit/api/v4/OAuthContactTokenTest.php
index 131bf6d73f1b959bea08f8a316945c9c7578efbf..ed19b092222533f01b1bc35d73a008b8e4a1b13d 100644
--- a/civicrm/ext/oauth-client/tests/phpunit/api/v4/OAuthContactTokenTest.php
+++ b/civicrm/ext/oauth-client/tests/phpunit/api/v4/OAuthContactTokenTest.php
@@ -228,7 +228,7 @@ class api_v4_OAuthContactTokenTest extends \PHPUnit\Framework\TestCase implement
 
     $this->usePerms(['manage my OAuth contact tokens', 'view my contact']);
     $updateTokensWithLimitedAccess = Civi\Api4\OAuthContactToken::update()
-      ->addWhere('client.guid', '=', $client['guid'])
+      ->addWhere('client_id.guid', '=', $client['guid'])
       ->setValues(['access_token' => 'own-token-revised'])
       ->execute();
     $this->assertCount(1, $updateTokensWithLimitedAccess);
@@ -257,7 +257,7 @@ class api_v4_OAuthContactTokenTest extends \PHPUnit\Framework\TestCase implement
 
     $this->usePerms(['manage my OAuth contact tokens', 'view my contact']);
     $updateTokensForWrongContact = Civi\Api4\OAuthContactToken::update()
-      ->addWhere('contact.id', '=', $notLoggedInContactID)
+      ->addWhere('contact_id.id', '=', $notLoggedInContactID)
       // ^ sneaky way to update a different contact?
       ->setValues(['access_token' => "stranger-token-revised"])
       ->execute();
@@ -271,7 +271,7 @@ class api_v4_OAuthContactTokenTest extends \PHPUnit\Framework\TestCase implement
 
     $this->usePerms(['manage my OAuth contact tokens', 'view all contacts']);
     $deleteTokensWithLimitedAccess = Civi\Api4\OAuthContactToken::delete()
-      ->setWhere([['client.guid', '=', $client['guid']]])
+      ->setWhere([['client_id.guid', '=', $client['guid']]])
       ->execute();
 
     $this->usePerms(['manage my OAuth contact tokens', 'view all contacts']);
@@ -309,7 +309,7 @@ class api_v4_OAuthContactTokenTest extends \PHPUnit\Framework\TestCase implement
 
     $this->usePerms(['manage all OAuth contact tokens', 'view all contacts']);
     $getTokens = Civi\Api4\OAuthContactToken::get()
-      ->addWhere('client.provider', '=', $client['provider'])
+      ->addWhere('client_id.provider', '=', $client['provider'])
       ->addWhere('scopes', 'CONTAINS', 'foo')
       ->execute();
     $this->assertCount(1, $getTokens);
@@ -317,14 +317,14 @@ class api_v4_OAuthContactTokenTest extends \PHPUnit\Framework\TestCase implement
 
     $this->usePerms(['manage all OAuth contact tokens', 'view all contacts']);
     $getTokens = Civi\Api4\OAuthContactToken::get()
-      ->addWhere('client.provider', '=', $client['provider'])
+      ->addWhere('client_id.provider', '=', $client['provider'])
       ->addWhere('scopes', 'CONTAINS', 'nada')
       ->execute();
     $this->assertCount(0, $getTokens);
 
     $this->usePerms(['manage all OAuth contact tokens', 'view all contacts']);
     $getTokens = Civi\Api4\OAuthContactToken::get()
-      ->addWhere('client.provider', '=', 'some-other-provider')
+      ->addWhere('client_id.provider', '=', 'some-other-provider')
       ->addWhere('scopes', 'CONTAINS', 'foo')
       ->execute();
     $this->assertCount(0, $getTokens);
diff --git a/civicrm/ext/oauth-client/tests/phpunit/api/v4/OAuthSysTokenTest.php b/civicrm/ext/oauth-client/tests/phpunit/api/v4/OAuthSysTokenTest.php
index bcd061413854be7bdf048f15c3f3f83145e3ffa1..01984f4a82e180bb533206f96fe4ea740b642520 100644
--- a/civicrm/ext/oauth-client/tests/phpunit/api/v4/OAuthSysTokenTest.php
+++ b/civicrm/ext/oauth-client/tests/phpunit/api/v4/OAuthSysTokenTest.php
@@ -70,7 +70,7 @@ class api_v4_OAuthSysTokenTest extends \PHPUnit\Framework\TestCase implements He
 
     $usePerms(['manage OAuth client', 'manage OAuth client secrets']);
     $updateToken = Civi\Api4\OAuthSysToken::update()
-      ->setWhere([['client.guid', '=', "example-id-$random"]])
+      ->setWhere([['client_id.guid', '=', "example-id-$random"]])
       ->setValues(['access_token' => "revised-access-token-$random"])
       ->execute();
 
@@ -141,7 +141,7 @@ class api_v4_OAuthSysTokenTest extends \PHPUnit\Framework\TestCase implements He
     $usePerms(['manage OAuth client']);
     try {
       Civi\Api4\OAuthSysToken::update()
-        ->setWhere([['client.guid', '=', "example-id-$random"]])
+        ->setWhere([['client_id.guid', '=', "example-id-$random"]])
         ->setValues(['access_token' => "revised-access-token-$random"])
         ->execute();
       $this->fail('Expected exception - User should not be able to write secret values.');
@@ -191,7 +191,7 @@ class api_v4_OAuthSysTokenTest extends \PHPUnit\Framework\TestCase implements He
 
     $usePerms(['manage OAuth client']);
     $getTokens = Civi\Api4\OAuthSysToken::get()
-      ->addWhere('client.provider', '=', 'test_example_1')
+      ->addWhere('client_id.provider', '=', 'test_example_1')
       ->addWhere('scopes', 'CONTAINS', 'foo')
       ->execute();
     $this->assertEquals(1, count($getTokens));
@@ -199,14 +199,14 @@ class api_v4_OAuthSysTokenTest extends \PHPUnit\Framework\TestCase implements He
 
     $usePerms(['manage OAuth client']);
     $getTokens = Civi\Api4\OAuthSysToken::get()
-      ->addWhere('client.provider', '=', 'test_example_1')
+      ->addWhere('client_id.provider', '=', 'test_example_1')
       ->addWhere('scopes', 'CONTAINS', 'nada')
       ->execute();
     $this->assertEquals(0, count($getTokens));
 
     $usePerms(['manage OAuth client']);
     $getTokens = Civi\Api4\OAuthSysToken::get()
-      ->addWhere('client.provider', '=', 'test_example_2')
+      ->addWhere('client_id.provider', '=', 'test_example_2')
       ->addWhere('scopes', 'CONTAINS', 'foo')
       ->execute();
     $this->assertEquals(0, count($getTokens));
diff --git a/civicrm/ext/payflowpro/info.xml b/civicrm/ext/payflowpro/info.xml
index f3d4167b01ceb161e144922904887c023ee30ae3..4cce110745f705b46b646b3cbd0da33b56700c25 100644
--- a/civicrm/ext/payflowpro/info.xml
+++ b/civicrm/ext/payflowpro/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2021-04-13</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.0</ver>
diff --git a/civicrm/ext/recaptcha/info.xml b/civicrm/ext/recaptcha/info.xml
index d3507d96ed38363ae816c5ef566b725b436cb156..e39aa28fc494d1e5592c23fdc391437d32171fd4 100644
--- a/civicrm/ext/recaptcha/info.xml
+++ b/civicrm/ext/recaptcha/info.xml
@@ -13,7 +13,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2021-04-03</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
diff --git a/civicrm/ext/search_kit/CRM/Search/BAO/SearchDisplay.php b/civicrm/ext/search_kit/CRM/Search/BAO/SearchDisplay.php
index 0d6f6651d5a570a3ccc2215a7afe62eab38ac209..48776d96ebba25c805332c25a3d95ba6785dfd46 100644
--- a/civicrm/ext/search_kit/CRM/Search/BAO/SearchDisplay.php
+++ b/civicrm/ext/search_kit/CRM/Search/BAO/SearchDisplay.php
@@ -14,4 +14,47 @@
  */
 class CRM_Search_BAO_SearchDisplay extends CRM_Search_DAO_SearchDisplay {
 
+  /**
+   * Ensure only super-admins are allowed to create or update displays with acl_bypass
+   *
+   * @param string $entityName
+   * @param string $action
+   * @param array $record
+   * @param int $userCID
+   * @return bool
+   */
+  public static function _checkAccess(string $entityName, string $action, array $record, int $userCID) {
+    // If we hit this function at all, the user is not a super-admin
+    // But they must be at least a regular administrator
+    if (!CRM_Core_Permission::check('administer CiviCRM data')) {
+      return FALSE;
+    }
+    if (in_array($action, ['create', 'update'], TRUE)) {
+      // Do not allow acl_bypass to be set to TRUE
+      if (!empty($record['acl_bypass'])) {
+        return FALSE;
+      }
+      // Do not allow edits to an existing record with acl_bypass = TRUE
+      if (!empty($record['id'])) {
+        return !CRM_Core_DAO::getFieldValue(__CLASS__, $record['id'], 'acl_bypass');
+      }
+    }
+    return TRUE;
+  }
+
+  /**
+   * Ensure only super-admins may update SavedSearches linked to displays with acl_bypass
+   *
+   * @param \Civi\Api4\Event\AuthorizeRecordEvent $e
+   */
+  public static function savedSearchCheckAccessByDisplay(\Civi\Api4\Event\AuthorizeRecordEvent $e) {
+    if ($e->getActionName() === 'update') {
+      $id = (int) $e->getRecord()['id'];
+      $sql = "SELECT COUNT(id) FROM civicrm_search_display WHERE acl_bypass = 1 AND saved_search_id = $id";
+      if (CRM_Core_DAO::singleValueQuery($sql)) {
+        $e->setAuthorized(FALSE);
+      }
+    }
+  }
+
 }
diff --git a/civicrm/ext/search_kit/CRM/Search/DAO/SearchDisplay.php b/civicrm/ext/search_kit/CRM/Search/DAO/SearchDisplay.php
index e4dd814bfb94d53cbefc92e094a20623b4d93967..c7dfeb7b1841287d35a2f8fe1e3e5ef1eead4089 100644
--- a/civicrm/ext/search_kit/CRM/Search/DAO/SearchDisplay.php
+++ b/civicrm/ext/search_kit/CRM/Search/DAO/SearchDisplay.php
@@ -6,7 +6,7 @@
  *
  * Generated from org.civicrm.search_kit/xml/schema/CRM/Search/SearchDisplay.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6042d1e2bee9eaed4c3a7c59c34ad224)
+ * (GenCodeChecksum:6d44d0c212e3f352182cac098e4d44ac)
  */
 use CRM_Search_ExtensionUtil as E;
 
@@ -73,6 +73,13 @@ class CRM_Search_DAO_SearchDisplay extends CRM_Core_DAO {
    */
   public $settings;
 
+  /**
+   * Skip permission checks and ACLs when running this display.
+   *
+   * @var bool
+   */
+  public $acl_bypass;
+
   /**
    * Class constructor.
    */
@@ -214,6 +221,22 @@ class CRM_Search_DAO_SearchDisplay extends CRM_Core_DAO {
           'serialize' => self::SERIALIZE_JSON,
           'add' => '1.0',
         ],
+        'acl_bypass' => [
+          'name' => 'acl_bypass',
+          'type' => CRM_Utils_Type::T_BOOLEAN,
+          'title' => E::ts('Bypass ACL Permissions'),
+          'description' => E::ts('Skip permission checks and ACLs when running this display.'),
+          'where' => 'civicrm_search_display.acl_bypass',
+          'default' => '0',
+          'table_name' => 'civicrm_search_display',
+          'entity' => 'SearchDisplay',
+          'bao' => 'CRM_Search_DAO_SearchDisplay',
+          'localizable' => 0,
+          'html' => [
+            'type' => 'Checkbox',
+          ],
+          'add' => '5.40',
+        ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
diff --git a/civicrm/ext/search_kit/CRM/Search/Upgrader.php b/civicrm/ext/search_kit/CRM/Search/Upgrader.php
index 31c06e64ca70a425cc359d75de17b31ddb2de720..cab3255156332c2747483f7b4d253495866202ac 100644
--- a/civicrm/ext/search_kit/CRM/Search/Upgrader.php
+++ b/civicrm/ext/search_kit/CRM/Search/Upgrader.php
@@ -139,9 +139,39 @@ class CRM_Search_Upgrader extends CRM_Search_Upgrader_Base {
    * @return bool
    */
   public function upgrade_1004() {
-    $this->ctx->log->info('Applying update 1000 - fix menu permission.');
+    $this->ctx->log->info('Applying update 1004 - fix menu permission.');
     CRM_Core_DAO::executeQuery("UPDATE civicrm_navigation SET permission = 'administer CiviCRM data' WHERE url = 'civicrm/admin/search'");
     return TRUE;
   }
 
+  /**
+   * Upgrade 1005 - add acl_bypass column.
+   * @return bool
+   */
+  public function upgrade_1005() {
+    $this->ctx->log->info('Applying update 1005 - add acl_bypass column.');
+    $this->addTask('Add Cancel Button Setting to the Profile', 'addColumn',
+      'civicrm_search_display', 'acl_bypass', "tinyint DEFAULT 0 COMMENT 'Skip permission checks and ACLs when running this display.'");
+    return TRUE;
+  }
+
+  /**
+   * Add a column to a table if it doesn't already exist
+   *
+   * FIXME: Move to a shared class, delegate to CRM_Upgrade_Incremental_Base::addColumn
+   *
+   * @param string $table
+   * @param string $column
+   * @param string $properties
+   *
+   * @return bool
+   */
+  public static function addColumn($table, $column, $properties) {
+    if (!CRM_Core_BAO_SchemaHandler::checkIfFieldExists($table, $column, FALSE)) {
+      $query = "ALTER TABLE `$table` ADD COLUMN `$column` $properties";
+      CRM_Core_DAO::executeQuery($query, [], TRUE, NULL, FALSE, FALSE);
+    }
+    return TRUE;
+  }
+
 }
diff --git a/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/Run.php b/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/Run.php
index dcf36703c5bb8684927e3b7e0305750be2db3321..9cb82985b10f0630658c4deacc0e07053b91ffc7 100644
--- a/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/Run.php
+++ b/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/Run.php
@@ -75,7 +75,7 @@ class Run extends \Civi\Api4\Generic\AbstractAction {
    */
   public function _run(\Civi\Api4\Generic\Result $result) {
     // Only administrators can use this in unsecured "preview mode"
-    if (!(is_string($this->savedSearch) && is_string($this->display)) && $this->checkPermissions && !\CRM_Core_Permission::check('administer CiviCRM')) {
+    if (!(is_string($this->savedSearch) && is_string($this->display)) && $this->checkPermissions && !\CRM_Core_Permission::check('administer CiviCRM data')) {
       throw new UnauthorizedException('Access denied');
     }
     if (is_string($this->savedSearch)) {
@@ -93,9 +93,16 @@ class Run extends \Civi\Api4\Generic\AbstractAction {
     if (!$this->savedSearch || !$this->display) {
       throw new \API_Exception("Error: SearchDisplay not found.");
     }
+    // Displays with acl_bypass must be embedded on an afform which the user has access to
+    if (
+      $this->checkPermissions && !empty($this->display['acl_bypass']) &&
+      !\CRM_Core_Permission::check('all CiviCRM permissions and ACLs') && !$this->loadAfform()
+    ) {
+      throw new UnauthorizedException('Access denied');
+    }
     $entityName = $this->savedSearch['api_entity'];
     $apiParams =& $this->savedSearch['api_params'];
-    $apiParams['checkPermissions'] = $this->checkPermissions;
+    $apiParams['checkPermissions'] = empty($this->display['acl_bypass']);
     $apiParams += ['where' => []];
     $settings = $this->display['settings'];
     $page = NULL;
@@ -206,10 +213,22 @@ class Run extends \Civi\Api4\Generic\AbstractAction {
     // Array is either associative `OP => VAL` or sequential `IN (...)`
     if (is_array($value)) {
       $value = array_filter($value, [$this, 'hasValue']);
-      // Use IN if array does not contain operators as keys
+      // If array does not contain operators as keys, assume array of values
       if (array_diff_key($value, array_flip(CoreUtil::getOperators()))) {
-        $clause[] = [$fieldName, 'IN', $value];
+        // Use IN for regular fields
+        if (empty($field['serialize'])) {
+          $clause[] = [$fieldName, 'IN', $value];
+        }
+        // Use an OR group of CONTAINS for array fields
+        else {
+          $orGroup = [];
+          foreach ($value as $val) {
+            $orGroup[] = [$fieldName, 'CONTAINS', $val];
+          }
+          $clause[] = ['OR', $orGroup];
+        }
       }
+      // Operator => Value array
       else {
         foreach ($value as $operator => $val) {
           $clause[] = [$fieldName, $operator, $val];
@@ -412,9 +431,9 @@ class Run extends \Civi\Api4\Generic\AbstractAction {
    */
   private function getExtraEntityFields(string $entityName): array {
     if (!isset($this->_extraEntityFields[$entityName])) {
-      $info = CoreUtil::getApiClass($entityName)::getInfo();
-      $this->_extraEntityFields[$entityName] = [$info['id_field']];
-      foreach ($info['paths'] ?? [] as $path) {
+      $id = CoreUtil::getInfoItem($entityName, 'primary_key');
+      $this->_extraEntityFields[$entityName] = $id;
+      foreach (CoreUtil::getInfoItem($entityName, 'paths') ?? [] as $path) {
         $matches = [];
         preg_match_all('#\[(\w+)]#', $path, $matches);
         $this->_extraEntityFields[$entityName] = array_unique(array_merge($this->_extraEntityFields[$entityName], $matches[1] ?? []));
diff --git a/civicrm/ext/search_kit/Civi/Api4/SearchDisplay.php b/civicrm/ext/search_kit/Civi/Api4/SearchDisplay.php
index 3bb683ce96f3d3d7c896df8640f2e32565fb1cf7..fff6f151e6e0d5f9f30fd696fd021dfc468ac9bd 100644
--- a/civicrm/ext/search_kit/Civi/Api4/SearchDisplay.php
+++ b/civicrm/ext/search_kit/Civi/Api4/SearchDisplay.php
@@ -31,6 +31,7 @@ class SearchDisplay extends Generic\DAOEntity {
 
   public static function permissions() {
     $permissions = parent::permissions();
+    $permissions['default'] = ['administer CiviCRM data'];
     $permissions['run'] = [];
     return $permissions;
   }
diff --git a/civicrm/ext/search_kit/Civi/Search/Admin.php b/civicrm/ext/search_kit/Civi/Search/Admin.php
index 05ae166e76c980d7bdb49b9fd70eb2e4f735a034..925422d971ad8dc78615f2434f689678f66ec7b4 100644
--- a/civicrm/ext/search_kit/Civi/Search/Admin.php
+++ b/civicrm/ext/search_kit/Civi/Search/Admin.php
@@ -26,8 +26,8 @@ class Admin {
     $schema = self::getSchema();
     $extensions = \CRM_Extension_System::singleton()->getMapper();
     return [
-      'schema' => $schema,
-      'joins' => self::getJoins(array_column($schema, NULL, 'name')),
+      'schema' => self::addImplicitFKFields($schema),
+      'joins' => self::getJoins($schema),
       'operators' => \CRM_Utils_Array::makeNonAssociative(self::getOperators()),
       'functions' => \CRM_Api4_Page_Api4Explorer::getSqlFunctions(),
       'displayTypes' => Display::getDisplayTypes(['id', 'name', 'label', 'description', 'icon']),
@@ -82,7 +82,7 @@ class Admin {
   public static function getSchema() {
     $schema = [];
     $entities = \Civi\Api4\Entity::get()
-      ->addSelect('name', 'title', 'type', 'title_plural', 'description', 'label_field', 'icon', 'paths', 'dao', 'bridge', 'ui_join_filters', 'searchable')
+      ->addSelect('name', 'title', 'type', 'primary_key', 'title_plural', 'description', 'label_field', 'icon', 'paths', 'dao', 'bridge', 'ui_join_filters', 'searchable')
       ->addWhere('searchable', '!=', 'none')
       ->addOrderBy('title_plural')
       ->setChain([
@@ -119,12 +119,20 @@ class Admin {
         }
       }
     }
-    // Add in FK fields for implicit joins
-    // For example, add a `campaign_id.title` field to the Contribution entity
+    return $schema;
+  }
+
+  /**
+   * Add in FK fields for implicit joins
+   * For example, add a `campaign_id.title` field to the Contribution entity
+   * @param $schema
+   * @return array
+   */
+  private static function addImplicitFKFields($schema) {
     foreach ($schema as &$entity) {
       if ($entity['searchable'] !== 'bridge') {
         foreach (array_reverse($entity['fields'], TRUE) as $index => $field) {
-          if (!empty($field['fk_entity']) && !$field['options'] && empty($field['serialize']) && !empty($schema[$field['fk_entity']]['label_field'])) {
+          if (!empty($field['fk_entity']) && !$field['options'] && !empty($schema[$field['fk_entity']]['label_field'])) {
             $isCustom = strpos($field['name'], '.');
             // Custom fields: append "Contact ID" to original field label
             if ($isCustom) {
@@ -185,8 +193,13 @@ class Admin {
         $daoClass = $entity['dao'];
         $references = $daoClass::getReferenceColumns();
         // Only the first bridge reference gets processed, so if it's dynamic we want to be sure it's first in the list
-        usort($references, function($reference) {
-          return is_a($reference, 'CRM_Core_Reference_Dynamic') ? -1 : 1;
+        usort($references, function($first, $second) {
+          foreach ([-1 => $first, 1 => $second] as $weight => $reference) {
+            if (is_a($reference, 'CRM_Core_Reference_Dynamic')) {
+              return $weight;
+            }
+          }
+          return 0;
         });
         $fields = array_column($entity['fields'], NULL, 'name');
         $bridge = in_array('EntityBridge', $entity['type']) ? $entity['name'] : NULL;
@@ -207,6 +220,7 @@ class Admin {
           }
           // Dynamic references use a column like "entity_table" (for normal joins this value will be null)
           $dynamicCol = $reference->getTypeColumn();
+
           // For dynamic references getTargetEntities will return multiple targets; for normal joins this loop will only run once
           foreach ($reference->getTargetEntities() as $targetTable => $targetEntityName) {
             if (!isset($allowedEntities[$targetEntityName]) || $targetEntityName === $entity['name']) {
@@ -218,8 +232,8 @@ class Admin {
               // Add the straight 1-1 join
               $alias = $entity['name'] . '_' . $targetEntityName . '_' . $keyField['name'];
               $joins[$entity['name']][] = [
-                'label' => $entity['title'] . ' ' . $targetEntity['title'],
-                'description' => $dynamicCol ? '' : $keyField['label'],
+                'label' => $entity['title'] . ' ' . ($dynamicCol ? $targetEntity['title'] : $keyField['label']),
+                'description' => '',
                 'entity' => $targetEntityName,
                 'conditions' => self::getJoinConditions($keyField['name'], $alias . '.' . $reference->getTargetKey(), $targetTable, $dynamicCol),
                 'defaults' => self::getJoinDefaults($alias, $targetEntity),
diff --git a/civicrm/ext/search_kit/Civi/Search/AfformSearchMetadataInjector.php b/civicrm/ext/search_kit/Civi/Search/AfformSearchMetadataInjector.php
index 0ab479f7ef7abe3fa6d967d832f285f7cdd589ba..f99bfdc29aa60a8a4fbc7c4d8f00e4449ddc3bbb 100644
--- a/civicrm/ext/search_kit/Civi/Search/AfformSearchMetadataInjector.php
+++ b/civicrm/ext/search_kit/Civi/Search/AfformSearchMetadataInjector.php
@@ -35,19 +35,19 @@ class AfformSearchMetadataInjector {
             if ($searchName && $displayName) {
               $display = \Civi\Api4\SearchDisplay::get(FALSE)
                 ->addWhere('name', '=', $displayName)
-                ->addWhere('saved_search.name', '=', $searchName)
-                ->addSelect('settings', 'saved_search.api_entity', 'saved_search.api_params')
+                ->addWhere('saved_search_id.name', '=', $searchName)
+                ->addSelect('settings', 'saved_search_id.api_entity', 'saved_search_id.api_params')
                 ->execute()->first();
               if ($display) {
                 pq($component)->attr('settings', htmlspecialchars(\CRM_Utils_JS::encode($display['settings'] ?? [])));
-                pq($component)->attr('api-entity', htmlspecialchars($display['saved_search.api_entity']));
+                pq($component)->attr('api-entity', htmlspecialchars($display['saved_search_id.api_entity']));
                 pq($component)->attr('search', htmlspecialchars(\CRM_Utils_JS::encode($searchName)));
                 pq($component)->attr('display', htmlspecialchars(\CRM_Utils_JS::encode($displayName)));
 
                 // Add entity names to the fieldset so that afform can populate field metadata
                 $fieldset = pq($component)->parents('[af-fieldset]');
                 if ($fieldset->length) {
-                  $entityList = array_merge([$display['saved_search.api_entity']], array_column($display['saved_search.api_params']['join'] ?? [], 0));
+                  $entityList = array_merge([$display['saved_search_id.api_entity']], array_column($display['saved_search_id.api_params']['join'] ?? [], 0));
                   $fieldset->attr('api-entities', htmlspecialchars(\CRM_Utils_JS::encode($entityList)));
                 }
               }
diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin.ang.php b/civicrm/ext/search_kit/ang/crmSearchAdmin.ang.php
index a65b49531379f88ec831e5e9a2c384d6c458b54b..31ff79962f249a9902c217577b48d7043aea56d3 100644
--- a/civicrm/ext/search_kit/ang/crmSearchAdmin.ang.php
+++ b/civicrm/ext/search_kit/ang/crmSearchAdmin.ang.php
@@ -16,4 +16,5 @@ return [
   'basePages' => ['civicrm/admin/search'],
   'requires' => ['crmUi', 'crmUtil', 'ngRoute', 'ui.sortable', 'ui.bootstrap', 'api4', 'crmSearchTasks', 'crmRouteBinder'],
   'settingsFactory' => ['\Civi\Search\Admin', 'getAdminSettings'],
+  'permissions' => ['all CiviCRM permissions and ACLs'],
 ];
diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin.module.js b/civicrm/ext/search_kit/ang/crmSearchAdmin.module.js
index dfa3910d792c260e3d19c691f955a913b872bccf..0ac61bf896c8d6a94b3bc475e703a7e47ba0722a 100644
--- a/civicrm/ext/search_kit/ang/crmSearchAdmin.module.js
+++ b/civicrm/ext/search_kit/ang/crmSearchAdmin.module.js
@@ -30,6 +30,7 @@
                 'GROUP_CONCAT(display.name ORDER BY display.id) AS display_name',
                 'GROUP_CONCAT(display.label ORDER BY display.id) AS display_label',
                 'GROUP_CONCAT(display.type:icon ORDER BY display.id) AS display_icon',
+                'GROUP_CONCAT(display.acl_bypass ORDER BY display.id) AS display_acl_bypass',
                 'GROUP_CONCAT(DISTINCT group.title) AS groups'
               ],
               join: [['SearchDisplay AS display'], ['Group AS group']],
diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js
index 1d56e21cdab9f2c96e8be1f99397d276acaf4b60..c4a320659f19c4734a8893b7824016f5c310c8b1 100644
--- a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js
+++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js
@@ -451,7 +451,7 @@
       function _loadResultsCallback() {
         // Multiply limit to read 2 pages at once & save ajax requests
         var params = _.merge(_.cloneDeep(ctrl.savedSearch.api_params), {debug: true, limit: ctrl.limit * 2});
-        // Select the ids of implicitly joined entities (helps with displaying links)
+        // Select the join field of implicitly joined entities (helps with displaying links)
         _.each(params.select, function(fieldName) {
           if (_.includes(fieldName, '.') && !_.includes(fieldName, ' AS ')) {
             var info = searchMeta.parseExpr(fieldName);
@@ -463,10 +463,13 @@
             }
           }
         });
-        // Select the ids of explicitly joined entities (helps with displaying links)
+        // Select primary key of explicitly joined entities (helps with displaying links)
         _.each(params.join, function(join) {
-          var idField = join[0].split(' AS ')[1] + '.id';
-          if (!_.includes(params.select, idField) && !ctrl.canAggregate(idField)) {
+          var entity = join[0].split(' AS ')[0],
+            alias = join[0].split(' AS ')[1],
+            primaryKeys = searchMeta.getEntity(entity).primary_key,
+            idField = alias + '.' + primaryKeys[0];
+          if (primaryKeys.length && !_.includes(params.select, idField) && !ctrl.canAggregate(idField)) {
             params.select.push(idField);
           }
         });
@@ -671,18 +674,11 @@
         if (info.fn && info.fn.name === 'COUNT') {
           return value;
         }
-        // Output user-facing name/label fields as a link, if possible
-        if (info.field && info.field.fieldName === searchMeta.getEntity(info.field.entity).label_field && !info.fn && typeof value === 'string') {
-          var link = getEntityUrl(row, info);
-          if (link) {
-            return '<a href="' + _.escape(link.url) + '" title="' + _.escape(link.title) + '">' + formatFieldValue(info.field, value) + '</a>';
-          }
-        }
-        return formatFieldValue(info.field, value);
+        return formatFieldValue(row, info, value);
       };
 
       // Attempts to construct a view url for a given entity
-      function getEntityUrl(row, info) {
+      function getEntityUrl(row, info, index) {
         var entity = searchMeta.getEntity(info.field.entity),
           path = _.result(_.findWhere(entity.paths, {action: 'view'}), 'path');
         // Only proceed if the path metadata exists for this entity
@@ -696,27 +692,28 @@
             if (fieldName === 'id' && info.field.name !== info.field.fieldName) {
               fieldName = info.field.name.substr(0, info.field.name.lastIndexOf('.'));
             }
-            fieldName = prefix + fieldName;
-            if (row[fieldName]) {
-              replacements.push(row[fieldName]);
+            var replacement = row[prefix + fieldName];
+            if (replacement) {
+              replacements.push(_.isArray(replacement) ? replacement[index] : replacement);
             }
           });
           // Only proceed if the row contains all the necessary data to resolve tokens
           if (tokens.length === replacements.length) {
-            _.each(tokens, function(token, index) {
-              path = path.replace(token, replacements[index]);
+            _.each(tokens, function(token, key) {
+              path = path.replace(token, replacements[key]);
             });
             return {url: CRM.url(path), title: path.title};
           }
         }
       }
 
-      function formatFieldValue(field, value) {
-        var type = field.data_type,
-          result = value;
+      function formatFieldValue(row, info, value, index) {
+        var type = info.field.data_type,
+          result = value,
+          link;
         if (_.isArray(value)) {
-          return _.map(value, function(val) {
-            return formatFieldValue(field, val);
+          return _.map(value, function(val, idx) {
+            return formatFieldValue(row, info, val, idx);
           }).join(', ');
         }
         if (value && (type === 'Date' || type === 'Timestamp') && /^\d{4}-\d{2}-\d{2}/.test(value)) {
@@ -728,6 +725,13 @@
         else if (type === 'Money' && typeof value === 'number') {
           result = CRM.formatMoney(value);
         }
+        // Output user-facing name/label fields as a link, if possible
+        if (info.field.fieldName === searchMeta.getEntity(info.field.entity).label_field && !info.fn) {
+          link = getEntityUrl(row, info, index || 0);
+        }
+        if (link) {
+          return '<a href="' + _.escape(link.url) + '" title="' + _.escape(link.title) + '">' + _.escape(result) + '</a>';
+        }
         return _.escape(result);
       }
 
diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js
index d6d673be8748ca2bd46a429864d08ca13ddb4177..a15f452b67e197d956f0cf4ea5bd62a8175dffde 100644
--- a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js
+++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js
@@ -36,6 +36,9 @@
       var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
+      this.isSuperAdmin = CRM.checkPerm('all CiviCRM permissions and ACLs');
+      this.aclBypassHelp = ts('Only users with "all CiviCRM permissions and ACLs" can disable permission checks.');
+
       this.preview = this.stale = false;
 
       this.colTypes = {
diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.html b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.html
index 41c63274b97b6e5512cd4c24903eed4db8f9cb70..6393bf24b9740803f25a4a830b67d214d5faccce 100644
--- a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.html
+++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.html
@@ -2,5 +2,18 @@
   <div class="form-inline">
     <label for="crm-search-admin-display-label">{{:: ts('Name') }} <span class="crm-marker">*</span></label>
     <input id="crm-search-admin-display-label" type="text" class="form-control" ng-model="$ctrl.display.label" required placeholder="{{:: ts('Untitled') }}"/>
+    <div class="form-control" ng-class="{disabled: !$ctrl.isSuperAdmin}" title="{{:: $ctrl.aclBypassHelp }}">
+      <label>
+        <input type="checkbox" ng-if="$ctrl.isSuperAdmin" ng-model="$ctrl.display.acl_bypass" style="display: none;">
+        <i class="crm-i fa-lock text-success" ng-if="!$ctrl.display.acl_bypass"></i>
+        <i class="crm-i fa-unlock text-danger" ng-if="$ctrl.display.acl_bypass"></i>
+        <span>{{ $ctrl.display.acl_bypass ? ts('Bypass Permissions') : ts('Enforce Permissions') }}</span>
+      </label>
+    </div>
+    <div class="help-block bg-warning" ng-if="$ctrl.display.acl_bypass">
+      <i class="crm-i fa-unlock"></i>
+      {{:: ts('Anyone who can view this display will be able to see all results, regardless of their permission level.') }}
+    </div>
   </div>
+
 </fieldset>
diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchClause.component.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchClause.component.js
index f6409c30ee2601fe027ee4270e1b345c7a49309d..4d2c8072b63ecf0b91ec3eb5c230f6234b903db6 100644
--- a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchClause.component.js
+++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchClause.component.js
@@ -34,6 +34,7 @@
         _.each(ctrl.clauses, updateOperators);
       };
 
+      // Return a list of operators allowed for the field in a given clause
       this.getOperators = function(clause) {
         var field = ctrl.getField(clause[0]);
         if (!field || !field.operators) {
@@ -48,8 +49,13 @@
         return ctrl.operators[opKey];
       };
 
+      // Ensures a clause is using an operator that is allowed for the field
       function updateOperators(clause) {
-        if (!ctrl.skip && (!clause[1] || !_.includes(_.pluck(ctrl.getOperators(clause), 'key'), clause[1]))) {
+        // Recurse into AND/OR/NOT groups
+        if (ctrl.conjunctions[clause[0]]) {
+          _.each(clause[1], updateOperators);
+        }
+        else if (!ctrl.skip && (!clause[1] || !_.includes(_.pluck(ctrl.getOperators(clause), 'key'), clause[1]))) {
           clause[1] = ctrl.getOperators(clause)[0].key;
           ctrl.changeClauseOperator(clause);
         }
diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/searchList.controller.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/searchList.controller.js
index be17c652da344c3973afdda919a9ddbceba76411..2266b65d7c9695b53f28cf9a7659f6b1a01ac2e7 100644
--- a/civicrm/ext/search_kit/ang/crmSearchAdmin/searchList.controller.js
+++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/searchList.controller.js
@@ -13,6 +13,7 @@
 
     _.each(savedSearches, function(search) {
       search.entity_title = searchMeta.getEntity(search.api_entity).title_plural;
+      search.permissionToEdit = CRM.checkPerm('all CiviCRM permissions and ACLs') || !_.includes(search.display_acl_bypass, true);
       search.afform_count = 0;
     });
 
diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/searchList.html b/civicrm/ext/search_kit/ang/crmSearchAdmin/searchList.html
index a69847777294fc0c54510a13f480b3e6de1699ff..debbbd0d9e7869ac1eb6640b3769de37691fd3ee 100644
--- a/civicrm/ext/search_kit/ang/crmSearchAdmin/searchList.html
+++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/searchList.html
@@ -62,8 +62,8 @@
               {{:: search.display_name.length === 1 ? ts('1 Display') : ts('%1 Displays', {1: search.display_name.length}) }} <span class="caret"></span>
             </button>
             <ul class="dropdown-menu" ng-if=":: search.display_name.length">
-              <li ng-repeat="display_name in search.display_name">
-                <a href="{{:: $ctrl.searchPath + '#/display/' + search.name + '/' + display_name }}" target="_blank">
+              <li ng-repeat="display_name in search.display_name" ng-class="{disabled: search.display_acl_bypass[$index]}" title="{{:: search.display_acl_bypass[$index] ? ts('Display has permissions disabled') : ts('View display') }}">
+                <a ng-href="{{:: search.display_acl_bypass[$index] ? '' : $ctrl.searchPath + '#/display/' + search.name + '/' + display_name }}" target="_blank">
                   <i class="fa {{:: search.display_icon[$index] }}"></i>
                   {{:: search.display_label[$index] }}
                 </a>
@@ -107,7 +107,7 @@
           {{:: search['modified.display_name'] ? ts('%1 by %2', {1: formatDate(search.modified_date), 2: search['modified.display_name']}) : formatDate(search.modified_date) }}
         </td>
         <td class="text-right">
-          <a class="btn btn-xs btn-default" href="#/edit/{{:: search.id }}">{{:: ts('Edit') }}</a>
+          <a class="btn btn-xs btn-default" href="#/edit/{{:: search.id }}" ng-if="search.permissionToEdit">{{:: ts('Edit') }}</a>
           <a class="btn btn-xs btn-default" href="#/create/{{:: search.api_entity + '?params=' + $ctrl.encode(search.api_params) }}">{{:: ts('Clone') }}</a>
           <a href class="btn btn-xs btn-danger" crm-confirm="{type: 'delete', obj: search}" on-yes="$ctrl.deleteSearch(search)">{{:: ts('Delete') }}</a>
         </td>
diff --git a/civicrm/ext/search_kit/ang/crmSearchDisplay.module.js b/civicrm/ext/search_kit/ang/crmSearchDisplay.module.js
index 24c96974b368f42162f4fe234ef63dc6b4f8a899..64b6bd3c86ec9557c90ab876d530e5ee8095d357 100644
--- a/civicrm/ext/search_kit/ang/crmSearchDisplay.module.js
+++ b/civicrm/ext/search_kit/ang/crmSearchDisplay.module.js
@@ -8,22 +8,23 @@
 
       // Replace tokens keyed to rowData.
       // If rowMeta is provided, values will be formatted; if omitted, raw values will be provided.
-      function replaceTokens(str, rowData, rowMeta) {
+      function replaceTokens(str, rowData, rowMeta, index) {
         if (!str) {
           return '';
         }
         _.each(rowData, function(value, key) {
           if (str.indexOf('[' + key + ']') >= 0) {
             var column = rowMeta && _.findWhere(rowMeta, {key: key}),
-              replacement = column ? formatRawValue(column, value) : value;
+              val = column ? formatRawValue(column, value) : value,
+              replacement = angular.isArray(val) ? val[index || 0] : val;
             str = str.replace(new RegExp(_.escapeRegExp('[' + key + ']', 'g')), replacement);
           }
         });
         return str;
       }
 
-      function getUrl(link, rowData) {
-        var url = replaceTokens(link, rowData);
+      function getUrl(link, rowData, index) {
+        var url = replaceTokens(link, rowData, null, index);
         if (url.slice(0, 1) !== '/' && url.slice(0, 4) !== 'http') {
           url = CRM.url(url);
         }
@@ -31,10 +32,25 @@
       }
 
       // Returns display value for a single column in a row
-      function formatDisplayValue(rowData, key, rowMeta) {
-        var column = _.findWhere(rowMeta, {key: key}),
-          displayValue = column.rewrite ? replaceTokens(column.rewrite, rowData, rowMeta) : formatRawValue(column, rowData[key]);
-        return displayValue;
+      function formatDisplayValue(rowData, key, columns) {
+        var column = _.findWhere(columns, {key: key}),
+          displayValue = column.rewrite ? replaceTokens(column.rewrite, rowData, columns) : formatRawValue(column, rowData[key]);
+        return angular.isArray(displayValue) ? displayValue.join(', ') : displayValue;
+      }
+
+      // Returns value and url for a column formatted as link(s)
+      function formatLinks(rowData, key, columns) {
+        var column = _.findWhere(columns, {key: key}),
+          value = formatRawValue(column, rowData[key]),
+          values = angular.isArray(value) ? value : [value],
+          links = [];
+        _.each(values, function(value, index) {
+          links.push({
+            value: value,
+            url: getUrl(column.link.path, rowData, index)
+          });
+        });
+        return links;
       }
 
       // Formats raw field value according to data type
@@ -44,7 +60,7 @@
         if (_.isArray(value)) {
           return _.map(value, function(val) {
             return formatRawValue(column, val);
-          }).join(', ');
+          });
         }
         if (value && (type === 'Date' || type === 'Timestamp') && /^\d{4}-\d{2}-\d{2}/.test(value)) {
           result = CRM.utils.formatDate(value, null, type === 'Timestamp');
@@ -88,6 +104,7 @@
 
       return {
         formatDisplayValue: formatDisplayValue,
+        formatLinks: formatLinks,
         getApiParams: getApiParams,
         getResults: getResults,
         replaceTokens: replaceTokens,
diff --git a/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/field.html b/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/field.html
index 0d7558797005d596e07dc8783ed68aa4f73ad2c8..342f9cae442eee7468ba63e63d3b54bd8b9467d7 100644
--- a/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/field.html
+++ b/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/field.html
@@ -2,6 +2,10 @@
 <span ng-if="::!col.link" ng-class="{'crm-editable-enabled': col.editable && !$ctrl.editing && row[col.editable.id]}" ng-click="col.editable && !$ctrl.editing && ($ctrl.editing = [rowIndex, col.key])">
   {{:: $ctrl.formatFieldValue(row, col) }}
 </span>
-<a ng-if="::col.link" target="{{:: col.link.target }}" href="{{:: displayUtils.getUrl(col.link.path, row) }}">
-  {{:: $ctrl.formatFieldValue(row, col) }}
-</a>
+<span ng-if="::col.link">
+  <span ng-repeat="link in $ctrl.getLinks(row, col)">
+    <a target="{{:: col.link.target }}" href="{{:: link.url }}">
+      {{:: link.value }}</a><span ng-if="!$last">,
+    </span>
+  </span>
+</span>
diff --git a/civicrm/ext/search_kit/ang/crmSearchDisplayList/crmSearchDisplayList.component.js b/civicrm/ext/search_kit/ang/crmSearchDisplayList/crmSearchDisplayList.component.js
index 4c18ad614fb891168915987ae79b7927d50d9478..a43b020982b784f8a20d33d31d5a0f485f566ae3 100644
--- a/civicrm/ext/search_kit/ang/crmSearchDisplayList/crmSearchDisplayList.component.js
+++ b/civicrm/ext/search_kit/ang/crmSearchDisplayList/crmSearchDisplayList.component.js
@@ -61,6 +61,14 @@
         return searchDisplayUtils.formatDisplayValue(rowData, col.key, ctrl.settings.columns);
       };
 
+      this.getLinks = function(rowData, col) {
+        rowData._links = rowData._links || {};
+        if (!(col.key in rowData._links)) {
+          rowData._links[col.key] = searchDisplayUtils.formatLinks(rowData, col.key, ctrl.settings.columns);
+        }
+        return rowData._links[col.key];
+      };
+
     }
   });
 
diff --git a/civicrm/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.component.js b/civicrm/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.component.js
index 5b824e944f48c265f2975116257a3a7521683275..5118c0024fcd878ad9bc5ec02230d0049d613995 100644
--- a/civicrm/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.component.js
+++ b/civicrm/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.component.js
@@ -109,6 +109,14 @@
         return searchDisplayUtils.formatDisplayValue(rowData, col.key, ctrl.settings.columns);
       };
 
+      this.getLinks = function(rowData, col) {
+        rowData._links = rowData._links || {};
+        if (!(col.key in rowData._links)) {
+          rowData._links[col.key] = searchDisplayUtils.formatLinks(rowData, col.key, ctrl.settings.columns);
+        }
+        return rowData._links[col.key];
+      };
+
       $scope.selectAllRows = function() {
         // Deselect all
         if (ctrl.allRowsSelected) {
diff --git a/civicrm/ext/search_kit/css/crmSearchAdmin.css b/civicrm/ext/search_kit/css/crmSearchAdmin.css
index 1082b8a938131af27004c37ab2a0161bde008866..6e6749c3584113669a1788d294abe716d47e0a88 100644
--- a/civicrm/ext/search_kit/css/crmSearchAdmin.css
+++ b/civicrm/ext/search_kit/css/crmSearchAdmin.css
@@ -29,10 +29,19 @@
   margin-top: 20px;
 }
 
+#bootstrap-theme.crm-search .help-block.bg-warning {
+  padding: 15px;
+}
+
 #bootstrap-theme.crm-search .form-control.huge {
   width: 275px;
 }
 
+#bootstrap-theme.crm-search div.form-control.disabled,
+#bootstrap-theme.crm-search div.form-control.disabled * {
+  cursor: not-allowed;
+}
+
 #bootstrap-theme.crm-search input.ng-invalid {
   border-color: #8A1F11;
 }
diff --git a/civicrm/ext/search_kit/info.xml b/civicrm/ext/search_kit/info.xml
index d90ef6eb0c36e73592f05c6679bf8500a8e9d2ba..0c4a174a33f41bb586bdfdd09efe62a52aae91c7 100644
--- a/civicrm/ext/search_kit/info.xml
+++ b/civicrm/ext/search_kit/info.xml
@@ -14,7 +14,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2021-01-06</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <develStage>beta</develStage>
   <compatibility>
     <ver>5.38</ver>
diff --git a/civicrm/ext/search_kit/search_kit.civix.php b/civicrm/ext/search_kit/search_kit.civix.php
index b8d250482699de088ebc53ddfabad305b2be779a..9ed76d92146e1d1c1ee7a8126a1486e55e92889c 100644
--- a/civicrm/ext/search_kit/search_kit.civix.php
+++ b/civicrm/ext/search_kit/search_kit.civix.php
@@ -221,7 +221,8 @@ function _search_kit_civix_upgrader() {
  * Search directory tree for files which match a glob pattern.
  *
  * Note: Dot-directories (like "..", ".git", or ".svn") will be ignored.
- * Note: In Civi 4.3+, delegate to CRM_Utils_File::findFiles()
+ * Note: Delegate to CRM_Utils_File::findFiles(), this function kept only
+ * for backward compatibility of extension code that uses it.
  *
  * @param string $dir base dir
  * @param string $pattern , glob pattern, eg "*.txt"
@@ -229,32 +230,7 @@ function _search_kit_civix_upgrader() {
  * @return array
  */
 function _search_kit_civix_find_files($dir, $pattern) {
-  if (is_callable(['CRM_Utils_File', 'findFiles'])) {
-    return CRM_Utils_File::findFiles($dir, $pattern);
-  }
-
-  $todos = [$dir];
-  $result = [];
-  while (!empty($todos)) {
-    $subdir = array_shift($todos);
-    foreach (_search_kit_civix_glob("$subdir/$pattern") as $match) {
-      if (!is_dir($match)) {
-        $result[] = $match;
-      }
-    }
-    if ($dh = opendir($subdir)) {
-      while (FALSE !== ($entry = readdir($dh))) {
-        $path = $subdir . DIRECTORY_SEPARATOR . $entry;
-        if ($entry[0] == '.') {
-        }
-        elseif (is_dir($path)) {
-          $todos[] = $path;
-        }
-      }
-      closedir($dh);
-    }
-  }
-  return $result;
+  return CRM_Utils_File::findFiles($dir, $pattern);
 }
 
 /**
diff --git a/civicrm/ext/search_kit/search_kit.php b/civicrm/ext/search_kit/search_kit.php
index dc661c8b975f83964c4e9cf12c7b6cbf6745e272..ef80c877173156ea3bc6de8d07e37dd18a7909eb 100644
--- a/civicrm/ext/search_kit/search_kit.php
+++ b/civicrm/ext/search_kit/search_kit.php
@@ -12,6 +12,17 @@ function search_kit_civicrm_config(&$config) {
   Civi::dispatcher()->addListener('hook_civicrm_alterAngular', ['\Civi\Search\AfformSearchMetadataInjector', 'preprocess'], 1000);
 }
 
+/**
+ * @param \Symfony\Component\DependencyInjection\ContainerBuilder $container
+ */
+function search_kit_civicrm_container($container) {
+  $container->getDefinition('dispatcher')
+    ->addMethodCall('addListener', [
+      'civi.api4.authorizeRecord::SavedSearch',
+      ['CRM_Search_BAO_SearchDisplay', 'savedSearchCheckAccessByDisplay'],
+    ]);
+}
+
 /**
  * Implements hook_civicrm_xmlMenu().
  *
diff --git a/civicrm/ext/search_kit/sql/auto_install.sql b/civicrm/ext/search_kit/sql/auto_install.sql
index 3a4deb2b66308508096ef1a3b7efa13d29044981..4a4db8ad6c3b9abe348b0349a7c42e41f451c83c 100644
--- a/civicrm/ext/search_kit/sql/auto_install.sql
+++ b/civicrm/ext/search_kit/sql/auto_install.sql
@@ -9,21 +9,9 @@
 -- Generated from schema.tpl
 -- DO NOT EDIT.  Generated by CRM_Core_CodeGen
 --
-
--- +--------------------------------------------------------------------+
--- | Copyright CiviCRM LLC. All rights reserved.                        |
--- |                                                                    |
--- | This work is published under the GNU AGPLv3 license with some      |
--- | permitted exceptions and without any warranty. For full license    |
--- | and copyright information, see https://civicrm.org/licensing       |
--- +--------------------------------------------------------------------+
---
--- Generated from drop.tpl
--- DO NOT EDIT.  Generated by CRM_Core_CodeGen
---
 -- /*******************************************************
 -- *
--- * Clean up the existing tables
+-- * Clean up the existing tables - this section generated from drop.tpl
 -- *
 -- *******************************************************/
 
@@ -46,21 +34,15 @@ SET FOREIGN_KEY_CHECKS=1;
 -- *
 -- *******************************************************/
 CREATE TABLE `civicrm_search_display` (
-
-
-     `id` int unsigned NOT NULL AUTO_INCREMENT  COMMENT 'Unique SearchDisplay ID',
-     `name` varchar(255) NOT NULL   COMMENT 'Unique name for identifying search display',
-     `label` varchar(255) NOT NULL   COMMENT 'Label for identifying search display to administrators',
-     `saved_search_id` int unsigned NOT NULL   COMMENT 'FK to saved search table.',
-     `type` varchar(128) NOT NULL   COMMENT 'Type of display',
-     `settings` text   DEFAULT NULL COMMENT 'Configuration data for the search display'
-,
-        PRIMARY KEY (`id`)
-
-    ,     UNIQUE INDEX `UI_saved_search__id_name`(
-        saved_search_id
-      , name
-  )
-
-,          CONSTRAINT FK_civicrm_search_display_saved_search_id FOREIGN KEY (`saved_search_id`) REFERENCES `civicrm_saved_search`(`id`) ON DELETE CASCADE
-) ROW_FORMAT=DYNAMIC    ;
+  `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique SearchDisplay ID',
+  `name` varchar(255) NOT NULL COMMENT 'Unique name for identifying search display',
+  `label` varchar(255) NOT NULL COMMENT 'Label for identifying search display to administrators',
+  `saved_search_id` int unsigned NOT NULL COMMENT 'FK to saved search table.',
+  `type` varchar(128) NOT NULL COMMENT 'Type of display',
+  `settings` text DEFAULT NULL COMMENT 'Configuration data for the search display',
+  `acl_bypass` tinyint DEFAULT 0 COMMENT 'Skip permission checks and ACLs when running this display.',
+  PRIMARY KEY (`id`),
+  UNIQUE INDEX `UI_saved_search__id_name`(saved_search_id, name),
+  CONSTRAINT FK_civicrm_search_display_saved_search_id FOREIGN KEY (`saved_search_id`) REFERENCES `civicrm_saved_search`(`id`) ON DELETE CASCADE
+)
+ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
diff --git a/civicrm/ext/search_kit/sql/auto_uninstall.sql b/civicrm/ext/search_kit/sql/auto_uninstall.sql
index ff5a74dc51e711d951ffaea55aeab8f4c2ef4a8b..e1c88f5cb233ee656148e8b37d0721594fdb944c 100644
--- a/civicrm/ext/search_kit/sql/auto_uninstall.sql
+++ b/civicrm/ext/search_kit/sql/auto_uninstall.sql
@@ -8,11 +8,9 @@
 --
 -- Generated from drop.tpl
 -- DO NOT EDIT.  Generated by CRM_Core_CodeGen
---
--- /*******************************************************
--- *
--- * Clean up the existing tables
+---- /*******************************************************
 -- *
+-- * Clean up the existing tables-- *
 -- *******************************************************/
 
 SET FOREIGN_KEY_CHECKS=0;
diff --git a/civicrm/ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunTest.php b/civicrm/ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunTest.php
index 5264f9e33c2c72dec601f3ef2a1703b5d3d42f3d..be4585365db598c3d5c2e0a3e93de4b55cadc1d9 100644
--- a/civicrm/ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunTest.php
+++ b/civicrm/ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunTest.php
@@ -1,7 +1,9 @@
 <?php
 namespace api\v4\SearchDisplay;
 
+use Civi\API\Exception\UnauthorizedException;
 use Civi\Api4\Contact;
+use Civi\Api4\ContactType;
 use Civi\Api4\SavedSearch;
 use Civi\Api4\SearchDisplay;
 use Civi\Api4\UFMatch;
@@ -26,11 +28,19 @@ class SearchRunTest extends \PHPUnit\Framework\TestCase implements HeadlessInter
    * Test running a searchDisplay with various filters.
    */
   public function testRunDisplay() {
+    foreach (['Tester', 'Bot'] as $type) {
+      ContactType::create(FALSE)
+        ->addValue('parent_id.name', 'Individual')
+        ->addValue('label', $type)
+        ->addValue('name', $type)
+        ->execute();
+    }
+
     $lastName = uniqid(__FUNCTION__);
     $sampleData = [
-      ['first_name' => 'One', 'last_name' => $lastName],
-      ['first_name' => 'Two', 'last_name' => $lastName],
-      ['first_name' => 'Three', 'last_name' => $lastName],
+      ['first_name' => 'One', 'last_name' => $lastName, 'contact_sub_type' => ['Tester', 'Bot']],
+      ['first_name' => 'Two', 'last_name' => $lastName, 'contact_sub_type' => ['Tester']],
+      ['first_name' => 'Three', 'last_name' => $lastName, 'contact_sub_type' => ['Bot']],
       ['first_name' => 'Four', 'last_name' => $lastName],
     ];
     Contact::save(FALSE)->setRecords($sampleData)->execute();
@@ -42,7 +52,7 @@ class SearchRunTest extends \PHPUnit\Framework\TestCase implements HeadlessInter
         'api_entity' => 'Contact',
         'api_params' => [
           'version' => 4,
-          'select' => ['id', 'first_name', 'last_name'],
+          'select' => ['id', 'first_name', 'last_name', 'contact_sub_type:label'],
           'where' => [],
         ],
       ],
@@ -71,6 +81,12 @@ class SearchRunTest extends \PHPUnit\Framework\TestCase implements HeadlessInter
               'dataType' => 'String',
               'type' => 'field',
             ],
+            [
+              'key' => 'contact_sub_type:label',
+              'label' => 'Type',
+              'dataType' => 'String',
+              'type' => 'field',
+            ],
           ],
           'sort' => [
             ['id', 'ASC'],
@@ -96,6 +112,14 @@ class SearchRunTest extends \PHPUnit\Framework\TestCase implements HeadlessInter
     $this->assertCount(2, $result);
     $this->assertEquals('Three', $result[0]['first_name']);
     $this->assertEquals('Two', $result[1]['first_name']);
+
+    $params['filters'] = ['contact_sub_type:label' => ['Tester', 'Bot']];
+    $result = civicrm_api4('SearchDisplay', 'run', $params);
+    $this->assertCount(3, $result);
+
+    $params['filters'] = ['contact_sub_type' => ['Tester']];
+    $result = civicrm_api4('SearchDisplay', 'run', $params);
+    $this->assertCount(2, $result);
   }
 
   /**
@@ -200,7 +224,189 @@ class SearchRunTest extends \PHPUnit\Framework\TestCase implements HeadlessInter
     $this->assertCount(2, $result);
     $this->assertEquals($sampleData['Three'], $result[0]['id']);
     $this->assertEquals($sampleData['Four'], $result[1]['id']);
+  }
+
+  public function testWithACLBypass() {
+    $config = \CRM_Core_Config::singleton();
+    $config->userPermissionClass->permissions = ['all CiviCRM permissions and ACLs'];
+
+    $lastName = uniqid(__FUNCTION__);
+    $searchName = uniqid(__FUNCTION__);
+    $displayName = uniqid(__FUNCTION__);
+    $sampleData = [
+      ['first_name' => 'One', 'last_name' => $lastName],
+      ['first_name' => 'Two', 'last_name' => $lastName],
+      ['first_name' => 'Three', 'last_name' => $lastName],
+      ['first_name' => 'Four', 'last_name' => $lastName],
+    ];
+    Contact::save()->setRecords($sampleData)->execute();
+
+    // Super admin may create a display with acl_bypass
+    $search = SavedSearch::create()
+      ->setValues([
+        'name' => $searchName,
+        'title' => 'Test Saved Search',
+        'api_entity' => 'Contact',
+        'api_params' => [
+          'version' => 4,
+          'select' => ['id', 'first_name', 'last_name'],
+          'where' => [],
+        ],
+      ])
+      ->addChain('display', SearchDisplay::create()
+        ->setValues([
+          'saved_search_id' => '$id',
+          'name' => $displayName,
+          'type' => 'table',
+          'label' => '',
+          'acl_bypass' => TRUE,
+          'settings' => [
+            'limit' => 20,
+            'pager' => TRUE,
+            'columns' => [
+              [
+                'key' => 'id',
+                'label' => 'Contact ID',
+                'dataType' => 'Integer',
+                'type' => 'field',
+              ],
+              [
+                'key' => 'first_name',
+                'label' => 'First Name',
+                'dataType' => 'String',
+                'type' => 'field',
+              ],
+              [
+                'key' => 'last_name',
+                'label' => 'Last Name',
+                'dataType' => 'String',
+                'type' => 'field',
+              ],
+            ],
+            'sort' => [
+              ['id', 'ASC'],
+            ],
+          ],
+        ]))
+      ->execute()->first();
+
+    // Super admin may update a display with acl_bypass
+    SearchDisplay::update()->addWhere('name', '=', $displayName)
+      ->addValue('label', 'Test Display')
+      ->execute();
+
+    $config->userPermissionClass->permissions = ['administer CiviCRM'];
+    // Ordinary admin may not edit display because it has acl_bypass
+    $error = NULL;
+    try {
+      SearchDisplay::update()->addWhere('name', '=', $displayName)
+        ->addValue('label', 'Test Display')
+        ->execute();
+    }
+    catch (UnauthorizedException $e) {
+      $error = $e->getMessage();
+    }
+    $this->assertStringContainsString('failed', $error);
+
+    // Ordinary admin may not change the value of acl_bypass
+    $error = NULL;
+    try {
+      SearchDisplay::update()->addWhere('name', '=', $displayName)
+        ->addValue('acl_bypass', FALSE)
+        ->execute();
+    }
+    catch (UnauthorizedException $e) {
+      $error = $e->getMessage();
+    }
+    $this->assertStringContainsString('failed', $error);
+
+    // Ordinary admin may not edit the search because the display has acl_bypass
+    $error = NULL;
+    try {
+      SavedSearch::update()->addWhere('name', '=', $searchName)
+        ->addValue('title', 'Tested Search')
+        ->execute();
+    }
+    catch (UnauthorizedException $e) {
+      $error = $e->getMessage();
+    }
+    $this->assertStringContainsString('failed', $error);
+
+    $params = [
+      'checkPermissions' => FALSE,
+      'return' => 'page:1',
+      'savedSearch' => $searchName,
+      'display' => $displayName,
+      'filters' => ['last_name' => $lastName],
+      'afform' => NULL,
+    ];
+
+    $config->userPermissionClass->permissions = ['access CiviCRM'];
+
+    $result = civicrm_api4('SearchDisplay', 'run', $params);
+    $this->assertCount(4, $result);
+
+    $config->userPermissionClass->permissions = ['all CiviCRM permissions and ACLs'];
+    $params['checkPermissions'] = TRUE;
+
+    $result = civicrm_api4('SearchDisplay', 'run', $params);
+    $this->assertCount(4, $result);
+
+    $config->userPermissionClass->permissions = ['administer CiviCRM'];
+    $error = NULL;
+    try {
+      civicrm_api4('SearchDisplay', 'run', $params);
+    }
+    catch (UnauthorizedException $e) {
+      $error = $e->getMessage();
+    }
+    $this->assertStringContainsString('denied', $error);
+
+    $config->userPermissionClass->permissions = ['all CiviCRM permissions and ACLs'];
+
+    // Super users can update the acl_bypass field
+    SearchDisplay::update()->addWhere('name', '=', $displayName)
+      ->addValue('acl_bypass', FALSE)
+      ->execute();
+
+    $config->userPermissionClass->permissions = ['view all contacts'];
+    // And ordinary users can now run it
+    $result = civicrm_api4('SearchDisplay', 'run', $params);
+    $this->assertCount(4, $result);
+
+    // But not edit
+    $error = NULL;
+    try {
+      SearchDisplay::update()->addWhere('name', '=', $displayName)
+        ->addValue('label', 'Tested Display')
+        ->execute();
+    }
+    catch (UnauthorizedException $e) {
+      $error = $e->getMessage();
+    }
+    $this->assertStringContainsString('failed', $error);
+
+    $config->userPermissionClass->permissions = ['administer CiviCRM data'];
+
+    // Admins can edit the search and the display
+    SavedSearch::update()->addWhere('name', '=', $searchName)
+      ->addValue('title', 'Tested Search')
+      ->execute();
+    SearchDisplay::update()->addWhere('name', '=', $displayName)
+      ->addValue('label', 'Tested Display')
+      ->execute();
 
+    // But they can't edit the acl_bypass field
+    $error = NULL;
+    try {
+      SearchDisplay::update()->addWhere('name', '=', $displayName)
+        ->addValue('acl_bypass', TRUE)
+        ->execute();
+    }
+    catch (UnauthorizedException $e) {
+      $error = $e->getMessage();
+    }
+    $this->assertStringContainsString('failed', $error);
   }
 
 }
diff --git a/civicrm/ext/search_kit/xml/schema/CRM/Search/SearchDisplay.xml b/civicrm/ext/search_kit/xml/schema/CRM/Search/SearchDisplay.xml
index 750977d933e3d46a3981e232b10cba83b2e39b24..d2dde8906dd78ded66bfd53919bacad705695a7c 100644
--- a/civicrm/ext/search_kit/xml/schema/CRM/Search/SearchDisplay.xml
+++ b/civicrm/ext/search_kit/xml/schema/CRM/Search/SearchDisplay.xml
@@ -97,4 +97,16 @@
     <add>1.0</add>
   </field>
 
+  <field>
+    <name>acl_bypass</name>
+    <title>Bypass ACL Permissions</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Skip permission checks and ACLs when running this display.</comment>
+    <add>5.40</add>
+    <html>
+      <type>Checkbox</type>
+    </html>
+  </field>
+
 </table>
diff --git a/civicrm/ext/sequentialcreditnotes/info.xml b/civicrm/ext/sequentialcreditnotes/info.xml
index e2c9daeeb563fd9b8c7de6f57e128a55ffcad1b8..6e09dddd41028efa98eb50fde106495be4ee1273 100644
--- a/civicrm/ext/sequentialcreditnotes/info.xml
+++ b/civicrm/ext/sequentialcreditnotes/info.xml
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-28</releaseDate>
-  <version>5.39.1</version>
+  <version>5.40.0</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
diff --git a/civicrm/install/civicrm.php b/civicrm/install/civicrm.php
index 5b6dcb263a61896a7218c12981221f64e9167e31..2f895d550dbca9815901817b8adc2ba8faf9cdc8 100644
--- a/civicrm/install/civicrm.php
+++ b/civicrm/install/civicrm.php
@@ -89,7 +89,7 @@ function civicrm_main(&$config) {
   civicrm_source($dsn, $sqlPath . DIRECTORY_SEPARATOR . 'civicrm.mysql');
 
   if (!empty($config['loadGenerated'])) {
-    civicrm_source($dsn, $sqlPath . DIRECTORY_SEPARATOR . 'civicrm_generated.mysql', TRUE);
+    civicrm_source($dsn, $sqlPath . DIRECTORY_SEPARATOR . 'civicrm_generated.mysql');
   }
   else {
     if (isset($config['seedLanguage'])
diff --git a/civicrm/package.json b/civicrm/package.json
index 0dffff7c40da0bc0639d66a2164f6ef73b58e234..a8c6be8ca609826d46c6e6754652dbb25546ee0a 100644
--- a/civicrm/package.json
+++ b/civicrm/package.json
@@ -12,7 +12,7 @@
     "bower": "^1.8.8",
     "civicrm-cv": "^0.1.2",
     "jasmine-core": "~3.3.0",
-    "karma": "^5.0.9",
+    "karma": "^6.3.4",
     "karma-jasmine": "~2.0.1",
     "karma-ng-html2js-preprocessor": "^1.0.0",
     "karma-phantomjs-launcher": "^1.0.4"
diff --git a/civicrm/release-notes.md b/civicrm/release-notes.md
index b1da3ea7be7382f992e3e705853d5779d3eb27d3..9f9ff9f158ebde2d6ef07b8375895ca695e9e101 100644
--- a/civicrm/release-notes.md
+++ b/civicrm/release-notes.md
@@ -15,6 +15,17 @@ Other resources for identifying changes are:
     * https://github.com/civicrm/civicrm-joomla
     * https://github.com/civicrm/civicrm-wordpress
 
+## CiviCRM 5.40.0
+
+Released August 5, 2021
+
+- **[Synopsis](release-notes/5.40.0.md#synopsis)**
+- **[Features](release-notes/5.40.0.md#features)**
+- **[Bugs resolved](release-notes/5.40.0.md#bugs)**
+- **[Miscellany](release-notes/5.40.0.md#misc)**
+- **[Credits](release-notes/5.40.0.md#credits)**
+- **[Feedback](release-notes/5.40.0.md#feedback)**
+
 ## CiviCRM 5.39.1
 
 Released August 5, 2021
diff --git a/civicrm/release-notes/4.7.14.md b/civicrm/release-notes/4.7.14.md
index 46c4c8bf1dde65396fd2acb0ad7e67e8012d41b0..06f02cd78985c0ced943112481cdeff51e2aef4f 100644
--- a/civicrm/release-notes/4.7.14.md
+++ b/civicrm/release-notes/4.7.14.md
@@ -797,7 +797,7 @@ Released December 7, 2016
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin and Andrew Hunt; Agileware - Agileware Team;
+AGH Strategies - Alice Frumin and Andie Hunt; Agileware - Agileware Team;
 Australian Greens - Seamus Lee; Blackfly Solutions - Alan Dixon; Circle
 Interactive - Dave Jenkins; CiviCRM - Coleman Watts, Jitendra Purohit, Monish
 Deb, Tim Otten, and Yashodha Chaku; CiviDesk - Nicolas Ganivet; CiviFirst - John
diff --git a/civicrm/release-notes/4.7.16.md b/civicrm/release-notes/4.7.16.md
index b8487b3630c9f50c2ec3a6c702177d7a041881e6..8bb36f5950e8af8ee567e6e3c13e2ad356d71c1d 100644
--- a/civicrm/release-notes/4.7.16.md
+++ b/civicrm/release-notes/4.7.16.md
@@ -523,7 +523,7 @@ Released February 8, 2017
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; ATD Fourth World - Véronique
+AGH Strategies - Alice Frumin, Andie Hunt; ATD Fourth World - Véronique
 Gratioulet; Agileware - Agileware Team; Aidan Saunders; AppChecker; Australian
 reens - Seamus Lee; CiviCRM - Coleman Watts, Jitendra Purohit, Tim Otten, Monish
 Deb, Yashodha Chaku; CiviCoop - Jaap Jansma; CiviDesk - Nicolas Ganivet;
diff --git a/civicrm/release-notes/4.7.17.md b/civicrm/release-notes/4.7.17.md
index 0d95f91bae9d5ec05f3050a90f5908f15becca52..20e07c9851735411882a5346f939dd8bd0685a01 100644
--- a/civicrm/release-notes/4.7.17.md
+++ b/civicrm/release-notes/4.7.17.md
@@ -527,7 +527,7 @@ Released March 8, 2017
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Australian Greens - Seamus Lee; Chanun
+AGH Strategies - Andie Hunt; Australian Greens - Seamus Lee; Chanun
 Chirattikanon; CiviCRM - Coleman Watts, Kurund Jalmi, Monish Deb, Tim Otten;
 Francesc Bassas i Bullich; Freeform Solutions - Herb van den Dool; Fuzion -
 Chris Burgess, Eileen McNaughton; Hartmann Computer Consulting - Peter Hartmann;
diff --git a/civicrm/release-notes/4.7.18.md b/civicrm/release-notes/4.7.18.md
index 0bdd44a7a5aeb3da33f5a84f3114939b3ece0ae9..57bae857efe34a7965b2becf3bb6e24020eee711 100644
--- a/civicrm/release-notes/4.7.18.md
+++ b/civicrm/release-notes/4.7.18.md
@@ -544,7 +544,7 @@ Released April 5, 2017
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Agileware - Agileware Team; Arkadiusz
+AGH Strategies - Andie Hunt; Agileware - Agileware Team; Arkadiusz
 Rzadkowolski; Australian Greens - Seamus Lee; Black Brick Software - David
 Hayes; Christian Wach; CiviCRM - Coleman Watts, Donald Lobo, Jitendra Purohit,
 Kurund Jalmi, Tim Otten; CiviDesk - Sunil Pawar; CompuCorp - Michael Devery;
diff --git a/civicrm/release-notes/4.7.19.md b/civicrm/release-notes/4.7.19.md
index 96b35232007813ae8e8c0675aeb80a068b0c9464..e3964ab7e101f0fb1995a7f4bf6cf68891149723 100644
--- a/civicrm/release-notes/4.7.19.md
+++ b/civicrm/release-notes/4.7.19.md
@@ -767,7 +767,7 @@ Released May 3, 2017
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Agileware - Agileware Team; Australian Greens -
+AGH Strategies - Andie Hunt; Agileware - Agileware Team; Australian Greens -
 Seamus Lee; CiviCoop - Erik Hommel, Jaap Jansma; CiviCRM - Coleman Watts, Tim
 Otten; CiviFirst - John Kirk; CompuCorp - Omar Abu Hussein; Coop SymbioTIC -
 Mathieu Lutfy; Erich Schulz; Fuzion - Chris Burgess, Eileen McNaughton, Jitendra
diff --git a/civicrm/release-notes/4.7.20.md b/civicrm/release-notes/4.7.20.md
index c641a85eb8eb646617a1385af7f88292d302c7f2..2318d100423b1db2b0084577c44d9070323ce244 100644
--- a/civicrm/release-notes/4.7.20.md
+++ b/civicrm/release-notes/4.7.20.md
@@ -597,7 +597,7 @@ Released June 7, 2017
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Australian Greens - Seamus Lee; Blackfly Solutions -
+AGH Strategies - Andie Hunt; Australian Greens - Seamus Lee; Blackfly Solutions -
 Alan Dixon; British Humanist Association - Andrew West; CiviCRM - Coleman Watts,
 Tim Otten; CiviDesk - Yashodha Chaku; CiviFirst - John Kirk; Coop SymbioTIC -
 Mathieu Lutfy; Francesc Bassas i Bullich; Fuzion - Chris Burgess, Eileen
diff --git a/civicrm/release-notes/4.7.23.md b/civicrm/release-notes/4.7.23.md
index f7c9bcf6081612ead14be4dca231f8de1a1a3a5c..2d1df36c1c0d52813e2c0c40d8313dc44c9253aa 100644
--- a/civicrm/release-notes/4.7.23.md
+++ b/civicrm/release-notes/4.7.23.md
@@ -644,7 +644,7 @@ Released August 2, 2017
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Arun Singh; Australian Greens - Seamus Lee; Brooks
+AGH Strategies - Andie Hunt; Arun Singh; Australian Greens - Seamus Lee; Brooks
 Digital - Spencer Brooks; CEDC - Laryn Kragt Bakker; Circle Interactive - Dave
 Jenkins; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku;
 CompuCorp - Michael Devery; Coop SymbioTIC - Mathieu Lutfy; Dave Greenberg;
@@ -674,6 +674,6 @@ Wikimedia Foundation - Elliott Eggleston
 
 ## <a name="feedback"></a>Feedback
 
-These release notes have been made possible by the diligent curation of Andrew Hunt.
+These release notes have been made possible by the diligent curation of Andie Hunt.
 If you'd like to provide feedback on them, please login to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/4.7.24.md b/civicrm/release-notes/4.7.24.md
index 23b9a0f857abc503633ded58ac346e556139d0ed..db10fa99f5fa12857a99db40997189e356aa5fb2 100644
--- a/civicrm/release-notes/4.7.24.md
+++ b/civicrm/release-notes/4.7.24.md
@@ -400,7 +400,7 @@ Released September 6, 2017
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Australian Greens - Seamus Lee; CiviCRM - Coleman
+AGH Strategies - Andie Hunt; Australian Greens - Seamus Lee; CiviCRM - Coleman
 Watts, Tim Otten; CompuCorp - Michael Devery; Coop SymbioTIC - Samuel Vanhove;
 Electronic Frontier Foundation - Mark Burdett; Fuzion - Chris Burgess, Eileen
 McNaughton, Jitendra Purohit; JMA Consulting - Edsel Lopez, Monish Deb, Pradeep
@@ -426,6 +426,6 @@ Kevin Cristiano; Team Expansion - Greg Harris; Thomas Bacon; Torrance Hodgson
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please login to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/4.7.25.md b/civicrm/release-notes/4.7.25.md
index b88fea2020de734564245f22a2b1edcc0880a1db..9bd9c204b3874b7d5264abb3837efce7609860a2 100644
--- a/civicrm/release-notes/4.7.25.md
+++ b/civicrm/release-notes/4.7.25.md
@@ -795,7 +795,7 @@ Released October 4, 2017
 This release was developed by the following code authors:
 
 Aaron Jones; Abhikalak Consultants - Amal Sharma; AGH Strategies - Alice Frumin,
-Andrew Hunt; Agileware - Agileware Team, Justin Freeman; Australian Greens -
+Andie Hunt; Agileware - Agileware Team, Justin Freeman; Australian Greens -
 Seamus Lee; CEDC - Laryn Kragt Bakker; Circle Interactive - Dave Jenkins;
 CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CiviFirst - John
 Kirk; CompuCorp - Camilo Rodriguez; Coop SymbioTIC - Mathieu Lutfy; Eaiman
@@ -834,6 +834,6 @@ Harris; Tobias Lounsbury; Wikimedia Foundation - Elliott Eggleston
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please login to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/4.7.27.md b/civicrm/release-notes/4.7.27.md
index a18af15e8ce277be687bcdb2d844e1f706a226db..4a1757eafc011f6eb2bf140edff9e987a80ed9e5 100644
--- a/civicrm/release-notes/4.7.27.md
+++ b/civicrm/release-notes/4.7.27.md
@@ -583,7 +583,7 @@ Released November 1, 2017
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Alok Patel; Australian
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Alok Patel; Australian
 Greens - Seamus Lee; Blackfly Solutions - Alan Dixon; Chris Burgess; Circle
 Interactive - Dave Jenkins; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Sunil
 Pawar, Yashodha Chaku; CompuCorp - Camilo Rodriguez, Kacper Warda, Michael
@@ -610,6 +610,6 @@ Jalmi; XIMA - Philipp Michael
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Andrew Hunt.  If you'd like to provide
+These release notes are edited by Andie Hunt.  If you'd like to provide
 feedback on them, please login to https://chat.civicrm.org/civicrm and contact
 `@agh1`.
diff --git a/civicrm/release-notes/4.7.28.md b/civicrm/release-notes/4.7.28.md
index e75d0bb0832272e3f76775c6a732df14b34c3ead..44cb48ea1174cf9636a60c907ba77be7c886362b 100644
--- a/civicrm/release-notes/4.7.28.md
+++ b/civicrm/release-notes/4.7.28.md
@@ -623,7 +623,7 @@ Released December 6, 2017
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Alok Patel, Justin
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Alok Patel, Justin
 Freeman; Australian Greens - Seamus Lee; Christian Wach; Circle Interactive -
 Dave Jenkins; CiviCoop - Klaas Eikelboom; CiviCRM - Coleman Watts, Tim Otten;
 CiviDesk - Nicolas Ganivet, Yashodha Chaku; CiviFirst - John Kirk; Community IT
@@ -657,6 +657,6 @@ The People - Xavier Dutoit; Victor Huang; Web Access - Kurund Jalmi
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Andrew Hunt.  If you'd like to provide
+These release notes are edited by Andie Hunt.  If you'd like to provide
 feedback on them, please login to https://chat.civicrm.org/civicrm and contact
 `@agh1`.
diff --git a/civicrm/release-notes/4.7.29.md b/civicrm/release-notes/4.7.29.md
index 5aba623c9b7a203fd414531e941201ab79f604b3..68b6f5290749a47f0748db4283305f877996e157 100644
--- a/civicrm/release-notes/4.7.29.md
+++ b/civicrm/release-notes/4.7.29.md
@@ -74,6 +74,6 @@ Goldberg; Richard van Oosterhout
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Andrew Hunt.  If you'd like to provide
+These release notes are edited by Andie Hunt.  If you'd like to provide
 feedback on them, please login to https://chat.civicrm.org/civicrm and contact
 `@agh1`.
diff --git a/civicrm/release-notes/4.7.30.md b/civicrm/release-notes/4.7.30.md
index 8f748dae29364e358258f2e7f8c86972d55e8b47..6599377766f3e46364b78ca5b55ddf328dd35f82 100644
--- a/civicrm/release-notes/4.7.30.md
+++ b/civicrm/release-notes/4.7.30.md
@@ -963,7 +963,7 @@ Released February 7, 2018
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Agileware - Agileware Team, Alok Patel, Francis
+AGH Strategies - Andie Hunt; Agileware - Agileware Team, Alok Patel, Francis
 Whittle; Australian Greens - Seamus Lee; British Humanist Association - Andrew
 West; Christian Wach; CiviCoop - Klaas Eikelboom; CiviCRM - Coleman Watts, Tim
 Otten; CiviDesk - Sunil Pawar, Yashodha Chaku; CiviFirst - John Kirk; Community
@@ -1005,6 +1005,6 @@ Pratiksha Dubey; Website Express - James Forbes Keir
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Andrew Hunt.  If you'd like to provide
+These release notes are edited by Andie Hunt.  If you'd like to provide
 feedback on them, please login to https://chat.civicrm.org/civicrm and contact
 `@agh1`.
diff --git a/civicrm/release-notes/4.7.31.md b/civicrm/release-notes/4.7.31.md
index 1cb83a7a4cf3eb94c67c53d572f6673fd744b5d7..b9a88c4492520f9de5ac9ae5069cad5a76bf7253 100644
--- a/civicrm/release-notes/4.7.31.md
+++ b/civicrm/release-notes/4.7.31.md
@@ -910,7 +910,7 @@ Rathore; Wikimedia Foundation - Eileen McNaughton, Elliott Eggleston; yurg
 Most authors also reviewed code for this release; in addition, the following
 reviewers contributed their comments:
 
-AGH Strategies - Andrew Hunt, Holly Hanks; Agileware - Agileware Team; Andy
+AGH Strategies - Andie Hunt, Holly Hanks; Agileware - Agileware Team; Andy
 Clarke; Anthony Borrow; Bashar Makhay; Blackfly Solutions - Alan Dixon; Chris
 Burgess; Christophe Golle; Circle Interactive - Andrew Walker, Dave Jenkins;
 CiviDesk - Nicolas Ganivet; CompuCorp - Chandana Bandara, Guanhuan Chen, Tunbola
@@ -933,6 +933,6 @@ Sanders-Green
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Andrew Hunt.  If you'd like to provide
+These release notes are edited by Andie Hunt.  If you'd like to provide
 feedback on them, please login to https://chat.civicrm.org/civicrm and contact
 `@agh1`.
diff --git a/civicrm/release-notes/5.0.0.md b/civicrm/release-notes/5.0.0.md
index 155bc0c7070830840c5138332111b8593f37c6c6..c056ce26647614ebaa1a4995335f97be21bdfd3d 100644
--- a/civicrm/release-notes/5.0.0.md
+++ b/civicrm/release-notes/5.0.0.md
@@ -753,7 +753,7 @@ Released April 4, 2018
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Agileware - Alok Patel; Australian Greens - Seamus
+AGH Strategies - Andie Hunt; Agileware - Alok Patel; Australian Greens - Seamus
 Lee; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CompuCorp -
 Mukesh Ram, Omar Abu Hussein, René Olivo, Vinu Varshith Sekar; Coop SymbioTIC -
 Samuel Vanhove; Davis Media Access - Darrick Servis; Fuzion - Jitendra Purohit;
@@ -778,6 +778,6 @@ Richard van Oosterhout; Semper IT - Karin Gerritsen
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please login to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.0.1.md b/civicrm/release-notes/5.0.1.md
index 863e4ce04b7722c48ecc4b9d61220184f9b4243f..e3c9b48efe536bf756323e5daa1c33dea2ccefd3 100644
--- a/civicrm/release-notes/5.0.1.md
+++ b/civicrm/release-notes/5.0.1.md
@@ -50,6 +50,6 @@ Australian Greens - Seamus Lee; JMA Consulting - Monish Deb
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`
diff --git a/civicrm/release-notes/5.0.2.md b/civicrm/release-notes/5.0.2.md
index b9371ef391e2e2d2b1ff4745a0ee764e749b79c7..adc3bf64acbf4e6b92cf7cf5d98b06875d00c010 100644
--- a/civicrm/release-notes/5.0.2.md
+++ b/civicrm/release-notes/5.0.2.md
@@ -42,6 +42,6 @@ Wikimedia Foundation - Eileen McNaughton
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.1.0.md b/civicrm/release-notes/5.1.0.md
index 6c51345b075817755547d09396bba7fffb0f9323..575f0bc9619b3078dd23453dc3631ca0b57212ca 100644
--- a/civicrm/release-notes/5.1.0.md
+++ b/civicrm/release-notes/5.1.0.md
@@ -408,7 +408,7 @@ Released May 2, 2018
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt, Eli Lisseck; Agileware - Agileware
+AGH Strategies - Alice Frumin, Andie Hunt, Eli Lisseck; Agileware - Agileware
 Team, Alok Patel, Francis Whittle, Justin Freeman; Andrew Thompson; Australian
 Greens - Seamus Lee; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha
 Chaku; CompuCorp - Michael Devery, Mukesh Ram; Coop SymbioTIC - Samuel Vanhove;
@@ -437,6 +437,6 @@ Hanna; small biz
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Andrew Hunt.  If you'd like to provide
+These release notes are edited by Andie Hunt.  If you'd like to provide
 feedback on them, please login to https://chat.civicrm.org/civicrm and contact
 `@agh1`.
diff --git a/civicrm/release-notes/5.1.1.md b/civicrm/release-notes/5.1.1.md
index f1b388875fa127922058eae64679e824c7bcb99d..b1696d024e36b52696f1ba120dcc51ce1f642796 100644
--- a/civicrm/release-notes/5.1.1.md
+++ b/civicrm/release-notes/5.1.1.md
@@ -45,6 +45,6 @@ McNaughton
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.1.2.md b/civicrm/release-notes/5.1.2.md
index 861e6a70d2dcb77ef39e0874f1bafc49ddb9c388..de5f8ff1d4d444e9db9a61cf8eb3a02ea4d6577b 100644
--- a/civicrm/release-notes/5.1.2.md
+++ b/civicrm/release-notes/5.1.2.md
@@ -36,6 +36,6 @@ Eileen McNaughton
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.10.0.md b/civicrm/release-notes/5.10.0.md
index aea3c5a60c679e205f24a594a7cb472354d3e949..e0fc05b648904b97f23b78052523d3267951499c 100644
--- a/civicrm/release-notes/5.10.0.md
+++ b/civicrm/release-notes/5.10.0.md
@@ -402,7 +402,7 @@ Released February 6, 2019
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt, Eli Lisseck; Andrew Thompson;
+AGH Strategies - Alice Frumin, Andie Hunt, Eli Lisseck; Andrew Thompson;
 Australian Greens - Seamus Lee; Christian Wach; CiviCoop - Klaas Eikelboom;
 CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Sunil Pawar, Yashodha Chaku;
 CompuCorp - Davi Alexandre, Vinu Varshith Sekar; Coop SymbioTIC - Mathieu Lutfy;
@@ -424,6 +424,6 @@ Mark Hanna; Systopia - Björn Endres
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.10.1.md b/civicrm/release-notes/5.10.1.md
index 450f5539d9c1a674f641af84efca1cba348c3b52..2af14e115c8ca9e94bd59f7c7eda3e12473c3076 100644
--- a/civicrm/release-notes/5.10.1.md
+++ b/civicrm/release-notes/5.10.1.md
@@ -38,6 +38,6 @@ Otten; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.10.2.md b/civicrm/release-notes/5.10.2.md
index 215089004855541a80503b2851129792f6935139..f2537a57f0441e9eb56cd459d3445bffd0336baa 100644
--- a/civicrm/release-notes/5.10.2.md
+++ b/civicrm/release-notes/5.10.2.md
@@ -51,6 +51,6 @@ CiviCRM - Mathieu Lutfy and Coleman Watts; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.10.3.md b/civicrm/release-notes/5.10.3.md
index 45aa49febc839a98dda3fd705217335362f74243..151876416780af61143938ba89c932b7aaf542c8 100644
--- a/civicrm/release-notes/5.10.3.md
+++ b/civicrm/release-notes/5.10.3.md
@@ -59,6 +59,6 @@ Released February 20, 2019
 ## <a name="feedback"></a>Feedback
 
 Security release notes are edited by Seamus Lee and Tim Otten, and release
-notes generally are edited by Andrew Hunt.  If you'd like to provide
+notes generally are edited by Andie Hunt.  If you'd like to provide
 feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.10.4.md b/civicrm/release-notes/5.10.4.md
index 9e5fee07e1f66063e9397e6d7458611d0a5e99a6..88d6cbc61a0987a39bbd76c08d587662ebbb0c02 100644
--- a/civicrm/release-notes/5.10.4.md
+++ b/civicrm/release-notes/5.10.4.md
@@ -55,6 +55,6 @@ Megaphone Technology Consulting - Jon Goldberg
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt. If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt. If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.11.0.md b/civicrm/release-notes/5.11.0.md
index 7cb977fda5d33494f516ac832551fbfcdc015c22..914ac4cf075e4477031c3838555f29ce85f128c7 100644
--- a/civicrm/release-notes/5.11.0.md
+++ b/civicrm/release-notes/5.11.0.md
@@ -704,7 +704,7 @@ Released March 6, 2019
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Agileware Team, Alok
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Agileware Team, Alok
 Patel, Francis Whittle, Justin Freeman; Australian Greens - Seamus Lee; CEDC -
 Laryn Kragt Bakker; Christian Wach; Circle Interactive - Dave Jenkins; CiviCRM -
 Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CompuCorp - Debarshi
@@ -729,6 +729,6 @@ Oosterhout; QED42 - Swastik Pareek; Tadpole Collective - Kevin Cristiano
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.12.0.md b/civicrm/release-notes/5.12.0.md
index 8133f09ce18252370e5013272d4d37c27911dd9e..5d0aeb0c84eb30922a102f63c1e8936f75e5ad23 100644
--- a/civicrm/release-notes/5.12.0.md
+++ b/civicrm/release-notes/5.12.0.md
@@ -835,7 +835,7 @@ Released April 3, 2019
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Alok Patel; Alexy
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Alok Patel; Alexy
 Mikhailichenko; Australian Greens - Seamus Lee; avall-llovera; CiviCRM - Coleman
 Watts, Tim Otten; CiviDesk - Yashodha Chaku; Coop SymbioTIC - Mathieu Lutfy;
 Electronic Frontier Foundation - Mark Burdett; Francesc Bassas i Bullich; Fuzion -
@@ -856,6 +856,6 @@ Tadpole Collective - Kevin Cristiano; Third Sector Design - Michael McAndrew
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.12.1.md b/civicrm/release-notes/5.12.1.md
index bf3c145801c7b588cf559ae86fc4d3369d567f99..7b3584e95102b91d3f3fc79ccd50fc6dbaee5556 100644
--- a/civicrm/release-notes/5.12.1.md
+++ b/civicrm/release-notes/5.12.1.md
@@ -31,12 +31,12 @@ Released April 15, 2019
 
 This release was developed by the following authors and reviewers:
 
-AGH Strategies - Andrew Hunt; Australian Greens - Seamus Lee; CiviCRM -
+AGH Strategies - Andie Hunt; Australian Greens - Seamus Lee; CiviCRM -
 Coleman Watts, Tim Otten; Dave D; Korlon - Stuart Gaston; Wikimedia
 Foundation - Eileen McNaughton
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.12.2.md b/civicrm/release-notes/5.12.2.md
index 4593f65482becba04be71a5e090bc23db30e84e0..3bfc04e2f9d031aaa751d252add9b983126b8aad 100644
--- a/civicrm/release-notes/5.12.2.md
+++ b/civicrm/release-notes/5.12.2.md
@@ -38,6 +38,6 @@ Watts; Caltha - Tomasz Pietrzkowski; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.12.3.md b/civicrm/release-notes/5.12.3.md
index f0ba19ccbda22286f59be937ebf5b79858b51fc1..3547470e74b37ee219a648225ca1a53ef53e7942 100644
--- a/civicrm/release-notes/5.12.3.md
+++ b/civicrm/release-notes/5.12.3.md
@@ -32,6 +32,6 @@ Cristiano; Korlon - Stuart Gaston; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.12.4.md b/civicrm/release-notes/5.12.4.md
index dfc9c2a113d0afe12bcb2cdffeb11bafe92cf58a..5639ddce02fb0a2bd5540b27e28e1e347eff486b 100644
--- a/civicrm/release-notes/5.12.4.md
+++ b/civicrm/release-notes/5.12.4.md
@@ -34,6 +34,6 @@ Lighthouse Design and Consulting - Brian Shaughnessy; Electronic Frontier Founda
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.13.0.md b/civicrm/release-notes/5.13.0.md
index 38172b64cfd21d92321e64e2009aa1b384b4b8b7..e176e1b1422420a9e0bf341a73d88ee795c0ad93 100644
--- a/civicrm/release-notes/5.13.0.md
+++ b/civicrm/release-notes/5.13.0.md
@@ -1067,7 +1067,7 @@ Released May 1, 2019
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt, Eli Lisseck; Agileware - Alok Patel,
+AGH Strategies - Alice Frumin, Andie Hunt, Eli Lisseck; Agileware - Alok Patel,
 Francis Whittle; Australian Greens - Seamus Lee; calibrate - Wouter Hechtermans;
 Christian Wach; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku;
 CompuCorp - Omar Abu Hussein; Coop SymbioTIC - Mathieu Lutfy; Dave D; Electronic
@@ -1090,6 +1090,6 @@ Collective - Kevin Cristiano
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.13.1.md b/civicrm/release-notes/5.13.1.md
index 3904309732a4bfbcc2acff8fce65e797f777188e..f0140412136821d55047c46b04b55457999ed8ba 100644
--- a/civicrm/release-notes/5.13.1.md
+++ b/civicrm/release-notes/5.13.1.md
@@ -34,6 +34,6 @@ Tadpole Collective - Kevin Cristiano
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.13.2.md b/civicrm/release-notes/5.13.2.md
index 5583311d35df8cf5b782fa9ff80e658261672376..fee822fa7d48463d6df21c8d18ed54383b795d94 100644
--- a/civicrm/release-notes/5.13.2.md
+++ b/civicrm/release-notes/5.13.2.md
@@ -36,6 +36,6 @@ Dave D
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.13.3.md b/civicrm/release-notes/5.13.3.md
index c9e516212d2d9714a76818c2d9f10194f3d49f1e..90f162566a0003347ec58f3b93940d9a1f5b0fc4 100644
--- a/civicrm/release-notes/5.13.3.md
+++ b/civicrm/release-notes/5.13.3.md
@@ -45,6 +45,6 @@ Dave D; CiviCRM - Coleman Watts; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.13.5.md b/civicrm/release-notes/5.13.5.md
index aaa0eaa44180010707d46bd7bedbd566d14f5a7a..4fd4041d72b02cd09042177b1268b31c19f630a6 100644
--- a/civicrm/release-notes/5.13.5.md
+++ b/civicrm/release-notes/5.13.5.md
@@ -46,10 +46,10 @@ This release was developed by the following authors and reviewers:
 Wikimedia Foundation - Eileen McNaughton; Pradeep Nayak; Korlon - Stuart Gaston;
 John Kyle Cronan; Coop SymbioTIC - Mathieu Lutfy; CiviCRM - Coleman Watts, Tim Otten;
 Caltha - Tomasz Pietrzkowski; Business & Code - Alain Benbassat; Australian Greens - Seamus Lee,
-Andrew Cormick-Dockery; Agileware - Justin Freeman; AGH Strategies - Andrew Hunt, Tommy Bobo
+Andrew Cormick-Dockery; Agileware - Justin Freeman; AGH Strategies - Andie Hunt, Tommy Bobo
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.14.0.md b/civicrm/release-notes/5.14.0.md
index 48d6aa7b74a155ab1f62c7c2b83558da54c948c9..a06eaf5cb56c20579697f9a93809afdde9866b99 100644
--- a/civicrm/release-notes/5.14.0.md
+++ b/civicrm/release-notes/5.14.0.md
@@ -526,7 +526,7 @@ Released June 5, 2019
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Alok Patel; Australian
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Alok Patel; Australian
 Greens - Seamus Lee; Christian Wach; CiviCRM - Coleman Watts, Tim Otten;
 CiviDesk - Yashodha Chaku; Coop SymbioTIC - Mathieu Lutfy; Dave D; Electronic
 Frontier Foundation - Mark Burdett; Freeform Solutions - Herb van den Dool;
@@ -545,6 +545,6 @@ Robinson; Skvare - Mark Hanna; Tapash Datta
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.14.1.md b/civicrm/release-notes/5.14.1.md
index 5f1eee8566d8cfc65edc98069a214ea2cf5660f9..891f738ca9ac7b485427706c42d3bc9361245c44 100644
--- a/civicrm/release-notes/5.14.1.md
+++ b/civicrm/release-notes/5.14.1.md
@@ -37,6 +37,6 @@ Australian Greens - Seamus Lee; Andrew Thompson; Agileware - Justin Freeman
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.15.0.md b/civicrm/release-notes/5.15.0.md
index 99485e2d99ac003dfcf8e07bb01cbc91ce1ce796..17b4acbc94bf14713978df1c7f95c130dd7c4099 100644
--- a/civicrm/release-notes/5.15.0.md
+++ b/civicrm/release-notes/5.15.0.md
@@ -798,7 +798,7 @@ Released July 3, 2019
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt, Eli Lisseck; Agileware - Francis
+AGH Strategies - Alice Frumin, Andie Hunt, Eli Lisseck; Agileware - Francis
 Whittle; Australian Greens - Seamus Lee; Business & Code - Alain Benbassat;
 Christian Wach; Circle Interactive - Dave Jenkins; CiviCRM - Coleman Watts, Tim
 Otten; CiviDesk - Yashodha Chaku; Coop SymbioTIC - Mathieu Lutfy, Samuel
@@ -822,6 +822,6 @@ Wistreich; Webstanz - Adelson;
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.15.1.md b/civicrm/release-notes/5.15.1.md
index 641fa1ea271fb0e7c9f878cbc8d6cd515bb35337..e65a03dab2cb208a074ec870b32ec6ddbf35a732 100644
--- a/civicrm/release-notes/5.15.1.md
+++ b/civicrm/release-notes/5.15.1.md
@@ -38,6 +38,6 @@ Blackfly Solutions - Alan Dixon
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.15.2.md b/civicrm/release-notes/5.15.2.md
index 4fd65f379c902e88144d0a81a3e58d2c71c6a00a..b82bb61150436c70cb803cdedaa6471024369539 100644
--- a/civicrm/release-notes/5.15.2.md
+++ b/civicrm/release-notes/5.15.2.md
@@ -40,6 +40,6 @@ Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.16.0.md b/civicrm/release-notes/5.16.0.md
index c67f1743287067b91339ddc5e6fc3b711f80c59d..82cddef0ff1ec4624f7bcde2323cde4d8887cba2 100644
--- a/civicrm/release-notes/5.16.0.md
+++ b/civicrm/release-notes/5.16.0.md
@@ -767,7 +767,7 @@ Released August 7, 2019
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt, Eli Lisseck; Agileware - Alok Patel,
+AGH Strategies - Alice Frumin, Andie Hunt, Eli Lisseck; Agileware - Alok Patel,
 Francis Whittle; Andrei Mondoc; Australian Greens - Seamus Lee; Christian Wach;
 CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; Coop SymbioTIC -
 Mathieu Lutfy, Samuel Vanhove; Dave D; Electronic Frontier Foundation - Mark
@@ -788,6 +788,6 @@ Karin Gerritsen; Tech To The People - Xavier Dutoit
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.16.1.md b/civicrm/release-notes/5.16.1.md
index 10316b3c358bca391f4b3949a40a96c49a412b70..2693c61dd3d26bc38f6ec6b6c5bdf7ca8b2aa5b8 100644
--- a/civicrm/release-notes/5.16.1.md
+++ b/civicrm/release-notes/5.16.1.md
@@ -33,6 +33,6 @@ Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.16.2.md b/civicrm/release-notes/5.16.2.md
index fa4525a69a3573a7a79c3730fe7225440f0b72bc..119f0e1c8fa92d9d203dfb4279a8303169d694cf 100644
--- a/civicrm/release-notes/5.16.2.md
+++ b/civicrm/release-notes/5.16.2.md
@@ -32,6 +32,6 @@ Wikimedia Foundation - Eileen McNaughton; Pradeep Nayak; Dave D
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.16.3.md b/civicrm/release-notes/5.16.3.md
index 0941d816ff30c78055ca371a7a07196c1afa37e6..8fba6dade1da08d6d1dede6a20bc23ebb0418b9a 100644
--- a/civicrm/release-notes/5.16.3.md
+++ b/civicrm/release-notes/5.16.3.md
@@ -39,6 +39,6 @@ Justin Freeman
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.16.4.md b/civicrm/release-notes/5.16.4.md
index 84d05734b57e50c5bfdf643103574353f4e2f6f9..2cd54fc213ebf397f76ad4a54bb75e0539bfca7e 100644
--- a/civicrm/release-notes/5.16.4.md
+++ b/civicrm/release-notes/5.16.4.md
@@ -39,6 +39,6 @@ Otten; Australian Greens - Seamus Lee;
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.17.0.md b/civicrm/release-notes/5.17.0.md
index 57c4f6b216ae2c0056af0a015df2fbf79f285d27..68b0cf0eb208c5854e61077cbd0413b13199ca14 100644
--- a/civicrm/release-notes/5.17.0.md
+++ b/civicrm/release-notes/5.17.0.md
@@ -987,7 +987,7 @@ Released September 4, 2019
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt, Eli Lisseck; Agileware - Alok Patel, Justin
+AGH Strategies - Andie Hunt, Eli Lisseck; Agileware - Alok Patel, Justin
 Freeman; Australian Greens - Seamus Lee; Circle Interactive - Dave Jenkins, Kirk
 Jackson, Pradeep Nayak; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha
 Chaku; Coop SymbioTIC - Mathieu Lutfy; Dave D; Deepak Srivastava; Electronic
@@ -1010,6 +1010,6 @@ Mark Hanna; Tadpole Collective - Kevin Cristiano;
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.17.1.md b/civicrm/release-notes/5.17.1.md
index 58a979c599ef61d726ddc0793df0ddbea4a8d941..a5711c9cb0fdeb5fc20d2e6b5a000fd997fdc781 100644
--- a/civicrm/release-notes/5.17.1.md
+++ b/civicrm/release-notes/5.17.1.md
@@ -33,7 +33,7 @@ CiviCRM - Tim Otten; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
 
diff --git a/civicrm/release-notes/5.17.2.md b/civicrm/release-notes/5.17.2.md
index dc537db7286aea65bfacc83d8e5cb5a914f59d4b..880cdce60e23ebfcb2e2280b06684eac49b761e9 100644
--- a/civicrm/release-notes/5.17.2.md
+++ b/civicrm/release-notes/5.17.2.md
@@ -31,7 +31,7 @@ Wikimedia Foundation - Eileen McNaughton; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
 
diff --git a/civicrm/release-notes/5.17.3.md b/civicrm/release-notes/5.17.3.md
index 438debf64256c2751ea3b589230d327dad6dd748..84723874eec1f57f87581f0ba71d4108d7863fad 100644
--- a/civicrm/release-notes/5.17.3.md
+++ b/civicrm/release-notes/5.17.3.md
@@ -35,6 +35,6 @@ Otten; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.17.4.md b/civicrm/release-notes/5.17.4.md
index 40fe84125dc9feb4b25adce4c2a23693402194a4..9496ae705ef35ede88abfa5f425600fcc96f3f11 100644
--- a/civicrm/release-notes/5.17.4.md
+++ b/civicrm/release-notes/5.17.4.md
@@ -37,6 +37,6 @@ Agileware - Justin Freeman
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.17.5.md b/civicrm/release-notes/5.17.5.md
index f497715686fb8ea5a1c4f806efdc2b21f2fbfc6f..b75faeb3cd699c218b60dfdf015a153642658967 100644
--- a/civicrm/release-notes/5.17.5.md
+++ b/civicrm/release-notes/5.17.5.md
@@ -33,6 +33,6 @@ Matthew Wire; Megaphone Technology Consulting - Jon Goldberg
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.18.0.md b/civicrm/release-notes/5.18.0.md
index a3dd9da80b181855a44fbe14dbffa2e0122074ca..03ff156b4f0e9148a876ec512a8d636fbd57052a 100644
--- a/civicrm/release-notes/5.18.0.md
+++ b/civicrm/release-notes/5.18.0.md
@@ -850,7 +850,7 @@ Released October 2, 2019
 
 This release was developed by the following code authors:
 
-19ATF77; AGH Strategies - Andrew Hunt; Agileware - Justin Freeman; Andrew
+19ATF77; AGH Strategies - Andie Hunt; Agileware - Justin Freeman; Andrew
 Thompson; Australian Greens - Seamus Lee; Caltha - Tomasz Pietrzkowski;
 Christian Wach; Circle Interactive - Dave Jenkins, Pradeep Nayak, Reece Benson;
 CiviCoop - Jaap Jansma; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha
@@ -871,6 +871,6 @@ Consulting - Aidan Saunders
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.18.1.md b/civicrm/release-notes/5.18.1.md
index d0034f7372bef44096996dee1505ccb3afebbcba..285dfd337ae54b0544c731fddc55244d0addbbd5 100644
--- a/civicrm/release-notes/5.18.1.md
+++ b/civicrm/release-notes/5.18.1.md
@@ -33,6 +33,6 @@ Mathieu Lutfy; Dave D; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.18.2.md b/civicrm/release-notes/5.18.2.md
index 5ae23b8107b0846e90d7538167c7fea388786e25..54130e044abf4bf233d1011d9e93dd9c363bb407 100644
--- a/civicrm/release-notes/5.18.2.md
+++ b/civicrm/release-notes/5.18.2.md
@@ -38,6 +38,6 @@ Dave D; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.18.3.md b/civicrm/release-notes/5.18.3.md
index 8c25237d4872186ee4136abf9043575f96393afb..329cd0288db4a246fcf101587c1293ad49cad717 100644
--- a/civicrm/release-notes/5.18.3.md
+++ b/civicrm/release-notes/5.18.3.md
@@ -34,6 +34,6 @@ Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.18.4.md b/civicrm/release-notes/5.18.4.md
index 4bd2f232a5a827dbb0516f1dfa5846cd2c083bdd..8bbeec72338d8387a73c95992a59c9b43d855e65 100644
--- a/civicrm/release-notes/5.18.4.md
+++ b/civicrm/release-notes/5.18.4.md
@@ -39,7 +39,7 @@ Jaap Jansma; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
 
diff --git a/civicrm/release-notes/5.19.0.md b/civicrm/release-notes/5.19.0.md
index 5252eaa84edb7a97c43e2e81c3c9d3fb96ac452a..26e52bde7b05cfd33dba4bdf14fca754f1c9027d 100644
--- a/civicrm/release-notes/5.19.0.md
+++ b/civicrm/release-notes/5.19.0.md
@@ -477,7 +477,7 @@ Released November 6, 2019
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt, Eli Lisseck; Agileware - Justin Freeman; Andrew
+AGH Strategies - Andie Hunt, Eli Lisseck; Agileware - Justin Freeman; Andrew
 Thompson; Australian Greens - Seamus Lee; Christian Wach; Circle Interactive -
 Pradeep Nayak; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku;
 CompuCorp - Vinu Varshith Sekar; Coop SymbioTIC - Mathieu Lutfy, Samuel Vanhove;
@@ -496,6 +496,6 @@ Cristiano
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.19.1.md b/civicrm/release-notes/5.19.1.md
index 9f1b57338f855916a194c8627558d3d003bff231..b6fd8a475e6d72ea9eaddfdb59a041e1ea15e1ed 100644
--- a/civicrm/release-notes/5.19.1.md
+++ b/civicrm/release-notes/5.19.1.md
@@ -36,6 +36,6 @@ Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.19.3.md b/civicrm/release-notes/5.19.3.md
index b2cade12e83d9c33a0e77b189f3e3f8669c10007..9ec9a51d981a4ccbbb8b64aa74fb6175a6ac6f75 100644
--- a/civicrm/release-notes/5.19.3.md
+++ b/civicrm/release-notes/5.19.3.md
@@ -38,6 +38,6 @@ Australian Greens; Tim Otten - CiviCRM
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.19.4.md b/civicrm/release-notes/5.19.4.md
index d189422da244e37e2c97eeb247678002e5c1793a..efad22f41ef4d74d4fb33e3f3e7e2277e64980c3 100644
--- a/civicrm/release-notes/5.19.4.md
+++ b/civicrm/release-notes/5.19.4.md
@@ -40,6 +40,6 @@ Coleman Watts - CiviCRM
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.2.0.md b/civicrm/release-notes/5.2.0.md
index 8c09ba5a1a7990bf532ce04269cf39fc243df946..cbf1cfe6caa5589d7ecb47b3002a7de8e1dcb883 100644
--- a/civicrm/release-notes/5.2.0.md
+++ b/civicrm/release-notes/5.2.0.md
@@ -477,7 +477,7 @@ Released June 6, 2018
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Australian Greens - Seamus Lee; CiviCoop - Jaap
+AGH Strategies - Andie Hunt; Australian Greens - Seamus Lee; CiviCoop - Jaap
 Jansma; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CompuCorp -
 Debarshi Bhaumik, Michael Devery, Mukesh Ram, René Olivo, Vinu Varshith Sekar;
 Coop SymbioTIC - Mathieu Lutfy, Samuel Vanhove; Fuzion - Jitendra Purohit; JMA
@@ -498,6 +498,6 @@ Collective - Kevin Cristiano; Third Sector Design - Michael McAndrew
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please login to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.2.1.md b/civicrm/release-notes/5.2.1.md
index f133f8c522227331469a7c612349cc52b93060c8..853c437db2765ee108483ab7fe27c416ab6e3673 100644
--- a/civicrm/release-notes/5.2.1.md
+++ b/civicrm/release-notes/5.2.1.md
@@ -33,6 +33,6 @@ Shaughnessy; Wikimedia Foundation - Eileen McNaughton
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.2.2.md b/civicrm/release-notes/5.2.2.md
index a346fd579563b2cb2a1f9020613282d9f8e32e79..d8da1b6bc1202a630e61a37403a473205a204268 100644
--- a/civicrm/release-notes/5.2.2.md
+++ b/civicrm/release-notes/5.2.2.md
@@ -33,6 +33,6 @@ Eileen McNaughton
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.20.0.md b/civicrm/release-notes/5.20.0.md
index d807c62451c44809daece172d7585d75a56ab836..cd3afb413bf5513dba033a2cf79ba1ef83de76bf 100644
--- a/civicrm/release-notes/5.20.0.md
+++ b/civicrm/release-notes/5.20.0.md
@@ -1056,7 +1056,7 @@ Released December 4, 2019
 This release was developed by the following code authors:
 
 a-n The Artists Information Company - William Mortada; AGH Strategies - Alice
-Frumin, Andrew Hunt, Eli Lisseck; Agileware - Pengyi Zhang; Alexy
+Frumin, Andie Hunt, Eli Lisseck; Agileware - Pengyi Zhang; Alexy
 Mikhailichenko; Australian Greens - Seamus Lee; Christian Wach; CiviCoop - Jaap
 Jansma; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku;
 CompuCorp- Camilo Rodriguez, Davi Alexandre, Omar Abu Hussein; Dave D;
@@ -1081,6 +1081,6 @@ Oliver; Skvare - Mark Hanna; OSSeed Technologies LLP - Sushant Paste
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.20.1.md b/civicrm/release-notes/5.20.1.md
index 826beb8d81c7a12590a527a06e40f9e5673bfa8c..27693b4ed723d1a41874640873a6eccb2ca71497 100644
--- a/civicrm/release-notes/5.20.1.md
+++ b/civicrm/release-notes/5.20.1.md
@@ -38,6 +38,6 @@ Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.20.2.md b/civicrm/release-notes/5.20.2.md
index 17d9569bad97ee602918f769f74e9eb430d4a5fb..783463902f0e97083fdd20b36592c5e72cd4d1fa 100644
--- a/civicrm/release-notes/5.20.2.md
+++ b/civicrm/release-notes/5.20.2.md
@@ -33,6 +33,6 @@ Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.20.3.md b/civicrm/release-notes/5.20.3.md
index 0fbd368da3b1840bc8cbf0867f2e0e9be912c574..06b312c0e3dd93c42842d674bfae2f8d3ed2bb7f 100644
--- a/civicrm/release-notes/5.20.3.md
+++ b/civicrm/release-notes/5.20.3.md
@@ -36,6 +36,6 @@ CiviCRM - Tim Otten; Australian Greens - Seamus Lee; Agileware - Justin Freeman
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.21.0.md b/civicrm/release-notes/5.21.0.md
index 9ad9b7e53f723d59782b7f279954ea0bf483fa34..89f58a52ddd8f375b8547f0e72a422f5db8551df 100644
--- a/civicrm/release-notes/5.21.0.md
+++ b/civicrm/release-notes/5.21.0.md
@@ -662,7 +662,7 @@ Released January 1, 2020
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Agileware - Justin Freeman; Australian Greens -
+AGH Strategies - Andie Hunt; Agileware - Justin Freeman; Australian Greens -
 Seamus Lee; Christian Wach; CiviCRM - Coleman Watts, Tim Otten; CiviDesk -
 Yashodha Chaku; CompuCorp - Camilo Rodriguez; Coop SymbioTIC - Mathieu Lutfy;
 Dave D; Electronic Frontier Foundation - Mark Burdett; Fuzion - Jitendra
@@ -682,6 +682,6 @@ OSSeed Technologies LLP - Revati Gawas
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.21.1.md b/civicrm/release-notes/5.21.1.md
index e742897b9def0b05dce48a9dde868199f09dd273..9bc723f1cd1c67f93ea741f1e949a97b9aabf828 100644
--- a/civicrm/release-notes/5.21.1.md
+++ b/civicrm/release-notes/5.21.1.md
@@ -33,6 +33,6 @@ Jon Goldberg; JMA Consulting - Seamus Lee; Dave D
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.21.2.md b/civicrm/release-notes/5.21.2.md
index 21b45b4359eeb72ee465e02914e63c71df6cc753..b5f3cad6be04c457ecba4e4128ea103bb71e5e84 100644
--- a/civicrm/release-notes/5.21.2.md
+++ b/civicrm/release-notes/5.21.2.md
@@ -34,10 +34,10 @@ Wikimedia Foundation - Eileen McNaughton; SYSTOPIA Organisationsberatung -
 Björn Endres; Megaphone Technology Consulting - Jon Goldberg; Korlon -
 Stuart Gaston; JMA Consulting - Seamus Lee; Francesc Bassas i Bullich; Coop
 SymbioTIC - Mathieu Lutfy; CiviCRM - Tim Otten; Agileware - Justin Freeman;
-AGH Strategies - Andrew Hunt, Alice Frumin
+AGH Strategies - Andie Hunt, Alice Frumin
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.22.0.md b/civicrm/release-notes/5.22.0.md
index 8ae714c4ca9a9c823127fdd39f9f676ab2c44041..ae794fcd33aba7ad73c199cfb018e1f1145691e8 100644
--- a/civicrm/release-notes/5.22.0.md
+++ b/civicrm/release-notes/5.22.0.md
@@ -427,7 +427,7 @@ Released February 5, 2020
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Agileware - Justin Freeman; Australian Greens -
+AGH Strategies - Andie Hunt; Agileware - Justin Freeman; Australian Greens -
 Seamus Lee; Christian Wach; Circle Interactive - Pradeep Nayak; CiviCRM -
 Coleman Watts, Tim Otten; Coop SymbioTIC - Mathieu Lutfy; Dave D; Fuzion -
 Jitendra Purohit; MJW Consulting - Matthew Wire; Squiffle Consulting - Aidan
@@ -442,6 +442,6 @@ Tadpole Collective - Kevin Cristiano;
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.22.1.md b/civicrm/release-notes/5.22.1.md
index fdf2cb096e0c618acc0ba1b520ba2f9f248f8cfa..781bf46c9c46e7d613e427c827b329ecb385f8c6 100644
--- a/civicrm/release-notes/5.22.1.md
+++ b/civicrm/release-notes/5.22.1.md
@@ -42,6 +42,6 @@ Agileware - Justin Freeman;
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.23.0.md b/civicrm/release-notes/5.23.0.md
index b3a8cb36cfddb69ada50ea10e06816921c4648dd..d460e127215c72cc2daa69ac573de61aeb39a467 100644
--- a/civicrm/release-notes/5.23.0.md
+++ b/civicrm/release-notes/5.23.0.md
@@ -1095,6 +1095,6 @@ Organisationsberatung - Björn Endres; tapashdatta;
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.23.1.md b/civicrm/release-notes/5.23.1.md
index e121d919c7fc22295646b2b6e152823cf1f9bd05..8a6d75616ef6ff96ad87b3d244687191ec898e3e 100644
--- a/civicrm/release-notes/5.23.1.md
+++ b/civicrm/release-notes/5.23.1.md
@@ -37,6 +37,6 @@ Otten; Christian Wach
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.23.2.md b/civicrm/release-notes/5.23.2.md
index a441eb6142f5a49faaf6e5d42f4974ed5da2f49c..166d829a70d06541bc0122072ba91fe9137924b5 100644
--- a/civicrm/release-notes/5.23.2.md
+++ b/civicrm/release-notes/5.23.2.md
@@ -32,6 +32,6 @@ Cristiano; laybergerF; JMA Consulting - Seamus Lee; CiviCRM - Tim Otten
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.23.3.md b/civicrm/release-notes/5.23.3.md
index 6cb408cba36c6ef5d07f391b5c38cafd776febcf..808c730c0d03c436e57477f7744628bbdedaa2f9 100644
--- a/civicrm/release-notes/5.23.3.md
+++ b/civicrm/release-notes/5.23.3.md
@@ -34,6 +34,6 @@ Cristiano; JMA Consulting - Seamus Lee; Dave D; CiviCRM - Tim Otten
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.23.4.md b/civicrm/release-notes/5.23.4.md
index 032b027d3f58a018456b8237245d36ae2d463d1c..a133c962246c9b1b953de00abb2dc94aa7a5822e 100644
--- a/civicrm/release-notes/5.23.4.md
+++ b/civicrm/release-notes/5.23.4.md
@@ -33,6 +33,6 @@ Andy Burns; Andrew Thompson
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.24.0.md b/civicrm/release-notes/5.24.0.md
index 9c24a7e88a1ab58045af27d08e5e27ac98c49a67..0f5cff68be84b554fc5201abb0031f5bf2ebd683 100644
--- a/civicrm/release-notes/5.24.0.md
+++ b/civicrm/release-notes/5.24.0.md
@@ -768,7 +768,7 @@ Released April 1, 2020
 This release was developed by the following code authors:
 
 a-n The Artists Information Company - William Mortada; AGH Strategies - Alice
-Frumin, Andrew Hunt; Agileware - Agileware Team, Francis Whittle; Alexy
+Frumin, Andie Hunt; Agileware - Agileware Team, Francis Whittle; Alexy
 Mikhailichenko; breheret; Calibrate - Wouter Hechtermans; CEPR - Josh Brown;
 Chris Burgess; Christian Wach; Circle Interactive - Pradeep Nayak; CiviCoop -
 Klaas Eikelboom; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku;
@@ -795,6 +795,6 @@ Simon John Parker; Third Sector Design - Michael McAndrew;
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.24.1.md b/civicrm/release-notes/5.24.1.md
index 48f57fa0dfd1cbf6afcbd3bbcdd9e4f191f755c5..1cd7bdd6b1dd55d54a461abc233294ed77af8cd6 100644
--- a/civicrm/release-notes/5.24.1.md
+++ b/civicrm/release-notes/5.24.1.md
@@ -36,6 +36,6 @@ Andy Clark
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.24.2.md b/civicrm/release-notes/5.24.2.md
index 8a417b00ffe863699fa441d573f6f839cba6ec72..76925d9a679349018d0f16b35d0305da4b458ebd 100644
--- a/civicrm/release-notes/5.24.2.md
+++ b/civicrm/release-notes/5.24.2.md
@@ -42,6 +42,6 @@ CiviCRM - Coleman Watts, Tim Otten; Circle Interactive - Pradeep Nayak
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.24.4.md b/civicrm/release-notes/5.24.4.md
index f79010176adea439ea587816437c91ab1d2edb85..108102c2be6e847204ae144cae1b21ca189f7cb1 100644
--- a/civicrm/release-notes/5.24.4.md
+++ b/civicrm/release-notes/5.24.4.md
@@ -34,6 +34,6 @@ Stewart; CiviCRM - Tim Otten
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.24.5.md b/civicrm/release-notes/5.24.5.md
index 25f0a986cf79eb1da372766934a24dfc1b6e7e34..31d8c4d59421bdd10006dd429f12e5f61c750f30 100644
--- a/civicrm/release-notes/5.24.5.md
+++ b/civicrm/release-notes/5.24.5.md
@@ -33,6 +33,6 @@ Fuzion - Jitendra Purohit; CiviCoop - Jaap Jansma; CiviCRM - Tim Otten
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.24.6.md b/civicrm/release-notes/5.24.6.md
index da0bf88ac6d354e2ac5e3566259ec7e0411d02cc..ac4132a9b39e5e27bca8441859dbbe409e34e845 100644
--- a/civicrm/release-notes/5.24.6.md
+++ b/civicrm/release-notes/5.24.6.md
@@ -38,6 +38,6 @@ Seamus Lee; Dave D; CiviCRM - Tim Otten; Circle Interactive - Martin Castle
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.25.0.md b/civicrm/release-notes/5.25.0.md
index 90803f5bcd2f9ede06fd151ffaef973fe9f636dd..878bbb89803ede9af678e21f84f1cbc669e7f21a 100644
--- a/civicrm/release-notes/5.25.0.md
+++ b/civicrm/release-notes/5.25.0.md
@@ -815,7 +815,7 @@ Released May 6, 2020
 This release was developed by the following code authors:
 
 a-n The Artists Information Company - William Mortada; AGH Strategies - Alice
-Frumin, Andrew Hunt; Alexy Mikhailichenko; Andrei Mondoc; Christian Wach; Circle
+Frumin, Andie Hunt; Alexy Mikhailichenko; Andrei Mondoc; Christian Wach; Circle
 Interactive - Pradeep Nayak; CiviCoop - Jaap Jansma; CiviCRM - Coleman Watts,
 Tim Otten; CiviDesk - Yashodha Chaku; Coop SymbioTIC - Mathieu Lutfy; Dave D;
 Freeform Solutions - Herb van den Dool; Fuzion - Jitendra Purohit; iXiam - César
@@ -839,6 +839,6 @@ Aidan Saunders; Tadpole Collective - Kevin Cristiano
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.26.0.md b/civicrm/release-notes/5.26.0.md
index 0baa0df7de9583c05e02e09cea10f9f616ea4855..fb14636dac58d80bdc36b637f18adc42cf4891c0 100644
--- a/civicrm/release-notes/5.26.0.md
+++ b/civicrm/release-notes/5.26.0.md
@@ -778,7 +778,7 @@ Administrators should promptly assess and update any external services which sub
 This release was developed by the following code authors:
 
 a-n The Artists Information Company - William Mortada; AGH Strategies - Alice
-Frumin, Andrew Hunt; Andrei Mondoc; Christian Wach; Circle Interactive - Dave
+Frumin, Andie Hunt; Andrei Mondoc; Christian Wach; Circle Interactive - Dave
 Jenkins, Pradeep Nayak; CiviCRM - Coleman Watts, Josh Gowans, Tim Otten;
 CiviDesk - Yashodha Chaku; Coop SymbioTIC - Mathieu Lutfy; Dave D; Fuzion -
 Jitendra Purohit; Greenpeace Central and Eastern Europe - Patrick Figel; All In
@@ -799,6 +799,6 @@ Tadpole Collective - Kevin Cristiano; Team Expansion - Greg Harris
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.26.1.md b/civicrm/release-notes/5.26.1.md
index 4990984565cb9038d5e45ef9e7c8e36213572ce1..c85cb6c50721c1aae2a5436afcdd76876a2c39c0 100644
--- a/civicrm/release-notes/5.26.1.md
+++ b/civicrm/release-notes/5.26.1.md
@@ -35,6 +35,6 @@ Alice Frumin
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.26.2.md b/civicrm/release-notes/5.26.2.md
index 6c66442c2742241265731991d70b72fa1cf642f0..c295397cb20a68963ae3b339de669a41e5eedd8a 100644
--- a/civicrm/release-notes/5.26.2.md
+++ b/civicrm/release-notes/5.26.2.md
@@ -39,6 +39,6 @@ Francesc Bassas i Bullich; JMA Consulting - Seamus Lee; CiviCRM - Coleman Watts,
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.27.0.md b/civicrm/release-notes/5.27.0.md
index b2f7bd71b954be8e1f35b8b56203b3b03b39ae1d..2b2dc4ded4c1e8f500caee9973599562312249d4 100644
--- a/civicrm/release-notes/5.27.0.md
+++ b/civicrm/release-notes/5.27.0.md
@@ -857,7 +857,7 @@ Released July 1, 2020
 This release was developed by the following code authors:
 
 a-n The Artists Information Company - William Mortada; AGH Strategies - Alice
-Frumin, Andrew Hunt; Andrei Mondoc; British Humanist Association - Andrew West;
+Frumin, Andie Hunt; Andrei Mondoc; British Humanist Association - Andrew West;
 Caltha - Tomasz Pietrzkowski; Christian Wach; Circle Interactive - Pradeep
 Nayak; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku;
 CompuCorp - René Olivo; Coop SymbioTIC - Mathieu Lutfy; Dave D; Dominic Hargreaves;
@@ -880,6 +880,6 @@ Osorio; Squiffle Consulting - Aidan Saunders
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.27.1.md b/civicrm/release-notes/5.27.1.md
index 5e8a5a7b575234ebaed888db4c772441c2bc44b1..c3de9468d339ced668466b8ec2479c8f7f1f4668 100644
--- a/civicrm/release-notes/5.27.1.md
+++ b/civicrm/release-notes/5.27.1.md
@@ -34,6 +34,6 @@ Dave D; CiviCRM - Tim Otten, Coleman Watts; Andrew Thompson
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.27.2.md b/civicrm/release-notes/5.27.2.md
index c658eeabfb846f3faa14a4216416d246e143cf13..683cc018d23da6ca7ba44427e5b96472b28fc4b7 100644
--- a/civicrm/release-notes/5.27.2.md
+++ b/civicrm/release-notes/5.27.2.md
@@ -48,6 +48,6 @@ Christian Wach; Andrew Thompson
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.27.3.md b/civicrm/release-notes/5.27.3.md
index 784cb7511f2ac3ea0bdae36760c30961fdc31b98..59906b6e4d53815671e14fee0fb21643121dd571 100644
--- a/civicrm/release-notes/5.27.3.md
+++ b/civicrm/release-notes/5.27.3.md
@@ -38,6 +38,6 @@ Consulting - Seamus Lee; CiviCRM - Coleman Watts, Tim Otten
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.27.4.md b/civicrm/release-notes/5.27.4.md
index feaaaa0e4e8e588f0c0554166545b03ba427553b..77b4195ec32b3e12d278b5bfdd1c9938a9cf68b9 100644
--- a/civicrm/release-notes/5.27.4.md
+++ b/civicrm/release-notes/5.27.4.md
@@ -47,10 +47,10 @@ This release was developed by the following authors and reviewers:
 Wikimedia Foundation - Eileen McNaughton; Team Expansion - Greg Harris; Tadpole Collective - Kevin
 Cristiano; Megaphone Technology Consulting - Jon Goldberg; MJW Consulting - Matthew Wire; JMA
 Consulting - Seamus Lee; Dave D; CiviCRM - Tim Otten; Christian Wach; Agileware - Justin Freeman;
-AGH Strategies - Andrew Hunt
+AGH Strategies - Andie Hunt
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.28.0.md b/civicrm/release-notes/5.28.0.md
index da6ba4cb630136f8ecbf537267160c5cf5dcc80e..c37f48360ae28bf08463ddff41e8a41a223bbd67 100644
--- a/civicrm/release-notes/5.28.0.md
+++ b/civicrm/release-notes/5.28.0.md
@@ -724,7 +724,7 @@ Released August 5, 2020
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; British Humanist Association -
+AGH Strategies - Alice Frumin, Andie Hunt; British Humanist Association -
 Andrew West; Christian Wach; Circle Interactive - Pradeep Nayak; CiviCRM -
 Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CompuCorp - Ivan; Coop
 SymbioTIC - Mathieu Lutfy, Samuel Vanhove; Dave D; Dietermartens; ES-Progress -
@@ -746,6 +746,6 @@ Eriol Fox; Timbsoft Technologies - Tunbola Ogunwande
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.28.2.md b/civicrm/release-notes/5.28.2.md
index de0aaffd609764fb11eb5b1ac49a5312ee7d7190..c559f4b32422554c0ad39f5e235269e4a87b48a7 100644
--- a/civicrm/release-notes/5.28.2.md
+++ b/civicrm/release-notes/5.28.2.md
@@ -35,6 +35,6 @@ Dixon; Agileware - Justin Freeman
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.28.3.md b/civicrm/release-notes/5.28.3.md
index 4f83984cdae76ec0c3f70e3ec7d698d75b5a1362..908ca471048b31ef09caae226feabfd5f5051e3a 100644
--- a/civicrm/release-notes/5.28.3.md
+++ b/civicrm/release-notes/5.28.3.md
@@ -38,6 +38,6 @@ Interactive - Pradeep Nayak; Australian Greens - Andrew Cormick-Dockery
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.28.4.md b/civicrm/release-notes/5.28.4.md
index 6851eba8aed5ddaec6572adc7dea129f07b4572a..0af7c9d6648bcb1c9e397de2fff18bdf77c1296e 100644
--- a/civicrm/release-notes/5.28.4.md
+++ b/civicrm/release-notes/5.28.4.md
@@ -35,6 +35,6 @@ Tim Otten; Circle Interactive - Pradeep Nayak
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.29.0.md b/civicrm/release-notes/5.29.0.md
index 5548efbe97974ed88e2fd728556ce3d17bd37011..873c58ccbc933d6bc9443b993266681289ef1b77 100644
--- a/civicrm/release-notes/5.29.0.md
+++ b/civicrm/release-notes/5.29.0.md
@@ -1109,7 +1109,7 @@ Released September 2, 2020
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Justin Freeman;
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Justin Freeman;
 Christian Wach; Circle Interactive - Pradeep Nayak; CiviCoop - Jaap Jansma,
 Klaas Eikelboom; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku;
 Coop SymbioTIC - Mathieu Lutfy, Samuel Vanhove; Dave D; Fuzion - Jitendra
@@ -1134,6 +1134,6 @@ Karin Gerritsen; Third Sector Design - Michael McAndrew
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.29.1.md b/civicrm/release-notes/5.29.1.md
index 5ad7bbbc81d7e1354a4037380a65067d405af06d..b676689a5e6bfeb4305c5ab3c9c2d836c9f3ecb3 100644
--- a/civicrm/release-notes/5.29.1.md
+++ b/civicrm/release-notes/5.29.1.md
@@ -36,6 +36,6 @@ Interactive - Pradeep Nayak
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.3.0.md b/civicrm/release-notes/5.3.0.md
index f5bcd7ca76a43ec0b7121e6bac0483d2239f92dc..492341703e42b97a8f4f9316ab2eb5e04d667966 100644
--- a/civicrm/release-notes/5.3.0.md
+++ b/civicrm/release-notes/5.3.0.md
@@ -757,7 +757,7 @@ Released July 3, 2018
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Agileware - Alok Patel; applicado; Australian
+AGH Strategies - Andie Hunt; Agileware - Alok Patel; applicado; Australian
 Greens - Seamus Lee; Blackfly Solutions - Alan Dixon; CEDC - Laryn Kragt Bakker;
 Chris Burgess; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Sunil Pawar,
 Yashodha Chaku; CompuCorp - Camilo Rodriguez, Davi Alexandre, Debarshi Bhaumik,
@@ -782,6 +782,6 @@ Dutoit
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please login to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.3.2.md b/civicrm/release-notes/5.3.2.md
index f29b9f43072ae43123bacc72200001106499892f..1fe5a50295409e8d1762aea8519705022d1fc0e5 100644
--- a/civicrm/release-notes/5.3.2.md
+++ b/civicrm/release-notes/5.3.2.md
@@ -37,6 +37,6 @@ Kevin Cristiano; Wikimedia Foundation - Eileen McNaughton
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.30.0.md b/civicrm/release-notes/5.30.0.md
index a1086516cea7b24b625e783011093eb5448e9f85..7e6dedbc40ca52f785d7bee244af07cf3521143a 100644
--- a/civicrm/release-notes/5.30.0.md
+++ b/civicrm/release-notes/5.30.0.md
@@ -554,7 +554,7 @@ Released October 7, 2020
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Justin Freeman, Pengyi
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Justin Freeman, Pengyi
 Zhang; Circle Interactive - Pradeep Nayak; CiviCRM - Coleman Watts, Tim Otten;
 CiviDesk - Sunil Pawar, Yashodha Chaku; Dave D; Flinders University of South
 Australia - Tom Anderson; JMA Consulting - Monish Deb, Seamus Lee; John
@@ -574,6 +574,6 @@ Consulting - Aidan Saunders; Tadpole Collective - Kevin Cristiano
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.30.1.md b/civicrm/release-notes/5.30.1.md
index 28137c0e32816869d2dfd5d7bb59b8e3196f5af9..15d18a562476a92296c29a2e01dc07008160870d 100644
--- a/civicrm/release-notes/5.30.1.md
+++ b/civicrm/release-notes/5.30.1.md
@@ -36,6 +36,6 @@ Mathieu Lutfy; CiviCRM - Coleman Watts, Tim Otten; Artful Robot - Rich Lott; And
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.31.0.md b/civicrm/release-notes/5.31.0.md
index 0a48c513c5e0d39289b128e2aa24068095d9ad1f..ab766601cef35f25f96fdc5d10694f7198f250e6 100644
--- a/civicrm/release-notes/5.31.0.md
+++ b/civicrm/release-notes/5.31.0.md
@@ -1207,7 +1207,7 @@ Released November 4, 2020
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Justin Freeman; Bastien
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Justin Freeman; Bastien
 Ho; Blackfly Solutions - Alan Dixon; CEDC - Laryn Kragt Bakker; Christian Wach;
 Circle Interactive - Pradeep Nayak; CiviCRM - Coleman Watts, Tim Otten;
 CiviDesk - Sunil Pawar; CompuCorp - Camilo Rodriguez, Ivan; Coop SymbioTIC -
@@ -1230,6 +1230,6 @@ Wikimedia Foundation - Maggie Epps
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.31.1.md b/civicrm/release-notes/5.31.1.md
index b289c58e7d77c799455c94e474e32683937fc2a1..3055e0a57d59d12c0a3d985679f5453eb4d406c0 100644
--- a/civicrm/release-notes/5.31.1.md
+++ b/civicrm/release-notes/5.31.1.md
@@ -39,5 +39,5 @@ Agileware - Justin Freeman
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.32.0.md b/civicrm/release-notes/5.32.0.md
index 30b5aea16078515303b1d9cba0208c45566e5385..e8ea735c9c8a0b70560104e59896fdd2956fbc42 100644
--- a/civicrm/release-notes/5.32.0.md
+++ b/civicrm/release-notes/5.32.0.md
@@ -608,7 +608,7 @@ Released December 2, 2020
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Francis Whittle, Justin
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Francis Whittle, Justin
 Freeman, Pengyi Zhang; Andrew Thompson; Christian Wach; Circle Interactive -
 Pradeep Nayak; CiviCoop - Jaap Jansma; CiviCRM - Coleman Watts, Tim Otten;
 CiviDesk - Sunil Pawar, Yashodha Chaku; CiviFirst - John Kirk; CompuCorp -
@@ -632,6 +632,6 @@ Tadpole Collective - Kevin Cristiano;
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.32.1.md b/civicrm/release-notes/5.32.1.md
index e3c73db4040890cba0dbe95bccb3fce882270ddf..cce0fc8e92fa41a1b2ede8677ad55e7f13c53064 100644
--- a/civicrm/release-notes/5.32.1.md
+++ b/civicrm/release-notes/5.32.1.md
@@ -36,6 +36,6 @@ Matthew Wire; JMA Consulting - Seamus Lee; CiviCRM - Tim Otten, Coleman Watts; A
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.32.2.md b/civicrm/release-notes/5.32.2.md
index d4d5f0d051f817865fc2f7a2bf938b09b4a7dd35..06a6a3146d4408ade9982245f79a3c058e717907 100644
--- a/civicrm/release-notes/5.32.2.md
+++ b/civicrm/release-notes/5.32.2.md
@@ -38,6 +38,6 @@ Wach; Agileware - Justin Freeman; AGH Strategies - Alice Frumin
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.33.0.md b/civicrm/release-notes/5.33.0.md
index 28c075c7aa69f439c7668889d027e4a3fb0cf18e..271ddbcb1a73fba75e4c96b717633ff4921bf81e 100644
--- a/civicrm/release-notes/5.33.0.md
+++ b/civicrm/release-notes/5.33.0.md
@@ -556,7 +556,7 @@ Released January 6, 2021
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Alexy Mikhailichenko; Asylum Seekers
+AGH Strategies - Alice Frumin, Andie Hunt; Alexy Mikhailichenko; Asylum Seekers
 Centre; Bluehorn Digital - Matt Glaman; Christian Wach; CiviCRM - Coleman Watts,
 Tim Otten; CiviDesk - Sunil Pawar, Yashodha Chaku; CompuCorp - René Olivo; Coop
 SymbioTIC - Mathieu Lutfy, Samuel Vanhove; Dave D; enCircle Solutions Ltd. -
@@ -574,6 +574,6 @@ MJCO - Mikey O'Toole; Semper IT - Karin Gerritsen
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.33.1.md b/civicrm/release-notes/5.33.1.md
index d76990bde6d23756519d089587a2a0c869b53604..95688b9833d7e20fa6619e4378b3d863facdaf92 100644
--- a/civicrm/release-notes/5.33.1.md
+++ b/civicrm/release-notes/5.33.1.md
@@ -33,6 +33,6 @@ JMA Consulting - Seamus Lee; CiviCRM - Tim Otten; DignityUSA - Logan Bear
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.33.2.md b/civicrm/release-notes/5.33.2.md
index c98934340aee2c0687109c6040007ea982f212c4..d4f36e98e85853271f49f9c02435907031541b3a 100644
--- a/civicrm/release-notes/5.33.2.md
+++ b/civicrm/release-notes/5.33.2.md
@@ -32,6 +32,6 @@ Consulting - Seamus Lee; Dmitry Smirnov; CiviCRM - Tim Otten; Christian Wach
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.34.0.md b/civicrm/release-notes/5.34.0.md
index 70e3ec490696bf087f7d6011ec033cd067733b2c..ac84a6718a01880cd5e1593ee851719dbf2d26cd 100644
--- a/civicrm/release-notes/5.34.0.md
+++ b/civicrm/release-notes/5.34.0.md
@@ -851,7 +851,7 @@ Released February 3, 2021
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Francis Whittle;
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Francis Whittle;
 Bluehorn Digital - Matt Glaman; CEDC - Laryn Kragt Bakker; Christian Wach;
 CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Sunil Pawar, Yashodha Chaku;
 CompuCorp - Ahed; Coop SymbioTIC - Mathieu Lutfy; Dave D; Fuzion - Jitendra
@@ -870,6 +870,6 @@ Karin Gerritsen; Third Sector Design - Michael McAndrew
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.35.0.md b/civicrm/release-notes/5.35.0.md
index 44a9b4f7a94f3b1569556f349cb5e0898bed129c..fb3c2d1346a8652b34d16f9e0ccd6a50409f1780 100644
--- a/civicrm/release-notes/5.35.0.md
+++ b/civicrm/release-notes/5.35.0.md
@@ -641,7 +641,7 @@ Released March 3, 2021
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Justin Freeman;
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Justin Freeman;
 Christian Wach; CiviCoop - Jaap Jansma, Klaas Eikelboom; CiviCRM - Coleman
 Watts, Tim Otten; CiviDesk - Yashodha Chaku; CompuCorp - Ahed Eid; Coop
 SymbioTIC - Mathieu Lutfy; Dave D; ECOPLAN - Torben Bertram;  Freeform
@@ -659,6 +659,6 @@ O'Toole; StijnVanhandsaeme; Tadpole Collective - Kevin Cristiano
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.35.1.md b/civicrm/release-notes/5.35.1.md
index f539638e09e0f46d00e7d19468070de709875701..4b70c375d9fdec4a461d663a207d73663f0e5802 100644
--- a/civicrm/release-notes/5.35.1.md
+++ b/civicrm/release-notes/5.35.1.md
@@ -49,10 +49,10 @@ Gerritsen; Progressive Technology Project - Jamie McClelland; Megaphone Technolo
 Consulting - Jon Goldberg; MJW Consulting - Matthew Wire; MJCO - Mikey O'Toole; JMA
 Consulting - Seamus Lee, Monish Deb; Fuzion - Luke Stewart; Dmitry Smirnov; Dave D;
 CiviCRM - Tim Otten, Coleman Watts; Circle Interactive - Pradeep Nayak; Blackfly
-Solutions - Alan Dixon; Artful Robot - Rich Lott; AGH Strategies - Andrew Hunt
+Solutions - Alan Dixon; Artful Robot - Rich Lott; AGH Strategies - Andie Hunt
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.35.2.md b/civicrm/release-notes/5.35.2.md
index ba71f7fb9997730f6056ce1d0ef6f0cbb8a71017..cd6d5ed58806818b2344ff706f79d921498ede5f 100644
--- a/civicrm/release-notes/5.35.2.md
+++ b/civicrm/release-notes/5.35.2.md
@@ -34,6 +34,6 @@ JMA Consulting - Seamus Lee; CiviCRM - Coleman Watts;
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.36.0.md b/civicrm/release-notes/5.36.0.md
index 4d0423b56ca2ba37a249daab145883c61aed6cf4..02563b60dfc468a2068187be3ee802414e55663d 100644
--- a/civicrm/release-notes/5.36.0.md
+++ b/civicrm/release-notes/5.36.0.md
@@ -714,7 +714,7 @@ Released April 7, 2021
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Blackfly Solutions - Alan Dixon;
+AGH Strategies - Alice Frumin, Andie Hunt; Blackfly Solutions - Alan Dixon;
 CiviCoop - Jaap Jansma, Klaas Eikelboom; CiviCRM - Coleman Watts, Tim Otten;
 CompuCorp - Ahed Eid; Coop SymbioTIC - Mathieu Lutfy; Dave D; elinw; iXiam -
 Luciano Spiegel; J0WI; JMA Consulting - Monish Deb, Seamus Lee; lunar-debian;
@@ -733,6 +733,6 @@ Nicol Wistreich; Semper IT - Karin Gerritsen;
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.36.1.md b/civicrm/release-notes/5.36.1.md
index 5025300a5f22b431f2c3b551c0072f59d40c5412..4c85e6268024d19a1102bf1ce6217bd674d6b2a4 100644
--- a/civicrm/release-notes/5.36.1.md
+++ b/civicrm/release-notes/5.36.1.md
@@ -46,6 +46,6 @@ Tim Otten, Coleman Watts; Agileware - Justin Freeman
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.37.0.md b/civicrm/release-notes/5.37.0.md
index acbfd5e52837a835fd93666012c84df8ff7059cd..dd1056fc7b5593baaf56e1529e6cb62156bd1a95 100644
--- a/civicrm/release-notes/5.37.0.md
+++ b/civicrm/release-notes/5.37.0.md
@@ -1008,7 +1008,7 @@ Released May 5, 2021
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Justin Freeman; Alexy
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Justin Freeman; Alexy
 Mikhailichenko; Calibrate - Wouter Hechtermans; Christian Wach; Circle
 Interactive - Pradeep Nayak; CiviCoop - Jaap Jansma; CiviCRM - Coleman Watts,
 Tim Otten; CompuCorp - Ahed Eid; Coop SymbioTIC - Mathieu Lutfy, Samuel Vanhove;
@@ -1032,6 +1032,6 @@ Karin Gerritsen; Skvare - Sunil Pawar; Tadpole Collective - Kevin Cristiano
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.37.1.md b/civicrm/release-notes/5.37.1.md
index 023f7763256aec47b3b4322ac0b6f6fc2d470e98..9fb9b948a122dc5464396e9efea50158a86191eb 100644
--- a/civicrm/release-notes/5.37.1.md
+++ b/civicrm/release-notes/5.37.1.md
@@ -32,6 +32,6 @@ CiviCRM - Tim Otten; Adam Wood
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.37.2.md b/civicrm/release-notes/5.37.2.md
index 24ad9e523357768fac28cc39baac88f7f3e539cc..29497565d159bc7a492a6d45336d3f6d619b5698 100644
--- a/civicrm/release-notes/5.37.2.md
+++ b/civicrm/release-notes/5.37.2.md
@@ -32,6 +32,6 @@ Seamus Lee; CiviCRM - Tim Otten
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.38.0.md b/civicrm/release-notes/5.38.0.md
index cce28858c0aaa4deaa40a936ac49239f362c64cc..e96eae1ea0c68896e5b5248d37806cff6dbf8176 100644
--- a/civicrm/release-notes/5.38.0.md
+++ b/civicrm/release-notes/5.38.0.md
@@ -608,7 +608,7 @@ Released June 2, 2021
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Francis Whittle, Justin
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Francis Whittle, Justin
 Freeman; Benjamin W; Caltha - Tomasz Pietrzkowski; Christian Wach; CiviCoop -
 Jaap Jansma; CiviCRM - Coleman Watts, Tim Otten; CompuCorp - Ahed Eid, Omar Abu
 Hussein; Coop SymbioTIC - Mathieu Lutfy; Dave D; Francesc Bassas i Bullich;
@@ -630,6 +630,6 @@ Collective - Kevin Cristiano; Web Access - Kurund Jalmi
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.38.1.md b/civicrm/release-notes/5.38.1.md
index b876bfb9f1d92b4800871c4a45261910657095e7..f06f5e68c89392967732dba4184cd0da24180881 100644
--- a/civicrm/release-notes/5.38.1.md
+++ b/civicrm/release-notes/5.38.1.md
@@ -35,6 +35,6 @@ Pradeep Nayak; Agileware - Justin Freeman, Francis Whittle
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.39.0.md b/civicrm/release-notes/5.39.0.md
index d778cf51ce7e97d97459d9314b92bc61a944f83d..37bd8898366bad3cfff51cd12feb15e7839c8525 100644
--- a/civicrm/release-notes/5.39.0.md
+++ b/civicrm/release-notes/5.39.0.md
@@ -1045,7 +1045,7 @@ Released July 7, 2021
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Justin Freeman;
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Justin Freeman;
 Christian Wach; Circle Interactive - Pradeep Nayak; CiviCoop - Jaap Jansma;
 CiviCRM - Coleman Watts, Tim Otten; CompuCorp - Ahed Eid; Coop SymbioTIC -
 Mathieu Lutfy, Samuel Vanhove; Dave D; iXiam - Vangelis Pantazis; JMA
@@ -1068,6 +1068,6 @@ Organisationsberatung - Björn Endres; Tadpole Collective - Kevin Cristiano
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.4.0.md b/civicrm/release-notes/5.4.0.md
index c24fe772918dcfdd7e9a3f9dfa1375755d8709bc..6d6f95dd54b678ffdd8e8e974d1d332ca66dfa84 100644
--- a/civicrm/release-notes/5.4.0.md
+++ b/civicrm/release-notes/5.4.0.md
@@ -633,7 +633,7 @@ Released August 1, 2018
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Alok Patel; Australian
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Alok Patel; Australian
 Greens - Seamus Lee; Bastien Ho; Caltha - Tomasz Pietrzkowski; CiviCoop - Jaap
 Jansma; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CompuCorp -
 Camilo Rodriguez, Michael Devery, René Olivo, Vinu Varshith Sekar; Electronic
@@ -662,6 +662,6 @@ Technologies - Tunbola Ogunwande
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Andrew Hunt.  If you'd like to provide
+These release notes are edited by Andie Hunt.  If you'd like to provide
 feedback on them, please log in to https://chat.civicrm.org/civicrm and contact
 `@agh1`.
diff --git a/civicrm/release-notes/5.4.1.md b/civicrm/release-notes/5.4.1.md
index 3dac5b7a391d2e560e01365523d41b6eaf9315b2..d439c97fe50706f8be797b1d15794961d742a55d 100644
--- a/civicrm/release-notes/5.4.1.md
+++ b/civicrm/release-notes/5.4.1.md
@@ -44,6 +44,6 @@ McClelland; Wikimedia Foundation - Eileen McNaughton
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.40.0.md b/civicrm/release-notes/5.40.0.md
new file mode 100644
index 0000000000000000000000000000000000000000..9457fd3685c64a4565248e25648128ea6859eefc
--- /dev/null
+++ b/civicrm/release-notes/5.40.0.md
@@ -0,0 +1,818 @@
+# CiviCRM 5.40.0
+
+Released August 5, 2021
+
+- **[Synopsis](#synopsis)**
+- **[Features](#features)**
+- **[Bugs resolved](#bugs)**
+- **[Miscellany](#misc)**
+- **[Credits](#credits)**
+- **[Feedback](#feedback)**
+
+## <a name="synopsis"></a>Synopsis
+
+| *Does this version...?*                                         |         |
+|:--------------------------------------------------------------- |:-------:|
+| Fix security vulnerabilities?                                   |   no    |
+| **Change the database schema?**                                 | **yes** |
+| **Alter the API?**                                              | **yes** |
+| Require attention to configuration options?                     |   no    |
+| **Fix problems installing or upgrading to a previous version?** | **yes** |
+| **Introduce features?**                                         | **yes** |
+| **Fix bugs?**                                                   | **yes** |
+
+## <a name="features"></a>Features
+
+### Core CiviCRM
+
+- **Move check for presence of the phone strip function to a Check (currently
+  done whenever a phone number is edited)
+  ([dev/core#27](https://lab.civicrm.org/dev/core/-/issues/27):
+  [20757](https://github.com/civicrm/civicrm-core/pull/20757))**
+
+  CiviCRM relies on a MySQL function to generate a numeric-only version of phone
+  numbers.  This change adds a system check to ensure the function exists
+  instead of checking for the function each time a phone number is added or
+  edited.
+
+- **Add calling function to deprecatedWarning log message
+  ([20719](https://github.com/civicrm/civicrm-core/pull/20719))**
+
+  Improves logging.
+
+- **Add contact-summary-image region
+  ([20662](https://github.com/civicrm/civicrm-core/pull/20662))**
+
+  Adds a new region around the contact summary image.
+
+- **Replace extension key with description in 'Add New' tab
+  ([20720](https://github.com/civicrm/civicrm-core/pull/20720))**
+
+  Improves the "Extensions" -> "Add New" form user experience by displaying the
+  description below the extension name instead of the extension key.
+
+- **User experience improvement - Remove the confusing mixed terminology used to
+  describe Tags: "Tags (Categories)" and "Tag (Category)"
+  ([20268](https://github.com/civicrm/civicrm-core/pull/20268))**
+
+  Improves user experience by removing the term "Category" when referencing
+  tags.
+
+- **Improve output triggers when logged to file
+  ([20472](https://github.com/civicrm/civicrm-core/pull/20472))**
+
+  Improves output triggers when logged to a file by adding an asort, putting all
+  the triggers into an array keyed by the statement and opening and closing the
+  delimiters just once.
+
+- **Show smarty E-notices when in debug mode
+  ([20640](https://github.com/civicrm/civicrm-core/pull/20640))**
+
+  Improves the user experience in debug mode by showing php notices (e.g.
+  "undefined variable").
+
+- **Add pseudoconstant to acl_entity_role
+  ([20566](https://github.com/civicrm/civicrm-core/pull/20566))**
+
+  Adds a pseudoconstant for `acl_entity_role`.
+
+- **[php8-compact] Allow for CiviCRM to be installed by 3rd parties using
+  composer on php8 systems
+  ([20625](https://github.com/civicrm/civicrm-core/pull/20625))**
+
+  Makes it so sites can install and update CiviCRM via CLI when their CLI uses
+  PHP8.
+
+### Afform and SearchKit
+
+- **Searchkit display with event location data
+  ([dev/core#2676](https://lab.civicrm.org/dev/core/-/issues/2676):
+  [20746](https://github.com/civicrm/civicrm-core/pull/20746))**
+
+  Adds LocBlock entity to display event location data in SearchKit.
+
+- **SearchKit - Allow super admins to disable Search Display access checks
+  ([20607](https://github.com/civicrm/civicrm-core/pull/20607))**
+
+  Allows users with 'all CiviCRM permissions and ACLs' to configure a search
+  display to bypass permission checks and display all records to the user.
+
+- **SearchKit - Add translatable descriptions to entities
+  ([20598](https://github.com/civicrm/civicrm-core/pull/20598))**
+
+  Adds user-friendly descriptions to the top-level entities in SearchKit, and
+  makes it possible to add them to other entities as well.
+
+- **SearchKit - Show Pledge as a primary entity
+  ([20589](https://github.com/civicrm/civicrm-core/pull/20589))**
+
+  Shows Pledges as a primary entity in SearchKit, since it has its own tab on
+  the contact summary screen.
+
+- **SearchKit - Add ability to join on multi-select ContactRef fields
+  ([20764](https://github.com/civicrm/civicrm-core/pull/20764))**
+
+  Improves support for custom contact Reference fields in APIv4, SearchKit, and
+  Afform. Makes it possible to save, search for, and filter by serialized
+  (multi-select) custom Contact Reference fields.
+
+### API version 4
+
+- **Improve api consistency on custom field creation
+  ([20743](https://github.com/civicrm/civicrm-core/pull/20743))**
+
+  Makes it so the parameter "option_type" is not needed to create an
+  option_value in APIv4.
+
+- **APIv4 Explorer: show joins for write actions
+  ([20731](https://github.com/civicrm/civicrm-core/pull/20731))**
+
+  Displays information about joins for write operations in the API Explorer.
+
+- **APIv4 - Add `@since` annotation to each entity
+  ([20701](https://github.com/civicrm/civicrm-core/pull/20701))**
+
+  Adds since version for each entity to APIv4 code documentation.
+
+- **APIv4 - Allow FK dot notation in create/update/save actions
+  ([20677](https://github.com/civicrm/civicrm-core/pull/20677))**
+
+  Makes it possible to reference other entities during create without knowing
+  their ID when using the APIv4. Makes it easier to package entities e.g. with
+  civicrm_managed.
+
+- **APIv4 - Add filter for entity tags
+  ([20573](https://github.com/civicrm/civicrm-core/pull/20573))**
+
+  Adds a SearchKit/APIv4 filter for tags similar to the "groups" filter recently
+  added to SearchKit.
+
+- **APIv4 - add is_current as a pseudo (calculated) field
+  ([20586](https://github.com/civicrm/civicrm-core/pull/20586))**
+
+  Adds an "is_current" field to SearchKit for relationships, events & campaigns.
+  It checks that the record is active and has a non-past end date and a
+  non-future start date.
+
+- **APIv4 Explorer - When joining via EntityBridge, make bridge fields
+  selectable ([20721](https://github.com/civicrm/civicrm-core/pull/20721))**
+
+  Improves the APIv4 Explorer by displaying bridge fields.
+
+- **Canonize API for storing translated data (Work Towards
+  [dev/translation#67](https://lab.civicrm.org/dev/translation/-/issues/67):
+  [20606](https://github.com/civicrm/civicrm-core/pull/20606) and
+  [20584](https://github.com/civicrm/civicrm-core/pull/20584))**
+
+  Adds APIv4 support for the "Translation" entity. Allows translation of fields
+  which lack an explicit HTML type.
+
+- **Apiv4 entity parity
+  (Work Towards [dev/core#2486](https://lab.civicrm.org/dev/core/-/issues/2486):
+  [20553](https://github.com/civicrm/civicrm-core/pull/20553))**
+
+  Adds a foreign key on civicrm_contribution_product.product_id.
+
+### CiviContribute
+
+- **Move financialACLs to a core extension (Work Towards
+  [dev/core#2115](https://lab.civicrm.org/dev/core/-/issues/2115):
+  [20761](https://github.com/civicrm/civicrm-core/pull/20761),
+  [20762](https://github.com/civicrm/civicrm-core/pull/20762) and
+  [20769](https://github.com/civicrm/civicrm-core/pull/20769))**
+
+  Moves financial acl code out of APIv3 Contribution.create and assorted cleanup
+  towards moving the Financial ACL code to an extension.
+
+- **Proposal - make future recurring contribution instances modifiable & not
+  fail if the only contribution is deleted. (Work Towards
+  [dev/financial#6](https://lab.civicrm.org/dev/financial/-/issues/6):
+  [20452](https://github.com/civicrm/civicrm-core/pull/20452),
+  [20451](https://github.com/civicrm/civicrm-core/pull/20451) and
+  [20450](https://github.com/civicrm/civicrm-core/pull/20450))**
+
+  Work to make it possible to edit recurring contributions.
+
+- **Make Order api easier to use for default price set
+  ([20681](https://github.com/civicrm/civicrm-core/pull/20681))**
+
+  Improves the order api by making it not necessary to figure out the details of
+  the default price set when using it to create memberships.
+
+### CiviSMS
+
+- **Display SMS segment count when constructing a Mass SMS
+  ([dev/core#1711](https://lab.civicrm.org/dev/core/-/issues/1711):
+  [20722](https://github.com/civicrm/civicrm-core/pull/20722) and
+  [20220](https://github.com/civicrm/civicrm-core/pull/20220))**
+
+  Modifies the javascript that shows the character count when creating a SMS
+  message so that it also shows how many SMS segments are required to send the
+  message.
+
+### WordPress Integration
+
+- **Fail gracefully when errors are detected
+  ([251](https://github.com/civicrm/civicrm-wordpress/pull/251))**
+
+  Rewrites the error checking that the WordPress plugin performs and fails
+  gracefully instead of throwing fatal errors and making WordPress inoperable.
+  Introduces a "CiviCRM Troubleshooting" page to help diagnose and fix problems.
+
+## <a name="bugs"></a>Bugs resolved
+
+### Core CiviCRM
+
+- **Regression: Smart group rebuild in default config crashes cron
+  ([dev/core#2687](https://lab.civicrm.org/dev/core/-/issues/2687):
+  [20835](https://github.com/civicrm/civicrm-core/pull/20835))**
+
+- **Syntax errors when loading sample data
+  ([dev/drupal#161](https://lab.civicrm.org/dev/drupal/-/issues/161):
+  [20925](https://github.com/civicrm/civicrm-core/pull/20925))**
+
+- **During upgrade ConfigAndLog has errors about crm-l10n.js for every upgrade
+  step because assets aren't built during upgrade
+  ([dev/core#2666](https://lab.civicrm.org/dev/core/-/issues/2666):
+  [20890](https://github.com/civicrm/civicrm-core/pull/20890))**
+
+- **Exporting in localized civicrm crashes due to long translation for
+  preferred_mail_format varchar(8) field.
+  ([dev/core#2645](https://lab.civicrm.org/dev/core/-/issues/2645):
+  [20626](https://github.com/civicrm/civicrm-core/pull/20626))**
+
+- **failing update Smart Groups for installs with none
+  ([dev/core#2659](https://lab.civicrm.org/dev/core/-/issues/2659):
+  [20756](https://github.com/civicrm/civicrm-core/pull/20756))**
+
+- **Menu link for "New Tag" doesn't quite work
+  ([dev/core#2660](https://lab.civicrm.org/dev/core/-/issues/2660):
+  [20686](https://github.com/civicrm/civicrm-core/pull/20686))**
+
+  Points the "New Tag" menu link to form to create a new tag instead of "Manage
+  Tags" form.
+
+- **Special characters in password cause trouble.
+  ([dev/core#2663](https://lab.civicrm.org/dev/core/-/issues/2663):
+  [20713](https://github.com/civicrm/civicrm-core/pull/20713))**
+
+- **Upgrade to Nightly (5.40.alpha1) from Stable (5.38.1) fails with DB Error:
+  constraint violation
+  ([dev/core#2680](https://lab.civicrm.org/dev/core/-/issues/2680):
+  [20814](https://github.com/civicrm/civicrm-core/pull/20814))**
+
+- **[php8-compact] Add in more protection for unset variables in various smarty
+  templates ([20546](https://github.com/civicrm/civicrm-core/pull/20546) and
+  [20547](https://github.com/civicrm/civicrm-core/pull/20547))**
+
+- **Force cleanup of setting value type "checkboxes" when is empty
+  ([20600](https://github.com/civicrm/civicrm-core/pull/20600))**
+
+  Fixes a bug where custom settings of the type "checkboxes" with no checked
+  values were not saving to the database correctly.
+
+- **Fix activity_date_time_relative filter when `preserve_activity_tab_filter`
+  setting is on ([20602](https://github.com/civicrm/civicrm-core/pull/20602))**
+
+- **Support saving more than 25 records in Profile.submit api
+  ([20744](https://github.com/civicrm/civicrm-core/pull/20744))**
+
+- **Fix schema support for composite primary keys
+  ([20705](https://github.com/civicrm/civicrm-core/pull/20705))**
+
+- **Fix sorting for drop triggers
+  ([20693](https://github.com/civicrm/civicrm-core/pull/20693))**
+
+- **Fix Schema calculation of usePrefix to cope with rpow:
+  ([20471](https://github.com/civicrm/civicrm-core/pull/20471))**
+
+- **Fixed url ([20641](https://github.com/civicrm/civicrm-core/pull/20641))**
+
+- **Ensure custom group name does not conflict with existing field
+  ([20694](https://github.com/civicrm/civicrm-core/pull/20694))**
+
+- **Force the right path in github action script
+  ([20688](https://github.com/civicrm/civicrm-core/pull/20688))**
+
+  The original script ran in a repo called civicrm-regen, but because the name
+  of this repo is civicrm-core and hence the github workspace folder contains
+  the literal "civicrm-core" in it, the civicrm.config.php file determines that
+  this must be a composer install, and so it gets the path to
+  civicrm.settings.php wrong.
+
+- **Always assign mode to smarty
+  ([20664](https://github.com/civicrm/civicrm-core/pull/20664))**
+
+- **AngularLoader - Emit warning when setModules method is used.
+  ([20628](https://github.com/civicrm/civicrm-core/pull/20628))**
+
+  Emits a warning when extensions do something that could potentially cause
+  problems with other extensions.
+
+- **Throw exception when baoName is not found
+  ([20696](https://github.com/civicrm/civicrm-core/pull/20696) and
+  [20742](https://github.com/civicrm/civicrm-core/pull/20742))**
+
+- **Convert Notes to use option_group instead of hardcoded list
+  ([20554](https://github.com/civicrm/civicrm-core/pull/20554))**
+
+- **Fix a few more undefined template vars
+  ([20577](https://github.com/civicrm/civicrm-core/pull/20577) and
+  [20684](https://github.com/civicrm/civicrm-core/pull/20684))**
+
+- **CKEditor - Fix .tpl insertion on every form
+  ([20846](https://github.com/civicrm/civicrm-core/pull/20846))**
+
+- **Fix undefined tpl vars in CiviReport
+  ([20797](https://github.com/civicrm/civicrm-core/pull/20797))**
+
+- **smarty notice - title is only set for a list of existing report instances
+  ([20771](https://github.com/civicrm/civicrm-core/pull/20771))**
+
+- **smarty notice - confirm_message is usually irrelevant in report listings
+ ([20772](https://github.com/civicrm/civicrm-core/pull/20772))**
+
+- **Minor tpl simplificaiton, notice reduction
+  ([20663](https://github.com/civicrm/civicrm-core/pull/20663))**
+
+- **Fix undefined tpl variables on contact summary
+  ([20659](https://github.com/civicrm/civicrm-core/pull/20659))**
+
+- **Some php warnings on new case
+  ([20712](https://github.com/civicrm/civicrm-core/pull/20712))**
+
+- **Remove deprecated use of format money
+  ([20697](https://github.com/civicrm/civicrm-core/pull/20697))**
+
+- **Fix possibly undefined custom groupTree tpl variable
+  ([20737](https://github.com/civicrm/civicrm-core/pull/20737))**
+
+- **Fix undefined tpl vars on contact summary page
+  ([20754](https://github.com/civicrm/civicrm-core/pull/20754))**
+
+- **Tpl enotice fix
+  ([20735](https://github.com/civicrm/civicrm-core/pull/20735))**
+
+- **Fix undefined indexes in tpls
+  ([20781](https://github.com/civicrm/civicrm-core/pull/20781))**
+
+- **Enotice fix Remove references to savedFieldMapping in page 2 of the import
+  ([20738](https://github.com/civicrm/civicrm-core/pull/20738))**
+
+- **Fix undefined tpl vars on custom field page
+  ([20726](https://github.com/civicrm/civicrm-core/pull/20726))**
+
+- **Fix often undefined variable $row.class in tpl tables
+  ([20725](https://github.com/civicrm/civicrm-core/pull/20725))**
+
+- **Throw exception rather than allow php fail
+  ([20565](https://github.com/civicrm/civicrm-core/pull/20565))**
+
+  Throws an exception rather than allow php fail when the api class is not
+  found.
+
+- **Proposal - store metadata on membership renewal on line item (Work Towards
+  [dev/membership#29](https://lab.civicrm.org/dev/membership/-/issues/29):
+  [20672](https://github.com/civicrm/civicrm-core/pull/20672))**
+
+  Adds a new column to the civicrm_line_item table: membership_num_terms.
+
+### Afform and SearchKit
+
+- **Afform - cosmetic fixes in palette panel
+  ([20755](https://github.com/civicrm/civicrm-core/pull/20755))**
+
+- **Search-kit - declaring joins breaks deduping
+  ([dev/core#2656](https://lab.civicrm.org/dev/core/-/issues/2656):
+  [20631](https://github.com/civicrm/civicrm-core/pull/20631) and
+  [20639](https://github.com/civicrm/civicrm-core/pull/20639))**
+
+- **SearchKit - use primary_key info instead of assuming 'id'
+  ([20763](https://github.com/civicrm/civicrm-core/pull/20763))**
+
+  Fixes a bug in SearchKit when dealing with entities without "id" as their
+  primary key field.
+
+- **SearchKit - Remove automatic filter from address
+  ([20803](https://github.com/civicrm/civicrm-core/pull/20803))**
+
+  Usability fix for SearchKit - stops automatically add "Location Type" to the
+  search when joining with Address.
+
+- **OR term in WHERE clause crashes Search Kit
+  ([dev/report#71](https://lab.civicrm.org/dev/report/-/issues/71):
+  [20824](https://github.com/civicrm/civicrm-core/pull/20824))**
+
+  Fixes an error when saving or opening a search with an OR group in a clause.
+
+### API version 4
+
+- **APIv4 - Silently ignore non-permissioned fields instead of throwing
+  exceptions ([20724](https://github.com/civicrm/civicrm-core/pull/20724))**
+
+- **APIv4 - Fix same-table joins and remove unused code
+  ([20715](https://github.com/civicrm/civicrm-core/pull/20715))**
+
+- **APIv4 - Don't assume the identifier field for a table is named 'id'
+  ([20707](https://github.com/civicrm/civicrm-core/pull/20707) and
+  [20749](https://github.com/civicrm/civicrm-core/pull/20749))**
+
+- **APIv4 - Deprecate Entity::getLinks action
+  ([20727](https://github.com/civicrm/civicrm-core/pull/20727))**
+
+- **APIv4 - Deprecate passing 'id' to basic actions
+  ([20765](https://github.com/civicrm/civicrm-core/pull/20765))**
+
+- **APIv4 Explorer - Only apply default limit 25 for "get" action
+  ([20698](https://github.com/civicrm/civicrm-core/pull/20698))**
+
+- **Failing api4 test
+  api.v4.Action.CreateWithOptionGroupTest.testWithCustomDataForMultipleContacts
+  ([dev/core#2699](https://lab.civicrm.org/dev/core/-/issues/2699):
+  [20928](https://github.com/civicrm/civicrm-core/pull/20928))**
+
+### CiviCase
+
+- **Case Manager is not shown for closed cases.
+  ([dev/core#542](https://lab.civicrm.org/dev/core/-/issues/542) and
+  [dev/core#1947](https://lab.civicrm.org/dev/core/-/issues/1947):
+  [19737](https://github.com/civicrm/civicrm-core/pull/19737))**
+
+  Ensures inactive active case role are shown for closed cases.
+
+- **Some php warnings on case dashboard
+  ([20711](https://github.com/civicrm/civicrm-core/pull/20711))**
+
+- **smarty notice - case dashboard when no upcoming/recent cases
+  ([20770](https://github.com/civicrm/civicrm-core/pull/20770))**
+
+- **smarty notices - New case screen - Case.hlp
+  ([20795](https://github.com/civicrm/civicrm-core/pull/20795))**
+
+- **Error when sorting case roles table by end date
+  ([20728](https://github.com/civicrm/civicrm-core/pull/20728))**
+
+### CiviContribute
+
+- **Error submitting contribution form if ""is_monetary=0""
+  ([dev/wordpress#109](https://lab.civicrm.org/dev/wordpress/-/issues/109):
+  [#20929](https://github.com/civicrm/civicrm-core/pull/20929))**
+
+- **Can't remove previously-added currencies
+  ([dev/financial#175](https://lab.civicrm.org/dev/financial/-/issues/175):
+  [20627](https://github.com/civicrm/civicrm-core/pull/20627))**
+
+- **civicrm/payment/form url got empty currency argument in backoffice live CC
+  form ([dev/financial#150](https://lab.civicrm.org/dev/financial/-/issues/150):
+  [18517](https://github.com/civicrm/civicrm-core/pull/18517))**
+
+- **"Non-static method CRM_Financial_Form_BatchTransaction::links() should not
+  be called statically" when viewing accounting batch
+  ([dev/core#2647](https://lab.civicrm.org/dev/core/-/issues/2647):
+  [20691](https://github.com/civicrm/civicrm-core/pull/20691))**
+
+- **pre hook is not triggered for LineItem delete
+  ([dev/core#2657](https://lab.civicrm.org/dev/core/-/issues/2657):
+  [20644](https://github.com/civicrm/civicrm-core/pull/20644))**
+
+- **Undefined variable ids in CRM\Core\Payment\AuthorizeNetIPN.php
+  ([dev/core#2685](https://lab.civicrm.org/dev/core/-/issues/2685):
+  [20818](https://github.com/civicrm/civicrm-core/pull/20818))**
+
+- **Send pcp notification only when the contribution is completed
+  ([20523](https://github.com/civicrm/civicrm-core/pull/20523))**
+
+- **Add missing "View Recurring Contribution" link to contribution view
+  ([20750](https://github.com/civicrm/civicrm-core/pull/20750))**
+
+  Add missing "View Recurring Contribution" link to contribution view when
+  displaying line items.
+
+### CiviEvent
+
+- **Fix bug where only one participant registration is completed
+  ([20654](https://github.com/civicrm/civicrm-core/pull/20654))**
+
+### CiviMail
+
+- **Unwanted mail blast sent by Scheduled Reminders
+  ([dev/core#365](https://lab.civicrm.org/dev/core/-/issues/365):
+  [20432](https://github.com/civicrm/civicrm-core/pull/20432) and
+  [19973](https://github.com/civicrm/civicrm-core/pull/19973))**
+
+  Adds Effective start and end date to the Schedule Reminder UI.
+
+- **Specifying a "Selection Method" without a location type gives a DB error
+  ([dev/mail#96](https://lab.civicrm.org/dev/mail/-/issues/96):
+  [20536](https://github.com/civicrm/civicrm-core/pull/20536))**
+
+- **Mailing label prints name twice
+  ([dev/core#2681](https://lab.civicrm.org/dev/core/-/issues/2681):
+  [20783](https://github.com/civicrm/civicrm-core/pull/20783))**
+
+- **Fix invalid defaults for Mailing.update_email_resetdate API
+  ([20751](https://github.com/civicrm/civicrm-core/pull/20751))**
+
+- **Use mysql to set mailing.created_date
+  ([20630](https://github.com/civicrm/civicrm-core/pull/20630))**
+
+### Drupal Integration
+
+- **hook_civicrm_buildProfile not working on Drupal 8
+  ([dev/drupal#113](https://lab.civicrm.org/dev/drupal/-/issues/113):
+  [65](https://github.com/civicrm/civicrm-drupal-8/pull/65))**
+
+## <a name="misc"></a>Miscellany
+
+- **Unused smarty variable
+  ([20796](https://github.com/civicrm/civicrm-core/pull/20796))**
+
+- **Remove unreachable code from admin page
+  ([20642](https://github.com/civicrm/civicrm-core/pull/20642))**
+
+- **replace unnecessary function call with string literal
+  ([20634](https://github.com/civicrm/civicrm-core/pull/20634))**
+
+- **APIv4 - Remove POC code leftover from early alpha development
+  ([20709](https://github.com/civicrm/civicrm-core/pull/20709))**
+
+- **Move upgrade code to correct version
+  ([20643](https://github.com/civicrm/civicrm-core/pull/20643))**
+
+- **Move determination of priceSetID to the internal order class
+  ([20669](https://github.com/civicrm/civicrm-core/pull/20669))**
+
+- **CRM_Utils_Array::asColumns() - Add helper to rotate a matrix (from rows to
+  columns) ([20788](https://github.com/civicrm/civicrm-core/pull/20788))**
+
+- **CRM_Utils_Array - Implement pathUnset() method
+  ([20787](https://github.com/civicrm/civicrm-core/pull/20787))**
+
+- **Handle participant payment create in line item
+  ([20790](https://github.com/civicrm/civicrm-core/pull/20790))**
+
+- **APIv4 Explorer - Render joins using addJoin function in OOP
+  ([20723](https://github.com/civicrm/civicrm-core/pull/20723))**
+
+- **Deprecate duplicate getLoggedInContactID() function
+  ([20321](https://github.com/civicrm/civicrm-core/pull/20321))**
+
+- **Remove deprecated function
+  ([20760](https://github.com/civicrm/civicrm-core/pull/20760))**
+
+- **Hopefully fix time rollover problem in MessageTemplateTest
+  ([20714](https://github.com/civicrm/civicrm-core/pull/20714))**
+
+- **Extract feeBlock to it's own tpl
+  ([20679](https://github.com/civicrm/civicrm-core/pull/20679))**
+
+- **Deprecate passing in 'null' for tax
+  ([20671](https://github.com/civicrm/civicrm-core/pull/20671))**
+
+- **Add test validation for Membership & participant payments
+  ([20621](https://github.com/civicrm/civicrm-core/pull/20621))**
+
+- **Fix up on invalid test data
+  ([20667](https://github.com/civicrm/civicrm-core/pull/20667))**
+
+- **Fix test to use valid amounts
+  ([20668](https://github.com/civicrm/civicrm-core/pull/20668))**
+
+- **Fix test to use valid financials
+  ([20676](https://github.com/civicrm/civicrm-core/pull/20676))**
+
+- **Improve CustomGroupTest
+  ([20617](https://github.com/civicrm/civicrm-core/pull/20617))**
+
+- **Test cleanup - specify return
+  ([20570](https://github.com/civicrm/civicrm-core/pull/20570))**
+
+- **Clean up code to determine line items for membership batch entry
+  ([20779](https://github.com/civicrm/civicrm-core/pull/20779))**
+
+- **AssetBuilderTest - Raise threshold for timeout
+  ([20810](https://github.com/civicrm/civicrm-core/pull/20810))**
+
+- **Reduce test api calls with no 'return'
+  ([20574](https://github.com/civicrm/civicrm-core/pull/20574))**
+
+- **Fix BaseIPN test to (mostly) pass invalid financials checks
+  ([20785](https://github.com/civicrm/civicrm-core/pull/20785))**
+
+- **Fix test set up to user Order api
+  ([20780](https://github.com/civicrm/civicrm-core/pull/20780))**
+
+- **[REF] Membership api for v4 (Work Towards
+  [dev/core#2634](https://lab.civicrm.org/dev/core/-/issues/2634):
+  [20759](https://github.com/civicrm/civicrm-core/pull/20759))**
+
+- **[Ref] Remove (more) unreachable code from order api
+  ([20793](https://github.com/civicrm/civicrm-core/pull/20793))**
+
+- **[REF] Add in template guard for  not being always set as per html format
+  ([20747](https://github.com/civicrm/civicrm-core/pull/20747))**
+
+- **[REF] Remove isPayLater from membership batch screen
+  ([20396](https://github.com/civicrm/civicrm-core/pull/20396))**
+
+- **[REF] Extend testing on membership batch entry & minor cleanup
+  ([20394](https://github.com/civicrm/civicrm-core/pull/20394))**
+
+- **[REF] Fix trying to access array offset from boolean value
+  ([20734](https://github.com/civicrm/civicrm-core/pull/20734))**
+
+- **[REF] Alter new Setup process to use CiviCRM's Event Dispatcher
+  ([20717](https://github.com/civicrm/civicrm-core/pull/20717))**
+
+- **[REF] - Improve efficiency of APIv4 GetInfo
+  ([20708](https://github.com/civicrm/civicrm-core/pull/20708))**
+
+- **REF - Get Contact Summary tab counts after calling hook to avoid wasting
+  time ([20673](https://github.com/civicrm/civicrm-core/pull/20673))**
+
+- **[REF] Remove always false if
+  ([20653](https://github.com/civicrm/civicrm-core/pull/20653))**
+
+- **[REF] Extract CKEditor into its own core extension
+  ([20392](https://github.com/civicrm/civicrm-core/pull/20392))**
+
+- **(REF) crmUi - Support onCrmUiSelect for using select2 as a picklist
+  ([20789](https://github.com/civicrm/civicrm-core/pull/20789))**
+
+- **[REF] Tidy up param transforms
+  ([20778](https://github.com/civicrm/civicrm-core/pull/20778))**
+
+- **[REF] Follow up clean up - remove contribution_mode
+  ([20656](https://github.com/civicrm/civicrm-core/pull/20656))**
+
+- **[REF] Remove unnecessary variable wrangling in case roles section
+  ([20729](https://github.com/civicrm/civicrm-core/pull/20729))**
+
+- **[REF] Follow up fix to fixing note entity tables in views
+  ([144](https://github.com/civicrm/civicrm-backdrop/pull/144))**
+
+- **[REF] Follow up fix to fixing note entity tables in views
+  ([646](https://github.com/civicrm/civicrm-drupal/pull/646))**
+
+- **[NFC] - update code comment
+  ([20599](https://github.com/civicrm/civicrm-core/pull/20599))**
+
+- **[NFC] Fix test failure on MySQL8 because of lack of order in API
+  ([20605](https://github.com/civicrm/civicrm-core/pull/20605))**
+
+- **[NFC] [Test] Remove duplicate cleanup
+  ([20647](https://github.com/civicrm/civicrm-core/pull/20647))**
+
+- **[NFC] [TEST] cleanup, more use of return in ActivityTest
+  ([20633](https://github.com/civicrm/civicrm-core/pull/20633))**
+
+- **[NFC] Cleanup on membership test
+  ([20636](https://github.com/civicrm/civicrm-core/pull/20636))**
+
+- **[NFC] [Test] Remove duplicate cleanup
+  ([20637](https://github.com/civicrm/civicrm-core/pull/20637))**
+
+- **[NFC] Cleanup on contribution v3 api test
+  ([20638](https://github.com/civicrm/civicrm-core/pull/20638))**
+
+- **[NFC] Add in unit test to lock in the fix for the is_deleted in where clause
+  issue ([20733](https://github.com/civicrm/civicrm-core/pull/20733))**
+
+- **[NFC] Afform - Regenerate civix files
+  ([20615](https://github.com/civicrm/civicrm-core/pull/20615))**
+
+- **[NFC] Fix test setup on a couple of tests to make them pass in php8
+  ([20614](https://github.com/civicrm/civicrm-core/pull/20614))**
+
+- **[NFC] Update various npm depdencies used only in unit testing
+  ([20748](https://github.com/civicrm/civicrm-core/pull/20748))**
+
+- **[NFC] Improve use of return parameters in ContributionPage test class
+  ([20648](https://github.com/civicrm/civicrm-core/pull/20648))**
+
+- **[NFC] Unit test for 20602
+  ([20745](https://github.com/civicrm/civicrm-core/pull/20745))**
+
+- **[NFC] Remove boilerplate comment block from APIv4 classes
+  ([20700](https://github.com/civicrm/civicrm-core/pull/20700))**
+
+- **[NFC] Github action script to run regen.sh for you
+  ([20680](https://github.com/civicrm/civicrm-core/pull/20680))**
+
+- **[NFC] Regenerate ContributeProduct DAO and also fix search_kit install on
+  MySQL 5.6 on test boxes
+  ([20674](https://github.com/civicrm/civicrm-core/pull/20674))**
+
+- **[NFC] Fixes an issue in this unit test where we are trying to do an array
+  access on an integer
+  ([20652](https://github.com/civicrm/civicrm-core/pull/20652))**
+
+- **[NFC] [Test] Cleanup on membership type test
+  ([20649](https://github.com/civicrm/civicrm-core/pull/20649))**
+
+- **[NFC/Unit test] - Add a test for getCaseRoles when there's a lot of roles
+  assigned ([20657](https://github.com/civicrm/civicrm-core/pull/20657))**
+
+- **[NFC] [TEST] cleanup, more use of return in AddressTest
+  ([20635](https://github.com/civicrm/civicrm-core/pull/20635))**
+
+- **[NFC] [Test] Specify return values on get calls
+  ([20632](https://github.com/civicrm/civicrm-core/pull/20632))**
+
+- **[TEST][NFC] CiviCRM reaching MySQL join limit (Work Towards
+  [dev/core#1191](https://lab.civicrm.org/dev/core/-/issues/1191):
+  [20618](https://github.com/civicrm/civicrm-core/pull/20618) and
+  [20622](https://github.com/civicrm/civicrm-core/pull/20622))**
+
+- **[php8-compact][NFC] Update testGroupClause unit test to work on php8
+  ([20624](https://github.com/civicrm/civicrm-core/pull/20624))**
+
+- **[php8-compact][REF] Fix failing custom group test on php8 by better handling
+  strings in 2nd key of the extends array and also validating the child and main
+  entity work ([20616](https://github.com/civicrm/civicrm-core/pull/20616))**
+
+- **[php8-compact] Fix APIv4 Group Concat Test by setting dataType to be NULL if
+  the first expression is a SQL Function
+  ([20655](https://github.com/civicrm/civicrm-core/pull/20655))**
+
+- **[php8-compact]  Fix issues with participant message templates causing Event
+  Tests to fail ([20613](https://github.com/civicrm/civicrm-core/pull/20613))**
+
+- **[php8-compact] Add in guards into common templates to assit with fixing test
+  failures on php8
+  ([20543](https://github.com/civicrm/civicrm-core/pull/20543))**
+
+- **[php8-compact] Fix Array to String in formButtons in CRM_Core_FormTest
+  ([20608](https://github.com/civicrm/civicrm-core/pull/20608))**
+
+- **[php8-compact] Fix Event Form test for php8 by setting totalAmount in the
+  form params ([20623](https://github.com/civicrm/civicrm-core/pull/20623))**
+
+- **[php8-compat] Alternate to the alternate for testOpeningForms
+  ([20603](https://github.com/civicrm/civicrm-core/pull/20603))**
+
+- **[php8-compact] Fix apiv4 tests in php8 by not incrementing an array
+  ([20594](https://github.com/civicrm/civicrm-core/pull/20594))**
+
+- **[php8-compact] Further test fixes for php8
+  ([20597](https://github.com/civicrm/civicrm-core/pull/20597))**
+
+- **[php8-compact] Fix failing AuthorizeNetIPN tests on php8
+  ([20596](https://github.com/civicrm/civicrm-core/pull/20596))**
+
+- **[php8-compact] Fix failing CRM_Core_InvokeTest on php8
+  ([20595](https://github.com/civicrm/civicrm-core/pull/20595))**
+
+- **[php8-compact] Fix Session Test errors in php8
+  ([20593](https://github.com/civicrm/civicrm-core/pull/20593))**
+
+- **[php8-compact] Fix Case Activity Message Template to fix test failure in
+  php8 ([20592](https://github.com/civicrm/civicrm-core/pull/20592))**
+
+- **[php8-compact]  Fix PDF Letter Test by ensuring that all actual DB fields
+  are in the tokens array and also by resetting the static cache of tokens
+  ([20591](https://github.com/civicrm/civicrm-core/pull/20591))**
+
+- **[php8-compact] Add in guards into various templates to fix the
+  CRM_Contact_Form_IndividualTest suite
+  ([20579](https://github.com/civicrm/civicrm-core/pull/20579))**
+
+- **[php8-compact] Fixes test failures in the
+  CRM_Contribute_Form_ContributionTest class due to template issues
+  ([20581](https://github.com/civicrm/civicrm-core/pull/20581))**
+
+- **[php8-compact] Fix Dashboard Tests by adding in if guards into smarty
+  templates ([20575](https://github.com/civicrm/civicrm-core/pull/20575))**
+
+- **[php8-compact] Add in guards into various templates to fix issues in test
+  runs on php8 ([20544](https://github.com/civicrm/civicrm-core/pull/20544))**
+
+## <a name="credits"></a>Credits
+
+This release was developed by the following code authors:
+
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Francis Whittle, Justin
+Freeman; Akos Garai; Australian Greens - John Twyman; Blackfly Solutions - Alan
+Dixon; Christian Wach; Circle Interactive - Pradeep Nayak; CiviCoop - Jaap
+Jansma; CiviCRM - Coleman Watts, Tim Otten; CompuCorp - Debarshi Bhaumik; Dave
+D; Gokhalemethod- Sadashiv; iXiam - Luciano Spiegel; JMA Consulting - Monish
+Deb, Seamus Lee; Lemniscus - Noah Miller; Lighthouse Consulting and Design -
+Brian Shaughnessy; Megaphone Technology Consulting - Jon Goldberg; MJW
+Consulting - Matthew Wire; Skvare - Sunil Pawar; Wikimedia Foundation - Eileen
+McNaughton
+
+Most authors also reviewed code for this release; in addition, the following
+reviewers contributed their comments:
+
+Artful Robot - Rich Lott; Bob Silvern; CiviCoop - Klaas Eikelboom; CiviDesk -
+Yashodha Chaku; Coop SymbioTIC - Mathieu Lutfy; Freeform Solutions - Herb van
+den Dool; Fuzion - Jitendra Purohit; JMA Consulting - Joe Murray; Ray Wright;
+Semper IT - Karin Gerritsen; Squiffle Consulting - Aidan Saunders; Tadpole
+Collective - Kevin Cristiano; Tech To The People - Xavier Dutoit; Third Sector
+Design - Michael McAndrew; Web Access - Kurund Jalmi
+
+## <a name="feedback"></a>Feedback
+
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
+to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
+and contact `@agh1`.
diff --git a/civicrm/release-notes/5.5.0.md b/civicrm/release-notes/5.5.0.md
index 45bc0edc54c4fa66ef5bfd0c5608897b058bea0b..97982dc21cfd343fc0df22c37c462556400da500 100644
--- a/civicrm/release-notes/5.5.0.md
+++ b/civicrm/release-notes/5.5.0.md
@@ -778,7 +778,7 @@ of Contribution Detail report
 
 This release was developed by the following code authors:
 
-AGH Strategies - Andrew Hunt; Agileware - Alok Patel; Australian Greens - Seamus
+AGH Strategies - Andie Hunt; Agileware - Alok Patel; Australian Greens - Seamus
 Lee; Calibrate - Wannes De Roy; Caltha - Tomasz Pietrzkowski; Chris Burgess;
 CiviCoop - Jaap Jansma; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Sunil
 Pawar, Yashodha Chaku; CompuCorp - Camilo Rodriguez, Mukesh Ram; Coop SymbioTIC -
@@ -806,6 +806,6 @@ Bouman
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.5.1.md b/civicrm/release-notes/5.5.1.md
index 92644174f6ecab5bc2c6703af50a7cac6da68c6a..e96795b43f16df9c50192cc9334a0233ee73f1cc 100644
--- a/civicrm/release-notes/5.5.1.md
+++ b/civicrm/release-notes/5.5.1.md
@@ -34,6 +34,6 @@ Wikimedia Foundation - Eileen McNaughton
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.5.2.md b/civicrm/release-notes/5.5.2.md
index d6a0e770d7328f1588ac4303aeb2337e0f01bf59..fef160f1e0642d6cc10842669f5d0eac678f3647 100644
--- a/civicrm/release-notes/5.5.2.md
+++ b/civicrm/release-notes/5.5.2.md
@@ -34,6 +34,6 @@ McNaughton
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.5.3.md b/civicrm/release-notes/5.5.3.md
index cdb6587eb13458049ca94a0d468361da06f3720e..fd3ec1d177945e306a7f26feb419b1141d8af2e5 100644
--- a/civicrm/release-notes/5.5.3.md
+++ b/civicrm/release-notes/5.5.3.md
@@ -41,6 +41,6 @@ Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.6.0.md b/civicrm/release-notes/5.6.0.md
index b90d2861b4bc78f6a8bb9ee9a6d8b5347a890743..9ee222620c12afabd1dfa1b6e48f84c72c884bbf 100644
--- a/civicrm/release-notes/5.6.0.md
+++ b/civicrm/release-notes/5.6.0.md
@@ -564,7 +564,7 @@ Released October 3, 2018
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Andrew Thompson; Australian Greens -
+AGH Strategies - Alice Frumin, Andie Hunt; Andrew Thompson; Australian Greens -
 Seamus Lee; Calbasi - Joan Cervan Andreu; Calibrate - Wouter Hechtermans; Chris
 Burgess; Circle Interactive - Dave Jenkins; CiviCoop - Klaas Eikelboom; CiviCRM -
 Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CiviFirst - John Kirk;
@@ -586,6 +586,6 @@ Squiffle Consulting - Aidan Saunders
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.6.1.md b/civicrm/release-notes/5.6.1.md
index d37a45eb146be330fb123b4f531f85af0ddbd557..5db055a3af454d3d9227bad16cdf525caf04ebb6 100644
--- a/civicrm/release-notes/5.6.1.md
+++ b/civicrm/release-notes/5.6.1.md
@@ -62,6 +62,6 @@ Martin Castle; Australian Greens - Seamus Lee; Agileware - Justin Freeman
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.7.0.md b/civicrm/release-notes/5.7.0.md
index 74e6dc4d74c99c1cc51f74ca9ab3d4103819d326..69d8c9cd3a5afd9af0aa0fde47c31083d989908f 100644
--- a/civicrm/release-notes/5.7.0.md
+++ b/civicrm/release-notes/5.7.0.md
@@ -390,7 +390,7 @@ Released November 7, 2018
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Australian Greens - Seamus Lee;
+AGH Strategies - Alice Frumin, Andie Hunt; Australian Greens - Seamus Lee;
 CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CompuCorp -
 Mukesh Ram; Coop SymbioTIC - Mathieu Lutfy; JMA Consulting - Joe Murray;
 Lemniscus - Noah Miller; Megaphone Technology Consulting - Jon Goldberg; MJW
@@ -407,6 +407,6 @@ Consulting - Monish Deb; Joinery - Allen Shaw
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.7.1.md b/civicrm/release-notes/5.7.1.md
index 52ecc28ef33416dfcc10e3ad0f7c41a7cfc0f1e5..fb8fc783c44ef80a4846f4d3fa53443697dc5848 100644
--- a/civicrm/release-notes/5.7.1.md
+++ b/civicrm/release-notes/5.7.1.md
@@ -36,6 +36,6 @@ Watts; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.7.2.md b/civicrm/release-notes/5.7.2.md
index 2a1670b0c13781fbdec15b449647087be14a8bdf..20262771fd9c237b7da3d5d8ff88c0706f7e0bcd 100644
--- a/civicrm/release-notes/5.7.2.md
+++ b/civicrm/release-notes/5.7.2.md
@@ -36,6 +36,6 @@ Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.8.0.md b/civicrm/release-notes/5.8.0.md
index cc2a6ab60f9cc20a7a0d0e12246bc4f5ef548b7e..1dde5e09ce1f9b81324cdd48abfdbc98ee8b3c5c 100644
--- a/civicrm/release-notes/5.8.0.md
+++ b/civicrm/release-notes/5.8.0.md
@@ -844,7 +844,7 @@ Released December 5, 2018
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Alok Patel; Andrei
+AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Alok Patel; Andrei
 Mondoc; Australian Greens - Seamus Lee; calbasi.net - Joan Cervan Andreu; Caltha
 - Tomasz Pietrzkowski; CEDC - Laryn Kragt Bakker; Chris Burgess; Christian Wach;
 CiviCoop - Klaas Eikelboom; CiviCRM - Coleman Watts, Tim Otten; CiviDesk -
@@ -872,6 +872,6 @@ Cristiano; Tech To The People - Xavier Dutoit
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.8.1.md b/civicrm/release-notes/5.8.1.md
index 93e0be25902dbfff372e310ab052ba4128d14f33..6157d74a3d634bfd0fb525979663c96195146d39 100644
--- a/civicrm/release-notes/5.8.1.md
+++ b/civicrm/release-notes/5.8.1.md
@@ -50,6 +50,6 @@ Stewart; CiviCRM - Tim Otten, Coleman Watts; Australian Greens - Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.8.2.md b/civicrm/release-notes/5.8.2.md
index 59846ec6bb146c7f8f382644d29d54857e9a32f0..824ad77ce47673599a9372b09b0c491047e562e5 100644
--- a/civicrm/release-notes/5.8.2.md
+++ b/civicrm/release-notes/5.8.2.md
@@ -56,6 +56,6 @@ MJW Consulting - Matthew Wire; Wikimedia Foundation - Eileen McNaughton
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/release-notes/5.9.0.md b/civicrm/release-notes/5.9.0.md
index 44d1cb21d88ee4e54fd57a6bb5acaf6d222c3c8d..687ecddb1f92b0463f5fd52190fd82106fb2c6ca 100644
--- a/civicrm/release-notes/5.9.0.md
+++ b/civicrm/release-notes/5.9.0.md
@@ -634,7 +634,7 @@ Released January 2, 2019
 
 This release was developed by the following code authors:
 
-AGH Strategies - Alice Frumin, Andrew Hunt, Eli Lisseck; Agileware - Agileware
+AGH Strategies - Alice Frumin, Andie Hunt, Eli Lisseck; Agileware - Agileware
 Team, Francis Whittle; Australian Greens - Seamus Lee; Christian Wach; CiviCRM -
 Coleman Watts, Tim Otten; CompuCorp - Omar Abu Hussein; Coop SymbioTIC -
 Guillaume Boudrias, Mathieu Lutfy; Francesc Bassas i Bullich; Fuzion - Jitendra
@@ -654,6 +654,6 @@ Consulting - Jon Goldberg; Paul Barmak; Tadpole Collective - Kevin Cristiano
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Alice Frumin and Andrew Hunt.  If you'd like
+These release notes are edited by Alice Frumin and Andie Hunt.  If you'd like
 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
 and contact `@agh1`.
diff --git a/civicrm/release-notes/5.9.1.md b/civicrm/release-notes/5.9.1.md
index e97220c26c3e27adfa542e133decbc6cfbe1fa6f..c4ebf1ab3333920187fcd87ad836761931cd51ba 100644
--- a/civicrm/release-notes/5.9.1.md
+++ b/civicrm/release-notes/5.9.1.md
@@ -43,6 +43,6 @@ Seamus Lee
 
 ## <a name="feedback"></a>Feedback
 
-These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
 provide feedback on them, please login to https://chat.civicrm.org/civicrm and
 contact `@agh1`.
diff --git a/civicrm/setup/plugins/blocks/advanced.tpl.php b/civicrm/setup/plugins/blocks/advanced.tpl.php
index 52665827de2d3e4af241825552df2a4a2009705b..12531bed4b810b0a1a347b87f3a2965b6ecd61b9 100644
--- a/civicrm/setup/plugins/blocks/advanced.tpl.php
+++ b/civicrm/setup/plugins/blocks/advanced.tpl.php
@@ -12,14 +12,14 @@ endif; ?>
     <tr>
       <th><?php echo ts('CMS Database'); ?></th>
       <td>
-        <code><?php echo htmlentities('mysql://' . $model->cmsDb['username'] . ':HIDDEN@' . $model->cmsDb['server'] . '/' . $model->cmsDb['database']); ?></code>
+        <code><?php echo htmlentities(\Civi\Setup\DbUtil::encodeDsn(array_merge($model->cmsDb, ['password' => 'HIDDEN']))); ?></code>
       </td>
     </tr>
     <tr>
       <th><?php echo ts('CiviCRM Database'); ?></th>
       <td class="advanced-db">
         <div class="ro">
-          <code><?php echo htmlentities('mysql://' . $model->db['username'] . ':HIDDEN@' . $model->db['server'] . '/' . $model->db['database']); ?></code>
+          <code><?php echo htmlentities(\Civi\Setup\DbUtil::encodeDsn(array_merge($model->db, ['password' => 'HIDDEN']))); ?></code>
           <a href="" onclick="csj$('.advanced-db .ro').hide(); csj$('.advanced-db .rw').show(); return false;" title="<?php echo htmlentities(ts('Edit')) ?>"><i class="fa fa-pencil"></i></a>
         </div>
         <div class="rw" style="display: none;">
@@ -40,6 +40,7 @@ endif; ?>
           <p><?php echo ts('<strong>Example</strong>: <code>%1</code>', array(1 => 'mysql://admin:secret@localhost/civicrm')); ?></p>
           <p><?php echo ts('<strong>Example</strong>: <code>%1</code>', array(1 => 'mysql://admin:secret@127.0.0.1:3306/otherdb')); ?></p>
           <p><?php echo ts('<strong>Example</strong>: <code>%1</code>', array(1 => 'mysql://admin:secret@unix(/var/lib/mysql/mysql.sock)/otherdb')); ?></p>
+          <p><?php echo ts('Tip: This uses URL notation. If the credentials require any special characters (e.g. "&" or "#"), then apply URL encoding (e.g. "%26" or "%23").'); ?></p>
         </div>
       </td>
     </tr>
diff --git a/civicrm/setup/plugins/installFiles/InstallSettingsFile.civi-setup.php b/civicrm/setup/plugins/installFiles/InstallSettingsFile.civi-setup.php
index 447889a873210f837e73b0df7d5292a7abe0371f..8140f5d48db7000c657368170799555c696c90d0 100644
--- a/civicrm/setup/plugins/installFiles/InstallSettingsFile.civi-setup.php
+++ b/civicrm/setup/plugins/installFiles/InstallSettingsFile.civi-setup.php
@@ -74,10 +74,10 @@ if (!defined('CIVI_SETUP')) {
     // ??why is frontEnd=0??
     $params['frontEnd'] = 0;
     $params['baseURL'] = addslashes(rtrim($m->cmsBaseUrl, '/'));
-    $params['dbUser'] = addslashes($m->db['username']);
-    $params['dbPass'] = addslashes($m->db['password']);
-    $params['dbHost'] = addslashes($m->db['server']);
-    $params['dbName'] = addslashes($m->db['database']);
+    $params['dbUser'] = addslashes(urlencode($m->db['username']));
+    $params['dbPass'] = addslashes(urlencode($m->db['password']));
+    $params['dbHost'] = addslashes(implode(':', array_map('urlencode', explode(':', $m->db['server']))));
+    $params['dbName'] = addslashes(urlencode($m->db['database']));
     // The '&' prefix is awkward, but we don't know what's already in the file.
     // At the time of writing, it has ?new_link=true. If that is removed,
     // then need to update this.
@@ -86,10 +86,10 @@ if (!defined('CIVI_SETUP')) {
     // need to use %20 for spaces.
     $params['dbSSL'] = empty($m->db['ssl_params']) ? '' : addslashes('&' . http_build_query($m->db['ssl_params'], '', '&', PHP_QUERY_RFC3986));
     $params['cms'] = addslashes($m->cms);
-    $params['CMSdbUser'] = addslashes($m->cmsDb['username']);
-    $params['CMSdbPass'] = addslashes($m->cmsDb['password']);
-    $params['CMSdbHost'] = addslashes($m->cmsDb['server']);
-    $params['CMSdbName'] = addslashes($m->cmsDb['database']);
+    $params['CMSdbUser'] = addslashes(urlencode($m->cmsDb['username']));
+    $params['CMSdbPass'] = addslashes(urlencode($m->cmsDb['password']));
+    $params['CMSdbHost'] = addslashes(implode(':', array_map('urlencode', explode(':', $m->cmsDb['server']))));
+    $params['CMSdbName'] = addslashes(urlencode($m->cmsDb['database']));
     // The '&' prefix is awkward, but we don't know what's already in the file.
     // At the time of writing, it has ?new_link=true. If that is removed,
     // then need to update this.
diff --git a/civicrm/setup/src/Setup.php b/civicrm/setup/src/Setup.php
index 04dd426b2b3fb4eb033306c9655fe9021d4ab585..0ad56851d802b4c9f86d97e52b155a7587f99356 100644
--- a/civicrm/setup/src/Setup.php
+++ b/civicrm/setup/src/Setup.php
@@ -12,7 +12,7 @@ use Civi\Setup\Event\UninstallDatabaseEvent;
 use Civi\Setup\Event\UninstallFilesEvent;
 use Civi\Setup\Exception\InitException;
 use Psr\Log\NullLogger;
-use Symfony\Component\EventDispatcher\EventDispatcher;
+use Civi\Core\CiviEventDispatcher;
 
 class Setup {
 
@@ -70,7 +70,12 @@ class Setup {
     self::$instance = new Setup();
     self::$instance->model = new \Civi\Setup\Model();
     self::$instance->model->setValues($modelValues);
-    self::$instance->dispatcher = new EventDispatcher();
+    self::$instance->dispatcher = new CiviEventDispatcher();
+    self::$instance->dispatcher->setDispatchPolicy([
+      '/^civi\.setup\./' => 'run',
+      '/^civi\.setupui\./' => 'run',
+      '/./' => 'fail',
+    ]);
     self::$instance->log = $log ? $log : new NullLogger();
 
     $pluginDir = dirname(__DIR__) . '/plugins';
diff --git a/civicrm/setup/src/Setup/DbUtil.php b/civicrm/setup/src/Setup/DbUtil.php
index 6c23c251658c7ade05f8ae4cbbc96a8cf2ea2cf6..438fb708c96ace2c5e2cbc0b2e8bd0367cf1f097 100644
--- a/civicrm/setup/src/Setup/DbUtil.php
+++ b/civicrm/setup/src/Setup/DbUtil.php
@@ -10,7 +10,7 @@ class DbUtil {
    * @return array
    */
   public static function parseDsn($dsn) {
-    $parsed = parse_url($dsn);
+    $parsed = array_map('urldecode', parse_url($dsn));
     // parse_url parses 'mysql://admin:secret@unix(/var/lib/mysql/mysql.sock)/otherdb' like:
     // [
     //   'host'   => 'unix(',
@@ -37,18 +37,20 @@ class DbUtil {
   }
 
   /**
-   * @todo Is this used anywhere? It doesn't support SSL as-is.
-   * Convert an datasource from array notation to URL notation.
+   * Convert a datasource from array notation to URL notation.
+   *
+   * FIXME: Doesn't support SSL
    *
    * @param array $db
    * @return string
    */
   public static function encodeDsn($db) {
+    $escapedHostPort = implode(':', array_map('urlencode', explode(':', $db['server'])));
     return sprintf('mysql://%s:%s@%s/%s',
-      $db['username'],
-      $db['password'],
-      $db['server'],
-      $db['database']
+      urlencode($db['username']),
+      urlencode($db['password']),
+      $escapedHostPort,
+      urlencode($db['database'])
     );
   }
 
diff --git a/civicrm/sql/civicrm.mysql b/civicrm/sql/civicrm.mysql
index 01ba7e17507ca20cb07984401f426ef26bf24489..92195efaa3aaf845ff881d99b866b3ba35610617 100644
--- a/civicrm/sql/civicrm.mysql
+++ b/civicrm/sql/civicrm.mysql
@@ -3066,7 +3066,7 @@ CREATE TABLE `civicrm_mailing` (
   `msg_template_id` int unsigned COMMENT 'FK to the message template.',
   `override_verp` tinyint DEFAULT 0 COMMENT 'Overwrite the VERP address in Reply-To',
   `created_id` int unsigned COMMENT 'FK to Contact ID who first created this mailing',
-  `created_date` timestamp NULL DEFAULT NULL COMMENT 'Date and time this mailing was created.',
+  `created_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Date and time this mailing was created.',
   `modified_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'When the mailing (or closely related entity) was created or modified or deleted.',
   `scheduled_id` int unsigned COMMENT 'FK to Contact ID who scheduled this mailing',
   `scheduled_date` timestamp NULL DEFAULT NULL COMMENT 'Date and time this mailing was scheduled.',
@@ -3838,6 +3838,7 @@ CREATE TABLE `civicrm_contribution_product` (
   `comment` text,
   `financial_type_id` int unsigned DEFAULT NULL COMMENT 'FK to Financial Type(for membership price sets only).',
   PRIMARY KEY (`id`),
+  CONSTRAINT FK_civicrm_contribution_product_product_id FOREIGN KEY (`product_id`) REFERENCES `civicrm_product`(`id`) ON DELETE CASCADE,
   CONSTRAINT FK_civicrm_contribution_product_contribution_id FOREIGN KEY (`contribution_id`) REFERENCES `civicrm_contribution`(`id`) ON DELETE CASCADE,
   CONSTRAINT FK_civicrm_contribution_product_financial_type_id FOREIGN KEY (`financial_type_id`) REFERENCES `civicrm_financial_type`(`id`) ON DELETE SET NULL
 )
@@ -4105,6 +4106,7 @@ CREATE TABLE `civicrm_line_item` (
   `financial_type_id` int unsigned DEFAULT NULL COMMENT 'FK to Financial Type.',
   `non_deductible_amount` decimal(20,2) NOT NULL DEFAULT 0.0 COMMENT 'Portion of total amount which is NOT tax deductible.',
   `tax_amount` decimal(20,2) COMMENT 'tax of each item',
+  `membership_num_terms` int unsigned DEFAULT NULL COMMENT 'Number of terms for this membership (only supported in Order->Payment flow). If the field is NULL it means unknown and it will be assumed to be 1 during payment.create if entity_table is civicrm_membership',
   PRIMARY KEY (`id`),
   UNIQUE INDEX `UI_line_item_value`(entity_id, entity_table, contribution_id, price_field_value_id, price_field_id),
   CONSTRAINT FK_civicrm_line_item_contribution_id FOREIGN KEY (`contribution_id`) REFERENCES `civicrm_contribution`(`id`) ON DELETE SET NULL,
diff --git a/civicrm/sql/civicrm_data.mysql b/civicrm/sql/civicrm_data.mysql
index 20d17b9829c7c8ca2951f30c6644e1db1668dd91..fefd50328de1f71a258f2cc740c1b1b620dfc589 100644
--- a/civicrm/sql/civicrm_data.mysql
+++ b/civicrm/sql/civicrm_data.mysql
@@ -4774,6 +4774,7 @@ VALUES
    ('contact_reference_options'     , 'Contact Reference Autocomplete Options', NULL, 1, 1, 1),
    ('website_type'                  , 'Website Type'                       , NULL, 1, 1, 0),
    ('tag_used_for'                  , 'Tag Used For'                       , NULL, 1, 1, 1),
+   ('note_used_for'                 , 'Note Used For'                      , NULL, 1, 1, 1),
    ('currencies_enabled'            , 'Currencies Enabled'                 , NULL, 1, 1, 0),
    ('event_badge'                   , 'Event Name Badge'                   , NULL, 1, 1, 0),
    ('note_privacy'                  , 'Privacy levels for notes'           , NULL, 1, 1, 0),
@@ -4858,6 +4859,7 @@ SELECT @option_group_id_acsOpt         := max(id) from civicrm_option_group wher
 SELECT @option_group_id_acConRef       := max(id) from civicrm_option_group where name = 'contact_reference_options';
 SELECT @option_group_id_website        := max(id) from civicrm_option_group where name = 'website_type';
 SELECT @option_group_id_tuf            := max(id) from civicrm_option_group where name = 'tag_used_for';
+SELECT @option_group_id_nuf            := max(id) from civicrm_option_group where name = 'note_used_for';
 SELECT @option_group_id_currency       := max(id) from civicrm_option_group where name = 'currencies_enabled';
 SELECT @option_group_id_eventBadge     := max(id) from civicrm_option_group where name = 'event_badge';
 SELECT @option_group_id_notePrivacy    := max(id) from civicrm_option_group where name = 'note_privacy';
@@ -5274,7 +5276,7 @@ VALUES
   (@option_group_id_sfe, 'pptx',  16, 'pptx',   NULL, 0, 0, 16, NULL, 0, 0, 1, NULL, NULL, NULL),
 
   (@option_group_id_we, 'Textarea', 1, 'Textarea', NULL, 0, NULL, 1, NULL, 0, 1, 1, NULL, NULL, NULL),
-  (@option_group_id_we, 'CKEditor', 2, 'CKEditor', NULL, 0, NULL, 2, NULL, 0, 1, 1, NULL, NULL, NULL),
+  (@option_group_id_we, 'CKEditor 4', 2, 'CKEditor', NULL, 0, NULL, 2, NULL, 0, 1, 1, NULL, NULL, NULL),
 
   (@option_group_id_mt, 'Search Builder',      1, 'Search Builder',      NULL, 0, 0,    1, NULL, 0, 1, 1, NULL, NULL, NULL),
   (@option_group_id_mt, 'Import Contact',      2, 'Import Contact',      NULL, 0, 0,    2, NULL, 0, 1, 1, NULL, NULL, NULL),
@@ -5360,10 +5362,16 @@ VALUES
    (@option_group_id_website, 'Vine',  12, 'Vine ',  NULL, 0, NULL, 12, NULL, 0, 0, 1, NULL, NULL, NULL),
 
 -- Tag used for
-   (@option_group_id_tuf, 'Contacts',   'civicrm_contact',  'Contacts',     NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL, NULL),
-   (@option_group_id_tuf, 'Activities', 'civicrm_activity', 'Activities',   NULL, 0, NULL, 2, NULL, 0, 0, 1, NULL, NULL, NULL),
-   (@option_group_id_tuf, 'Cases',      'civicrm_case',     'Cases',        NULL, 0, NULL, 3, NULL, 0, 0, 1, NULL, NULL, NULL),
-   (@option_group_id_tuf, 'Attachments','civicrm_file',     'Attachements', NULL, 0, NULL, 4, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_tuf, 'Contacts',    'civicrm_contact',  'Contact',  NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_tuf, 'Activities',  'civicrm_activity', 'Activity', NULL, 0, NULL, 2, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_tuf, 'Cases',       'civicrm_case',     'Case',     NULL, 0, NULL, 3, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_tuf, 'Attachments', 'civicrm_file',     'File',     NULL, 0, NULL, 4, NULL, 0, 0, 1, NULL, NULL, NULL),
+
+-- Note used for
+   (@option_group_id_nuf, 'Contacts',      'civicrm_contact',      'Contact',      NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_nuf, 'Relationships', 'civicrm_relationship', 'Relationship', NULL, 0, NULL, 2, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_nuf, 'Participants',  'civicrm_participant',  'Participant',  NULL, 0, NULL, 3, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_nuf, 'Contributions', 'civicrm_contribution', 'Contribution', NULL, 0, NULL, 4, NULL, 0, 0, 1, NULL, NULL, NULL),
 
    (@option_group_id_currency, 'USD ($)',      'USD',     'USD',       NULL, 0, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL),
 
@@ -6534,16 +6542,16 @@ INSERT INTO civicrm_msg_template
 {ts}Activity Summary{/ts} - {$activityTypeName}
 ===========================================================
 {if !empty($isCaseActivity)}
-{ts}Your Case Role(s){/ts} : {$contact.role}
-{if $manageCaseURL}
+{ts}Your Case Role(s){/ts} : {$contact.role|default:\'\'}
+{if !empty($manageCaseURL)}
 {ts}Manage Case{/ts} : {$manageCaseURL}
 {/if}
 {/if}
 
-{if $editActURL}
+{if !empty($editActURL)}
 {ts}Edit activity{/ts} : {$editActURL}
 {/if}
-{if $viewActURL}
+{if !empty($viewActURL)}
 {ts}View activity{/ts} : {$viewActURL}
 {/if}
 
@@ -6555,6 +6563,7 @@ INSERT INTO civicrm_msg_template
 {/if}
 {/foreach}
 
+{if !empty($activity.customGroups)}
 {foreach from=$activity.customGroups key=customGroupName item=customGroup}
 ==========================================================
 {$customGroupName}
@@ -6568,6 +6577,7 @@ INSERT INTO civicrm_msg_template
 {/foreach}
 
 {/foreach}
+{/if}
 ', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -6576,100 +6586,101 @@ INSERT INTO civicrm_msg_template
 </head>
 <body>
 
-{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture}
-{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
-{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
+  {capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture}
+  {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
+  {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
 
-<center>
-  <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
+  <center>
+    <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
 
-  <!-- BEGIN HEADER -->
-  <!-- You can add table row(s) here with logo or other header elements -->
-  <!-- END HEADER -->
+    <!-- BEGIN HEADER -->
+    <!-- You can add table row(s) here with logo or other header elements -->
+    <!-- END HEADER -->
 
-  <!-- BEGIN CONTENT -->
+    <!-- BEGIN CONTENT -->
 
-  <tr>
-   <td>
-    <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
-     <tr>
-      <th {$headerStyle}>
-       {ts}Activity Summary{/ts} - {$activityTypeName}
-      </th>
-     </tr>
-     {if !empty($isCaseActivity)}
-      <tr>
-       <td {$labelStyle}>
-        {ts}Your Case Role(s){/ts}
-       </td>
-       <td {$valueStyle}>
-        {$contact.role}
-       </td>
-      </tr>
-      {if $manageCaseURL}
-       <tr>
-       <td colspan="2" {$valueStyle}>
-     <a href="{$manageCaseURL}" title="{ts}Manage Case{/ts}">{ts}Manage Case{/ts}</a>
-       </td>
-       </tr>
-      {/if}
-     {/if}
-     {if $editActURL}
-     <tr>
-       <td colspan="2" {$valueStyle}>
-   <a href="{$editActURL}" title="{ts}Edit activity{/ts}">{ts}Edit activity{/ts}</a>
-       </td>
-     </tr>
-     {/if}
-     {if $viewActURL}
-     <tr>
-       <td colspan="2" {$valueStyle}>
-   <a href="{$viewActURL}" title="{ts}View activity{/ts}">{ts}View activity{/ts}</a>
-       </td>
-     </tr>
-     {/if}
-     {foreach from=$activity.fields item=field}
       <tr>
-       <td {$labelStyle}>
-        {$field.label}{if !empty($field.category)}({$field.category}){/if}
-       </td>
-       <td {$valueStyle}>
-        {if $field.type eq \'Date\'}
-         {$field.value|crmDate:$config->dateformatDatetime}
-        {else}
-         {$field.value}
-        {/if}
-       </td>
-      </tr>
-     {/foreach}
+        <td>
+          <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
+            <tr>
+              <th {$headerStyle}>
+                {ts}Activity Summary{/ts} - {$activityTypeName}
+              </th>
+            </tr>
+            {if !empty($isCaseActivity)}
+              <tr>
+                <td {$labelStyle}>
+                  {ts}Your Case Role(s){/ts}
+                </td>
+                <td {$valueStyle}>
+                  {$contact.role|default:\'\'}
+                </td>
+              </tr>
+              {if !empty($manageCaseURL)}
+                <tr>
+                  <td colspan="2" {$valueStyle}>
+                    <a href="{$manageCaseURL}" title="{ts}Manage Case{/ts}">{ts}Manage Case{/ts}</a>
+                  </td>
+                </tr>
+              {/if}
+            {/if}
+            {if !empty($editActURL)}
+              <tr>
+                <td colspan="2" {$valueStyle}>
+                  <a href="{$editActURL}" title="{ts}Edit activity{/ts}">{ts}Edit activity{/ts}</a>
+                </td>
+              </tr>
+            {/if}
+            {if !empty($viewActURL)}
+              <tr>
+                <td colspan="2" {$valueStyle}>
+                  <a href="{$viewActURL}" title="{ts}View activity{/ts}">{ts}View activity{/ts}</a>
+                </td>
+              </tr>
+            {/if}
+            {foreach from=$activity.fields item=field}
+              <tr>
+                <td {$labelStyle}>
+                  {$field.label}{if !empty($field.category)}({$field.category}){/if}
+                </td>
+                <td {$valueStyle}>
+                  {if $field.type eq \'Date\'}
+                    {$field.value|crmDate:$config->dateformatDatetime}
+                  {else}
+                    {$field.value}
+                  {/if}
+                </td>
+              </tr>
+            {/foreach}
 
-     {foreach from=$activity.customGroups key=customGroupName item=customGroup}
-      <tr>
-       <th {$headerStyle}>
-        {$customGroupName}
-       </th>
-      </tr>
-      {foreach from=$customGroup item=field}
-       <tr>
-        <td {$labelStyle}>
-         {$field.label}
-        </td>
-        <td {$valueStyle}>
-         {if $field.type eq \'Date\'}
-          {$field.value|crmDate:$config->dateformatDatetime}
-         {else}
-          {$field.value}
-         {/if}
+            {if !empty($activity.customGroups)}
+              {foreach from=$activity.customGroups key=customGroupName item=customGroup}
+                <tr>
+                  <th {$headerStyle}>
+                    {$customGroupName}
+                  </th>
+                </tr>
+                {foreach from=$customGroup item=field}
+                  <tr>
+                    <td {$labelStyle}>
+                      {$field.label}
+                    </td>
+                    <td {$valueStyle}>
+                      {if $field.type eq \'Date\'}
+                        {$field.value|crmDate:$config->dateformatDatetime}
+                      {else}
+                        {$field.value}
+                      {/if}
+                    </td>
+                  </tr>
+                {/foreach}
+              {/foreach}
+            {/if}
+          </table>
         </td>
-       </tr>
-      {/foreach}
-     {/foreach}
+      </tr>
     </table>
-   </td>
-  </tr>
- </table>
-</center>
-
+  </center>
 </body>
 </html>
 ', 'case_activity', @tpl_ovid_case_activity, 1,          0),
@@ -6678,16 +6689,16 @@ INSERT INTO civicrm_msg_template
 {ts}Activity Summary{/ts} - {$activityTypeName}
 ===========================================================
 {if !empty($isCaseActivity)}
-{ts}Your Case Role(s){/ts} : {$contact.role}
-{if $manageCaseURL}
+{ts}Your Case Role(s){/ts} : {$contact.role|default:\'\'}
+{if !empty($manageCaseURL)}
 {ts}Manage Case{/ts} : {$manageCaseURL}
 {/if}
 {/if}
 
-{if $editActURL}
+{if !empty($editActURL)}
 {ts}Edit activity{/ts} : {$editActURL}
 {/if}
-{if $viewActURL}
+{if !empty($viewActURL)}
 {ts}View activity{/ts} : {$viewActURL}
 {/if}
 
@@ -6699,6 +6710,7 @@ INSERT INTO civicrm_msg_template
 {/if}
 {/foreach}
 
+{if !empty($activity.customGroups)}
 {foreach from=$activity.customGroups key=customGroupName item=customGroup}
 ==========================================================
 {$customGroupName}
@@ -6712,6 +6724,7 @@ INSERT INTO civicrm_msg_template
 {/foreach}
 
 {/foreach}
+{/if}
 ', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
@@ -6720,100 +6733,101 @@ INSERT INTO civicrm_msg_template
 </head>
 <body>
 
-{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture}
-{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
-{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
+  {capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture}
+  {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
+  {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
 
-<center>
-  <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
+  <center>
+    <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
 
-  <!-- BEGIN HEADER -->
-  <!-- You can add table row(s) here with logo or other header elements -->
-  <!-- END HEADER -->
+    <!-- BEGIN HEADER -->
+    <!-- You can add table row(s) here with logo or other header elements -->
+    <!-- END HEADER -->
 
-  <!-- BEGIN CONTENT -->
+    <!-- BEGIN CONTENT -->
 
-  <tr>
-   <td>
-    <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
-     <tr>
-      <th {$headerStyle}>
-       {ts}Activity Summary{/ts} - {$activityTypeName}
-      </th>
-     </tr>
-     {if !empty($isCaseActivity)}
-      <tr>
-       <td {$labelStyle}>
-        {ts}Your Case Role(s){/ts}
-       </td>
-       <td {$valueStyle}>
-        {$contact.role}
-       </td>
-      </tr>
-      {if $manageCaseURL}
-       <tr>
-       <td colspan="2" {$valueStyle}>
-     <a href="{$manageCaseURL}" title="{ts}Manage Case{/ts}">{ts}Manage Case{/ts}</a>
-       </td>
-       </tr>
-      {/if}
-     {/if}
-     {if $editActURL}
-     <tr>
-       <td colspan="2" {$valueStyle}>
-   <a href="{$editActURL}" title="{ts}Edit activity{/ts}">{ts}Edit activity{/ts}</a>
-       </td>
-     </tr>
-     {/if}
-     {if $viewActURL}
-     <tr>
-       <td colspan="2" {$valueStyle}>
-   <a href="{$viewActURL}" title="{ts}View activity{/ts}">{ts}View activity{/ts}</a>
-       </td>
-     </tr>
-     {/if}
-     {foreach from=$activity.fields item=field}
       <tr>
-       <td {$labelStyle}>
-        {$field.label}{if !empty($field.category)}({$field.category}){/if}
-       </td>
-       <td {$valueStyle}>
-        {if $field.type eq \'Date\'}
-         {$field.value|crmDate:$config->dateformatDatetime}
-        {else}
-         {$field.value}
-        {/if}
-       </td>
-      </tr>
-     {/foreach}
+        <td>
+          <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
+            <tr>
+              <th {$headerStyle}>
+                {ts}Activity Summary{/ts} - {$activityTypeName}
+              </th>
+            </tr>
+            {if !empty($isCaseActivity)}
+              <tr>
+                <td {$labelStyle}>
+                  {ts}Your Case Role(s){/ts}
+                </td>
+                <td {$valueStyle}>
+                  {$contact.role|default:\'\'}
+                </td>
+              </tr>
+              {if !empty($manageCaseURL)}
+                <tr>
+                  <td colspan="2" {$valueStyle}>
+                    <a href="{$manageCaseURL}" title="{ts}Manage Case{/ts}">{ts}Manage Case{/ts}</a>
+                  </td>
+                </tr>
+              {/if}
+            {/if}
+            {if !empty($editActURL)}
+              <tr>
+                <td colspan="2" {$valueStyle}>
+                  <a href="{$editActURL}" title="{ts}Edit activity{/ts}">{ts}Edit activity{/ts}</a>
+                </td>
+              </tr>
+            {/if}
+            {if !empty($viewActURL)}
+              <tr>
+                <td colspan="2" {$valueStyle}>
+                  <a href="{$viewActURL}" title="{ts}View activity{/ts}">{ts}View activity{/ts}</a>
+                </td>
+              </tr>
+            {/if}
+            {foreach from=$activity.fields item=field}
+              <tr>
+                <td {$labelStyle}>
+                  {$field.label}{if !empty($field.category)}({$field.category}){/if}
+                </td>
+                <td {$valueStyle}>
+                  {if $field.type eq \'Date\'}
+                    {$field.value|crmDate:$config->dateformatDatetime}
+                  {else}
+                    {$field.value}
+                  {/if}
+                </td>
+              </tr>
+            {/foreach}
 
-     {foreach from=$activity.customGroups key=customGroupName item=customGroup}
-      <tr>
-       <th {$headerStyle}>
-        {$customGroupName}
-       </th>
-      </tr>
-      {foreach from=$customGroup item=field}
-       <tr>
-        <td {$labelStyle}>
-         {$field.label}
-        </td>
-        <td {$valueStyle}>
-         {if $field.type eq \'Date\'}
-          {$field.value|crmDate:$config->dateformatDatetime}
-         {else}
-          {$field.value}
-         {/if}
+            {if !empty($activity.customGroups)}
+              {foreach from=$activity.customGroups key=customGroupName item=customGroup}
+                <tr>
+                  <th {$headerStyle}>
+                    {$customGroupName}
+                  </th>
+                </tr>
+                {foreach from=$customGroup item=field}
+                  <tr>
+                    <td {$labelStyle}>
+                      {$field.label}
+                    </td>
+                    <td {$valueStyle}>
+                      {if $field.type eq \'Date\'}
+                        {$field.value|crmDate:$config->dateformatDatetime}
+                      {else}
+                        {$field.value}
+                      {/if}
+                    </td>
+                  </tr>
+                {/foreach}
+              {/foreach}
+            {/if}
+          </table>
         </td>
-       </tr>
-      {/foreach}
-     {/foreach}
+      </tr>
     </table>
-   </td>
-  </tr>
- </table>
-</center>
-
+  </center>
 </body>
 </html>
 ', 'case_activity', @tpl_ovid_case_activity, 0,          1) ,      
@@ -7085,7 +7099,7 @@ INSERT INTO civicrm_msg_template
 {if !empty($receive_date)}
 {ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}
 {/if}
-{if $receipt_date}
+{if !empty($receipt_date)}
 {ts}Receipt Date{/ts}: {$receipt_date|truncate:10:\'\'|crmDate}
 {/if}
 {if !empty($formValues.paidBy) and empty($formValues.hidden_CreditCard)}
@@ -7148,7 +7162,7 @@ INSERT INTO civicrm_msg_template
 {if $formValues.product_sku}
 {ts}SKU{/ts}: {$formValues.product_sku}
 {/if}
-{if $fulfilled_date}
+{if !empty($fulfilled_date)}
 {ts}Sent{/ts}: {$fulfilled_date|crmDate}
 {/if}
 {/if}
@@ -7317,7 +7331,7 @@ INSERT INTO civicrm_msg_template
       </tr>
      {/if}
 
-      {if $receipt_date}
+      {if !empty($receipt_date)}
       <tr>
        <td {$labelStyle}>
         {ts}Receipt Date{/ts}
@@ -7457,7 +7471,7 @@ INSERT INTO civicrm_msg_template
         </td>
        </tr>
       {/if}
-      {if $fulfilled_date}
+      {if !empty($fulfilled_date)}
        <tr>
         <td {$labelStyle}>
          {ts}Sent{/ts}
@@ -7533,7 +7547,7 @@ INSERT INTO civicrm_msg_template
 {if !empty($receive_date)}
 {ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}
 {/if}
-{if $receipt_date}
+{if !empty($receipt_date)}
 {ts}Receipt Date{/ts}: {$receipt_date|truncate:10:\'\'|crmDate}
 {/if}
 {if !empty($formValues.paidBy) and empty($formValues.hidden_CreditCard)}
@@ -7596,7 +7610,7 @@ INSERT INTO civicrm_msg_template
 {if $formValues.product_sku}
 {ts}SKU{/ts}: {$formValues.product_sku}
 {/if}
-{if $fulfilled_date}
+{if !empty($fulfilled_date)}
 {ts}Sent{/ts}: {$fulfilled_date|crmDate}
 {/if}
 {/if}
@@ -7765,7 +7779,7 @@ INSERT INTO civicrm_msg_template
       </tr>
      {/if}
 
-      {if $receipt_date}
+      {if !empty($receipt_date)}
       <tr>
        <td {$labelStyle}>
         {ts}Receipt Date{/ts}
@@ -7905,7 +7919,7 @@ INSERT INTO civicrm_msg_template
         </td>
        </tr>
       {/if}
-      {if $fulfilled_date}
+      {if !empty($fulfilled_date)}
        <tr>
         <td {$labelStyle}>
          {ts}Sent{/ts}
@@ -14292,7 +14306,7 @@ You were registered by: {$payer.name}
 {if $value neq \'skip\'}
 {if !empty($isPrimary)}
 {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}
-{ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}
+{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}
 
 {/if}
 {/if}
@@ -15074,7 +15088,7 @@ You were registered by: {$payer.name}
 {if $value neq \'skip\'}
 {if !empty($isPrimary)}
 {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}
-{ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}
+{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}
 
 {/if}
 {/if}
@@ -16282,7 +16296,7 @@ Total: {$total|crmMoney:$currency|string_format:"%10s"}
 {$event.location.address.1.display|strip_tags:false}
 {/if}{*End of isShowLocation condition*}
 
-{if $event.location.phone.1.phone || $event.location.email.1.email}
+{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
 
 {ts}Event Contacts:{/ts}
 {foreach from=$event.location.phone item=phone}
@@ -16305,7 +16319,7 @@ Total: {$total|crmMoney:$currency|string_format:"%10s"}
 {$contact.email}
 {/if}
 
-{if $register_date}
+{if !empty($register_date)}
 {ts}Registration Date{/ts}: {$participant.register_date|crmDate}
 {/if}
 
@@ -16369,7 +16383,7 @@ Total: {$total|crmMoney:$currency|string_format:"%10s"}
       </tr>
      {/if}
 
-     {if $event.location.phone.1.phone || $event.location.email.1.email}
+     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
       <tr>
        <td colspan="2" {$labelStyle}>
         {ts}Event Contacts:{/ts}
@@ -16414,7 +16428,7 @@ Total: {$total|crmMoney:$currency|string_format:"%10s"}
       </tr>
      {/if}
 
-     {if $register_date}
+     {if !empty($register_date)}
       <tr>
        <td {$labelStyle}>
         {ts}Registration Date{/ts}
@@ -16460,7 +16474,7 @@ Total: {$total|crmMoney:$currency|string_format:"%10s"}
 {$event.location.address.1.display|strip_tags:false}
 {/if}{*End of isShowLocation condition*}
 
-{if $event.location.phone.1.phone || $event.location.email.1.email}
+{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
 
 {ts}Event Contacts:{/ts}
 {foreach from=$event.location.phone item=phone}
@@ -16483,7 +16497,7 @@ Total: {$total|crmMoney:$currency|string_format:"%10s"}
 {$contact.email}
 {/if}
 
-{if $register_date}
+{if !empty($register_date)}
 {ts}Registration Date{/ts}: {$participant.register_date|crmDate}
 {/if}
 
@@ -16547,7 +16561,7 @@ Total: {$total|crmMoney:$currency|string_format:"%10s"}
       </tr>
      {/if}
 
-     {if $event.location.phone.1.phone || $event.location.email.1.email}
+     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
       <tr>
        <td colspan="2" {$labelStyle}>
         {ts}Event Contacts:{/ts}
@@ -16592,7 +16606,7 @@ Total: {$total|crmMoney:$currency|string_format:"%10s"}
       </tr>
      {/if}
 
-     {if $register_date}
+     {if !empty($register_date)}
       <tr>
        <td {$labelStyle}>
         {ts}Registration Date{/ts}
@@ -17186,7 +17200,7 @@ or want to inquire about reinstating your registration for this event.{/ts}
 {$event.location.address.1.display|strip_tags:false}
 {/if}{*End of isShowLocation condition*}
 
-{if $event.location.phone.1.phone || $event.location.email.1.email}
+{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
 
 {ts}Event Contacts:{/ts}
 {foreach from=$event.location.phone item=phone}
@@ -17276,7 +17290,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p>
       </tr>
      {/if}
 
-     {if $event.location.phone.1.phone || $event.location.email.1.email}
+     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
       <tr>
        <td colspan="2" {$labelStyle}>
         {ts}Event Contacts:{/ts}
@@ -17371,7 +17385,7 @@ or want to inquire about reinstating your registration for this event.{/ts}
 {$event.location.address.1.display|strip_tags:false}
 {/if}{*End of isShowLocation condition*}
 
-{if $event.location.phone.1.phone || $event.location.email.1.email}
+{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
 
 {ts}Event Contacts:{/ts}
 {foreach from=$event.location.phone item=phone}
@@ -17461,7 +17475,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p>
       </tr>
      {/if}
 
-     {if $event.location.phone.1.phone || $event.location.email.1.email}
+     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
       <tr>
        <td colspan="2" {$labelStyle}>
         {ts}Event Contacts:{/ts}
@@ -17553,7 +17567,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p>
 {$event.location.address.1.display|strip_tags:false}
 {/if}{*End of isShowLocation condition*}
 
-{if $event.location.phone.1.phone || $event.location.email.1.email}
+{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
 
 {ts}Event Contacts:{/ts}
 {foreach from=$event.location.phone item=phone}
@@ -17639,7 +17653,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p>
       </tr>
      {/if}
 
-     {if $event.location.phone.1.phone || $event.location.email.1.email}
+     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
       <tr>
        <td colspan="2" {$labelStyle}>
         {ts}Event Contacts:{/ts}
@@ -17729,7 +17743,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p>
 {$event.location.address.1.display|strip_tags:false}
 {/if}{*End of isShowLocation condition*}
 
-{if $event.location.phone.1.phone || $event.location.email.1.email}
+{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
 
 {ts}Event Contacts:{/ts}
 {foreach from=$event.location.phone item=phone}
@@ -17815,7 +17829,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p>
       </tr>
      {/if}
 
-     {if $event.location.phone.1.phone || $event.location.email.1.email}
+     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
       <tr>
        <td colspan="2" {$labelStyle}>
         {ts}Event Contacts:{/ts}
@@ -23135,6 +23149,7 @@ INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_act
 INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'financialacls', 'Financial ACLs', 'Financial ACLs', 'financialacls', 1);
 INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'contributioncancelactions', 'Contribution cancel actions', 'Contribution cancel actions', 'contributioncancelactions', 1);
 INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'recaptcha', 'reCAPTCHA', 'reCAPTCHA', 'recaptcha', 1);
+INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'ckeditor4', 'CKEditor4', 'CKEditor4', 'ckeditor4', 1);
 
 -- +--------------------------------------------------------------------+
 -- | Copyright CiviCRM LLC. All rights reserved.                        |
@@ -23232,8 +23247,7 @@ VALUES
     ( @domainID, 'civicrm/import/activity?reset=1',                         'Import Activities',      'Import Activities',    'import contacts',  '',             @contactlastID, '1', '1',   8 ),
     ( @domainID, 'civicrm/group/add?reset=1',                               'New Group',              'New Group',            'edit groups',      '',             @contactlastID, '1', NULL,  9 ),
     ( @domainID, 'civicrm/group?reset=1',                                   'Manage Groups',          'Manage Groups',        'access CiviCRM',   '',             @contactlastID, '1', '1',   10 ),
-    ( @domainID, 'civicrm/tag?reset=1&action=add',                    'New Tag',                'New Tag',              'manage tags', '',           @contactlastID, '1', NULL, 11 ),
-    ( @domainID, 'civicrm/tag?reset=1',                               'Manage Tags (Categories)', 'Manage Tags (Categories)', 'manage tags', '',     @contactlastID, '1','1', 12 ),
+    ( @domainID, 'civicrm/tag?reset=1',                               'Manage Tags', 'Manage Tags (Categories)', 'manage tags', '',     @contactlastID, '1','1', 12 ),
     ( @domainID, 'civicrm/contact/deduperules?reset=1',  'Find and Merge Duplicate Contacts', 'Find and Merge Duplicate Contacts', 'administer dedupe rules,merge duplicate contacts', 'OR', @contactlastID, '1', NULL, 13 );
 
 INSERT INTO civicrm_navigation
@@ -23430,7 +23444,7 @@ INSERT INTO civicrm_navigation
 VALUES
     ( @domainID, 'civicrm/admin/custom/group?reset=1',      'Custom Fields', 'Custom Fields',                             'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 1 ),
     ( @domainID, 'civicrm/admin/uf/group?reset=1',          'Profiles', 'Profiles',                                       'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 2 ),
-    ( @domainID, 'civicrm/tag?reset=1',               'Tags (Categories)', 'Tags (Categories)',                     'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 3 ),
+    ( @domainID, 'civicrm/tag?reset=1',               'Tags', 'Tags (Categories)',                     'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 3 ),
     ( @domainID, 'civicrm/admin/options/activity_type?reset=1', 'Activity Types', 'Activity Types',   'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 4 ),
     ( @domainID, 'civicrm/admin/reltype?reset=1',           'Relationship Types', 'Relationship Types',                   'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 5 ),
     ( @domainID, 'civicrm/admin/options/subtype?reset=1',   'Contact Types','Contact Types',                              'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 6 ),
@@ -23940,4 +23954,4 @@ INSERT INTO `civicrm_report_instance`
     ( `domain_id`, `title`, `report_id`, `description`, `permission`, `form_values`)
 VALUES
     (  @domainID, 'Survey Details', 'survey/detail', 'Detailed report for canvassing, phone-banking, walk lists or other surveys.', 'access CiviReport', 'a:39:{s:6:"fields";a:2:{s:9:"sort_name";s:1:"1";s:6:"result";s:1:"1";}s:22:"assignee_contact_id_op";s:2:"eq";s:25:"assignee_contact_id_value";s:0:"";s:12:"sort_name_op";s:3:"has";s:15:"sort_name_value";s:0:"";s:17:"street_number_min";s:0:"";s:17:"street_number_max";s:0:"";s:16:"street_number_op";s:3:"lte";s:19:"street_number_value";s:0:"";s:14:"street_name_op";s:3:"has";s:17:"street_name_value";s:0:"";s:15:"postal_code_min";s:0:"";s:15:"postal_code_max";s:0:"";s:14:"postal_code_op";s:3:"lte";s:17:"postal_code_value";s:0:"";s:7:"city_op";s:3:"has";s:10:"city_value";s:0:"";s:20:"state_province_id_op";s:2:"in";s:23:"state_province_id_value";a:0:{}s:13:"country_id_op";s:2:"in";s:16:"country_id_value";a:0:{}s:12:"survey_id_op";s:2:"in";s:15:"survey_id_value";a:0:{}s:12:"status_id_op";s:2:"eq";s:15:"status_id_value";s:1:"1";s:11:"custom_1_op";s:2:"in";s:14:"custom_1_value";a:0:{}s:11:"custom_2_op";s:2:"in";s:14:"custom_2_value";a:0:{}s:17:"custom_3_relative";s:1:"0";s:13:"custom_3_from";s:0:"";s:11:"custom_3_to";s:0:"";s:11:"description";s:75:"Detailed report for canvassing, phone-banking, walk lists or other surveys.";s:13:"email_subject";s:0:"";s:8:"email_to";s:0:"";s:8:"email_cc";s:0:"";s:10:"permission";s:17:"access CiviReport";s:6:"groups";s:0:"";s:9:"domain_id";i:1;}');
-UPDATE civicrm_domain SET version = '5.39.1';
+UPDATE civicrm_domain SET version = '5.40.0';
diff --git a/civicrm/sql/civicrm_generated.mysql b/civicrm/sql/civicrm_generated.mysql
index 705a6621a984c582287084d9b5f4354ab8b996fc..2379cf40d2b1626a5fc1b5ef50a9a8862ef966f7 100644
--- a/civicrm/sql/civicrm_generated.mysql
+++ b/civicrm/sql/civicrm_generated.mysql
@@ -1,15 +1,16 @@
--- MySQL dump 10.19  Distrib 10.3.29-MariaDB, for Linux (x86_64)
+-- MySQL dump 10.13  Distrib 8.0.25, for Linux (x86_64)
 --
--- Host: localhost    Database: civicrm_regen_civi
+-- Host: 127.0.0.1    Database: dmastercivi_rfthw
 -- ------------------------------------------------------
--- Server version	10.3.29-MariaDB
+-- Server version	8.0.25-0ubuntu0.20.04.1
 
 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
 /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
 /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
-/*!40101 SET NAMES utf8mb4 */;
+/*!50503 SET NAMES utf8mb4 */;
 /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
 /*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
 /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
 /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
 /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
@@ -159,629 +160,629 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_activity` WRITE;
 /*!40000 ALTER TABLE `civicrm_activity` DISABLE KEYS */;
 INSERT INTO `civicrm_activity` (`id`, `source_record_id`, `activity_type_id`, `subject`, `activity_date_time`, `duration`, `location`, `phone_id`, `phone_number`, `details`, `status_id`, `priority_id`, `parent_id`, `is_test`, `medium_id`, `is_auto`, `relationship_id`, `is_current_revision`, `original_id`, `result`, `is_deleted`, `campaign_id`, `engagement_level`, `weight`, `is_star`, `created_date`, `modified_date`) VALUES
- (1,NULL,9,'Subject for Tell a Friend','2021-06-10 04:46:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (2,NULL,9,'Subject for Tell a Friend','2021-05-21 20:37:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (3,NULL,10,'Subject for Pledge Acknowledgment','2020-06-19 05:22:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (4,NULL,10,'Subject for Pledge Acknowledgment','2020-10-08 22:33:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (5,NULL,10,'Subject for Pledge Acknowledgment','2020-06-12 07:43:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (6,NULL,9,'Subject for Tell a Friend','2021-06-10 12:28:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (7,NULL,10,'Subject for Pledge Acknowledgment','2021-03-11 00:47:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (8,NULL,10,'Subject for Pledge Acknowledgment','2021-04-21 19:45:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (9,NULL,10,'Subject for Pledge Acknowledgment','2020-10-19 16:57:27',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (10,NULL,10,'Subject for Pledge Acknowledgment','2021-02-04 00:21:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (11,NULL,10,'Subject for Pledge Acknowledgment','2021-03-03 20:29:30',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (12,NULL,9,'Subject for Tell a Friend','2020-11-20 16:23:49',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (13,NULL,9,'Subject for Tell a Friend','2020-06-14 14:15:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (14,NULL,9,'Subject for Tell a Friend','2020-06-28 21:41:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (15,NULL,9,'Subject for Tell a Friend','2020-11-28 02:44:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (16,NULL,9,'Subject for Tell a Friend','2021-01-16 14:16:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (17,NULL,10,'Subject for Pledge Acknowledgment','2020-08-10 12:54:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (18,NULL,10,'Subject for Pledge Acknowledgment','2020-10-11 19:06:26',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (19,NULL,10,'Subject for Pledge Acknowledgment','2020-07-04 04:29:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (20,NULL,10,'Subject for Pledge Acknowledgment','2020-08-25 14:37:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (21,NULL,9,'Subject for Tell a Friend','2021-02-15 14:38:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (22,NULL,10,'Subject for Pledge Acknowledgment','2020-09-11 19:23:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (23,NULL,10,'Subject for Pledge Acknowledgment','2020-09-14 18:25:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (24,NULL,9,'Subject for Tell a Friend','2020-08-28 09:57:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (25,NULL,9,'Subject for Tell a Friend','2020-10-09 00:59:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (26,NULL,10,'Subject for Pledge Acknowledgment','2020-11-09 04:59:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (27,NULL,9,'Subject for Tell a Friend','2021-03-05 10:29:40',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (28,NULL,10,'Subject for Pledge Acknowledgment','2020-07-07 19:06:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (29,NULL,10,'Subject for Pledge Acknowledgment','2021-05-03 07:46:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (30,NULL,9,'Subject for Tell a Friend','2021-01-14 10:39:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (31,NULL,9,'Subject for Tell a Friend','2020-11-12 11:48:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (32,NULL,9,'Subject for Tell a Friend','2020-12-01 21:30:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (33,NULL,9,'Subject for Tell a Friend','2021-02-17 19:00:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (34,NULL,10,'Subject for Pledge Acknowledgment','2020-07-31 05:16:09',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (35,NULL,9,'Subject for Tell a Friend','2020-10-05 16:10:49',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (36,NULL,10,'Subject for Pledge Acknowledgment','2020-06-25 04:42:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (37,NULL,10,'Subject for Pledge Acknowledgment','2020-09-11 14:03:12',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (38,NULL,10,'Subject for Pledge Acknowledgment','2020-11-27 16:55:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (39,NULL,10,'Subject for Pledge Acknowledgment','2020-09-03 15:14:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (40,NULL,10,'Subject for Pledge Acknowledgment','2020-08-05 02:08:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (41,NULL,9,'Subject for Tell a Friend','2021-04-16 04:24:34',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (42,NULL,9,'Subject for Tell a Friend','2020-11-10 20:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (43,NULL,9,'Subject for Tell a Friend','2020-08-18 13:36:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (44,NULL,10,'Subject for Pledge Acknowledgment','2020-08-24 12:05:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (45,NULL,9,'Subject for Tell a Friend','2021-02-23 17:45:34',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (46,NULL,10,'Subject for Pledge Acknowledgment','2021-02-28 09:28:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (47,NULL,9,'Subject for Tell a Friend','2020-12-24 20:32:26',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (48,NULL,9,'Subject for Tell a Friend','2021-03-29 18:34:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (49,NULL,9,'Subject for Tell a Friend','2020-07-21 07:00:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (50,NULL,10,'Subject for Pledge Acknowledgment','2020-07-11 01:07:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (51,NULL,9,'Subject for Tell a Friend','2020-11-27 23:42:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (52,NULL,9,'Subject for Tell a Friend','2021-02-17 23:09:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (53,NULL,9,'Subject for Tell a Friend','2021-01-03 05:49:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (54,NULL,10,'Subject for Pledge Acknowledgment','2021-03-16 01:55:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (55,NULL,10,'Subject for Pledge Acknowledgment','2021-02-13 04:29:43',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (56,NULL,9,'Subject for Tell a Friend','2020-08-01 02:21:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (57,NULL,9,'Subject for Tell a Friend','2021-03-28 07:36:34',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (58,NULL,9,'Subject for Tell a Friend','2020-07-14 18:38:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (59,NULL,10,'Subject for Pledge Acknowledgment','2021-05-24 01:00:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (60,NULL,9,'Subject for Tell a Friend','2020-09-28 03:55:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (61,NULL,10,'Subject for Pledge Acknowledgment','2020-09-05 16:13:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (62,NULL,10,'Subject for Pledge Acknowledgment','2021-01-07 01:57:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (63,NULL,10,'Subject for Pledge Acknowledgment','2020-10-16 13:51:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (64,NULL,9,'Subject for Tell a Friend','2021-01-28 00:32:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (65,NULL,10,'Subject for Pledge Acknowledgment','2021-06-10 07:25:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (66,NULL,9,'Subject for Tell a Friend','2021-06-03 07:18:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (67,NULL,10,'Subject for Pledge Acknowledgment','2020-08-05 05:37:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (68,NULL,10,'Subject for Pledge Acknowledgment','2021-04-30 07:58:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (69,NULL,9,'Subject for Tell a Friend','2020-09-25 19:38:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (70,NULL,10,'Subject for Pledge Acknowledgment','2020-12-14 06:26:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (71,NULL,10,'Subject for Pledge Acknowledgment','2021-01-08 07:30:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (72,NULL,9,'Subject for Tell a Friend','2020-12-15 13:53:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (73,NULL,9,'Subject for Tell a Friend','2021-01-13 05:50:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (74,NULL,9,'Subject for Tell a Friend','2021-02-27 15:02:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (75,NULL,10,'Subject for Pledge Acknowledgment','2020-07-31 00:41:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (76,NULL,9,'Subject for Tell a Friend','2020-07-31 21:44:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:10','2021-06-11 00:47:10'),
- (77,NULL,9,'Subject for Tell a Friend','2020-11-11 04:20:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (78,NULL,10,'Subject for Pledge Acknowledgment','2021-02-07 23:50:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (79,NULL,9,'Subject for Tell a Friend','2020-06-28 22:18:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (80,NULL,9,'Subject for Tell a Friend','2021-03-08 03:36:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (81,NULL,10,'Subject for Pledge Acknowledgment','2020-10-16 21:11:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (82,NULL,9,'Subject for Tell a Friend','2021-05-14 23:33:49',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (83,NULL,9,'Subject for Tell a Friend','2021-04-19 06:46:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (84,NULL,9,'Subject for Tell a Friend','2021-03-09 03:49:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (85,NULL,9,'Subject for Tell a Friend','2021-02-22 11:57:43',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (86,NULL,10,'Subject for Pledge Acknowledgment','2021-03-09 23:59:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (87,NULL,9,'Subject for Tell a Friend','2020-08-15 11:07:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (88,NULL,10,'Subject for Pledge Acknowledgment','2021-01-12 20:45:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (89,NULL,9,'Subject for Tell a Friend','2021-01-15 11:34:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (90,NULL,9,'Subject for Tell a Friend','2021-05-12 16:23:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (91,NULL,10,'Subject for Pledge Acknowledgment','2021-02-13 13:59:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (92,NULL,9,'Subject for Tell a Friend','2020-12-13 06:59:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (93,NULL,10,'Subject for Pledge Acknowledgment','2020-08-21 16:29:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (94,NULL,9,'Subject for Tell a Friend','2021-05-08 02:39:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (95,NULL,10,'Subject for Pledge Acknowledgment','2020-10-16 08:51:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (96,NULL,9,'Subject for Tell a Friend','2020-08-02 22:08:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (97,NULL,9,'Subject for Tell a Friend','2021-02-06 15:06:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (98,NULL,10,'Subject for Pledge Acknowledgment','2021-02-13 17:07:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (99,NULL,9,'Subject for Tell a Friend','2020-09-25 06:12:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (100,NULL,9,'Subject for Tell a Friend','2021-01-21 17:36:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (101,NULL,9,'Subject for Tell a Friend','2020-09-25 17:48:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (102,NULL,10,'Subject for Pledge Acknowledgment','2020-07-13 13:08:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (103,NULL,9,'Subject for Tell a Friend','2020-10-10 16:08:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (104,NULL,10,'Subject for Pledge Acknowledgment','2021-05-22 11:31:17',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (105,NULL,9,'Subject for Tell a Friend','2020-12-05 16:45:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (106,NULL,9,'Subject for Tell a Friend','2021-01-07 18:15:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (107,NULL,10,'Subject for Pledge Acknowledgment','2020-07-11 20:00:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (108,NULL,9,'Subject for Tell a Friend','2020-08-23 21:19:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (109,NULL,10,'Subject for Pledge Acknowledgment','2021-02-27 15:17:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (110,NULL,9,'Subject for Tell a Friend','2020-11-07 14:26:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (111,NULL,10,'Subject for Pledge Acknowledgment','2020-12-27 11:38:27',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (112,NULL,9,'Subject for Tell a Friend','2021-03-21 05:47:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (113,NULL,10,'Subject for Pledge Acknowledgment','2020-06-26 01:14:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (114,NULL,10,'Subject for Pledge Acknowledgment','2021-05-30 05:29:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (115,NULL,9,'Subject for Tell a Friend','2021-01-31 23:44:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (116,NULL,10,'Subject for Pledge Acknowledgment','2020-09-22 12:09:43',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (117,NULL,9,'Subject for Tell a Friend','2020-07-25 06:17:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (118,NULL,9,'Subject for Tell a Friend','2020-11-25 03:23:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (119,NULL,9,'Subject for Tell a Friend','2021-05-18 13:56:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (120,NULL,9,'Subject for Tell a Friend','2020-11-08 04:56:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (121,NULL,10,'Subject for Pledge Acknowledgment','2020-10-22 05:29:46',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (122,NULL,9,'Subject for Tell a Friend','2020-08-19 20:43:17',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (123,NULL,10,'Subject for Pledge Acknowledgment','2021-01-26 23:09:26',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (124,NULL,9,'Subject for Tell a Friend','2021-04-04 12:02:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (125,NULL,9,'Subject for Tell a Friend','2021-03-03 17:14:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (126,NULL,10,'Subject for Pledge Acknowledgment','2021-06-06 18:13:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (127,NULL,9,'Subject for Tell a Friend','2020-07-09 04:33:26',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (128,NULL,10,'Subject for Pledge Acknowledgment','2020-12-16 22:13:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (129,NULL,9,'Subject for Tell a Friend','2020-11-03 07:40:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (130,NULL,9,'Subject for Tell a Friend','2021-03-06 13:20:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (131,NULL,9,'Subject for Tell a Friend','2020-08-16 23:01:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (132,NULL,10,'Subject for Pledge Acknowledgment','2020-09-21 08:08:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (133,NULL,10,'Subject for Pledge Acknowledgment','2021-02-25 17:16:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (134,NULL,9,'Subject for Tell a Friend','2020-07-21 05:52:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (135,NULL,10,'Subject for Pledge Acknowledgment','2021-05-01 03:16:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (136,NULL,9,'Subject for Tell a Friend','2020-09-10 09:50:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (137,NULL,10,'Subject for Pledge Acknowledgment','2021-05-28 16:45:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (138,NULL,10,'Subject for Pledge Acknowledgment','2020-09-30 13:26:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (139,NULL,9,'Subject for Tell a Friend','2020-09-16 23:58:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (140,NULL,10,'Subject for Pledge Acknowledgment','2020-07-24 18:55:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (141,NULL,10,'Subject for Pledge Acknowledgment','2021-04-25 00:10:27',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (142,NULL,9,'Subject for Tell a Friend','2020-08-19 13:03:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (143,NULL,9,'Subject for Tell a Friend','2020-12-15 08:04:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (144,NULL,9,'Subject for Tell a Friend','2020-06-30 15:40:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (145,NULL,9,'Subject for Tell a Friend','2021-04-20 02:33:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (146,NULL,9,'Subject for Tell a Friend','2020-07-27 21:12:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (147,NULL,10,'Subject for Pledge Acknowledgment','2020-11-17 22:19:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (148,NULL,10,'Subject for Pledge Acknowledgment','2020-09-09 19:07:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (149,NULL,9,'Subject for Tell a Friend','2020-07-21 01:41:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (150,NULL,10,'Subject for Pledge Acknowledgment','2020-10-10 08:30:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (151,NULL,9,'Subject for Tell a Friend','2020-11-25 21:36:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (152,NULL,10,'Subject for Pledge Acknowledgment','2020-08-08 00:01:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (153,NULL,9,'Subject for Tell a Friend','2020-11-03 13:35:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (154,NULL,9,'Subject for Tell a Friend','2020-06-29 22:12:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (155,NULL,9,'Subject for Tell a Friend','2021-01-02 18:45:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (156,NULL,10,'Subject for Pledge Acknowledgment','2020-10-15 04:00:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (157,NULL,9,'Subject for Tell a Friend','2020-07-30 16:12:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (158,NULL,10,'Subject for Pledge Acknowledgment','2021-01-15 19:25:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (159,NULL,10,'Subject for Pledge Acknowledgment','2020-11-11 17:49:27',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (160,NULL,10,'Subject for Pledge Acknowledgment','2020-08-10 23:34:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (161,NULL,9,'Subject for Tell a Friend','2021-05-23 17:24:17',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (162,NULL,9,'Subject for Tell a Friend','2020-07-03 01:45:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (163,NULL,10,'Subject for Pledge Acknowledgment','2021-03-26 09:18:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (164,NULL,9,'Subject for Tell a Friend','2020-06-24 11:47:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (165,NULL,9,'Subject for Tell a Friend','2021-05-04 15:02:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (166,NULL,9,'Subject for Tell a Friend','2020-09-22 11:55:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (167,NULL,9,'Subject for Tell a Friend','2020-09-17 19:43:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (168,NULL,9,'Subject for Tell a Friend','2020-11-23 12:20:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (169,NULL,10,'Subject for Pledge Acknowledgment','2021-05-20 03:27:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (170,NULL,10,'Subject for Pledge Acknowledgment','2020-08-22 01:20:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (171,NULL,9,'Subject for Tell a Friend','2020-10-14 05:22:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (172,NULL,10,'Subject for Pledge Acknowledgment','2021-05-31 01:18:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (173,NULL,10,'Subject for Pledge Acknowledgment','2020-07-18 21:58:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (174,NULL,10,'Subject for Pledge Acknowledgment','2020-07-16 19:46:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (175,NULL,9,'Subject for Tell a Friend','2020-10-13 01:33:17',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (176,NULL,9,'Subject for Tell a Friend','2020-07-31 16:50:13',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (177,NULL,9,'Subject for Tell a Friend','2020-11-11 19:15:40',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (178,NULL,10,'Subject for Pledge Acknowledgment','2020-08-10 19:40:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (179,NULL,9,'Subject for Tell a Friend','2020-10-22 14:08:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (180,NULL,9,'Subject for Tell a Friend','2021-05-21 09:21:34',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (181,NULL,10,'Subject for Pledge Acknowledgment','2021-05-30 11:53:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (182,NULL,9,'Subject for Tell a Friend','2020-10-07 09:05:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (183,NULL,10,'Subject for Pledge Acknowledgment','2021-01-20 11:58:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (184,NULL,9,'Subject for Tell a Friend','2020-10-13 20:41:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (185,NULL,10,'Subject for Pledge Acknowledgment','2020-07-09 19:04:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (186,NULL,9,'Subject for Tell a Friend','2020-11-21 04:50:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (187,NULL,10,'Subject for Pledge Acknowledgment','2020-06-15 06:07:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (188,NULL,10,'Subject for Pledge Acknowledgment','2021-03-26 02:55:26',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (189,NULL,9,'Subject for Tell a Friend','2020-11-08 14:52:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (190,NULL,10,'Subject for Pledge Acknowledgment','2021-02-16 20:28:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (191,NULL,10,'Subject for Pledge Acknowledgment','2021-02-13 03:31:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (192,NULL,10,'Subject for Pledge Acknowledgment','2020-12-27 10:24:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (193,NULL,10,'Subject for Pledge Acknowledgment','2020-10-25 11:43:17',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (194,NULL,9,'Subject for Tell a Friend','2021-01-29 13:32:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (195,NULL,10,'Subject for Pledge Acknowledgment','2021-02-21 01:52:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (196,NULL,10,'Subject for Pledge Acknowledgment','2020-12-26 21:08:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (197,NULL,10,'Subject for Pledge Acknowledgment','2020-07-04 09:18:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (198,NULL,9,'Subject for Tell a Friend','2021-04-01 15:08:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (199,NULL,9,'Subject for Tell a Friend','2020-12-28 14:49:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (200,NULL,9,'Subject for Tell a Friend','2021-02-20 08:21:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (201,NULL,10,'Subject for Pledge Acknowledgment','2020-07-05 20:00:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (202,NULL,10,'Subject for Pledge Acknowledgment','2021-02-27 10:52:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (203,NULL,10,'Subject for Pledge Acknowledgment','2020-10-05 21:00:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (204,NULL,9,'Subject for Tell a Friend','2020-07-17 22:23:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (205,NULL,10,'Subject for Pledge Acknowledgment','2020-07-03 23:06:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (206,NULL,10,'Subject for Pledge Acknowledgment','2021-05-17 17:44:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (207,NULL,10,'Subject for Pledge Acknowledgment','2021-02-15 08:22:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (208,NULL,9,'Subject for Tell a Friend','2020-11-21 04:51:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (209,NULL,9,'Subject for Tell a Friend','2020-11-15 12:10:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (210,NULL,9,'Subject for Tell a Friend','2021-01-26 23:34:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (211,NULL,10,'Subject for Pledge Acknowledgment','2021-04-29 04:20:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (212,NULL,10,'Subject for Pledge Acknowledgment','2020-11-21 22:50:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (213,NULL,9,'Subject for Tell a Friend','2020-09-25 21:46:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (214,NULL,10,'Subject for Pledge Acknowledgment','2020-08-01 03:32:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (215,NULL,9,'Subject for Tell a Friend','2021-04-12 23:47:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (216,NULL,10,'Subject for Pledge Acknowledgment','2020-10-09 16:34:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (217,NULL,9,'Subject for Tell a Friend','2021-01-23 19:35:13',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (218,NULL,9,'Subject for Tell a Friend','2020-11-06 11:23:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (219,NULL,10,'Subject for Pledge Acknowledgment','2021-06-04 21:46:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (220,NULL,9,'Subject for Tell a Friend','2021-03-04 13:29:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (221,NULL,9,'Subject for Tell a Friend','2020-06-29 22:37:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (222,NULL,9,'Subject for Tell a Friend','2021-04-23 19:23:40',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (223,NULL,10,'Subject for Pledge Acknowledgment','2021-01-01 10:16:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (224,NULL,10,'Subject for Pledge Acknowledgment','2020-10-17 16:39:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (225,NULL,9,'Subject for Tell a Friend','2020-07-28 18:53:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (226,NULL,9,'Subject for Tell a Friend','2020-11-29 03:53:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (227,NULL,9,'Subject for Tell a Friend','2021-01-25 21:57:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (228,NULL,9,'Subject for Tell a Friend','2020-08-22 03:21:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (229,NULL,9,'Subject for Tell a Friend','2021-01-14 20:09:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (230,NULL,9,'Subject for Tell a Friend','2020-09-21 05:08:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (231,NULL,10,'Subject for Pledge Acknowledgment','2021-03-04 17:19:34',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (232,NULL,10,'Subject for Pledge Acknowledgment','2020-09-22 04:53:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (233,NULL,9,'Subject for Tell a Friend','2020-11-16 22:02:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (234,NULL,10,'Subject for Pledge Acknowledgment','2021-03-01 03:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (235,NULL,9,'Subject for Tell a Friend','2021-04-04 23:44:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (236,NULL,9,'Subject for Tell a Friend','2020-08-16 16:44:17',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (237,NULL,10,'Subject for Pledge Acknowledgment','2021-01-11 22:51:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (238,NULL,10,'Subject for Pledge Acknowledgment','2020-12-27 19:57:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (239,NULL,9,'Subject for Tell a Friend','2020-12-07 07:34:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (240,NULL,10,'Subject for Pledge Acknowledgment','2021-01-01 07:01:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (241,NULL,9,'Subject for Tell a Friend','2021-05-27 20:09:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (242,NULL,10,'Subject for Pledge Acknowledgment','2021-01-04 14:12:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (243,NULL,10,'Subject for Pledge Acknowledgment','2021-04-23 01:54:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (244,NULL,10,'Subject for Pledge Acknowledgment','2020-12-06 16:25:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (245,NULL,10,'Subject for Pledge Acknowledgment','2020-08-12 15:26:49',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (246,NULL,10,'Subject for Pledge Acknowledgment','2020-08-13 11:50:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (247,NULL,10,'Subject for Pledge Acknowledgment','2021-05-01 06:05:30',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (248,NULL,10,'Subject for Pledge Acknowledgment','2020-07-03 06:49:40',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (249,NULL,9,'Subject for Tell a Friend','2020-08-02 00:28:27',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (250,NULL,10,'Subject for Pledge Acknowledgment','2021-05-31 06:01:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (251,NULL,9,'Subject for Tell a Friend','2020-07-06 08:42:43',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (252,NULL,10,'Subject for Pledge Acknowledgment','2021-04-11 13:50:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (253,NULL,10,'Subject for Pledge Acknowledgment','2021-01-14 08:14:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (254,NULL,10,'Subject for Pledge Acknowledgment','2020-09-17 03:43:26',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (255,NULL,9,'Subject for Tell a Friend','2020-12-29 16:01:26',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (256,NULL,10,'Subject for Pledge Acknowledgment','2021-01-02 12:03:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (257,NULL,10,'Subject for Pledge Acknowledgment','2020-09-13 01:11:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (258,NULL,10,'Subject for Pledge Acknowledgment','2021-04-03 15:16:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (259,NULL,9,'Subject for Tell a Friend','2021-06-09 09:12:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (260,NULL,10,'Subject for Pledge Acknowledgment','2020-11-08 16:28:09',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (261,NULL,10,'Subject for Pledge Acknowledgment','2021-05-17 08:17:43',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (262,NULL,9,'Subject for Tell a Friend','2020-10-06 22:10:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (263,NULL,10,'Subject for Pledge Acknowledgment','2020-10-14 08:12:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (264,NULL,10,'Subject for Pledge Acknowledgment','2021-05-14 17:32:09',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (265,NULL,9,'Subject for Tell a Friend','2020-12-09 11:02:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (266,NULL,10,'Subject for Pledge Acknowledgment','2021-05-31 11:07:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (267,NULL,9,'Subject for Tell a Friend','2020-10-23 01:09:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (268,NULL,9,'Subject for Tell a Friend','2021-04-28 09:14:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (269,NULL,9,'Subject for Tell a Friend','2020-09-29 17:25:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (270,NULL,10,'Subject for Pledge Acknowledgment','2020-12-06 08:57:34',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (271,NULL,9,'Subject for Tell a Friend','2020-10-08 18:14:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (272,NULL,9,'Subject for Tell a Friend','2020-07-28 15:45:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (273,NULL,10,'Subject for Pledge Acknowledgment','2020-12-30 05:00:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (274,NULL,9,'Subject for Tell a Friend','2020-12-23 17:45:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (275,NULL,10,'Subject for Pledge Acknowledgment','2020-12-16 08:11:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (276,NULL,9,'Subject for Tell a Friend','2020-07-27 01:21:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (277,NULL,9,'Subject for Tell a Friend','2020-09-15 11:05:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (278,NULL,9,'Subject for Tell a Friend','2021-05-30 19:01:17',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (279,NULL,9,'Subject for Tell a Friend','2021-01-30 01:21:04',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (280,NULL,9,'Subject for Tell a Friend','2020-10-19 00:04:04',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (281,NULL,10,'Subject for Pledge Acknowledgment','2021-01-17 05:03:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (282,NULL,10,'Subject for Pledge Acknowledgment','2020-08-23 21:10:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (283,NULL,10,'Subject for Pledge Acknowledgment','2020-06-28 22:22:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (284,NULL,10,'Subject for Pledge Acknowledgment','2021-02-15 02:59:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (285,NULL,9,'Subject for Tell a Friend','2020-07-31 14:37:40',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (286,NULL,9,'Subject for Tell a Friend','2020-07-10 02:16:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (287,NULL,9,'Subject for Tell a Friend','2021-04-05 02:26:26',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (288,NULL,9,'Subject for Tell a Friend','2020-08-17 09:10:04',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (289,NULL,9,'Subject for Tell a Friend','2021-01-09 08:36:40',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (290,NULL,9,'Subject for Tell a Friend','2020-11-23 08:01:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (291,NULL,10,'Subject for Pledge Acknowledgment','2021-03-02 17:05:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (292,NULL,9,'Subject for Tell a Friend','2021-04-07 08:01:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (293,NULL,9,'Subject for Tell a Friend','2021-04-23 20:14:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (294,NULL,9,'Subject for Tell a Friend','2020-07-23 15:55:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (295,NULL,9,'Subject for Tell a Friend','2021-03-03 12:10:13',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (296,NULL,9,'Subject for Tell a Friend','2020-10-27 16:15:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (297,NULL,9,'Subject for Tell a Friend','2020-11-15 23:39:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (298,NULL,10,'Subject for Pledge Acknowledgment','2021-02-24 01:16:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (299,NULL,10,'Subject for Pledge Acknowledgment','2020-07-13 22:58:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (300,NULL,10,'Subject for Pledge Acknowledgment','2020-12-15 22:48:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (301,NULL,10,'Subject for Pledge Acknowledgment','2020-12-10 05:10:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (302,NULL,10,'Subject for Pledge Acknowledgment','2020-10-18 08:07:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (303,NULL,9,'Subject for Tell a Friend','2020-10-07 19:00:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (304,NULL,10,'Subject for Pledge Acknowledgment','2020-07-07 08:02:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (305,NULL,10,'Subject for Pledge Acknowledgment','2020-08-08 03:11:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (306,NULL,10,'Subject for Pledge Acknowledgment','2020-08-08 01:20:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (307,NULL,9,'Subject for Tell a Friend','2020-06-26 03:42:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (308,NULL,10,'Subject for Pledge Acknowledgment','2020-06-16 22:14:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (309,NULL,10,'Subject for Pledge Acknowledgment','2021-04-17 17:59:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (310,NULL,9,'Subject for Tell a Friend','2020-07-18 08:39:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (311,NULL,10,'Subject for Pledge Acknowledgment','2021-05-31 08:03:09',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (312,NULL,9,'Subject for Tell a Friend','2020-09-09 22:57:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (313,NULL,10,'Subject for Pledge Acknowledgment','2021-03-22 07:57:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (314,NULL,10,'Subject for Pledge Acknowledgment','2020-10-02 00:20:09',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (315,NULL,9,'Subject for Tell a Friend','2020-08-14 11:33:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (316,NULL,9,'Subject for Tell a Friend','2021-01-10 09:21:09',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (317,NULL,9,'Subject for Tell a Friend','2020-10-11 04:29:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (318,NULL,10,'Subject for Pledge Acknowledgment','2021-03-28 04:30:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (319,NULL,10,'Subject for Pledge Acknowledgment','2020-06-25 22:24:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (320,NULL,10,'Subject for Pledge Acknowledgment','2021-04-01 18:29:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (321,NULL,10,'Subject for Pledge Acknowledgment','2021-03-03 14:49:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (322,NULL,10,'Subject for Pledge Acknowledgment','2020-07-04 00:51:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (323,NULL,10,'Subject for Pledge Acknowledgment','2020-08-30 05:22:12',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (324,NULL,9,'Subject for Tell a Friend','2021-01-24 14:39:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (325,NULL,10,'Subject for Pledge Acknowledgment','2020-07-13 17:32:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (326,NULL,9,'Subject for Tell a Friend','2020-07-08 15:53:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (327,NULL,9,'Subject for Tell a Friend','2020-11-08 15:44:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (328,NULL,9,'Subject for Tell a Friend','2020-10-26 08:40:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (329,NULL,9,'Subject for Tell a Friend','2020-06-14 09:15:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (330,NULL,9,'Subject for Tell a Friend','2021-05-24 22:58:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (331,NULL,9,'Subject for Tell a Friend','2021-01-14 02:39:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (332,NULL,10,'Subject for Pledge Acknowledgment','2020-10-10 07:10:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (333,NULL,9,'Subject for Tell a Friend','2021-03-28 01:49:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (334,NULL,10,'Subject for Pledge Acknowledgment','2020-09-26 15:34:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (335,NULL,9,'Subject for Tell a Friend','2020-07-28 14:47:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (336,NULL,9,'Subject for Tell a Friend','2021-05-20 19:11:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (337,NULL,9,'Subject for Tell a Friend','2020-08-27 11:06:34',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (338,NULL,10,'Subject for Pledge Acknowledgment','2021-05-16 21:08:40',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (339,NULL,9,'Subject for Tell a Friend','2020-12-24 10:54:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (340,NULL,10,'Subject for Pledge Acknowledgment','2020-06-23 23:28:12',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (341,NULL,10,'Subject for Pledge Acknowledgment','2021-03-30 20:59:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (342,NULL,10,'Subject for Pledge Acknowledgment','2020-10-06 22:25:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (343,NULL,9,'Subject for Tell a Friend','2020-06-19 11:24:09',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (344,NULL,10,'Subject for Pledge Acknowledgment','2021-05-24 06:59:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (345,NULL,9,'Subject for Tell a Friend','2020-11-23 17:37:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (346,NULL,9,'Subject for Tell a Friend','2021-02-28 10:15:39',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (347,NULL,10,'Subject for Pledge Acknowledgment','2020-07-02 17:14:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (348,NULL,10,'Subject for Pledge Acknowledgment','2021-01-18 20:00:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (349,NULL,9,'Subject for Tell a Friend','2020-07-27 08:27:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (350,NULL,9,'Subject for Tell a Friend','2021-02-01 05:08:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (351,NULL,10,'Subject for Pledge Acknowledgment','2020-09-16 12:36:30',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (352,NULL,9,'Subject for Tell a Friend','2021-03-12 00:19:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (353,NULL,9,'Subject for Tell a Friend','2020-12-16 17:54:46',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (354,NULL,9,'Subject for Tell a Friend','2021-01-22 13:03:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (355,NULL,10,'Subject for Pledge Acknowledgment','2021-03-10 01:28:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (356,NULL,9,'Subject for Tell a Friend','2020-08-24 20:47:12',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (357,NULL,10,'Subject for Pledge Acknowledgment','2020-12-28 11:15:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (358,NULL,9,'Subject for Tell a Friend','2020-09-13 07:35:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (359,NULL,9,'Subject for Tell a Friend','2020-10-11 20:46:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (360,NULL,9,'Subject for Tell a Friend','2020-12-15 23:29:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (361,NULL,9,'Subject for Tell a Friend','2020-07-09 16:47:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (362,NULL,9,'Subject for Tell a Friend','2021-03-21 20:20:40',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (363,NULL,10,'Subject for Pledge Acknowledgment','2021-05-12 12:47:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (364,NULL,10,'Subject for Pledge Acknowledgment','2021-04-22 00:59:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (365,NULL,9,'Subject for Tell a Friend','2021-04-15 00:19:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (366,NULL,10,'Subject for Pledge Acknowledgment','2020-07-05 09:03:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (367,NULL,9,'Subject for Tell a Friend','2020-08-01 01:16:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (368,NULL,10,'Subject for Pledge Acknowledgment','2021-05-05 17:58:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (369,NULL,10,'Subject for Pledge Acknowledgment','2020-09-10 09:07:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (370,NULL,10,'Subject for Pledge Acknowledgment','2020-10-19 07:59:09',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (371,NULL,10,'Subject for Pledge Acknowledgment','2021-04-23 23:00:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (372,NULL,10,'Subject for Pledge Acknowledgment','2020-10-07 15:57:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (373,NULL,10,'Subject for Pledge Acknowledgment','2020-11-12 15:52:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (374,NULL,10,'Subject for Pledge Acknowledgment','2020-08-03 14:27:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (375,NULL,10,'Subject for Pledge Acknowledgment','2020-09-11 14:50:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (376,NULL,9,'Subject for Tell a Friend','2021-04-02 00:36:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (377,NULL,9,'Subject for Tell a Friend','2020-09-17 13:10:12',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (378,NULL,9,'Subject for Tell a Friend','2021-05-28 08:09:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (379,NULL,9,'Subject for Tell a Friend','2021-04-03 22:05:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (380,NULL,9,'Subject for Tell a Friend','2021-04-06 02:16:09',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (381,NULL,10,'Subject for Pledge Acknowledgment','2021-02-10 11:27:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (382,NULL,10,'Subject for Pledge Acknowledgment','2021-01-29 13:40:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (383,NULL,10,'Subject for Pledge Acknowledgment','2021-04-04 08:40:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (384,NULL,10,'Subject for Pledge Acknowledgment','2021-02-08 21:59:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (385,NULL,10,'Subject for Pledge Acknowledgment','2021-03-22 04:51:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (386,NULL,10,'Subject for Pledge Acknowledgment','2020-09-11 06:46:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (387,NULL,9,'Subject for Tell a Friend','2021-05-27 18:56:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (388,NULL,9,'Subject for Tell a Friend','2020-09-26 10:46:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (389,NULL,9,'Subject for Tell a Friend','2020-09-10 09:52:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (390,NULL,9,'Subject for Tell a Friend','2020-09-17 13:34:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (391,NULL,9,'Subject for Tell a Friend','2021-04-13 05:32:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (392,NULL,9,'Subject for Tell a Friend','2020-10-21 17:14:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (393,NULL,10,'Subject for Pledge Acknowledgment','2020-12-28 08:23:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (394,NULL,10,'Subject for Pledge Acknowledgment','2021-05-05 22:26:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (395,NULL,10,'Subject for Pledge Acknowledgment','2020-10-11 22:11:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (396,NULL,9,'Subject for Tell a Friend','2020-06-27 10:36:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (397,NULL,10,'Subject for Pledge Acknowledgment','2020-07-18 13:49:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (398,NULL,9,'Subject for Tell a Friend','2020-09-01 15:34:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (399,NULL,10,'Subject for Pledge Acknowledgment','2020-06-15 12:42:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (400,NULL,10,'Subject for Pledge Acknowledgment','2020-08-01 11:21:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (401,NULL,9,'Subject for Tell a Friend','2021-04-23 16:47:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (402,NULL,9,'Subject for Tell a Friend','2020-10-25 04:32:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (403,NULL,9,'Subject for Tell a Friend','2020-08-14 10:09:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (404,NULL,9,'Subject for Tell a Friend','2020-08-01 15:58:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (405,NULL,10,'Subject for Pledge Acknowledgment','2020-09-13 19:01:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (406,NULL,9,'Subject for Tell a Friend','2021-04-23 08:24:09',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (407,NULL,9,'Subject for Tell a Friend','2021-04-26 04:02:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (408,NULL,9,'Subject for Tell a Friend','2020-12-02 23:59:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (409,NULL,10,'Subject for Pledge Acknowledgment','2021-06-03 18:27:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (410,NULL,10,'Subject for Pledge Acknowledgment','2020-06-20 22:18:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (411,NULL,10,'Subject for Pledge Acknowledgment','2021-05-08 03:05:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (412,NULL,10,'Subject for Pledge Acknowledgment','2021-03-29 02:34:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (413,NULL,9,'Subject for Tell a Friend','2020-10-27 01:36:27',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (414,NULL,10,'Subject for Pledge Acknowledgment','2020-10-05 22:10:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (415,NULL,10,'Subject for Pledge Acknowledgment','2020-07-21 13:48:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (416,NULL,9,'Subject for Tell a Friend','2020-11-27 15:37:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (417,NULL,9,'Subject for Tell a Friend','2021-05-08 09:36:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (418,NULL,10,'Subject for Pledge Acknowledgment','2020-09-07 12:20:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (419,NULL,10,'Subject for Pledge Acknowledgment','2020-12-31 02:40:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (420,NULL,10,'Subject for Pledge Acknowledgment','2020-10-07 16:58:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (421,NULL,9,'Subject for Tell a Friend','2020-12-02 14:15:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (422,NULL,10,'Subject for Pledge Acknowledgment','2020-10-14 15:38:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (423,NULL,10,'Subject for Pledge Acknowledgment','2020-12-03 21:11:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (424,NULL,9,'Subject for Tell a Friend','2020-07-05 00:17:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (425,NULL,9,'Subject for Tell a Friend','2020-11-07 23:28:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (426,NULL,10,'Subject for Pledge Acknowledgment','2021-03-04 01:05:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (427,NULL,9,'Subject for Tell a Friend','2021-04-20 19:41:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (428,NULL,10,'Subject for Pledge Acknowledgment','2020-11-03 03:32:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (429,NULL,10,'Subject for Pledge Acknowledgment','2021-02-25 04:28:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (430,NULL,10,'Subject for Pledge Acknowledgment','2021-02-27 18:57:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (431,NULL,10,'Subject for Pledge Acknowledgment','2020-12-30 20:00:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (432,NULL,10,'Subject for Pledge Acknowledgment','2020-07-25 20:31:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (433,NULL,9,'Subject for Tell a Friend','2020-07-23 22:55:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (434,NULL,10,'Subject for Pledge Acknowledgment','2020-09-15 17:14:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (435,NULL,10,'Subject for Pledge Acknowledgment','2021-04-24 06:51:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (436,NULL,9,'Subject for Tell a Friend','2021-02-25 23:10:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (437,NULL,10,'Subject for Pledge Acknowledgment','2020-09-04 17:08:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (438,NULL,10,'Subject for Pledge Acknowledgment','2020-11-24 12:07:13',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (439,NULL,10,'Subject for Pledge Acknowledgment','2020-11-04 06:24:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (440,NULL,10,'Subject for Pledge Acknowledgment','2020-06-25 04:05:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (441,NULL,9,'Subject for Tell a Friend','2021-04-03 07:40:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (442,NULL,9,'Subject for Tell a Friend','2020-10-14 14:36:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (443,NULL,9,'Subject for Tell a Friend','2021-03-29 15:22:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (444,NULL,10,'Subject for Pledge Acknowledgment','2021-04-26 04:05:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (445,NULL,9,'Subject for Tell a Friend','2020-07-27 10:51:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (446,NULL,10,'Subject for Pledge Acknowledgment','2021-05-19 07:55:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (447,NULL,10,'Subject for Pledge Acknowledgment','2020-09-22 16:37:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (448,NULL,9,'Subject for Tell a Friend','2020-12-21 20:34:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (449,NULL,10,'Subject for Pledge Acknowledgment','2021-04-05 07:25:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (450,NULL,10,'Subject for Pledge Acknowledgment','2021-06-07 23:01:26',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (451,1,6,'$ 125.00-Apr 2007 Mailer 1','2010-04-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (452,2,6,'$ 50.00-Online: Save the Penguins','2010-03-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (453,3,6,'$ 25.00-Apr 2007 Mailer 1','2010-04-29 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (454,4,6,'$ 50.00-Apr 2007 Mailer 1','2010-04-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (455,5,6,'$ 500.00-Apr 2007 Mailer 1','2010-04-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (456,6,6,'$ 175.00-Apr 2007 Mailer 1','2010-04-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (457,7,6,'$ 50.00-Online: Save the Penguins','2010-03-27 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (458,8,6,'$ 10.00-Online: Save the Penguins','2010-03-08 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (459,9,6,'$ 250.00-Online: Save the Penguins','2010-04-22 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (460,10,6,NULL,'2009-07-01 11:53:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (461,11,6,NULL,'2009-07-01 12:55:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (462,12,6,NULL,'2009-10-01 11:53:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (463,13,6,NULL,'2009-12-01 12:55:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (464,1,7,'General','2021-06-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (465,2,7,'Student','2021-06-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (466,3,7,'General','2021-06-09 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (467,4,7,'Student','2021-06-08 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (468,5,7,'Student','2020-06-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (469,6,7,'Student','2021-06-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (470,7,7,'General','2021-06-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (471,8,7,'Student','2021-06-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (472,9,7,'General','2021-06-03 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (473,10,7,'General','2019-03-31 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (474,11,7,'Lifetime','2021-06-01 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (475,12,7,'Student','2021-05-31 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (476,13,7,'General','2021-05-30 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (477,14,7,'Student','2021-05-29 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (478,15,7,'Student','2020-05-28 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (479,16,7,'Student','2021-05-27 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (480,17,7,'General','2021-05-26 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (481,18,7,'Student','2021-05-25 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (482,19,7,'General','2021-05-24 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (483,20,7,'Student','2020-05-23 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (484,21,7,'General','2021-05-22 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (485,22,7,'Lifetime','2021-05-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (486,23,7,'General','2021-05-20 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (487,24,7,'Student','2021-05-19 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (488,25,7,'General','2018-12-01 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (489,26,7,'Student','2021-05-17 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (490,27,7,'General','2021-05-16 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (491,28,7,'Student','2021-05-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (492,29,7,'General','2021-05-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (493,30,7,'Student','2020-05-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (494,14,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (495,15,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (496,16,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (497,17,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (498,18,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (499,19,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (500,20,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (501,21,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (502,22,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (503,23,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (504,24,6,'$ 1200.00 - Lifetime Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (505,25,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (506,26,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (507,27,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (508,28,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (509,29,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (510,30,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (511,31,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (512,32,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (513,33,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (514,34,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (515,35,6,'$ 1200.00 - Lifetime Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (516,36,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (517,37,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (518,38,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (519,39,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (520,40,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (521,41,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (522,42,6,'$ 100.00 - General Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (523,43,6,'$ 50.00 - Student Membership: Offline signup','2021-06-10 20:47:11',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:11','2021-06-11 00:47:11'),
- (525,1,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (526,2,5,'NULL','2008-05-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (527,3,5,'NULL','2008-05-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (528,4,5,'NULL','2008-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (529,5,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (530,6,5,'NULL','2008-03-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (531,7,5,'NULL','2009-07-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (532,8,5,'NULL','2009-03-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (533,9,5,'NULL','2008-02-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (534,10,5,'NULL','2008-02-01 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (535,11,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (536,12,5,'NULL','2009-03-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (537,13,5,'NULL','2008-06-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (538,14,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (539,15,5,'NULL','2008-07-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (540,16,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (541,17,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (542,18,5,'NULL','2009-03-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (543,19,5,'NULL','2008-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (544,20,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (545,21,5,'NULL','2008-03-25 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (546,22,5,'NULL','2009-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (547,23,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (548,24,5,'NULL','2008-03-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (549,25,5,'NULL','2008-04-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (550,26,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (551,27,5,'NULL','2008-05-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (552,28,5,'NULL','2009-12-12 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (553,29,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (554,30,5,'NULL','2009-12-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (555,31,5,'NULL','2009-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (556,32,5,'NULL','2009-07-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (557,33,5,'NULL','2009-03-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (558,34,5,'NULL','2009-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (559,35,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (560,36,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (561,37,5,'NULL','2009-03-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (562,38,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (563,39,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (564,40,5,'NULL','2009-12-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (565,41,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (566,42,5,'NULL','2009-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (567,43,5,'NULL','2009-03-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (568,44,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (569,45,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (570,46,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (571,47,5,'NULL','2009-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (572,48,5,'NULL','2009-12-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (573,49,5,'NULL','2009-03-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (574,50,5,'NULL','2009-04-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (575,45,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (576,46,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (577,47,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (578,48,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (579,49,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (580,50,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (581,51,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (582,52,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (583,53,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (584,54,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (585,55,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (586,56,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (587,57,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (588,58,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (589,59,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (590,60,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (591,61,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (592,62,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (593,63,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (594,64,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (595,65,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (596,66,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (597,67,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (598,68,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (599,69,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (600,70,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (601,71,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (602,72,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (603,73,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (604,74,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (605,75,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (606,76,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (607,77,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (608,78,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (609,79,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (610,80,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (611,81,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (612,82,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (613,83,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (614,84,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (615,85,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (616,86,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (617,87,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (618,88,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (619,89,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (620,90,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (621,91,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (622,92,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (623,93,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12'),
- (624,94,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-06-10 20:47:12',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-06-11 00:47:12','2021-06-11 00:47:12');
+ (1,NULL,9,'Subject for Tell a Friend','2020-09-14 17:43:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:03','2021-07-02 00:09:03'),
+ (2,NULL,9,'Subject for Tell a Friend','2021-01-26 00:02:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (3,NULL,9,'Subject for Tell a Friend','2021-01-28 13:38:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (4,NULL,9,'Subject for Tell a Friend','2020-08-27 18:50:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (5,NULL,9,'Subject for Tell a Friend','2020-10-25 21:35:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (6,NULL,9,'Subject for Tell a Friend','2021-01-26 19:13:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (7,NULL,10,'Subject for Pledge Acknowledgment','2020-10-03 02:49:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (8,NULL,10,'Subject for Pledge Acknowledgment','2020-10-19 13:44:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (9,NULL,9,'Subject for Tell a Friend','2020-12-17 04:48:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (10,NULL,9,'Subject for Tell a Friend','2020-08-21 13:12:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (11,NULL,9,'Subject for Tell a Friend','2020-07-10 01:34:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (12,NULL,9,'Subject for Tell a Friend','2021-06-28 15:41:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (13,NULL,9,'Subject for Tell a Friend','2020-12-31 03:15:43',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (14,NULL,10,'Subject for Pledge Acknowledgment','2020-12-20 05:58:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (15,NULL,10,'Subject for Pledge Acknowledgment','2021-06-20 17:36:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (16,NULL,9,'Subject for Tell a Friend','2021-04-30 12:04:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (17,NULL,9,'Subject for Tell a Friend','2020-07-26 05:27:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (18,NULL,10,'Subject for Pledge Acknowledgment','2021-03-09 05:46:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (19,NULL,10,'Subject for Pledge Acknowledgment','2020-08-03 00:47:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (20,NULL,10,'Subject for Pledge Acknowledgment','2020-08-23 07:57:30',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (21,NULL,9,'Subject for Tell a Friend','2021-03-05 03:29:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (22,NULL,9,'Subject for Tell a Friend','2021-02-19 03:44:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (23,NULL,9,'Subject for Tell a Friend','2021-03-04 08:48:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (24,NULL,9,'Subject for Tell a Friend','2020-11-17 00:31:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (25,NULL,9,'Subject for Tell a Friend','2020-07-26 03:20:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (26,NULL,10,'Subject for Pledge Acknowledgment','2021-06-20 09:20:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (27,NULL,10,'Subject for Pledge Acknowledgment','2020-10-10 11:45:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (28,NULL,9,'Subject for Tell a Friend','2021-05-03 04:24:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (29,NULL,9,'Subject for Tell a Friend','2020-09-26 11:36:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (30,NULL,9,'Subject for Tell a Friend','2021-03-14 01:04:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (31,NULL,9,'Subject for Tell a Friend','2020-07-28 17:44:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (32,NULL,10,'Subject for Pledge Acknowledgment','2021-01-26 10:36:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (33,NULL,10,'Subject for Pledge Acknowledgment','2020-12-13 00:18:04',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (34,NULL,9,'Subject for Tell a Friend','2020-08-06 05:28:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (35,NULL,9,'Subject for Tell a Friend','2020-09-23 20:31:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (36,NULL,10,'Subject for Pledge Acknowledgment','2020-09-28 06:21:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (37,NULL,10,'Subject for Pledge Acknowledgment','2020-09-16 04:34:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (38,NULL,9,'Subject for Tell a Friend','2021-06-09 19:39:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (39,NULL,9,'Subject for Tell a Friend','2020-07-17 02:03:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (40,NULL,9,'Subject for Tell a Friend','2021-06-25 13:37:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (41,NULL,9,'Subject for Tell a Friend','2021-03-21 06:20:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (42,NULL,9,'Subject for Tell a Friend','2020-08-22 04:00:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (43,NULL,9,'Subject for Tell a Friend','2021-01-29 20:47:04',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (44,NULL,9,'Subject for Tell a Friend','2021-06-26 22:35:43',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (45,NULL,9,'Subject for Tell a Friend','2021-05-23 06:47:27',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (46,NULL,9,'Subject for Tell a Friend','2021-04-04 09:41:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (47,NULL,10,'Subject for Pledge Acknowledgment','2020-10-25 10:37:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (48,NULL,10,'Subject for Pledge Acknowledgment','2021-01-08 11:21:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (49,NULL,10,'Subject for Pledge Acknowledgment','2020-08-10 13:41:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (50,NULL,10,'Subject for Pledge Acknowledgment','2020-09-20 15:24:27',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (51,NULL,10,'Subject for Pledge Acknowledgment','2021-02-07 21:00:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (52,NULL,9,'Subject for Tell a Friend','2021-04-02 03:02:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (53,NULL,10,'Subject for Pledge Acknowledgment','2020-09-24 22:03:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (54,NULL,9,'Subject for Tell a Friend','2020-10-30 08:51:39',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (55,NULL,10,'Subject for Pledge Acknowledgment','2021-06-08 13:25:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (56,NULL,10,'Subject for Pledge Acknowledgment','2020-08-25 10:09:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (57,NULL,10,'Subject for Pledge Acknowledgment','2020-12-10 09:41:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (58,NULL,10,'Subject for Pledge Acknowledgment','2020-12-07 08:09:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (59,NULL,10,'Subject for Pledge Acknowledgment','2021-05-20 16:26:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (60,NULL,9,'Subject for Tell a Friend','2021-05-12 05:13:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (61,NULL,9,'Subject for Tell a Friend','2021-01-09 16:57:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (62,NULL,9,'Subject for Tell a Friend','2021-01-31 02:07:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (63,NULL,10,'Subject for Pledge Acknowledgment','2021-05-08 07:05:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (64,NULL,9,'Subject for Tell a Friend','2020-09-04 22:19:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (65,NULL,10,'Subject for Pledge Acknowledgment','2020-08-01 05:07:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (66,NULL,9,'Subject for Tell a Friend','2020-08-24 07:09:12',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (67,NULL,10,'Subject for Pledge Acknowledgment','2020-10-09 11:43:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (68,NULL,9,'Subject for Tell a Friend','2020-12-28 18:40:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (69,NULL,10,'Subject for Pledge Acknowledgment','2020-12-18 19:13:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (70,NULL,9,'Subject for Tell a Friend','2021-02-07 16:29:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (71,NULL,10,'Subject for Pledge Acknowledgment','2021-05-10 10:17:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (72,NULL,10,'Subject for Pledge Acknowledgment','2021-05-30 04:04:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (73,NULL,9,'Subject for Tell a Friend','2020-11-28 01:51:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (74,NULL,10,'Subject for Pledge Acknowledgment','2020-12-30 15:44:13',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (75,NULL,9,'Subject for Tell a Friend','2021-02-05 11:46:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (76,NULL,9,'Subject for Tell a Friend','2021-04-15 19:34:39',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (77,NULL,9,'Subject for Tell a Friend','2021-06-15 12:28:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (78,NULL,9,'Subject for Tell a Friend','2020-10-27 11:39:39',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (79,NULL,10,'Subject for Pledge Acknowledgment','2021-01-15 13:27:27',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (80,NULL,9,'Subject for Tell a Friend','2021-02-04 09:04:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (81,NULL,9,'Subject for Tell a Friend','2020-12-05 09:52:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (82,NULL,9,'Subject for Tell a Friend','2020-11-22 18:54:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (83,NULL,9,'Subject for Tell a Friend','2020-08-15 09:39:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (84,NULL,9,'Subject for Tell a Friend','2021-01-02 01:04:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (85,NULL,10,'Subject for Pledge Acknowledgment','2021-03-27 09:25:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (86,NULL,10,'Subject for Pledge Acknowledgment','2020-12-12 00:17:39',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (87,NULL,10,'Subject for Pledge Acknowledgment','2020-09-25 21:54:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (88,NULL,9,'Subject for Tell a Friend','2021-04-16 00:48:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (89,NULL,10,'Subject for Pledge Acknowledgment','2021-02-12 05:28:39',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (90,NULL,9,'Subject for Tell a Friend','2020-10-12 02:51:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (91,NULL,10,'Subject for Pledge Acknowledgment','2021-02-09 05:34:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (92,NULL,9,'Subject for Tell a Friend','2021-02-12 21:03:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (93,NULL,9,'Subject for Tell a Friend','2021-04-07 00:07:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (94,NULL,9,'Subject for Tell a Friend','2020-08-05 22:30:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (95,NULL,10,'Subject for Pledge Acknowledgment','2021-04-12 16:01:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (96,NULL,10,'Subject for Pledge Acknowledgment','2021-06-12 07:40:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (97,NULL,9,'Subject for Tell a Friend','2020-10-05 23:13:40',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (98,NULL,9,'Subject for Tell a Friend','2021-05-15 08:05:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (99,NULL,10,'Subject for Pledge Acknowledgment','2021-01-03 08:19:26',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (100,NULL,10,'Subject for Pledge Acknowledgment','2021-02-06 19:53:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (101,NULL,9,'Subject for Tell a Friend','2021-06-08 12:30:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (102,NULL,9,'Subject for Tell a Friend','2021-02-12 19:47:43',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (103,NULL,10,'Subject for Pledge Acknowledgment','2020-09-21 06:00:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (104,NULL,9,'Subject for Tell a Friend','2020-09-30 15:15:40',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (105,NULL,9,'Subject for Tell a Friend','2020-10-27 00:08:04',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (106,NULL,10,'Subject for Pledge Acknowledgment','2020-08-20 07:32:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (107,NULL,9,'Subject for Tell a Friend','2020-08-03 23:02:46',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (108,NULL,10,'Subject for Pledge Acknowledgment','2021-01-08 05:53:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (109,NULL,10,'Subject for Pledge Acknowledgment','2020-11-15 18:10:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (110,NULL,10,'Subject for Pledge Acknowledgment','2020-08-15 06:51:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (111,NULL,9,'Subject for Tell a Friend','2020-12-10 13:22:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (112,NULL,9,'Subject for Tell a Friend','2021-02-15 17:04:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (113,NULL,10,'Subject for Pledge Acknowledgment','2021-02-19 18:38:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (114,NULL,10,'Subject for Pledge Acknowledgment','2021-01-31 06:45:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (115,NULL,9,'Subject for Tell a Friend','2021-05-08 20:59:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (116,NULL,10,'Subject for Pledge Acknowledgment','2021-01-17 05:51:49',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:04','2021-07-02 00:09:04'),
+ (117,NULL,10,'Subject for Pledge Acknowledgment','2020-09-07 03:54:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (118,NULL,9,'Subject for Tell a Friend','2020-09-02 13:27:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (119,NULL,10,'Subject for Pledge Acknowledgment','2021-03-19 04:38:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (120,NULL,9,'Subject for Tell a Friend','2020-10-06 19:18:27',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (121,NULL,10,'Subject for Pledge Acknowledgment','2020-09-30 03:01:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (122,NULL,9,'Subject for Tell a Friend','2020-09-15 03:42:27',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (123,NULL,9,'Subject for Tell a Friend','2021-01-15 02:56:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (124,NULL,9,'Subject for Tell a Friend','2021-04-22 15:02:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (125,NULL,10,'Subject for Pledge Acknowledgment','2021-02-28 20:22:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (126,NULL,9,'Subject for Tell a Friend','2020-07-17 00:47:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (127,NULL,9,'Subject for Tell a Friend','2020-08-25 20:12:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (128,NULL,9,'Subject for Tell a Friend','2020-08-14 20:47:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (129,NULL,9,'Subject for Tell a Friend','2020-10-08 09:19:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (130,NULL,9,'Subject for Tell a Friend','2020-11-18 10:21:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (131,NULL,9,'Subject for Tell a Friend','2021-03-12 23:11:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (132,NULL,9,'Subject for Tell a Friend','2021-03-01 06:46:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (133,NULL,9,'Subject for Tell a Friend','2020-10-18 15:56:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (134,NULL,10,'Subject for Pledge Acknowledgment','2021-02-20 07:16:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (135,NULL,10,'Subject for Pledge Acknowledgment','2021-01-03 00:06:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (136,NULL,10,'Subject for Pledge Acknowledgment','2021-01-28 09:50:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (137,NULL,10,'Subject for Pledge Acknowledgment','2020-11-25 19:24:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (138,NULL,10,'Subject for Pledge Acknowledgment','2020-10-23 06:27:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (139,NULL,10,'Subject for Pledge Acknowledgment','2021-05-21 17:19:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (140,NULL,10,'Subject for Pledge Acknowledgment','2021-04-05 04:11:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (141,NULL,9,'Subject for Tell a Friend','2021-01-24 16:31:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (142,NULL,10,'Subject for Pledge Acknowledgment','2020-07-20 08:07:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (143,NULL,10,'Subject for Pledge Acknowledgment','2020-08-07 06:20:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (144,NULL,10,'Subject for Pledge Acknowledgment','2021-03-22 05:14:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (145,NULL,9,'Subject for Tell a Friend','2020-09-29 12:05:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (146,NULL,9,'Subject for Tell a Friend','2021-02-01 21:36:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (147,NULL,9,'Subject for Tell a Friend','2020-07-29 04:59:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (148,NULL,9,'Subject for Tell a Friend','2020-10-31 18:25:12',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (149,NULL,9,'Subject for Tell a Friend','2020-09-14 06:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (150,NULL,10,'Subject for Pledge Acknowledgment','2020-08-29 13:38:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (151,NULL,10,'Subject for Pledge Acknowledgment','2021-05-10 04:35:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (152,NULL,9,'Subject for Tell a Friend','2021-05-04 11:38:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (153,NULL,9,'Subject for Tell a Friend','2020-11-09 17:00:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (154,NULL,10,'Subject for Pledge Acknowledgment','2021-02-03 18:07:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (155,NULL,10,'Subject for Pledge Acknowledgment','2020-07-31 12:30:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (156,NULL,10,'Subject for Pledge Acknowledgment','2020-08-03 05:09:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (157,NULL,9,'Subject for Tell a Friend','2020-08-25 04:47:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (158,NULL,10,'Subject for Pledge Acknowledgment','2020-12-26 03:55:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (159,NULL,9,'Subject for Tell a Friend','2020-11-02 04:35:26',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (160,NULL,9,'Subject for Tell a Friend','2021-01-15 17:30:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (161,NULL,10,'Subject for Pledge Acknowledgment','2020-11-29 05:14:30',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (162,NULL,10,'Subject for Pledge Acknowledgment','2021-05-15 11:57:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (163,NULL,9,'Subject for Tell a Friend','2020-08-31 01:32:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (164,NULL,9,'Subject for Tell a Friend','2021-06-18 07:23:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (165,NULL,10,'Subject for Pledge Acknowledgment','2021-01-09 04:36:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (166,NULL,10,'Subject for Pledge Acknowledgment','2021-01-26 15:16:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (167,NULL,9,'Subject for Tell a Friend','2020-10-02 00:46:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (168,NULL,10,'Subject for Pledge Acknowledgment','2021-04-18 13:03:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (169,NULL,10,'Subject for Pledge Acknowledgment','2020-10-19 21:07:34',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (170,NULL,10,'Subject for Pledge Acknowledgment','2020-10-12 08:01:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (171,NULL,10,'Subject for Pledge Acknowledgment','2020-10-29 22:29:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (172,NULL,10,'Subject for Pledge Acknowledgment','2021-06-20 10:29:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (173,NULL,9,'Subject for Tell a Friend','2021-06-02 11:12:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (174,NULL,10,'Subject for Pledge Acknowledgment','2020-12-06 23:01:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (175,NULL,9,'Subject for Tell a Friend','2021-06-05 23:48:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (176,NULL,9,'Subject for Tell a Friend','2020-08-13 21:19:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (177,NULL,10,'Subject for Pledge Acknowledgment','2021-04-12 18:19:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (178,NULL,10,'Subject for Pledge Acknowledgment','2021-02-01 01:06:17',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (179,NULL,9,'Subject for Tell a Friend','2020-07-16 05:14:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (180,NULL,10,'Subject for Pledge Acknowledgment','2020-12-08 18:54:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (181,NULL,10,'Subject for Pledge Acknowledgment','2021-05-02 21:45:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (182,NULL,9,'Subject for Tell a Friend','2021-05-08 14:13:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (183,NULL,10,'Subject for Pledge Acknowledgment','2020-12-18 01:10:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (184,NULL,9,'Subject for Tell a Friend','2020-07-27 12:12:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (185,NULL,9,'Subject for Tell a Friend','2021-06-14 05:59:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (186,NULL,9,'Subject for Tell a Friend','2021-02-18 03:56:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (187,NULL,9,'Subject for Tell a Friend','2020-07-29 07:09:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (188,NULL,10,'Subject for Pledge Acknowledgment','2020-11-07 05:20:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (189,NULL,10,'Subject for Pledge Acknowledgment','2020-12-04 15:51:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (190,NULL,10,'Subject for Pledge Acknowledgment','2021-06-22 02:08:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (191,NULL,10,'Subject for Pledge Acknowledgment','2020-12-01 15:39:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (192,NULL,10,'Subject for Pledge Acknowledgment','2020-08-19 14:51:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (193,NULL,10,'Subject for Pledge Acknowledgment','2021-05-26 06:13:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (194,NULL,10,'Subject for Pledge Acknowledgment','2020-11-16 07:38:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (195,NULL,9,'Subject for Tell a Friend','2020-09-21 03:22:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (196,NULL,10,'Subject for Pledge Acknowledgment','2021-06-09 14:17:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (197,NULL,9,'Subject for Tell a Friend','2020-10-16 23:22:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (198,NULL,10,'Subject for Pledge Acknowledgment','2020-11-30 00:18:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (199,NULL,10,'Subject for Pledge Acknowledgment','2020-07-19 17:39:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (200,NULL,9,'Subject for Tell a Friend','2020-08-08 12:58:04',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (201,NULL,9,'Subject for Tell a Friend','2020-09-29 13:50:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (202,NULL,10,'Subject for Pledge Acknowledgment','2021-02-04 06:05:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (203,NULL,10,'Subject for Pledge Acknowledgment','2020-12-22 21:57:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (204,NULL,10,'Subject for Pledge Acknowledgment','2020-09-12 00:41:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (205,NULL,9,'Subject for Tell a Friend','2020-11-30 17:00:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (206,NULL,9,'Subject for Tell a Friend','2021-01-15 13:50:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (207,NULL,9,'Subject for Tell a Friend','2020-12-21 19:33:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (208,NULL,9,'Subject for Tell a Friend','2021-05-21 04:26:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (209,NULL,10,'Subject for Pledge Acknowledgment','2021-01-13 23:45:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (210,NULL,10,'Subject for Pledge Acknowledgment','2020-09-29 15:46:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (211,NULL,9,'Subject for Tell a Friend','2021-03-28 22:54:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (212,NULL,10,'Subject for Pledge Acknowledgment','2021-01-04 22:27:12',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (213,NULL,9,'Subject for Tell a Friend','2021-04-28 06:06:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (214,NULL,9,'Subject for Tell a Friend','2020-11-25 12:18:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (215,NULL,9,'Subject for Tell a Friend','2021-05-12 04:18:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (216,NULL,10,'Subject for Pledge Acknowledgment','2020-08-09 03:51:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (217,NULL,9,'Subject for Tell a Friend','2020-08-12 18:50:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (218,NULL,10,'Subject for Pledge Acknowledgment','2021-06-17 07:46:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (219,NULL,10,'Subject for Pledge Acknowledgment','2021-04-08 20:41:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (220,NULL,10,'Subject for Pledge Acknowledgment','2020-07-02 21:02:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (221,NULL,10,'Subject for Pledge Acknowledgment','2021-06-15 04:30:12',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (222,NULL,10,'Subject for Pledge Acknowledgment','2020-09-23 09:20:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (223,NULL,10,'Subject for Pledge Acknowledgment','2021-02-10 04:17:37',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (224,NULL,10,'Subject for Pledge Acknowledgment','2021-01-10 16:21:13',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (225,NULL,9,'Subject for Tell a Friend','2021-01-29 22:43:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (226,NULL,9,'Subject for Tell a Friend','2021-01-04 13:05:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (227,NULL,9,'Subject for Tell a Friend','2020-07-17 01:48:39',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (228,NULL,10,'Subject for Pledge Acknowledgment','2020-07-12 01:36:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (229,NULL,9,'Subject for Tell a Friend','2021-05-02 14:13:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (230,NULL,10,'Subject for Pledge Acknowledgment','2021-02-18 11:52:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (231,NULL,9,'Subject for Tell a Friend','2020-10-13 14:56:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (232,NULL,10,'Subject for Pledge Acknowledgment','2021-05-10 18:04:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (233,NULL,9,'Subject for Tell a Friend','2021-01-11 23:26:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (234,NULL,10,'Subject for Pledge Acknowledgment','2021-01-01 08:41:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (235,NULL,9,'Subject for Tell a Friend','2021-02-17 16:24:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (236,NULL,9,'Subject for Tell a Friend','2020-09-21 09:20:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (237,NULL,9,'Subject for Tell a Friend','2021-06-20 22:14:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (238,NULL,10,'Subject for Pledge Acknowledgment','2021-06-21 11:58:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (239,NULL,9,'Subject for Tell a Friend','2021-01-28 08:25:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (240,NULL,9,'Subject for Tell a Friend','2021-04-06 14:06:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (241,NULL,10,'Subject for Pledge Acknowledgment','2021-03-14 23:06:30',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (242,NULL,9,'Subject for Tell a Friend','2020-08-01 07:43:17',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (243,NULL,10,'Subject for Pledge Acknowledgment','2021-03-14 16:47:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (244,NULL,10,'Subject for Pledge Acknowledgment','2021-01-02 05:56:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (245,NULL,10,'Subject for Pledge Acknowledgment','2021-04-24 05:51:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (246,NULL,9,'Subject for Tell a Friend','2020-10-31 12:57:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:05','2021-07-02 00:09:05'),
+ (247,NULL,10,'Subject for Pledge Acknowledgment','2021-01-29 01:23:08',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (248,NULL,10,'Subject for Pledge Acknowledgment','2020-10-18 07:01:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (249,NULL,9,'Subject for Tell a Friend','2021-03-06 11:23:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (250,NULL,10,'Subject for Pledge Acknowledgment','2021-01-27 02:33:46',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (251,NULL,10,'Subject for Pledge Acknowledgment','2021-06-10 07:29:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (252,NULL,10,'Subject for Pledge Acknowledgment','2020-11-28 03:41:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (253,NULL,9,'Subject for Tell a Friend','2020-07-31 22:39:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (254,NULL,10,'Subject for Pledge Acknowledgment','2021-04-22 14:12:17',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (255,NULL,9,'Subject for Tell a Friend','2020-09-21 04:06:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (256,NULL,9,'Subject for Tell a Friend','2021-04-04 10:47:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (257,NULL,10,'Subject for Pledge Acknowledgment','2020-08-18 21:17:46',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (258,NULL,10,'Subject for Pledge Acknowledgment','2020-09-13 20:10:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (259,NULL,10,'Subject for Pledge Acknowledgment','2021-03-16 01:11:46',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (260,NULL,10,'Subject for Pledge Acknowledgment','2020-11-11 23:52:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (261,NULL,10,'Subject for Pledge Acknowledgment','2020-08-05 16:28:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (262,NULL,10,'Subject for Pledge Acknowledgment','2020-08-01 10:44:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (263,NULL,9,'Subject for Tell a Friend','2020-07-23 10:27:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (264,NULL,10,'Subject for Pledge Acknowledgment','2020-08-03 19:23:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (265,NULL,10,'Subject for Pledge Acknowledgment','2020-12-15 06:46:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (266,NULL,10,'Subject for Pledge Acknowledgment','2020-08-11 05:01:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (267,NULL,10,'Subject for Pledge Acknowledgment','2021-06-17 11:26:49',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (268,NULL,10,'Subject for Pledge Acknowledgment','2020-08-21 09:11:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (269,NULL,10,'Subject for Pledge Acknowledgment','2020-07-06 06:51:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (270,NULL,10,'Subject for Pledge Acknowledgment','2020-10-30 16:00:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (271,NULL,10,'Subject for Pledge Acknowledgment','2020-09-18 15:07:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (272,NULL,9,'Subject for Tell a Friend','2020-09-05 12:53:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (273,NULL,10,'Subject for Pledge Acknowledgment','2021-02-27 07:39:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (274,NULL,9,'Subject for Tell a Friend','2021-01-11 07:22:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (275,NULL,9,'Subject for Tell a Friend','2021-03-19 20:18:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (276,NULL,10,'Subject for Pledge Acknowledgment','2020-10-25 16:34:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (277,NULL,9,'Subject for Tell a Friend','2020-10-12 04:17:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (278,NULL,9,'Subject for Tell a Friend','2020-08-09 09:17:43',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (279,NULL,10,'Subject for Pledge Acknowledgment','2020-12-04 11:33:13',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (280,NULL,9,'Subject for Tell a Friend','2020-07-22 21:33:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (281,NULL,10,'Subject for Pledge Acknowledgment','2021-02-02 12:38:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (282,NULL,10,'Subject for Pledge Acknowledgment','2021-05-13 01:41:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (283,NULL,9,'Subject for Tell a Friend','2020-11-27 14:43:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (284,NULL,9,'Subject for Tell a Friend','2020-07-14 17:44:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (285,NULL,9,'Subject for Tell a Friend','2021-01-30 11:04:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (286,NULL,9,'Subject for Tell a Friend','2021-05-01 05:05:30',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (287,NULL,10,'Subject for Pledge Acknowledgment','2020-11-23 09:40:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (288,NULL,10,'Subject for Pledge Acknowledgment','2020-11-22 10:48:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (289,NULL,9,'Subject for Tell a Friend','2020-08-22 06:32:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (290,NULL,10,'Subject for Pledge Acknowledgment','2020-10-30 09:36:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (291,NULL,9,'Subject for Tell a Friend','2021-01-17 22:16:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (292,NULL,10,'Subject for Pledge Acknowledgment','2021-01-08 23:29:09',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (293,NULL,9,'Subject for Tell a Friend','2021-03-18 19:52:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (294,NULL,9,'Subject for Tell a Friend','2020-12-21 12:16:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (295,NULL,10,'Subject for Pledge Acknowledgment','2020-12-04 04:16:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (296,NULL,10,'Subject for Pledge Acknowledgment','2020-11-06 07:42:12',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (297,NULL,10,'Subject for Pledge Acknowledgment','2021-02-25 21:25:32',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (298,NULL,9,'Subject for Tell a Friend','2020-07-27 12:14:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (299,NULL,9,'Subject for Tell a Friend','2021-06-09 08:37:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (300,NULL,10,'Subject for Pledge Acknowledgment','2021-03-21 00:33:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (301,NULL,10,'Subject for Pledge Acknowledgment','2020-07-24 10:38:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (302,NULL,9,'Subject for Tell a Friend','2020-10-07 09:17:52',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (303,NULL,9,'Subject for Tell a Friend','2020-07-07 03:59:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (304,NULL,10,'Subject for Pledge Acknowledgment','2020-09-13 04:02:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (305,NULL,9,'Subject for Tell a Friend','2021-03-19 16:30:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (306,NULL,9,'Subject for Tell a Friend','2021-06-16 06:47:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (307,NULL,9,'Subject for Tell a Friend','2020-12-31 16:33:17',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (308,NULL,9,'Subject for Tell a Friend','2020-08-24 07:11:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (309,NULL,9,'Subject for Tell a Friend','2020-07-08 21:56:29',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (310,NULL,10,'Subject for Pledge Acknowledgment','2021-05-16 19:22:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (311,NULL,9,'Subject for Tell a Friend','2020-07-26 11:53:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (312,NULL,10,'Subject for Pledge Acknowledgment','2020-10-30 20:15:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (313,NULL,10,'Subject for Pledge Acknowledgment','2020-10-19 21:19:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (314,NULL,9,'Subject for Tell a Friend','2021-03-21 11:15:30',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (315,NULL,10,'Subject for Pledge Acknowledgment','2021-01-27 18:28:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (316,NULL,9,'Subject for Tell a Friend','2021-06-23 00:39:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (317,NULL,9,'Subject for Tell a Friend','2021-01-22 10:56:49',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (318,NULL,9,'Subject for Tell a Friend','2020-11-22 16:37:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (319,NULL,10,'Subject for Pledge Acknowledgment','2021-02-12 12:09:39',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (320,NULL,10,'Subject for Pledge Acknowledgment','2020-07-13 03:53:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (321,NULL,9,'Subject for Tell a Friend','2020-09-03 14:19:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (322,NULL,9,'Subject for Tell a Friend','2021-05-07 17:59:49',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (323,NULL,10,'Subject for Pledge Acknowledgment','2020-12-01 22:53:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (324,NULL,9,'Subject for Tell a Friend','2020-10-02 17:35:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (325,NULL,10,'Subject for Pledge Acknowledgment','2020-08-06 18:16:46',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (326,NULL,10,'Subject for Pledge Acknowledgment','2021-04-13 16:56:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (327,NULL,9,'Subject for Tell a Friend','2020-09-19 01:18:43',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (328,NULL,9,'Subject for Tell a Friend','2021-03-22 22:18:39',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (329,NULL,9,'Subject for Tell a Friend','2021-03-31 23:03:30',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (330,NULL,10,'Subject for Pledge Acknowledgment','2021-03-14 00:46:34',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (331,NULL,10,'Subject for Pledge Acknowledgment','2020-10-20 17:38:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (332,NULL,10,'Subject for Pledge Acknowledgment','2020-12-05 06:51:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (333,NULL,9,'Subject for Tell a Friend','2021-01-03 18:58:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (334,NULL,10,'Subject for Pledge Acknowledgment','2020-09-20 03:56:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (335,NULL,10,'Subject for Pledge Acknowledgment','2021-02-24 11:09:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (336,NULL,10,'Subject for Pledge Acknowledgment','2021-03-23 16:00:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (337,NULL,10,'Subject for Pledge Acknowledgment','2021-06-09 21:48:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (338,NULL,9,'Subject for Tell a Friend','2020-11-10 15:03:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (339,NULL,9,'Subject for Tell a Friend','2021-03-01 19:40:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (340,NULL,10,'Subject for Pledge Acknowledgment','2021-02-06 22:18:46',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (341,NULL,10,'Subject for Pledge Acknowledgment','2021-04-12 02:03:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (342,NULL,9,'Subject for Tell a Friend','2020-10-07 08:48:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (343,NULL,10,'Subject for Pledge Acknowledgment','2020-11-22 03:17:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (344,NULL,9,'Subject for Tell a Friend','2021-04-13 16:26:19',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (345,NULL,10,'Subject for Pledge Acknowledgment','2021-01-01 17:26:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (346,NULL,9,'Subject for Tell a Friend','2020-09-04 19:56:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (347,NULL,10,'Subject for Pledge Acknowledgment','2020-12-27 23:08:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (348,NULL,10,'Subject for Pledge Acknowledgment','2020-10-31 02:08:26',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (349,NULL,10,'Subject for Pledge Acknowledgment','2020-09-13 07:12:42',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (350,NULL,10,'Subject for Pledge Acknowledgment','2020-08-25 01:23:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (351,NULL,9,'Subject for Tell a Friend','2021-02-10 15:51:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (352,NULL,10,'Subject for Pledge Acknowledgment','2020-10-31 03:40:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (353,NULL,9,'Subject for Tell a Friend','2021-06-14 10:05:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (354,NULL,9,'Subject for Tell a Friend','2021-01-20 17:44:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (355,NULL,9,'Subject for Tell a Friend','2021-03-15 12:01:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (356,NULL,9,'Subject for Tell a Friend','2020-11-10 03:46:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (357,NULL,10,'Subject for Pledge Acknowledgment','2021-05-06 01:01:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (358,NULL,10,'Subject for Pledge Acknowledgment','2021-03-21 15:58:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (359,NULL,10,'Subject for Pledge Acknowledgment','2021-06-07 06:13:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (360,NULL,10,'Subject for Pledge Acknowledgment','2020-12-20 07:48:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (361,NULL,9,'Subject for Tell a Friend','2021-05-03 02:54:04',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (362,NULL,9,'Subject for Tell a Friend','2020-12-27 10:52:55',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (363,NULL,9,'Subject for Tell a Friend','2021-03-15 14:05:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (364,NULL,9,'Subject for Tell a Friend','2021-05-30 08:34:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (365,NULL,9,'Subject for Tell a Friend','2020-10-20 21:10:36',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (366,NULL,9,'Subject for Tell a Friend','2020-08-27 07:06:02',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (367,NULL,9,'Subject for Tell a Friend','2020-12-03 22:03:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:06','2021-07-02 00:09:06'),
+ (368,NULL,10,'Subject for Pledge Acknowledgment','2020-10-29 08:35:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (369,NULL,10,'Subject for Pledge Acknowledgment','2020-09-03 19:35:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (370,NULL,10,'Subject for Pledge Acknowledgment','2021-02-27 21:25:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (371,NULL,9,'Subject for Tell a Friend','2021-04-17 21:29:34',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (372,NULL,9,'Subject for Tell a Friend','2021-05-08 22:43:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (373,NULL,10,'Subject for Pledge Acknowledgment','2021-05-07 22:01:09',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (374,NULL,9,'Subject for Tell a Friend','2020-12-04 00:28:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (375,NULL,9,'Subject for Tell a Friend','2020-11-01 09:34:28',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (376,NULL,10,'Subject for Pledge Acknowledgment','2021-05-22 10:43:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (377,NULL,10,'Subject for Pledge Acknowledgment','2020-12-31 04:24:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (378,NULL,10,'Subject for Pledge Acknowledgment','2020-11-14 10:33:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (379,NULL,9,'Subject for Tell a Friend','2021-03-18 18:11:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (380,NULL,10,'Subject for Pledge Acknowledgment','2021-02-13 15:10:44',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (381,NULL,10,'Subject for Pledge Acknowledgment','2020-07-08 14:41:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (382,NULL,9,'Subject for Tell a Friend','2020-09-21 20:16:46',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (383,NULL,9,'Subject for Tell a Friend','2021-01-02 14:01:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (384,NULL,10,'Subject for Pledge Acknowledgment','2020-11-20 03:52:31',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (385,NULL,10,'Subject for Pledge Acknowledgment','2021-05-20 07:22:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (386,NULL,10,'Subject for Pledge Acknowledgment','2020-11-08 02:26:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (387,NULL,9,'Subject for Tell a Friend','2021-03-24 01:06:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (388,NULL,9,'Subject for Tell a Friend','2020-11-18 02:36:18',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (389,NULL,9,'Subject for Tell a Friend','2020-09-13 01:09:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (390,NULL,10,'Subject for Pledge Acknowledgment','2021-05-06 22:36:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (391,NULL,10,'Subject for Pledge Acknowledgment','2021-01-21 20:20:46',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (392,NULL,10,'Subject for Pledge Acknowledgment','2020-07-29 16:44:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (393,NULL,10,'Subject for Pledge Acknowledgment','2021-04-08 11:22:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (394,NULL,10,'Subject for Pledge Acknowledgment','2020-10-26 08:36:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (395,NULL,9,'Subject for Tell a Friend','2020-07-17 04:26:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (396,NULL,9,'Subject for Tell a Friend','2021-05-04 05:08:43',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (397,NULL,10,'Subject for Pledge Acknowledgment','2020-09-22 07:21:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (398,NULL,10,'Subject for Pledge Acknowledgment','2021-01-28 07:40:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (399,NULL,10,'Subject for Pledge Acknowledgment','2020-09-02 23:16:15',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (400,NULL,9,'Subject for Tell a Friend','2021-05-22 06:15:14',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (401,NULL,9,'Subject for Tell a Friend','2021-02-19 22:32:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (402,NULL,9,'Subject for Tell a Friend','2021-06-20 13:12:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (403,NULL,10,'Subject for Pledge Acknowledgment','2020-09-01 02:22:57',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (404,NULL,10,'Subject for Pledge Acknowledgment','2021-02-10 00:38:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (405,NULL,10,'Subject for Pledge Acknowledgment','2021-01-22 06:19:38',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (406,NULL,10,'Subject for Pledge Acknowledgment','2021-04-06 01:45:49',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (407,NULL,10,'Subject for Pledge Acknowledgment','2020-12-08 07:46:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (408,NULL,10,'Subject for Pledge Acknowledgment','2021-03-24 14:52:27',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (409,NULL,9,'Subject for Tell a Friend','2021-05-04 16:42:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (410,NULL,10,'Subject for Pledge Acknowledgment','2021-06-20 20:48:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (411,NULL,10,'Subject for Pledge Acknowledgment','2020-11-25 15:12:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (412,NULL,9,'Subject for Tell a Friend','2020-09-20 19:34:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (413,NULL,10,'Subject for Pledge Acknowledgment','2021-06-11 07:57:07',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (414,NULL,9,'Subject for Tell a Friend','2021-06-07 00:08:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (415,NULL,10,'Subject for Pledge Acknowledgment','2021-04-12 05:12:45',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (416,NULL,10,'Subject for Pledge Acknowledgment','2021-01-04 13:03:40',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (417,NULL,9,'Subject for Tell a Friend','2021-04-02 16:36:10',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (418,NULL,9,'Subject for Tell a Friend','2020-07-19 15:44:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (419,NULL,9,'Subject for Tell a Friend','2021-02-25 00:06:16',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (420,NULL,9,'Subject for Tell a Friend','2020-12-30 20:24:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (421,NULL,9,'Subject for Tell a Friend','2020-08-25 17:25:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (422,NULL,10,'Subject for Pledge Acknowledgment','2021-01-21 04:48:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (423,NULL,9,'Subject for Tell a Friend','2020-09-29 22:55:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (424,NULL,9,'Subject for Tell a Friend','2021-03-14 19:33:47',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (425,NULL,10,'Subject for Pledge Acknowledgment','2021-04-28 09:05:04',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (426,NULL,9,'Subject for Tell a Friend','2020-08-19 14:34:58',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (427,NULL,10,'Subject for Pledge Acknowledgment','2020-07-13 03:11:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (428,NULL,10,'Subject for Pledge Acknowledgment','2020-08-26 13:10:54',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (429,NULL,10,'Subject for Pledge Acknowledgment','2020-10-21 18:15:25',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (430,NULL,9,'Subject for Tell a Friend','2020-12-03 03:22:20',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (431,NULL,10,'Subject for Pledge Acknowledgment','2021-01-29 06:02:04',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (432,NULL,9,'Subject for Tell a Friend','2020-09-19 15:00:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (433,NULL,10,'Subject for Pledge Acknowledgment','2020-11-28 01:04:01',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (434,NULL,10,'Subject for Pledge Acknowledgment','2020-08-04 10:23:24',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (435,NULL,9,'Subject for Tell a Friend','2021-05-28 17:35:12',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (436,NULL,9,'Subject for Tell a Friend','2020-09-17 07:54:33',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (437,NULL,10,'Subject for Pledge Acknowledgment','2020-11-26 13:19:06',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (438,NULL,10,'Subject for Pledge Acknowledgment','2021-03-04 19:59:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (439,NULL,10,'Subject for Pledge Acknowledgment','2020-12-30 13:46:35',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (440,NULL,10,'Subject for Pledge Acknowledgment','2020-12-27 03:07:22',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (441,NULL,9,'Subject for Tell a Friend','2021-04-22 14:31:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (442,NULL,9,'Subject for Tell a Friend','2021-04-19 04:49:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (443,NULL,9,'Subject for Tell a Friend','2020-09-19 19:45:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (444,NULL,10,'Subject for Pledge Acknowledgment','2021-01-16 12:24:03',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (445,NULL,10,'Subject for Pledge Acknowledgment','2021-03-12 17:44:39',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (446,NULL,9,'Subject for Tell a Friend','2020-08-16 05:00:48',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (447,NULL,9,'Subject for Tell a Friend','2020-07-12 13:01:53',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (448,NULL,9,'Subject for Tell a Friend','2020-12-23 08:17:51',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (449,NULL,10,'Subject for Pledge Acknowledgment','2020-09-29 21:47:23',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (450,NULL,9,'Subject for Tell a Friend','2021-04-11 13:46:05',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (451,1,6,'$ 125.00-Apr 2007 Mailer 1','2010-04-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (452,2,6,'$ 50.00-Online: Save the Penguins','2010-03-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (453,3,6,'$ 25.00-Apr 2007 Mailer 1','2010-04-29 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (454,4,6,'$ 50.00-Apr 2007 Mailer 1','2010-04-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (455,5,6,'$ 500.00-Apr 2007 Mailer 1','2010-04-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (456,6,6,'$ 175.00-Apr 2007 Mailer 1','2010-04-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (457,7,6,'$ 50.00-Online: Save the Penguins','2010-03-27 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (458,8,6,'$ 10.00-Online: Save the Penguins','2010-03-08 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (459,9,6,'$ 250.00-Online: Save the Penguins','2010-04-22 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (460,10,6,NULL,'2009-07-01 11:53:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (461,11,6,NULL,'2009-07-01 12:55:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (462,12,6,NULL,'2009-10-01 11:53:50',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (463,13,6,NULL,'2009-12-01 12:55:41',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (464,1,7,'General','2021-07-02 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (465,2,7,'Student','2021-07-01 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (466,3,7,'General','2021-06-30 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (467,4,7,'Student','2021-06-29 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (468,5,7,'General','2019-05-31 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (469,6,7,'Student','2021-06-27 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (470,7,7,'General','2021-06-26 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (471,8,7,'Student','2021-06-25 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (472,9,7,'General','2021-06-24 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (473,10,7,'General','2019-04-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (474,11,7,'Lifetime','2021-06-22 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (475,12,7,'Student','2021-06-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (476,13,7,'General','2021-06-20 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (477,14,7,'Student','2021-06-19 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (478,15,7,'General','2019-03-12 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (479,16,7,'Student','2021-06-17 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (480,17,7,'General','2021-06-16 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (481,18,7,'Student','2021-06-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (482,19,7,'General','2021-06-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (483,20,7,'General','2019-01-31 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (484,21,7,'General','2021-06-12 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (485,22,7,'Lifetime','2021-06-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (486,23,7,'General','2021-06-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (487,24,7,'Student','2021-06-09 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (488,25,7,'Student','2020-06-08 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (489,26,7,'Student','2021-06-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (490,27,7,'General','2021-06-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (491,28,7,'Student','2021-06-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (492,29,7,'General','2021-06-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (493,30,7,'General','2018-11-12 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (494,14,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (495,15,6,'$ 50.00 - Student Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (496,16,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (497,17,6,'$ 50.00 - Student Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (498,18,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (499,19,6,'$ 50.00 - Student Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (500,20,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (501,21,6,'$ 50.00 - Student Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (502,22,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (503,23,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (504,24,6,'$ 1200.00 - Lifetime Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (505,25,6,'$ 50.00 - Student Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (506,26,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (507,27,6,'$ 50.00 - Student Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (508,28,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (509,29,6,'$ 50.00 - Student Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (510,30,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (511,31,6,'$ 50.00 - Student Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (512,32,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (513,33,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (514,34,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (515,35,6,'$ 1200.00 - Lifetime Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (516,36,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (517,37,6,'$ 50.00 - Student Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (518,38,6,'$ 50.00 - Student Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (519,39,6,'$ 50.00 - Student Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (520,40,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (521,41,6,'$ 50.00 - Student Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (522,42,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (523,43,6,'$ 100.00 - General Membership: Offline signup','2021-07-02 00:09:07',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:07','2021-07-02 00:09:07'),
+ (525,1,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (526,2,5,'NULL','2008-05-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (527,3,5,'NULL','2008-05-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (528,4,5,'NULL','2008-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (529,5,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (530,6,5,'NULL','2008-03-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (531,7,5,'NULL','2009-07-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (532,8,5,'NULL','2009-03-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (533,9,5,'NULL','2008-02-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (534,10,5,'NULL','2008-02-01 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (535,11,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (536,12,5,'NULL','2009-03-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (537,13,5,'NULL','2008-06-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (538,14,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (539,15,5,'NULL','2008-07-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (540,16,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (541,17,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (542,18,5,'NULL','2009-03-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (543,19,5,'NULL','2008-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (544,20,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (545,21,5,'NULL','2008-03-25 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (546,22,5,'NULL','2009-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (547,23,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (548,24,5,'NULL','2008-03-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (549,25,5,'NULL','2008-04-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (550,26,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (551,27,5,'NULL','2008-05-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (552,28,5,'NULL','2009-12-12 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (553,29,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (554,30,5,'NULL','2009-12-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (555,31,5,'NULL','2009-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (556,32,5,'NULL','2009-07-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (557,33,5,'NULL','2009-03-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (558,34,5,'NULL','2009-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (559,35,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (560,36,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (561,37,5,'NULL','2009-03-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (562,38,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (563,39,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (564,40,5,'NULL','2009-12-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (565,41,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (566,42,5,'NULL','2009-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (567,43,5,'NULL','2009-03-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (568,44,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (569,45,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (570,46,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (571,47,5,'NULL','2009-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (572,48,5,'NULL','2009-12-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (573,49,5,'NULL','2009-03-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (574,50,5,'NULL','2009-04-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (575,45,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (576,46,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (577,47,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (578,48,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (579,49,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (580,50,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (581,51,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (582,52,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (583,53,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (584,54,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (585,55,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (586,56,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (587,57,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (588,58,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (589,59,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (590,60,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (591,61,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (592,62,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (593,63,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (594,64,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (595,65,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (596,66,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (597,67,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (598,68,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (599,69,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (600,70,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (601,71,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (602,72,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (603,73,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (604,74,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (605,75,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (606,76,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (607,77,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (608,78,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (609,79,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (610,80,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (611,81,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (612,82,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (613,83,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (614,84,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (615,85,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (616,86,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (617,87,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (618,88,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (619,89,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (620,90,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (621,91,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (622,92,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (623,93,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08'),
+ (624,94,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2021-07-02 00:09:08',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2021-07-02 00:09:08','2021-07-02 00:09:08');
 /*!40000 ALTER TABLE `civicrm_activity` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -792,807 +793,802 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_activity_contact` WRITE;
 /*!40000 ALTER TABLE `civicrm_activity_contact` DISABLE KEYS */;
 INSERT INTO `civicrm_activity_contact` (`id`, `activity_id`, `contact_id`, `record_type_id`) VALUES
- (332,217,1,3),
- (109,73,2,3),
- (628,413,2,3),
- (679,451,2,2),
- (61,42,3,3),
- (408,269,3,3),
- (571,376,3,3),
- (84,56,4,3),
- (413,272,4,3),
- (579,380,4,3),
- (593,390,4,3),
- (680,452,4,2),
- (116,77,5,3),
- (698,470,5,2),
- (728,500,5,2),
- (2,1,6,3),
- (237,153,6,3),
- (421,277,6,3),
- (472,310,6,3),
- (681,453,6,2),
- (708,480,7,2),
- (738,510,7,2),
- (159,103,8,3),
- (289,186,8,3),
- (364,236,8,3),
- (682,454,8,2),
- (36,25,9,3),
- (318,208,9,3),
- (463,303,9,3),
- (776,548,9,2),
- (602,396,10,3),
- (16,12,12,3),
- (147,96,12,3),
- (266,171,12,3),
- (339,221,12,3),
- (355,230,12,3),
- (645,425,12,3),
- (71,48,13,3),
- (280,180,13,3),
- (326,213,13,3),
- (162,105,14,3),
- (351,228,14,3),
- (371,241,14,3),
- (481,316,14,3),
- (527,346,14,3),
- (180,117,15,3),
- (692,464,15,2),
- (722,494,15,2),
- (43,30,16,3),
- (683,455,16,2),
- (103,69,17,3),
- (406,268,17,3),
- (498,328,17,3),
- (595,391,17,3),
- (136,89,18,3),
- (241,155,19,3),
- (271,175,19,3),
- (427,280,19,3),
- (507,333,19,3),
- (684,456,19,2),
- (184,119,20,3),
- (337,220,20,3),
- (496,327,20,3),
- (774,546,20,2),
- (231,149,21,3),
- (275,177,21,3),
- (605,398,21,3),
- (613,403,21,3),
- (283,182,23,3),
- (577,379,23,3),
- (632,416,23,3),
- (634,417,23,3),
- (772,544,23,2),
- (141,92,24,3),
- (450,294,24,3),
- (347,226,26,3),
- (655,433,26,3),
- (128,84,27,3),
- (182,118,27,3),
- (368,239,27,3),
- (597,392,27,3),
- (711,483,27,2),
- (741,513,27,2),
- (802,574,27,2),
- (173,112,28,3),
- (219,142,29,3),
- (225,145,29,3),
- (273,176,29,3),
- (45,31,30,3),
- (517,339,30,3),
- (561,367,30,3),
- (758,530,30,2),
- (554,362,31,3),
- (52,35,32,3),
- (91,60,32,3),
- (215,139,32,3),
- (334,218,32,3),
- (468,307,32,3),
- (690,462,32,2),
- (691,463,32,2),
- (785,557,32,2),
- (133,87,33,3),
- (573,377,33,3),
- (716,488,33,2),
- (746,518,33,2),
- (790,562,33,2),
- (47,32,34,3),
- (353,229,34,3),
- (687,459,34,2),
- (794,566,34,2),
- (20,14,35,3),
- (144,94,35,3),
- (500,329,35,3),
- (659,436,35,3),
- (768,540,35,2),
- (114,76,36,3),
- (589,388,37,3),
- (9,6,38,3),
- (76,51,38,3),
- (221,143,38,3),
- (491,324,38,3),
- (189,122,39,3),
- (313,204,39,3),
- (437,287,39,3),
- (543,356,39,3),
- (88,58,40,3),
- (397,262,40,3),
- (779,551,40,2),
- (256,165,41,3),
- (320,209,41,3),
- (443,290,41,3),
- (460,301,42,2),
- (461,302,42,2),
- (462,303,42,2),
- (464,304,42,2),
- (465,305,42,2),
- (466,306,42,2),
- (467,307,42,2),
- (469,308,42,2),
- (470,309,42,2),
- (471,310,42,2),
- (473,311,42,2),
- (474,312,42,2),
- (476,313,42,2),
- (477,314,42,2),
- (478,315,42,2),
- (480,316,42,2),
- (482,317,42,2),
- (484,318,42,2),
- (485,319,42,2),
- (486,320,42,2),
- (487,321,42,2),
- (488,322,42,2),
- (489,323,42,2),
- (490,324,42,2),
- (492,325,42,2),
- (493,326,42,2),
- (495,327,42,2),
- (497,328,42,2),
- (499,329,42,2),
- (501,330,42,2),
- (503,331,42,2),
- (505,332,42,2),
- (506,333,42,2),
- (508,334,42,2),
- (509,335,42,2),
- (511,336,42,2),
- (513,337,42,2),
- (515,338,42,2),
- (516,339,42,2),
- (518,340,42,2),
- (519,341,42,2),
- (520,342,42,2),
- (521,343,42,2),
- (523,344,42,2),
- (524,345,42,2),
- (526,346,42,2),
- (528,347,42,2),
- (529,348,42,2),
- (530,349,42,2),
- (532,350,42,2),
- (534,351,42,2),
- (535,352,42,2),
- (537,353,42,2),
- (539,354,42,2),
- (541,355,42,2),
- (542,356,42,2),
- (544,357,42,2),
- (545,358,42,2),
- (547,359,42,2),
- (549,360,42,2),
- (551,361,42,2),
- (553,362,42,2),
- (555,363,42,2),
- (556,364,42,2),
- (557,365,42,2),
- (559,366,42,2),
- (560,367,42,2),
- (562,368,42,2),
- (563,369,42,2),
- (564,370,42,2),
- (565,371,42,2),
- (566,372,42,2),
- (567,373,42,2),
- (568,374,42,2),
- (569,375,42,2),
- (570,376,42,2),
- (572,377,42,2),
- (574,378,42,2),
- (576,379,42,2),
- (578,380,42,2),
- (580,381,42,2),
- (581,382,42,2),
- (582,383,42,2),
- (583,384,42,2),
- (584,385,42,2),
- (585,386,42,2),
- (586,387,42,2),
- (588,388,42,2),
- (590,389,42,2),
- (592,390,42,2),
- (594,391,42,2),
- (596,392,42,2),
- (598,393,42,2),
- (599,394,42,2),
- (600,395,42,2),
- (601,396,42,2),
- (603,397,42,2),
- (604,398,42,2),
- (606,399,42,2),
- (607,400,42,2),
- (608,401,42,2),
- (610,402,42,2),
- (612,403,42,2),
- (614,404,42,2),
- (616,405,42,2),
- (617,406,42,2),
- (619,407,42,2),
- (621,408,42,2),
- (623,409,42,2),
- (624,410,42,2),
- (625,411,42,2),
- (626,412,42,2),
- (627,413,42,2),
- (629,414,42,2),
- (630,415,42,2),
- (631,416,42,2),
- (633,417,42,2),
- (635,418,42,2),
- (636,419,42,2),
- (637,420,42,2),
- (638,421,42,2),
- (640,422,42,2),
- (641,423,42,2),
- (642,424,42,2),
- (644,425,42,2),
- (646,426,42,2),
- (647,427,42,2),
- (649,428,42,2),
- (650,429,42,2),
- (651,430,42,2),
- (652,431,42,2),
- (653,432,42,2),
- (654,433,42,2),
- (656,434,42,2),
- (657,435,42,2),
- (658,436,42,2),
- (660,437,42,2),
- (661,438,42,2),
- (662,439,42,2),
- (663,440,42,2),
- (664,441,42,2),
- (666,442,42,2),
- (668,443,42,2),
- (670,444,42,2),
- (671,445,42,2),
- (673,446,42,2),
- (674,447,42,2),
- (675,448,42,2),
- (677,449,42,2),
- (678,450,42,2),
- (704,476,42,2),
- (734,506,42,2),
- (502,330,43,3),
- (618,406,43,3),
- (648,427,43,3),
- (689,461,43,2),
- (759,531,43,2),
- (63,43,44,3),
- (349,227,44,3),
- (791,563,45,2),
- (30,21,46,3),
- (416,274,46,3),
- (721,493,46,2),
- (751,523,46,2),
- (107,72,47,3),
- (4,2,48,3),
- (775,547,48,2),
- (149,97,49,3),
- (170,110,49,3),
- (345,225,49,3),
- (609,401,49,3),
- (130,85,50,3),
- (479,315,51,3),
- (96,64,52,3),
- (99,66,52,3),
- (773,545,52,2),
- (227,146,53,3),
- (119,79,54,3),
- (435,286,54,3),
- (763,535,56,2),
- (475,312,57,3),
- (558,365,57,3),
- (676,448,57,3),
- (718,490,57,2),
- (748,520,57,2),
- (223,144,58,3),
- (293,189,58,3),
- (540,354,58,3),
- (694,466,58,2),
- (724,496,58,2),
- (362,235,59,3),
- (126,83,60,3),
- (401,265,60,3),
- (546,358,60,3),
- (575,378,60,3),
- (66,45,61,3),
- (194,125,61,3),
- (383,251,61,3),
- (69,47,62,3),
- (306,199,62,3),
- (156,101,63,3),
- (177,115,63,3),
- (278,179,63,3),
- (441,289,63,3),
- (552,361,63,3),
- (667,442,63,3),
- (80,53,64,3),
- (404,267,64,3),
- (622,408,64,3),
- (719,491,64,2),
- (749,521,64,2),
- (24,16,65,3),
- (510,335,65,3),
- (550,360,66,3),
- (262,168,67,3),
- (308,200,67,3),
- (425,279,67,3),
- (512,336,67,3),
- (49,33,68,3),
- (286,184,69,3),
- (483,317,69,3),
- (34,24,70,3),
- (249,161,70,3),
- (380,249,70,3),
- (329,215,71,3),
- (587,387,71,3),
- (688,460,71,2),
- (186,120,72,3),
- (258,166,72,3),
- (452,295,72,3),
- (121,80,73,3),
- (244,157,73,3),
- (260,167,73,3),
- (522,343,73,3),
- (639,421,73,3),
- (393,259,74,3),
- (411,271,74,3),
- (591,389,74,3),
- (770,542,74,2),
- (514,337,75,3),
- (620,407,75,3),
- (715,487,75,2),
- (745,517,75,2),
- (705,477,76,2),
- (735,507,76,2),
- (78,52,77,3),
- (251,162,77,3),
- (433,285,77,3),
- (454,296,77,3),
- (322,210,78,3),
- (531,349,78,3),
- (538,353,78,3),
- (611,402,78,3),
- (59,41,79,3),
- (304,198,79,3),
- (756,528,79,2),
- (18,13,80,3),
- (111,74,80,3),
- (138,90,80,3),
- (439,288,80,3),
- (456,297,80,3),
- (200,129,81,3),
- (504,331,81,3),
- (234,151,82,3),
- (685,457,82,2),
- (669,443,83,3),
- (202,130,84,3),
- (341,222,84,3),
- (388,255,84,3),
- (525,345,85,3),
- (239,154,86,3),
- (672,445,86,3),
- (783,555,86,2),
- (39,27,87,3),
- (446,292,87,3),
- (254,164,88,3),
- (419,276,88,3),
- (615,404,89,3),
- (702,474,89,2),
- (732,504,89,2),
- (782,554,89,2),
- (192,124,90,3),
- (22,15,91,3),
- (548,359,91,3),
- (643,424,91,3),
- (86,57,92,3),
- (494,326,92,3),
- (686,458,92,2),
- (695,467,92,2),
- (725,497,92,2),
- (767,539,92,2),
- (152,99,93,3),
- (197,127,93,3),
- (665,441,94,3),
- (167,108,95,3),
- (299,194,95,3),
- (536,352,95,3),
- (423,278,96,3),
- (717,489,96,2),
- (747,519,96,2),
- (796,568,96,2),
- (448,293,97,3),
- (208,134,98,3),
- (233,151,98,2),
- (235,152,98,2),
- (236,153,98,2),
- (238,154,98,2),
- (240,155,98,2),
- (242,156,98,2),
- (243,157,98,2),
- (245,158,98,2),
- (246,159,98,2),
- (247,160,98,2),
- (248,161,98,2),
- (250,162,98,2),
- (252,163,98,2),
- (253,164,98,2),
- (255,165,98,2),
- (257,166,98,2),
- (259,167,98,2),
- (261,168,98,2),
- (263,169,98,2),
- (264,170,98,2),
- (265,171,98,2),
- (267,172,98,2),
- (268,173,98,2),
- (269,174,98,2),
- (270,175,98,2),
- (272,176,98,2),
- (274,177,98,2),
- (276,178,98,2),
- (277,179,98,2),
- (279,180,98,2),
- (281,181,98,2),
- (282,182,98,2),
- (284,183,98,2),
- (285,184,98,2),
- (287,185,98,2),
- (288,186,98,2),
- (290,187,98,2),
- (291,188,98,2),
- (292,189,98,2),
- (294,190,98,2),
- (295,191,98,2),
- (296,192,98,2),
- (297,193,98,2),
- (298,194,98,2),
- (300,195,98,2),
- (301,196,98,2),
- (302,197,98,2),
- (303,198,98,2),
- (305,199,98,2),
- (307,200,98,2),
- (309,201,98,2),
- (310,202,98,2),
- (311,203,98,2),
- (312,204,98,2),
- (314,205,98,2),
- (315,206,98,2),
- (316,207,98,2),
- (317,208,98,2),
- (319,209,98,2),
- (321,210,98,2),
- (323,211,98,2),
- (324,212,98,2),
- (325,213,98,2),
- (327,214,98,2),
- (328,215,98,2),
- (330,216,98,2),
- (331,217,98,2),
- (333,218,98,2),
- (335,219,98,2),
- (336,220,98,2),
- (338,221,98,2),
- (340,222,98,2),
- (342,223,98,2),
- (343,224,98,2),
- (344,225,98,2),
- (346,226,98,2),
- (348,227,98,2),
- (350,228,98,2),
- (352,229,98,2),
- (354,230,98,2),
- (356,231,98,2),
- (357,232,98,2),
- (358,233,98,2),
- (360,234,98,2),
- (361,235,98,2),
- (363,236,98,2),
- (365,237,98,2),
- (366,238,98,2),
- (367,239,98,2),
- (369,240,98,2),
- (370,241,98,2),
- (372,242,98,2),
- (373,243,98,2),
- (374,244,98,2),
- (375,245,98,2),
- (376,246,98,2),
- (377,247,98,2),
- (378,248,98,2),
- (379,249,98,2),
- (381,250,98,2),
- (382,251,98,2),
- (384,252,98,2),
- (385,253,98,2),
- (386,254,98,2),
- (387,255,98,2),
- (389,256,98,2),
- (390,257,98,2),
- (391,258,98,2),
- (392,259,98,2),
- (394,260,98,2),
- (395,261,98,2),
- (396,262,98,2),
- (398,263,98,2),
- (399,264,98,2),
- (400,265,98,2),
- (402,266,98,2),
- (403,267,98,2),
- (405,268,98,2),
- (407,269,98,2),
- (409,270,98,2),
- (410,271,98,2),
- (412,272,98,2),
- (414,273,98,2),
- (415,274,98,2),
- (417,275,98,2),
- (418,276,98,2),
- (420,277,98,2),
- (422,278,98,2),
- (424,279,98,2),
- (426,280,98,2),
- (428,281,98,2),
- (429,282,98,2),
- (430,283,98,2),
- (431,284,98,2),
- (432,285,98,2),
- (434,286,98,2),
- (436,287,98,2),
- (438,288,98,2),
- (440,289,98,2),
- (442,290,98,2),
- (444,291,98,2),
- (445,292,98,2),
- (447,293,98,2),
- (449,294,98,2),
- (451,295,98,2),
- (453,296,98,2),
- (455,297,98,2),
- (457,298,98,2),
- (458,299,98,2),
- (459,300,98,2),
- (533,350,98,3),
- (124,82,99,3),
- (164,106,99,3),
- (211,136,99,3),
- (359,233,99,3),
- (777,549,99,2),
- (73,49,100,3),
- (154,100,101,3),
- (204,131,101,3),
- (757,529,101,2),
- (713,485,103,2),
- (743,515,103,2),
- (707,479,104,2),
- (737,509,104,2),
- (801,573,105,2),
- (778,550,106,2),
- (753,525,118,2),
- (800,572,122,2),
- (697,469,123,2),
- (727,499,123,2),
- (706,478,124,2),
- (736,508,124,2),
- (1,1,125,2),
- (3,2,125,2),
- (5,3,125,2),
- (6,4,125,2),
- (7,5,125,2),
- (8,6,125,2),
- (10,7,125,2),
- (11,8,125,2),
- (12,9,125,2),
- (13,10,125,2),
- (14,11,125,2),
- (15,12,125,2),
- (17,13,125,2),
- (19,14,125,2),
- (21,15,125,2),
- (23,16,125,2),
- (25,17,125,2),
- (26,18,125,2),
- (27,19,125,2),
- (28,20,125,2),
- (29,21,125,2),
- (31,22,125,2),
- (32,23,125,2),
- (33,24,125,2),
- (35,25,125,2),
- (37,26,125,2),
- (38,27,125,2),
- (40,28,125,2),
- (41,29,125,2),
- (42,30,125,2),
- (44,31,125,2),
- (46,32,125,2),
- (48,33,125,2),
- (50,34,125,2),
- (51,35,125,2),
- (53,36,125,2),
- (54,37,125,2),
- (55,38,125,2),
- (56,39,125,2),
- (57,40,125,2),
- (58,41,125,2),
- (60,42,125,2),
- (62,43,125,2),
- (64,44,125,2),
- (65,45,125,2),
- (67,46,125,2),
- (68,47,125,2),
- (70,48,125,2),
- (72,49,125,2),
- (74,50,125,2),
- (75,51,125,2),
- (77,52,125,2),
- (79,53,125,2),
- (81,54,125,2),
- (82,55,125,2),
- (83,56,125,2),
- (85,57,125,2),
- (87,58,125,2),
- (89,59,125,2),
- (90,60,125,2),
- (92,61,125,2),
- (93,62,125,2),
- (94,63,125,2),
- (95,64,125,2),
- (97,65,125,2),
- (98,66,125,2),
- (100,67,125,2),
- (101,68,125,2),
- (102,69,125,2),
- (104,70,125,2),
- (105,71,125,2),
- (106,72,125,2),
- (108,73,125,2),
- (110,74,125,2),
- (112,75,125,2),
- (113,76,125,2),
- (115,77,125,2),
- (117,78,125,2),
- (118,79,125,2),
- (120,80,125,2),
- (122,81,125,2),
- (123,82,125,2),
- (125,83,125,2),
- (127,84,125,2),
- (129,85,125,2),
- (131,86,125,2),
- (132,87,125,2),
- (134,88,125,2),
- (135,89,125,2),
- (137,90,125,2),
- (139,91,125,2),
- (140,92,125,2),
- (142,93,125,2),
- (143,94,125,2),
- (145,95,125,2),
- (146,96,125,2),
- (148,97,125,2),
- (150,98,125,2),
- (151,99,125,2),
- (153,100,125,2),
- (155,101,125,2),
- (157,102,125,2),
- (158,103,125,2),
- (160,104,125,2),
- (161,105,125,2),
- (163,106,125,2),
- (165,107,125,2),
- (166,108,125,2),
- (168,109,125,2),
- (169,110,125,2),
- (171,111,125,2),
- (172,112,125,2),
- (174,113,125,2),
- (175,114,125,2),
- (176,115,125,2),
- (178,116,125,2),
- (179,117,125,2),
- (181,118,125,2),
- (183,119,125,2),
- (185,120,125,2),
- (187,121,125,2),
- (188,122,125,2),
- (190,123,125,2),
- (191,124,125,2),
- (193,125,125,2),
- (195,126,125,2),
- (196,127,125,2),
- (198,128,125,2),
- (199,129,125,2),
- (201,130,125,2),
- (203,131,125,2),
- (205,132,125,2),
- (206,133,125,2),
- (207,134,125,2),
- (209,135,125,2),
- (210,136,125,2),
- (212,137,125,2),
- (213,138,125,2),
- (214,139,125,2),
- (216,140,125,2),
- (217,141,125,2),
- (218,142,125,2),
- (220,143,125,2),
- (222,144,125,2),
- (224,145,125,2),
- (226,146,125,2),
- (228,147,125,2),
- (229,148,125,2),
- (230,149,125,2),
- (232,150,125,2),
- (754,526,125,2),
- (792,564,127,2),
- (710,482,129,2),
- (740,512,129,2),
- (798,570,129,2),
- (712,484,131,2),
- (742,514,131,2),
- (799,571,135,2),
- (700,472,136,2),
- (730,502,136,2),
- (769,541,140,2),
- (788,560,144,2),
- (693,465,145,2),
- (723,495,145,2),
- (786,558,145,2),
- (761,533,146,2),
- (789,561,147,2),
- (764,536,148,2),
- (781,553,152,2),
- (696,468,154,2),
- (726,498,154,2),
- (797,569,157,2),
- (699,471,158,2),
- (729,501,158,2),
- (780,552,161,2),
- (703,475,165,2),
- (733,505,165,2),
- (709,481,170,2),
- (739,511,170,2),
- (787,559,170,2),
- (784,556,171,2),
- (762,534,172,2),
- (766,538,173,2),
- (795,567,179,2),
- (765,537,180,2),
- (771,543,181,2),
- (793,565,182,2),
- (760,532,183,2),
- (714,486,185,2),
- (744,516,185,2),
- (701,473,191,2),
- (731,503,191,2),
- (720,492,196,2),
- (750,522,196,2),
- (755,527,201,2);
+ (53,31,1,3),
+ (178,112,1,3),
+ (460,306,1,3),
+ (30,17,2,3),
+ (330,215,2,3),
+ (650,435,2,3),
+ (674,451,2,2),
+ (375,246,3,3),
+ (449,299,3,3),
+ (570,379,3,3),
+ (168,105,4,3),
+ (389,256,4,3),
+ (599,400,4,3),
+ (675,452,4,2),
+ (75,44,5,3),
+ (106,66,6,3),
+ (676,453,6,2),
+ (77,45,7,3),
+ (123,77,7,3),
+ (171,107,7,3),
+ (196,124,8,3),
+ (239,152,8,3),
+ (484,321,8,3),
+ (646,432,8,3),
+ (677,454,8,2),
+ (323,211,9,3),
+ (749,526,9,2),
+ (134,83,10,3),
+ (189,120,10,3),
+ (281,182,10,3),
+ (109,68,11,3),
+ (144,90,11,3),
+ (207,130,11,3),
+ (251,160,11,3),
+ (182,115,12,3),
+ (299,195,13,3),
+ (430,286,13,3),
+ (702,479,13,2),
+ (732,509,13,2),
+ (6,3,15,3),
+ (447,298,15,3),
+ (678,455,16,2),
+ (147,92,17,3),
+ (424,283,17,3),
+ (455,303,17,3),
+ (520,346,17,3),
+ (601,401,17,3),
+ (693,470,18,2),
+ (723,500,18,2),
+ (679,456,19,2),
+ (773,550,19,2),
+ (73,43,20,3),
+ (514,342,20,3),
+ (787,564,20,2),
+ (41,24,21,3),
+ (257,164,21,3),
+ (565,375,21,3),
+ (697,474,21,2),
+ (727,504,21,2),
+ (20,11,22,3),
+ (453,302,22,3),
+ (213,133,23,3),
+ (284,184,23,3),
+ (517,344,23,3),
+ (768,545,23,2),
+ (624,418,24,3),
+ (668,447,24,3),
+ (793,570,24,2),
+ (43,25,25,3),
+ (125,78,25,3),
+ (558,371,25,3),
+ (71,42,26,3),
+ (176,111,26,3),
+ (241,153,26,3),
+ (622,417,26,3),
+ (86,52,27,3),
+ (469,311,27,3),
+ (710,487,27,2),
+ (740,517,27,2),
+ (290,187,28,3),
+ (319,208,28,3),
+ (211,132,29,3),
+ (268,173,29,3),
+ (415,277,29,3),
+ (12,6,30,3),
+ (103,64,30,3),
+ (194,123,30,3),
+ (451,301,30,2),
+ (452,302,30,2),
+ (454,303,30,2),
+ (456,304,30,2),
+ (457,305,30,2),
+ (459,306,30,2),
+ (461,307,30,2),
+ (463,308,30,2),
+ (465,309,30,2),
+ (467,310,30,2),
+ (468,311,30,2),
+ (470,312,30,2),
+ (471,313,30,2),
+ (472,314,30,2),
+ (474,315,30,2),
+ (475,316,30,2),
+ (477,317,30,2),
+ (479,318,30,2),
+ (481,319,30,2),
+ (482,320,30,2),
+ (483,321,30,2),
+ (485,322,30,2),
+ (487,323,30,2),
+ (488,324,30,2),
+ (490,325,30,2),
+ (491,326,30,2),
+ (492,327,30,2),
+ (494,328,30,2),
+ (496,329,30,2),
+ (498,330,30,2),
+ (499,331,30,2),
+ (500,332,30,2),
+ (501,333,30,2),
+ (503,334,30,2),
+ (504,335,30,2),
+ (505,336,30,2),
+ (506,337,30,2),
+ (507,338,30,2),
+ (509,339,30,2),
+ (511,340,30,2),
+ (512,341,30,2),
+ (513,342,30,2),
+ (515,343,30,2),
+ (516,344,30,2),
+ (518,345,30,2),
+ (519,346,30,2),
+ (521,347,30,2),
+ (522,348,30,2),
+ (523,349,30,2),
+ (524,350,30,2),
+ (525,351,30,2),
+ (527,352,30,2),
+ (528,353,30,2),
+ (530,354,30,2),
+ (532,355,30,2),
+ (534,356,30,2),
+ (536,357,30,2),
+ (537,358,30,2),
+ (538,359,30,2),
+ (539,360,30,2),
+ (540,361,30,2),
+ (542,362,30,2),
+ (544,363,30,2),
+ (546,364,30,2),
+ (548,365,30,2),
+ (550,366,30,2),
+ (552,367,30,2),
+ (554,368,30,2),
+ (555,369,30,2),
+ (556,370,30,2),
+ (557,371,30,2),
+ (559,372,30,2),
+ (561,373,30,2),
+ (562,374,30,2),
+ (564,375,30,2),
+ (566,376,30,2),
+ (567,377,30,2),
+ (568,378,30,2),
+ (569,379,30,2),
+ (571,380,30,2),
+ (572,381,30,2),
+ (573,382,30,2),
+ (575,383,30,2),
+ (577,384,30,2),
+ (578,385,30,2),
+ (579,386,30,2),
+ (580,387,30,2),
+ (582,388,30,2),
+ (584,389,30,2),
+ (586,390,30,2),
+ (587,391,30,2),
+ (588,392,30,2),
+ (589,393,30,2),
+ (590,394,30,2),
+ (591,395,30,2),
+ (593,396,30,2),
+ (595,397,30,2),
+ (596,398,30,2),
+ (597,399,30,2),
+ (598,400,30,2),
+ (600,401,30,2),
+ (602,402,30,2),
+ (604,403,30,2),
+ (605,404,30,2),
+ (606,405,30,2),
+ (607,406,30,2),
+ (608,407,30,2),
+ (609,408,30,2),
+ (610,409,30,2),
+ (612,410,30,2),
+ (613,411,30,2),
+ (614,412,30,2),
+ (616,413,30,2),
+ (617,414,30,2),
+ (619,415,30,2),
+ (620,416,30,2),
+ (621,417,30,2),
+ (623,418,30,2),
+ (625,419,30,2),
+ (627,420,30,2),
+ (629,421,30,2),
+ (631,422,30,2),
+ (632,423,30,2),
+ (634,424,30,2),
+ (636,425,30,2),
+ (637,426,30,2),
+ (639,427,30,2),
+ (640,428,30,2),
+ (641,429,30,2),
+ (642,430,30,2),
+ (644,431,30,2),
+ (645,432,30,2),
+ (647,433,30,2),
+ (648,434,30,2),
+ (649,435,30,2),
+ (651,436,30,2),
+ (653,437,30,2),
+ (654,438,30,2),
+ (655,439,30,2),
+ (656,440,30,2),
+ (657,441,30,2),
+ (659,442,30,2),
+ (661,443,30,2),
+ (663,444,30,2),
+ (664,445,30,2),
+ (665,446,30,2),
+ (667,447,30,2),
+ (669,448,30,2),
+ (671,449,30,2),
+ (672,450,30,2),
+ (161,101,31,3),
+ (205,129,31,3),
+ (352,231,31,3),
+ (434,289,31,3),
+ (529,353,32,3),
+ (547,364,32,3),
+ (670,448,32,3),
+ (685,462,32,2),
+ (686,463,32,2),
+ (201,127,33,3),
+ (119,75,34,3),
+ (407,272,34,3),
+ (682,459,34,2),
+ (192,122,35,3),
+ (703,480,35,2),
+ (733,510,35,2),
+ (273,176,36,3),
+ (464,308,36,3),
+ (638,426,36,3),
+ (480,318,37,3),
+ (531,354,38,3),
+ (65,39,39,3),
+ (277,179,39,3),
+ (493,327,39,3),
+ (563,374,39,3),
+ (630,421,39,3),
+ (652,436,39,3),
+ (1,1,40,2),
+ (3,2,40,2),
+ (5,3,40,2),
+ (7,4,40,2),
+ (9,5,40,2),
+ (11,6,40,2),
+ (13,7,40,2),
+ (14,8,40,2),
+ (15,9,40,2),
+ (17,10,40,2),
+ (19,11,40,2),
+ (21,12,40,2),
+ (23,13,40,2),
+ (25,14,40,2),
+ (26,15,40,2),
+ (27,16,40,2),
+ (29,17,40,2),
+ (31,18,40,2),
+ (32,19,40,2),
+ (33,20,40,2),
+ (34,21,40,2),
+ (36,22,40,2),
+ (38,23,40,2),
+ (40,24,40,2),
+ (42,25,40,2),
+ (44,26,40,2),
+ (45,27,40,2),
+ (46,28,40,2),
+ (48,29,40,2),
+ (50,30,40,2),
+ (52,31,40,2),
+ (54,32,40,2),
+ (55,33,40,2),
+ (56,34,40,2),
+ (58,35,40,2),
+ (60,36,40,2),
+ (61,37,40,2),
+ (62,38,40,2),
+ (64,39,40,2),
+ (66,40,40,2),
+ (68,41,40,2),
+ (70,42,40,2),
+ (72,43,40,2),
+ (74,44,40,2),
+ (76,45,40,2),
+ (78,46,40,2),
+ (80,47,40,2),
+ (81,48,40,2),
+ (82,49,40,2),
+ (83,50,40,2),
+ (84,51,40,2),
+ (85,52,40,2),
+ (87,53,40,2),
+ (88,54,40,2),
+ (89,54,40,3),
+ (90,55,40,2),
+ (91,56,40,2),
+ (92,57,40,2),
+ (93,58,40,2),
+ (94,59,40,2),
+ (95,60,40,2),
+ (97,61,40,2),
+ (99,62,40,2),
+ (101,63,40,2),
+ (102,64,40,2),
+ (104,65,40,2),
+ (105,66,40,2),
+ (107,67,40,2),
+ (108,68,40,2),
+ (110,69,40,2),
+ (111,70,40,2),
+ (113,71,40,2),
+ (114,72,40,2),
+ (115,73,40,2),
+ (117,74,40,2),
+ (118,75,40,2),
+ (120,76,40,2),
+ (122,77,40,2),
+ (124,78,40,2),
+ (126,79,40,2),
+ (127,80,40,2),
+ (129,81,40,2),
+ (131,82,40,2),
+ (133,83,40,2),
+ (135,84,40,2),
+ (137,85,40,2),
+ (138,86,40,2),
+ (139,87,40,2),
+ (140,88,40,2),
+ (142,89,40,2),
+ (143,90,40,2),
+ (145,91,40,2),
+ (146,92,40,2),
+ (148,93,40,2),
+ (150,94,40,2),
+ (152,95,40,2),
+ (153,96,40,2),
+ (154,97,40,2),
+ (155,97,40,3),
+ (156,98,40,2),
+ (158,99,40,2),
+ (159,100,40,2),
+ (160,101,40,2),
+ (162,102,40,2),
+ (164,103,40,2),
+ (165,104,40,2),
+ (167,105,40,2),
+ (169,106,40,2),
+ (170,107,40,2),
+ (172,108,40,2),
+ (173,109,40,2),
+ (174,110,40,2),
+ (175,111,40,2),
+ (177,112,40,2),
+ (179,113,40,2),
+ (180,114,40,2),
+ (181,115,40,2),
+ (183,116,40,2),
+ (184,117,40,2),
+ (185,118,40,2),
+ (187,119,40,2),
+ (188,120,40,2),
+ (190,121,40,2),
+ (191,122,40,2),
+ (193,123,40,2),
+ (195,124,40,2),
+ (197,125,40,2),
+ (198,126,40,2),
+ (200,127,40,2),
+ (202,128,40,2),
+ (204,129,40,2),
+ (206,130,40,2),
+ (208,131,40,2),
+ (210,132,40,2),
+ (212,133,40,2),
+ (214,134,40,2),
+ (215,135,40,2),
+ (216,136,40,2),
+ (217,137,40,2),
+ (218,138,40,2),
+ (219,139,40,2),
+ (220,140,40,2),
+ (221,141,40,2),
+ (223,142,40,2),
+ (224,143,40,2),
+ (225,144,40,2),
+ (226,145,40,2),
+ (228,146,40,2),
+ (230,147,40,2),
+ (232,148,40,2),
+ (234,149,40,2),
+ (236,150,40,2),
+ (387,255,40,3),
+ (141,88,41,3),
+ (199,126,42,3),
+ (233,148,42,3),
+ (326,213,42,3),
+ (358,235,42,3),
+ (583,388,43,3),
+ (684,461,43,2),
+ (794,571,43,2),
+ (235,149,44,3),
+ (458,305,44,3),
+ (553,367,44,3),
+ (132,82,45,3),
+ (592,395,45,3),
+ (662,443,45,3),
+ (782,559,45,2),
+ (271,175,46,3),
+ (128,80,47,3),
+ (370,242,47,3),
+ (442,294,47,3),
+ (776,553,47,2),
+ (526,351,48,3),
+ (711,488,48,2),
+ (741,518,48,2),
+ (417,278,49,3),
+ (594,396,49,3),
+ (765,542,49,2),
+ (63,38,50,3),
+ (508,338,50,3),
+ (510,339,50,3),
+ (706,483,50,2),
+ (736,513,50,2),
+ (203,128,52,3),
+ (365,239,53,3),
+ (473,314,54,3),
+ (489,324,54,3),
+ (362,237,55,3),
+ (112,70,56,3),
+ (302,197,56,3),
+ (611,409,56,3),
+ (628,420,56,3),
+ (643,430,56,3),
+ (231,147,57,3),
+ (346,227,57,3),
+ (771,548,57,2),
+ (8,4,58,3),
+ (22,12,58,3),
+ (761,538,58,2),
+ (149,93,59,3),
+ (495,328,59,3),
+ (585,389,59,3),
+ (615,412,59,3),
+ (690,467,59,2),
+ (720,497,59,2),
+ (770,547,60,2),
+ (412,275,61,3),
+ (549,365,61,3),
+ (51,30,62,3),
+ (581,387,62,3),
+ (709,486,62,2),
+ (739,516,62,2),
+ (69,41,63,3),
+ (98,61,63,3),
+ (699,476,63,2),
+ (729,506,63,2),
+ (67,40,64,3),
+ (79,46,64,3),
+ (186,118,64,3),
+ (261,167,64,3),
+ (466,309,64,3),
+ (535,356,64,3),
+ (288,186,65,3),
+ (37,22,66,3),
+ (209,131,66,3),
+ (367,240,66,3),
+ (317,207,67,3),
+ (397,263,67,3),
+ (497,329,67,3),
+ (379,249,68,3),
+ (751,528,68,2),
+ (28,16,69,3),
+ (136,84,69,3),
+ (157,98,69,3),
+ (701,478,69,2),
+ (731,508,69,2),
+ (96,60,70,3),
+ (249,159,70,3),
+ (333,217,70,3),
+ (384,253,70,3),
+ (420,280,70,3),
+ (16,9,71,3),
+ (227,145,71,3),
+ (683,460,71,2),
+ (666,446,72,3),
+ (791,568,72,2),
+ (660,442,73,3),
+ (116,73,74,3),
+ (426,284,74,3),
+ (673,450,74,3),
+ (543,362,75,3),
+ (712,489,75,2),
+ (742,519,75,2),
+ (222,141,76,3),
+ (286,185,76,3),
+ (478,317,76,3),
+ (502,333,76,3),
+ (716,493,76,2),
+ (746,523,76,2),
+ (49,29,77,3),
+ (308,201,77,3),
+ (349,229,77,3),
+ (541,361,77,3),
+ (130,81,78,3),
+ (440,293,78,3),
+ (560,372,78,3),
+ (692,469,79,2),
+ (722,499,79,2),
+ (229,146,81,3),
+ (344,226,82,3),
+ (680,457,82,2),
+ (783,560,83,2),
+ (121,76,84,3),
+ (328,214,84,3),
+ (486,322,84,3),
+ (795,572,84,2),
+ (18,10,85,3),
+ (39,23,85,3),
+ (313,205,85,3),
+ (437,291,85,3),
+ (574,382,85,3),
+ (24,13,86,3),
+ (163,102,86,3),
+ (306,200,86,3),
+ (360,236,86,3),
+ (476,316,86,3),
+ (618,414,86,3),
+ (779,556,86,2),
+ (410,274,88,3),
+ (551,366,89,3),
+ (626,419,89,3),
+ (10,5,90,3),
+ (100,62,90,3),
+ (342,225,90,3),
+ (462,307,90,3),
+ (694,471,90,2),
+ (724,501,90,2),
+ (755,532,90,2),
+ (2,1,91,3),
+ (35,21,92,3),
+ (533,355,92,3),
+ (681,458,92,2),
+ (4,2,93,3),
+ (57,34,93,3),
+ (166,104,93,3),
+ (255,163,93,3),
+ (315,206,93,3),
+ (633,423,93,3),
+ (713,490,93,2),
+ (743,520,93,2),
+ (47,28,94,3),
+ (658,441,95,3),
+ (603,402,96,3),
+ (59,35,97,3),
+ (151,94,97,3),
+ (428,285,98,3),
+ (545,363,98,3),
+ (635,424,98,3),
+ (767,544,98,2),
+ (246,157,99,3),
+ (355,233,100,3),
+ (576,383,101,3),
+ (790,567,102,2),
+ (687,464,104,2),
+ (717,494,104,2),
+ (766,543,106,2),
+ (785,562,108,2),
+ (698,475,109,2),
+ (728,505,109,2),
+ (764,541,109,2),
+ (769,546,120,2),
+ (704,481,121,2),
+ (734,511,121,2),
+ (789,566,121,2),
+ (696,473,126,2),
+ (726,503,126,2),
+ (781,558,127,2),
+ (774,551,130,2),
+ (748,525,131,2),
+ (708,485,133,2),
+ (738,515,133,2),
+ (777,554,134,2),
+ (705,482,137,2),
+ (735,512,137,2),
+ (700,477,140,2),
+ (730,507,140,2),
+ (757,534,141,2),
+ (691,468,145,2),
+ (721,498,145,2),
+ (695,472,150,2),
+ (725,502,150,2),
+ (797,574,151,2),
+ (688,465,152,2),
+ (718,495,152,2),
+ (752,529,154,2),
+ (760,537,156,2),
+ (763,540,163,2),
+ (772,549,164,2),
+ (762,539,165,2),
+ (796,573,166,2),
+ (780,557,169,2),
+ (715,492,170,2),
+ (745,522,170,2),
+ (754,531,175,2),
+ (786,563,177,2),
+ (753,530,179,2),
+ (775,552,180,2),
+ (759,536,181,2),
+ (707,484,184,2),
+ (737,514,184,2),
+ (689,466,185,2),
+ (719,496,185,2),
+ (778,555,187,2),
+ (714,491,188,2),
+ (744,521,188,2),
+ (792,569,189,2),
+ (784,561,190,2),
+ (756,533,192,2),
+ (758,535,195,2),
+ (237,151,196,2),
+ (238,152,196,2),
+ (240,153,196,2),
+ (242,154,196,2),
+ (243,155,196,2),
+ (244,156,196,2),
+ (245,157,196,2),
+ (247,158,196,2),
+ (248,159,196,2),
+ (250,160,196,2),
+ (252,161,196,2),
+ (253,162,196,2),
+ (254,163,196,2),
+ (256,164,196,2),
+ (258,165,196,2),
+ (259,166,196,2),
+ (260,167,196,2),
+ (262,168,196,2),
+ (263,169,196,2),
+ (264,170,196,2),
+ (265,171,196,2),
+ (266,172,196,2),
+ (267,173,196,2),
+ (269,174,196,2),
+ (270,175,196,2),
+ (272,176,196,2),
+ (274,177,196,2),
+ (275,178,196,2),
+ (276,179,196,2),
+ (278,180,196,2),
+ (279,181,196,2),
+ (280,182,196,2),
+ (282,183,196,2),
+ (283,184,196,2),
+ (285,185,196,2),
+ (287,186,196,2),
+ (289,187,196,2),
+ (291,188,196,2),
+ (292,189,196,2),
+ (293,190,196,2),
+ (294,191,196,2),
+ (295,192,196,2),
+ (296,193,196,2),
+ (297,194,196,2),
+ (298,195,196,2),
+ (300,196,196,2),
+ (301,197,196,2),
+ (303,198,196,2),
+ (304,199,196,2),
+ (305,200,196,2),
+ (307,201,196,2),
+ (309,202,196,2),
+ (310,203,196,2),
+ (311,204,196,2),
+ (312,205,196,2),
+ (314,206,196,2),
+ (316,207,196,2),
+ (318,208,196,2),
+ (320,209,196,2),
+ (321,210,196,2),
+ (322,211,196,2),
+ (324,212,196,2),
+ (325,213,196,2),
+ (327,214,196,2),
+ (329,215,196,2),
+ (331,216,196,2),
+ (332,217,196,2),
+ (334,218,196,2),
+ (335,219,196,2),
+ (336,220,196,2),
+ (337,221,196,2),
+ (338,222,196,2),
+ (339,223,196,2),
+ (340,224,196,2),
+ (341,225,196,2),
+ (343,226,196,2),
+ (345,227,196,2),
+ (347,228,196,2),
+ (348,229,196,2),
+ (350,230,196,2),
+ (351,231,196,2),
+ (353,232,196,2),
+ (354,233,196,2),
+ (356,234,196,2),
+ (357,235,196,2),
+ (359,236,196,2),
+ (361,237,196,2),
+ (363,238,196,2),
+ (364,239,196,2),
+ (366,240,196,2),
+ (368,241,196,2),
+ (369,242,196,2),
+ (371,243,196,2),
+ (372,244,196,2),
+ (373,245,196,2),
+ (374,246,196,2),
+ (376,247,196,2),
+ (377,248,196,2),
+ (378,249,196,2),
+ (380,250,196,2),
+ (381,251,196,2),
+ (382,252,196,2),
+ (383,253,196,2),
+ (385,254,196,2),
+ (386,255,196,2),
+ (388,256,196,2),
+ (390,257,196,2),
+ (391,258,196,2),
+ (392,259,196,2),
+ (393,260,196,2),
+ (394,261,196,2),
+ (395,262,196,2),
+ (396,263,196,2),
+ (398,264,196,2),
+ (399,265,196,2),
+ (400,266,196,2),
+ (401,267,196,2),
+ (402,268,196,2),
+ (403,269,196,2),
+ (404,270,196,2),
+ (405,271,196,2),
+ (406,272,196,2),
+ (408,273,196,2),
+ (409,274,196,2),
+ (411,275,196,2),
+ (413,276,196,2),
+ (414,277,196,2),
+ (416,278,196,2),
+ (418,279,196,2),
+ (419,280,196,2),
+ (421,281,196,2),
+ (422,282,196,2),
+ (423,283,196,2),
+ (425,284,196,2),
+ (427,285,196,2),
+ (429,286,196,2),
+ (431,287,196,2),
+ (432,288,196,2),
+ (433,289,196,2),
+ (435,290,196,2),
+ (436,291,196,2),
+ (438,292,196,2),
+ (439,293,196,2),
+ (441,294,196,2),
+ (443,295,196,2),
+ (444,296,196,2),
+ (445,297,196,2),
+ (446,298,196,2),
+ (448,299,196,2),
+ (450,300,196,2),
+ (788,565,199,2),
+ (750,527,201,2);
 /*!40000 ALTER TABLE `civicrm_activity_contact` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -1603,184 +1599,193 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_address` WRITE;
 /*!40000 ALTER TABLE `civicrm_address` DISABLE KEYS */;
 INSERT INTO `civicrm_address` (`id`, `contact_id`, `location_type_id`, `is_primary`, `is_billing`, `street_address`, `street_number`, `street_number_suffix`, `street_number_predirectional`, `street_name`, `street_type`, `street_number_postdirectional`, `street_unit`, `supplemental_address_1`, `supplemental_address_2`, `supplemental_address_3`, `city`, `county_id`, `state_province_id`, `postal_code_suffix`, `postal_code`, `usps_adc`, `country_id`, `geo_code_1`, `geo_code_2`, `manual_geo_code`, `timezone`, `name`, `master_id`) VALUES
- (1,138,1,1,0,'459D Dowlen Dr SW',459,'D',NULL,'Dowlen','Dr','SW',NULL,NULL,NULL,NULL,'Carpenter',1,1049,NULL,'82054',NULL,1228,41.064212,-104.34107,0,NULL,NULL,NULL),
- (2,21,1,1,0,'718R Woodbridge St E',718,'R',NULL,'Woodbridge','St','E',NULL,NULL,NULL,NULL,'Ventura',1,1014,NULL,'50482',NULL,1228,43.124246,-93.48259,0,NULL,NULL,NULL),
- (3,85,1,1,0,'830V Maple Rd E',830,'V',NULL,'Maple','Rd','E',NULL,NULL,NULL,NULL,'Newport Center',1,1044,NULL,'05857',NULL,1228,44.944231,-72.30054,0,NULL,NULL,NULL),
- (4,128,1,1,0,'430V College St E',430,'V',NULL,'College','St','E',NULL,NULL,NULL,NULL,'Madison',1,1041,NULL,'37116',NULL,1228,36.186605,-86.785248,0,NULL,NULL,NULL),
- (5,53,1,1,0,'175Z Jackson St W',175,'Z',NULL,'Jackson','St','W',NULL,NULL,NULL,NULL,'Fairchild',1,1048,NULL,'54741',NULL,1228,44.601345,-90.98854,0,NULL,NULL,NULL),
- (6,14,1,1,0,'26S Lincoln Blvd W',26,'S',NULL,'Lincoln','Blvd','W',NULL,NULL,NULL,NULL,'San Francisco',1,1004,NULL,'94151',NULL,1228,37.784827,-122.727802,0,NULL,NULL,NULL),
- (7,191,1,1,0,'424B Northpoint Blvd S',424,'B',NULL,'Northpoint','Blvd','S',NULL,NULL,NULL,NULL,'Sadsburyville',1,1037,NULL,'19369',NULL,1228,39.985257,-75.88984,0,NULL,NULL,NULL),
- (8,50,1,1,0,'210Z Woodbridge Way SE',210,'Z',NULL,'Woodbridge','Way','SE',NULL,NULL,NULL,NULL,'Shawnee',1,1035,NULL,'74807',NULL,1228,35.306375,-96.935924,0,NULL,NULL,NULL),
- (9,5,1,1,0,'899L El Camino Blvd NE',899,'L',NULL,'El Camino','Blvd','NE',NULL,NULL,NULL,NULL,'New Orleans',1,1017,NULL,'70126',NULL,1228,30.016002,-90.01972,0,NULL,NULL,NULL),
- (10,173,1,1,0,'380X Green Path SE',380,'X',NULL,'Green','Path','SE',NULL,NULL,NULL,NULL,'Tupelo',1,1023,NULL,'38804',NULL,1228,34.272374,-88.6822,0,NULL,NULL,NULL),
- (11,190,1,1,0,'15J Green Dr SE',15,'J',NULL,'Green','Dr','SE',NULL,NULL,NULL,NULL,'Fort Blackmore',1,1045,NULL,'24250',NULL,1228,36.759614,-82.59473,0,NULL,NULL,NULL),
- (12,23,1,1,0,'682Z Lincoln Blvd SE',682,'Z',NULL,'Lincoln','Blvd','SE',NULL,NULL,NULL,NULL,'Kennesaw',1,1009,NULL,'30144',NULL,1228,34.038949,-84.59706,0,NULL,NULL,NULL),
- (13,199,1,1,0,'13P States Ave S',13,'P',NULL,'States','Ave','S',NULL,NULL,NULL,NULL,'Albuquerque',1,1030,NULL,'87116',NULL,1228,35.053147,-106.55102,0,NULL,NULL,NULL),
- (14,25,1,1,0,'19E Woodbridge Ln W',19,'E',NULL,'Woodbridge','Ln','W',NULL,NULL,NULL,NULL,'Rollinsford',1,1028,NULL,'03805',NULL,1228,43.285282,-70.930684,0,NULL,NULL,NULL),
- (15,11,1,1,0,'712J Pine Pl NW',712,'J',NULL,'Pine','Pl','NW',NULL,NULL,NULL,NULL,'Liberal',1,1024,NULL,'64762',NULL,1228,37.555366,-94.51496,0,NULL,NULL,NULL),
- (16,20,1,1,0,'419H Beech St N',419,'H',NULL,'Beech','St','N',NULL,NULL,NULL,NULL,'Spearman',1,1042,NULL,'79081',NULL,1228,36.185112,-101.18783,0,NULL,NULL,NULL),
- (17,117,1,1,0,'570K El Camino Rd N',570,'K',NULL,'El Camino','Rd','N',NULL,NULL,NULL,NULL,'Eau Claire',1,1037,NULL,'16030',NULL,1228,41.135335,-79.79791,0,NULL,NULL,NULL),
- (18,44,1,1,0,'525J El Camino Pl NE',525,'J',NULL,'El Camino','Pl','NE',NULL,NULL,NULL,NULL,'Solebury',1,1037,NULL,'18638',NULL,1228,40.384588,-75.058245,0,NULL,NULL,NULL),
- (19,146,1,1,0,'991J Bay Blvd NW',991,'J',NULL,'Bay','Blvd','NW',NULL,NULL,NULL,NULL,'Sacramento',1,1004,NULL,'95817',NULL,1228,38.551106,-121.45996,0,NULL,NULL,NULL),
- (20,192,1,1,0,'24C Jackson Blvd E',24,'C',NULL,'Jackson','Blvd','E',NULL,NULL,NULL,NULL,'Laughlin',1,1027,NULL,'89028',NULL,1228,35.013978,-114.6447,0,NULL,NULL,NULL),
- (21,122,1,1,0,'767T Maple Path E',767,'T',NULL,'Maple','Path','E',NULL,NULL,NULL,NULL,'Everly',1,1014,NULL,'51338',NULL,1228,43.193363,-95.31854,0,NULL,NULL,NULL),
- (22,33,1,1,0,'85B Pine Pl NW',85,'B',NULL,'Pine','Pl','NW',NULL,NULL,NULL,NULL,'Cantril',1,1014,NULL,'52542',NULL,1228,40.649744,-92.0662,0,NULL,NULL,NULL),
- (23,149,1,1,0,'700S College Ln N',700,'S',NULL,'College','Ln','N',NULL,NULL,NULL,NULL,'San Diego',1,1004,NULL,'92193',NULL,1228,33.016928,-116.846046,0,NULL,NULL,NULL),
- (24,100,1,1,0,'924B Pine Way E',924,'B',NULL,'Pine','Way','E',NULL,NULL,NULL,NULL,'Hamel',1,1022,NULL,'55340',NULL,1228,45.07343,-93.56455,0,NULL,NULL,NULL),
- (25,2,1,1,0,'477B Beech Ave E',477,'B',NULL,'Beech','Ave','E',NULL,NULL,NULL,NULL,'Holabird',1,1040,NULL,'57540',NULL,1228,44.466602,-99.61724,0,NULL,NULL,NULL),
- (26,26,1,1,0,'958R Beech Ln S',958,'R',NULL,'Beech','Ln','S',NULL,NULL,NULL,NULL,'Charleston',1,1039,NULL,'29409',NULL,1228,32.84885,-79.85773,0,NULL,NULL,NULL),
- (27,186,1,1,0,'391B Woodbridge Way S',391,'B',NULL,'Woodbridge','Way','S',NULL,NULL,NULL,NULL,'Leona',1,1042,NULL,'75850',NULL,1228,31.134863,-95.93312,0,NULL,NULL,NULL),
- (28,110,1,1,0,'842O Northpoint Way S',842,'O',NULL,'Northpoint','Way','S',NULL,NULL,NULL,NULL,'Chester',1,1037,NULL,'19013',NULL,1228,39.84697,-75.37444,0,NULL,NULL,NULL),
- (29,71,1,1,0,'887Z Beech Ln SE',887,'Z',NULL,'Beech','Ln','SE',NULL,NULL,NULL,NULL,'Minneapolis',1,1022,NULL,'55446',NULL,1228,45.039312,-93.47988,0,NULL,NULL,NULL),
- (30,189,1,1,0,'759V Lincoln Rd W',759,'V',NULL,'Lincoln','Rd','W',NULL,NULL,NULL,NULL,'Parker',1,1011,NULL,'83438',NULL,1228,44.319199,-111.60171,0,NULL,NULL,NULL),
- (31,10,1,1,0,'89C Maple Dr NE',89,'C',NULL,'Maple','Dr','NE',NULL,NULL,NULL,NULL,'Stevensville',1,1021,NULL,'49127',NULL,1228,42.015092,-86.51351,0,NULL,NULL,NULL),
- (32,115,1,1,0,'769W Green Path N',769,'W',NULL,'Green','Path','N',NULL,NULL,NULL,NULL,'San Diego',1,1004,NULL,'92169',NULL,1228,33.016928,-116.846046,0,NULL,NULL,NULL),
- (33,38,1,1,0,'924Q Maple Blvd NW',924,'Q',NULL,'Maple','Blvd','NW',NULL,NULL,NULL,NULL,'Rosemead',1,1004,NULL,'91770',NULL,1228,34.066143,-118.08475,0,NULL,NULL,NULL),
- (34,156,1,1,0,'842P Northpoint St NW',842,'P',NULL,'Northpoint','St','NW',NULL,NULL,NULL,NULL,'Tecate',1,1004,NULL,'91987',NULL,1228,33.016928,-116.846046,0,NULL,NULL,NULL),
- (35,103,1,1,0,'495N Northpoint Rd NW',495,'N',NULL,'Northpoint','Rd','NW',NULL,NULL,NULL,NULL,'Salinas',1,1004,NULL,'93905',NULL,1228,36.681161,-121.61538,0,NULL,NULL,NULL),
- (36,68,1,1,0,'672C Green St W',672,'C',NULL,'Green','St','W',NULL,NULL,NULL,NULL,'Denver',1,1005,NULL,'80251',NULL,1228,39.738752,-104.408349,0,NULL,NULL,NULL),
- (37,176,1,1,0,'294Z Maple Way NE',294,'Z',NULL,'Maple','Way','NE',NULL,NULL,NULL,NULL,'Providence',1,1038,NULL,'02901',NULL,1228,41.82275,-71.414451,0,NULL,NULL,NULL),
- (38,49,1,1,0,'194C Lincoln Ln S',194,'C',NULL,'Lincoln','Ln','S',NULL,NULL,NULL,NULL,'Amelia Court House',1,1045,NULL,'23002',NULL,1228,37.338511,-77.95893,0,NULL,NULL,NULL),
- (39,75,1,1,0,'385Q Main Ln SE',385,'Q',NULL,'Main','Ln','SE',NULL,NULL,NULL,NULL,'Tacoma',1,1046,NULL,'98411',NULL,1228,47.066193,-122.113223,0,NULL,NULL,NULL),
- (40,162,1,1,0,'407E Lincoln Rd NE',407,'E',NULL,'Lincoln','Rd','NE',NULL,NULL,NULL,NULL,'Danville',1,1037,NULL,'17822',NULL,1228,40.967437,-76.604896,0,NULL,NULL,NULL),
- (41,58,1,1,0,'411R Green Ave W',411,'R',NULL,'Green','Ave','W',NULL,NULL,NULL,NULL,'Omaha',1,1026,NULL,'68132',NULL,1228,41.26565,-95.99741,0,NULL,NULL,NULL),
- (42,64,1,1,0,'971G Maple Ln E',971,'G',NULL,'Maple','Ln','E',NULL,NULL,NULL,NULL,'Tekoa',1,1046,NULL,'99033',NULL,1228,47.222328,-117.08133,0,NULL,NULL,NULL),
- (43,35,1,1,0,'895F El Camino Blvd S',895,'F',NULL,'El Camino','Blvd','S',NULL,NULL,NULL,NULL,'Klondike',1,1042,NULL,'75448',NULL,1228,33.31215,-95.81737,0,NULL,NULL,NULL),
- (44,51,1,1,0,'600Z Caulder Way N',600,'Z',NULL,'Caulder','Way','N',NULL,NULL,NULL,NULL,'Markleeville',1,1004,NULL,'96120',NULL,1228,38.76467,-119.85236,0,NULL,NULL,NULL),
- (45,62,1,1,0,'303E Beech Pl SE',303,'E',NULL,'Beech','Pl','SE',NULL,NULL,NULL,NULL,'North',1,1045,NULL,'23128',NULL,1228,37.456363,-76.43298,0,NULL,NULL,NULL),
- (46,126,1,1,0,'272R Jackson Ln SW',272,'R',NULL,'Jackson','Ln','SW',NULL,NULL,NULL,NULL,'Pompano Beach',1,1008,NULL,'33073',NULL,1228,26.305433,-80.18287,0,NULL,NULL,NULL),
- (47,180,1,1,0,'492U Bay Dr E',492,'U',NULL,'Bay','Dr','E',NULL,NULL,NULL,NULL,'Sewaren',1,1029,NULL,'07077',NULL,1228,40.553971,-74.25938,0,NULL,NULL,NULL),
- (48,28,1,1,0,'601I Lincoln Ln W',601,'I',NULL,'Lincoln','Ln','W',NULL,NULL,NULL,NULL,'Lexington',1,1031,NULL,'12452',NULL,1228,42.223407,-74.386635,0,NULL,NULL,NULL),
- (49,155,1,1,0,'889J Green Path E',889,'J',NULL,'Green','Path','E',NULL,NULL,NULL,NULL,'Smolan',1,1015,NULL,'67479',NULL,1228,38.702546,-97.642827,0,NULL,NULL,NULL),
- (50,60,1,1,0,'985F Main Blvd SE',985,'F',NULL,'Main','Blvd','SE',NULL,NULL,NULL,NULL,'Brusly',1,1017,NULL,'70719',NULL,1228,30.384402,-91.25549,0,NULL,NULL,NULL),
- (51,70,1,1,0,'171G Jackson St NE',171,'G',NULL,'Jackson','St','NE',NULL,NULL,NULL,NULL,'Worcester',1,1020,NULL,'01608',NULL,1228,42.261343,-71.80173,0,NULL,NULL,NULL),
- (52,97,1,1,0,'456R Beech Dr W',456,'R',NULL,'Beech','Dr','W',NULL,NULL,NULL,NULL,'Rochelle',1,1009,NULL,'31079',NULL,1228,31.933079,-83.45722,0,NULL,NULL,NULL),
- (53,17,1,1,0,'194E States St E',194,'E',NULL,'States','St','E',NULL,NULL,NULL,NULL,'Bountiful',1,1043,NULL,'84011',NULL,1228,40.963547,-112.115984,0,NULL,NULL,NULL),
- (54,147,1,1,0,'312I Green Rd NE',312,'I',NULL,'Green','Rd','NE',NULL,NULL,NULL,NULL,'Monrovia',1,1019,NULL,'21770',NULL,1228,39.354093,-77.24861,0,NULL,NULL,NULL),
- (55,63,1,1,0,'186L Bay Rd NW',186,'L',NULL,'Bay','Rd','NW',NULL,NULL,NULL,NULL,'Orono',1,1018,NULL,'04473',NULL,1228,44.889249,-68.68177,0,NULL,NULL,NULL),
- (56,167,1,1,0,'388N College St NE',388,'N',NULL,'College','St','NE',NULL,NULL,NULL,NULL,'Mount Carmel',1,1041,NULL,'37645',NULL,1228,36.560966,-82.65855,0,NULL,NULL,NULL),
- (57,161,1,1,0,'300Q College Blvd NE',300,'Q',NULL,'College','Blvd','NE',NULL,NULL,NULL,NULL,'Dallas',1,1042,NULL,'75262',NULL,1228,32.767268,-96.777626,0,NULL,NULL,NULL),
- (58,39,1,1,0,'961N Lincoln Ln SE',961,'N',NULL,'Lincoln','Ln','SE',NULL,NULL,NULL,NULL,'Feather Falls',1,1004,NULL,'95940',NULL,1228,39.585648,-121.259009,0,NULL,NULL,NULL),
- (59,109,1,1,0,'34H Van Ness St N',34,'H',NULL,'Van Ness','St','N',NULL,NULL,NULL,NULL,'Redlands',1,1004,NULL,'92374',NULL,1228,34.063264,-117.16888,0,NULL,NULL,NULL),
- (60,171,1,1,0,'861B Caulder St NW',861,'B',NULL,'Caulder','St','NW',NULL,NULL,NULL,NULL,'Everton',1,1003,NULL,'72633',NULL,1228,36.150276,-92.89576,0,NULL,NULL,NULL),
- (61,159,1,1,0,'544F Cadell Dr E',544,'F',NULL,'Cadell','Dr','E',NULL,NULL,NULL,NULL,'Marthaville',1,1017,NULL,'71450',NULL,1228,31.77112,-93.41547,0,NULL,NULL,NULL),
- (62,12,1,1,0,'309U Caulder Pl NE',309,'U',NULL,'Caulder','Pl','NE',NULL,NULL,NULL,NULL,'Bethel',1,1018,NULL,'04217',NULL,1228,44.372129,-70.8175,0,NULL,NULL,NULL),
- (63,188,1,1,0,'477B Van Ness Rd N',477,'B',NULL,'Van Ness','Rd','N',NULL,NULL,NULL,NULL,'Redford',1,1021,NULL,'48239',NULL,1228,42.379436,-83.29105,0,NULL,NULL,NULL),
- (64,157,3,1,0,'751A Van Ness Path S',751,'A',NULL,'Van Ness','Path','S',NULL,'c/o PO Plus',NULL,NULL,'Milmay',1,1029,NULL,'08340',NULL,1228,39.437265,-74.87926,0,NULL,NULL,NULL),
- (65,91,3,1,0,'741Z Dowlen Ln E',741,'Z',NULL,'Dowlen','Ln','E',NULL,'Subscriptions Dept',NULL,NULL,'Newton Junction',1,1028,NULL,'03859',NULL,1228,42.861915,-71.04002,0,NULL,NULL,NULL),
- (66,13,3,1,0,'744J Lincoln Pl NW',744,'J',NULL,'Lincoln','Pl','NW',NULL,'Cuffe Parade',NULL,NULL,'Sacramento',1,1004,NULL,'94229',NULL,1228,38.377411,-121.444429,0,NULL,NULL,NULL),
- (67,32,3,1,0,'74P Main Rd W',74,'P',NULL,'Main','Rd','W',NULL,'Mailstop 101',NULL,NULL,'Springfield',1,1034,NULL,'45502',NULL,1228,39.926617,-83.8128,0,NULL,NULL,NULL),
- (68,87,3,1,0,'14Z Pine Ln SW',14,'Z',NULL,'Pine','Ln','SW',NULL,'Attn: Accounting',NULL,NULL,'Amf Ohare',1,1012,NULL,'60666',NULL,1228,41.968029,-87.891214,0,NULL,NULL,NULL),
- (69,41,2,1,0,'14Z Pine Ln SW',14,'Z',NULL,'Pine','Ln','SW',NULL,'Attn: Accounting',NULL,NULL,'Amf Ohare',1,1012,NULL,'60666',NULL,1228,41.968029,-87.891214,0,NULL,NULL,68),
- (70,65,3,1,0,'342S El Camino Dr NE',342,'S',NULL,'El Camino','Dr','NE',NULL,'c/o PO Plus',NULL,NULL,'Pennington',1,1042,NULL,'75856',NULL,1228,31.21349,-95.23475,0,NULL,NULL,NULL),
- (71,182,3,1,0,'319Y Cadell Ave S',319,'Y',NULL,'Cadell','Ave','S',NULL,'Attn: Development',NULL,NULL,'Pasadena',1,1004,NULL,'91107',NULL,1228,34.151066,-118.08974,0,NULL,NULL,NULL),
- (72,138,2,0,0,'319Y Cadell Ave S',319,'Y',NULL,'Cadell','Ave','S',NULL,'Attn: Development',NULL,NULL,'Pasadena',1,1004,NULL,'91107',NULL,1228,34.151066,-118.08974,0,NULL,NULL,71),
- (73,6,3,1,0,'631S Van Ness Way SE',631,'S',NULL,'Van Ness','Way','SE',NULL,'Receiving',NULL,NULL,'Comstock',1,1022,NULL,'56525',NULL,1228,46.659932,-96.74693,0,NULL,NULL,NULL),
- (74,53,2,0,0,'631S Van Ness Way SE',631,'S',NULL,'Van Ness','Way','SE',NULL,'Receiving',NULL,NULL,'Comstock',1,1022,NULL,'56525',NULL,1228,46.659932,-96.74693,0,NULL,NULL,73),
- (75,168,3,1,0,'983A Maple Rd NE',983,'A',NULL,'Maple','Rd','NE',NULL,'Churchgate',NULL,NULL,'Allentown',1,1009,NULL,'31003',NULL,1228,32.600622,-83.22096,0,NULL,NULL,NULL),
- (76,18,2,1,0,'983A Maple Rd NE',983,'A',NULL,'Maple','Rd','NE',NULL,'Churchgate',NULL,NULL,'Allentown',1,1009,NULL,'31003',NULL,1228,32.600622,-83.22096,0,NULL,NULL,75),
- (77,36,3,1,0,'289H Green Pl NW',289,'H',NULL,'Green','Pl','NW',NULL,'Attn: Development',NULL,NULL,'Corpus Christi',1,1042,NULL,'78409',NULL,1228,27.806753,-97.50971,0,NULL,NULL,NULL),
- (78,16,2,1,0,'289H Green Pl NW',289,'H',NULL,'Green','Pl','NW',NULL,'Attn: Development',NULL,NULL,'Corpus Christi',1,1042,NULL,'78409',NULL,1228,27.806753,-97.50971,0,NULL,NULL,77),
- (79,4,3,1,0,'568F Martin Luther King Way NW',568,'F',NULL,'Martin Luther King','Way','NW',NULL,'Disbursements',NULL,NULL,'Dixon',1,1014,NULL,'52745',NULL,1228,41.73542,-90.77717,0,NULL,NULL,NULL),
- (80,66,2,1,0,'568F Martin Luther King Way NW',568,'F',NULL,'Martin Luther King','Way','NW',NULL,'Disbursements',NULL,NULL,'Dixon',1,1014,NULL,'52745',NULL,1228,41.73542,-90.77717,0,NULL,NULL,79),
- (81,143,3,1,0,'845U Main St E',845,'U',NULL,'Main','St','E',NULL,'Disbursements',NULL,NULL,'Fairfield',1,1029,NULL,'07004',NULL,1228,40.879049,-74.29378,0,NULL,NULL,NULL),
- (82,79,3,1,0,'164Q Maple Ave S',164,'Q',NULL,'Maple','Ave','S',NULL,'Receiving',NULL,NULL,'Brooklyn',1,1031,NULL,'11228',NULL,1228,40.617563,-74.01168,0,NULL,NULL,NULL),
- (83,3,2,1,0,'164Q Maple Ave S',164,'Q',NULL,'Maple','Ave','S',NULL,'Receiving',NULL,NULL,'Brooklyn',1,1031,NULL,'11228',NULL,1228,40.617563,-74.01168,0,NULL,NULL,82),
- (84,61,3,1,0,'402I Bay Ave N',402,'I',NULL,'Bay','Ave','N',NULL,'Urgent',NULL,NULL,'Kiamesha Lake',1,1031,NULL,'12751',NULL,1228,41.679152,-74.657,0,NULL,NULL,NULL),
- (85,153,2,1,0,'402I Bay Ave N',402,'I',NULL,'Bay','Ave','N',NULL,'Urgent',NULL,NULL,'Kiamesha Lake',1,1031,NULL,'12751',NULL,1228,41.679152,-74.657,0,NULL,NULL,84),
- (86,19,3,1,0,'822H Second Dr E',822,'H',NULL,'Second','Dr','E',NULL,'Subscriptions Dept',NULL,NULL,'Hagar Shores',1,1021,NULL,'49039',NULL,1228,42.224757,-86.372276,0,NULL,NULL,NULL),
- (87,72,3,1,0,'688I Lincoln Dr NW',688,'I',NULL,'Lincoln','Dr','NW',NULL,'Disbursements',NULL,NULL,'Bellmawr',1,1029,NULL,'08031',NULL,1228,39.867013,-75.09162,0,NULL,NULL,NULL),
- (88,100,2,0,0,'688I Lincoln Dr NW',688,'I',NULL,'Lincoln','Dr','NW',NULL,'Disbursements',NULL,NULL,'Bellmawr',1,1029,NULL,'08031',NULL,1228,39.867013,-75.09162,0,NULL,NULL,87),
- (89,181,3,1,0,'18X Woodbridge St SE',18,'X',NULL,'Woodbridge','St','SE',NULL,'Attn: Accounting',NULL,NULL,'Newington',1,1009,NULL,'30446',NULL,1228,32.567281,-81.48627,0,NULL,NULL,NULL),
- (90,59,2,1,0,'18X Woodbridge St SE',18,'X',NULL,'Woodbridge','St','SE',NULL,'Attn: Accounting',NULL,NULL,'Newington',1,1009,NULL,'30446',NULL,1228,32.567281,-81.48627,0,NULL,NULL,89),
- (91,174,3,1,0,'643B Cadell Ln W',643,'B',NULL,'Cadell','Ln','W',NULL,'Attn: Accounting',NULL,NULL,'Odessa',1,1042,NULL,'79762',NULL,1228,31.890374,-102.35398,0,NULL,NULL,NULL),
- (92,69,3,1,0,'443H Dowlen Rd SE',443,'H',NULL,'Dowlen','Rd','SE',NULL,'Attn: Accounting',NULL,NULL,'Glencoe',1,1022,NULL,'55336',NULL,1228,44.773886,-94.17294,0,NULL,NULL,NULL),
- (93,73,2,1,0,'443H Dowlen Rd SE',443,'H',NULL,'Dowlen','Rd','SE',NULL,'Attn: Accounting',NULL,NULL,'Glencoe',1,1022,NULL,'55336',NULL,1228,44.773886,-94.17294,0,NULL,NULL,92),
- (94,74,3,1,0,'360O Martin Luther King Pl NW',360,'O',NULL,'Martin Luther King','Pl','NW',NULL,'Editorial Dept',NULL,NULL,'Maynard',1,1034,NULL,'43937',NULL,1228,40.130167,-80.877264,0,NULL,NULL,NULL),
- (95,78,2,1,0,'360O Martin Luther King Pl NW',360,'O',NULL,'Martin Luther King','Pl','NW',NULL,'Editorial Dept',NULL,NULL,'Maynard',1,1034,NULL,'43937',NULL,1228,40.130167,-80.877264,0,NULL,NULL,94),
- (96,92,1,1,0,'600Z Caulder Way N',600,'Z',NULL,'Caulder','Way','N',NULL,NULL,NULL,NULL,'Markleeville',1,1004,NULL,'96120',NULL,1228,38.76467,-119.85236,0,NULL,NULL,44),
- (97,130,1,1,0,'600Z Caulder Way N',600,'Z',NULL,'Caulder','Way','N',NULL,NULL,NULL,NULL,'Markleeville',1,1004,NULL,'96120',NULL,1228,38.76467,-119.85236,0,NULL,NULL,44),
- (98,55,1,1,0,'600Z Caulder Way N',600,'Z',NULL,'Caulder','Way','N',NULL,NULL,NULL,NULL,'Markleeville',1,1004,NULL,'96120',NULL,1228,38.76467,-119.85236,0,NULL,NULL,44),
- (99,35,1,0,0,'600Z Caulder Way N',600,'Z',NULL,'Caulder','Way','N',NULL,NULL,NULL,NULL,'Markleeville',1,1004,NULL,'96120',NULL,1228,38.76467,-119.85236,0,NULL,NULL,44),
- (100,42,1,1,0,'303E Beech Pl SE',303,'E',NULL,'Beech','Pl','SE',NULL,NULL,NULL,NULL,'North',1,1045,NULL,'23128',NULL,1228,37.456363,-76.43298,0,NULL,NULL,45),
- (101,123,1,1,0,'303E Beech Pl SE',303,'E',NULL,'Beech','Pl','SE',NULL,NULL,NULL,NULL,'North',1,1045,NULL,'23128',NULL,1228,37.456363,-76.43298,0,NULL,NULL,45),
- (102,108,1,1,0,'303E Beech Pl SE',303,'E',NULL,'Beech','Pl','SE',NULL,NULL,NULL,NULL,'North',1,1045,NULL,'23128',NULL,1228,37.456363,-76.43298,0,NULL,NULL,45),
- (103,3,1,0,0,'303E Beech Pl SE',303,'E',NULL,'Beech','Pl','SE',NULL,NULL,NULL,NULL,'North',1,1045,NULL,'23128',NULL,1228,37.456363,-76.43298,0,NULL,NULL,45),
- (104,113,1,1,0,'272R Jackson Ln SW',272,'R',NULL,'Jackson','Ln','SW',NULL,NULL,NULL,NULL,'Pompano Beach',1,1008,NULL,'33073',NULL,1228,26.305433,-80.18287,0,NULL,NULL,46),
- (105,118,1,1,0,'272R Jackson Ln SW',272,'R',NULL,'Jackson','Ln','SW',NULL,NULL,NULL,NULL,'Pompano Beach',1,1008,NULL,'33073',NULL,1228,26.305433,-80.18287,0,NULL,NULL,46),
- (106,101,1,1,0,'272R Jackson Ln SW',272,'R',NULL,'Jackson','Ln','SW',NULL,NULL,NULL,NULL,'Pompano Beach',1,1008,NULL,'33073',NULL,1228,26.305433,-80.18287,0,NULL,NULL,46),
- (107,40,1,1,0,'272R Jackson Ln SW',272,'R',NULL,'Jackson','Ln','SW',NULL,NULL,NULL,NULL,'Pompano Beach',1,1008,NULL,'33073',NULL,1228,26.305433,-80.18287,0,NULL,NULL,46),
- (108,140,1,1,0,'492U Bay Dr E',492,'U',NULL,'Bay','Dr','E',NULL,NULL,NULL,NULL,'Sewaren',1,1029,NULL,'07077',NULL,1228,40.553971,-74.25938,0,NULL,NULL,47),
- (109,142,1,1,0,'492U Bay Dr E',492,'U',NULL,'Bay','Dr','E',NULL,NULL,NULL,NULL,'Sewaren',1,1029,NULL,'07077',NULL,1228,40.553971,-74.25938,0,NULL,NULL,47),
- (110,135,1,1,0,'492U Bay Dr E',492,'U',NULL,'Bay','Dr','E',NULL,NULL,NULL,NULL,'Sewaren',1,1029,NULL,'07077',NULL,1228,40.553971,-74.25938,0,NULL,NULL,47),
- (111,132,1,1,0,'492U Bay Dr E',492,'U',NULL,'Bay','Dr','E',NULL,NULL,NULL,NULL,'Sewaren',1,1029,NULL,'07077',NULL,1228,40.553971,-74.25938,0,NULL,NULL,47),
- (112,116,1,1,0,'601I Lincoln Ln W',601,'I',NULL,'Lincoln','Ln','W',NULL,NULL,NULL,NULL,'Lexington',1,1031,NULL,'12452',NULL,1228,42.223407,-74.386635,0,NULL,NULL,48),
- (113,102,1,1,0,'601I Lincoln Ln W',601,'I',NULL,'Lincoln','Ln','W',NULL,NULL,NULL,NULL,'Lexington',1,1031,NULL,'12452',NULL,1228,42.223407,-74.386635,0,NULL,NULL,48),
- (114,29,1,1,0,'601I Lincoln Ln W',601,'I',NULL,'Lincoln','Ln','W',NULL,NULL,NULL,NULL,'Lexington',1,1031,NULL,'12452',NULL,1228,42.223407,-74.386635,0,NULL,NULL,48),
- (115,111,1,1,0,'601I Lincoln Ln W',601,'I',NULL,'Lincoln','Ln','W',NULL,NULL,NULL,NULL,'Lexington',1,1031,NULL,'12452',NULL,1228,42.223407,-74.386635,0,NULL,NULL,48),
- (116,195,1,1,0,'889J Green Path E',889,'J',NULL,'Green','Path','E',NULL,NULL,NULL,NULL,'Smolan',1,1015,NULL,'67479',NULL,1228,38.702546,-97.642827,0,NULL,NULL,49),
- (117,183,1,1,0,'889J Green Path E',889,'J',NULL,'Green','Path','E',NULL,NULL,NULL,NULL,'Smolan',1,1015,NULL,'67479',NULL,1228,38.702546,-97.642827,0,NULL,NULL,49),
- (118,24,1,1,0,'889J Green Path E',889,'J',NULL,'Green','Path','E',NULL,NULL,NULL,NULL,'Smolan',1,1015,NULL,'67479',NULL,1228,38.702546,-97.642827,0,NULL,NULL,49),
- (119,95,1,1,0,'749F Dowlen Way W',749,'F',NULL,'Dowlen','Way','W',NULL,NULL,NULL,NULL,'Jenkins',1,1016,NULL,'41537',NULL,1228,37.192483,-82.6235,0,NULL,NULL,NULL),
- (120,124,1,1,0,'985F Main Blvd SE',985,'F',NULL,'Main','Blvd','SE',NULL,NULL,NULL,NULL,'Brusly',1,1017,NULL,'70719',NULL,1228,30.384402,-91.25549,0,NULL,NULL,50),
- (121,30,1,1,0,'985F Main Blvd SE',985,'F',NULL,'Main','Blvd','SE',NULL,NULL,NULL,NULL,'Brusly',1,1017,NULL,'70719',NULL,1228,30.384402,-91.25549,0,NULL,NULL,50),
- (122,47,1,1,0,'985F Main Blvd SE',985,'F',NULL,'Main','Blvd','SE',NULL,NULL,NULL,NULL,'Brusly',1,1017,NULL,'70719',NULL,1228,30.384402,-91.25549,0,NULL,NULL,50),
- (123,104,1,1,0,'497D El Camino Dr SW',497,'D',NULL,'El Camino','Dr','SW',NULL,NULL,NULL,NULL,'Washington',1,1050,NULL,'20534',NULL,1228,38.894075,-77.01254,0,NULL,NULL,NULL),
- (124,77,1,1,0,'171G Jackson St NE',171,'G',NULL,'Jackson','St','NE',NULL,NULL,NULL,NULL,'Worcester',1,1020,NULL,'01608',NULL,1228,42.261343,-71.80173,0,NULL,NULL,51),
- (125,175,1,1,0,'171G Jackson St NE',171,'G',NULL,'Jackson','St','NE',NULL,NULL,NULL,NULL,'Worcester',1,1020,NULL,'01608',NULL,1228,42.261343,-71.80173,0,NULL,NULL,51),
- (126,94,1,1,0,'171G Jackson St NE',171,'G',NULL,'Jackson','St','NE',NULL,NULL,NULL,NULL,'Worcester',1,1020,NULL,'01608',NULL,1228,42.261343,-71.80173,0,NULL,NULL,51),
- (127,99,1,1,0,'171G Jackson St NE',171,'G',NULL,'Jackson','St','NE',NULL,NULL,NULL,NULL,'Worcester',1,1020,NULL,'01608',NULL,1228,42.261343,-71.80173,0,NULL,NULL,51),
- (128,82,1,1,0,'456R Beech Dr W',456,'R',NULL,'Beech','Dr','W',NULL,NULL,NULL,NULL,'Rochelle',1,1009,NULL,'31079',NULL,1228,31.933079,-83.45722,0,NULL,NULL,52),
- (129,148,1,1,0,'456R Beech Dr W',456,'R',NULL,'Beech','Dr','W',NULL,NULL,NULL,NULL,'Rochelle',1,1009,NULL,'31079',NULL,1228,31.933079,-83.45722,0,NULL,NULL,52),
- (130,187,1,1,0,'456R Beech Dr W',456,'R',NULL,'Beech','Dr','W',NULL,NULL,NULL,NULL,'Rochelle',1,1009,NULL,'31079',NULL,1228,31.933079,-83.45722,0,NULL,NULL,52),
- (131,80,1,1,0,'551H Cadell Ave NW',551,'H',NULL,'Cadell','Ave','NW',NULL,NULL,NULL,NULL,'Anaheim',1,1004,NULL,'92812',NULL,1228,33.640302,-117.769442,0,NULL,NULL,NULL),
- (132,145,1,1,0,'194E States St E',194,'E',NULL,'States','St','E',NULL,NULL,NULL,NULL,'Bountiful',1,1043,NULL,'84011',NULL,1228,40.963547,-112.115984,0,NULL,NULL,53),
- (133,105,1,1,0,'194E States St E',194,'E',NULL,'States','St','E',NULL,NULL,NULL,NULL,'Bountiful',1,1043,NULL,'84011',NULL,1228,40.963547,-112.115984,0,NULL,NULL,53),
- (134,22,1,1,0,'194E States St E',194,'E',NULL,'States','St','E',NULL,NULL,NULL,NULL,'Bountiful',1,1043,NULL,'84011',NULL,1228,40.963547,-112.115984,0,NULL,NULL,53),
- (135,193,1,1,0,'397T Beech Pl SE',397,'T',NULL,'Beech','Pl','SE',NULL,NULL,NULL,NULL,'Riverton',1,1049,NULL,'82501',NULL,1228,43.013826,-108.34879,0,NULL,NULL,NULL),
- (136,88,1,1,0,'312I Green Rd NE',312,'I',NULL,'Green','Rd','NE',NULL,NULL,NULL,NULL,'Monrovia',1,1019,NULL,'21770',NULL,1228,39.354093,-77.24861,0,NULL,NULL,54),
- (137,141,1,1,0,'312I Green Rd NE',312,'I',NULL,'Green','Rd','NE',NULL,NULL,NULL,NULL,'Monrovia',1,1019,NULL,'21770',NULL,1228,39.354093,-77.24861,0,NULL,NULL,54),
- (138,150,1,1,0,'312I Green Rd NE',312,'I',NULL,'Green','Rd','NE',NULL,NULL,NULL,NULL,'Monrovia',1,1019,NULL,'21770',NULL,1228,39.354093,-77.24861,0,NULL,NULL,54),
- (139,43,1,1,0,'195C Beech Pl SE',195,'C',NULL,'Beech','Pl','SE',NULL,NULL,NULL,NULL,'Abbot',1,1018,NULL,'04406',NULL,1228,45.221933,-69.49039,0,NULL,NULL,NULL),
- (140,136,1,1,0,'186L Bay Rd NW',186,'L',NULL,'Bay','Rd','NW',NULL,NULL,NULL,NULL,'Orono',1,1018,NULL,'04473',NULL,1228,44.889249,-68.68177,0,NULL,NULL,55),
- (141,56,1,1,0,'186L Bay Rd NW',186,'L',NULL,'Bay','Rd','NW',NULL,NULL,NULL,NULL,'Orono',1,1018,NULL,'04473',NULL,1228,44.889249,-68.68177,0,NULL,NULL,55),
- (142,200,1,1,0,'186L Bay Rd NW',186,'L',NULL,'Bay','Rd','NW',NULL,NULL,NULL,NULL,'Orono',1,1018,NULL,'04473',NULL,1228,44.889249,-68.68177,0,NULL,NULL,55),
- (143,106,1,1,0,'186L Bay Rd NW',186,'L',NULL,'Bay','Rd','NW',NULL,NULL,NULL,NULL,'Orono',1,1018,NULL,'04473',NULL,1228,44.889249,-68.68177,0,NULL,NULL,55),
- (144,152,1,1,0,'388N College St NE',388,'N',NULL,'College','St','NE',NULL,NULL,NULL,NULL,'Mount Carmel',1,1041,NULL,'37645',NULL,1228,36.560966,-82.65855,0,NULL,NULL,56),
- (145,112,1,1,0,'388N College St NE',388,'N',NULL,'College','St','NE',NULL,NULL,NULL,NULL,'Mount Carmel',1,1041,NULL,'37645',NULL,1228,36.560966,-82.65855,0,NULL,NULL,56),
- (146,197,1,1,0,'388N College St NE',388,'N',NULL,'College','St','NE',NULL,NULL,NULL,NULL,'Mount Carmel',1,1041,NULL,'37645',NULL,1228,36.560966,-82.65855,0,NULL,NULL,56),
- (147,114,1,1,0,'388N College St NE',388,'N',NULL,'College','St','NE',NULL,NULL,NULL,NULL,'Mount Carmel',1,1041,NULL,'37645',NULL,1228,36.560966,-82.65855,0,NULL,NULL,56),
- (148,166,1,1,0,'300Q College Blvd NE',300,'Q',NULL,'College','Blvd','NE',NULL,NULL,NULL,NULL,'Dallas',1,1042,NULL,'75262',NULL,1228,32.767268,-96.777626,0,NULL,NULL,57),
- (149,76,1,1,0,'300Q College Blvd NE',300,'Q',NULL,'College','Blvd','NE',NULL,NULL,NULL,NULL,'Dallas',1,1042,NULL,'75262',NULL,1228,32.767268,-96.777626,0,NULL,NULL,57),
- (150,15,1,1,0,'300Q College Blvd NE',300,'Q',NULL,'College','Blvd','NE',NULL,NULL,NULL,NULL,'Dallas',1,1042,NULL,'75262',NULL,1228,32.767268,-96.777626,0,NULL,NULL,57),
- (151,170,1,1,0,'300Q College Blvd NE',300,'Q',NULL,'College','Blvd','NE',NULL,NULL,NULL,NULL,'Dallas',1,1042,NULL,'75262',NULL,1228,32.767268,-96.777626,0,NULL,NULL,57),
- (152,7,1,1,0,'961N Lincoln Ln SE',961,'N',NULL,'Lincoln','Ln','SE',NULL,NULL,NULL,NULL,'Feather Falls',1,1004,NULL,'95940',NULL,1228,39.585648,-121.259009,0,NULL,NULL,58),
- (153,158,1,1,0,'961N Lincoln Ln SE',961,'N',NULL,'Lincoln','Ln','SE',NULL,NULL,NULL,NULL,'Feather Falls',1,1004,NULL,'95940',NULL,1228,39.585648,-121.259009,0,NULL,NULL,58),
- (154,134,1,1,0,'961N Lincoln Ln SE',961,'N',NULL,'Lincoln','Ln','SE',NULL,NULL,NULL,NULL,'Feather Falls',1,1004,NULL,'95940',NULL,1228,39.585648,-121.259009,0,NULL,NULL,58),
- (155,133,1,1,0,'242S Woodbridge Path NE',242,'S',NULL,'Woodbridge','Path','NE',NULL,NULL,NULL,NULL,'San Antonio',1,1042,NULL,'78299',NULL,1228,29.437532,-98.461582,0,NULL,NULL,NULL),
- (156,129,1,1,0,'34H Van Ness St N',34,'H',NULL,'Van Ness','St','N',NULL,NULL,NULL,NULL,'Redlands',1,1004,NULL,'92374',NULL,1228,34.063264,-117.16888,0,NULL,NULL,59),
- (157,164,1,1,0,'34H Van Ness St N',34,'H',NULL,'Van Ness','St','N',NULL,NULL,NULL,NULL,'Redlands',1,1004,NULL,'92374',NULL,1228,34.063264,-117.16888,0,NULL,NULL,59),
- (158,54,1,1,0,'34H Van Ness St N',34,'H',NULL,'Van Ness','St','N',NULL,NULL,NULL,NULL,'Redlands',1,1004,NULL,'92374',NULL,1228,34.063264,-117.16888,0,NULL,NULL,59),
- (159,151,1,1,0,'34H Van Ness St N',34,'H',NULL,'Van Ness','St','N',NULL,NULL,NULL,NULL,'Redlands',1,1004,NULL,'92374',NULL,1228,34.063264,-117.16888,0,NULL,NULL,59),
- (160,198,1,1,0,'861B Caulder St NW',861,'B',NULL,'Caulder','St','NW',NULL,NULL,NULL,NULL,'Everton',1,1003,NULL,'72633',NULL,1228,36.150276,-92.89576,0,NULL,NULL,60),
- (161,165,1,1,0,'861B Caulder St NW',861,'B',NULL,'Caulder','St','NW',NULL,NULL,NULL,NULL,'Everton',1,1003,NULL,'72633',NULL,1228,36.150276,-92.89576,0,NULL,NULL,60),
- (162,153,1,0,0,'861B Caulder St NW',861,'B',NULL,'Caulder','St','NW',NULL,NULL,NULL,NULL,'Everton',1,1003,NULL,'72633',NULL,1228,36.150276,-92.89576,0,NULL,NULL,60),
- (163,8,1,1,0,'861B Caulder St NW',861,'B',NULL,'Caulder','St','NW',NULL,NULL,NULL,NULL,'Everton',1,1003,NULL,'72633',NULL,1228,36.150276,-92.89576,0,NULL,NULL,60),
- (164,120,1,1,0,'544F Cadell Dr E',544,'F',NULL,'Cadell','Dr','E',NULL,NULL,NULL,NULL,'Marthaville',1,1017,NULL,'71450',NULL,1228,31.77112,-93.41547,0,NULL,NULL,61),
- (165,119,1,1,0,'544F Cadell Dr E',544,'F',NULL,'Cadell','Dr','E',NULL,NULL,NULL,NULL,'Marthaville',1,1017,NULL,'71450',NULL,1228,31.77112,-93.41547,0,NULL,NULL,61),
- (166,9,1,1,0,'544F Cadell Dr E',544,'F',NULL,'Cadell','Dr','E',NULL,NULL,NULL,NULL,'Marthaville',1,1017,NULL,'71450',NULL,1228,31.77112,-93.41547,0,NULL,NULL,61),
- (167,52,1,1,0,'544F Cadell Dr E',544,'F',NULL,'Cadell','Dr','E',NULL,NULL,NULL,NULL,'Marthaville',1,1017,NULL,'71450',NULL,1228,31.77112,-93.41547,0,NULL,NULL,61),
- (168,86,1,1,0,'309U Caulder Pl NE',309,'U',NULL,'Caulder','Pl','NE',NULL,NULL,NULL,NULL,'Bethel',1,1018,NULL,'04217',NULL,1228,44.372129,-70.8175,0,NULL,NULL,62),
- (169,131,1,1,0,'309U Caulder Pl NE',309,'U',NULL,'Caulder','Pl','NE',NULL,NULL,NULL,NULL,'Bethel',1,1018,NULL,'04217',NULL,1228,44.372129,-70.8175,0,NULL,NULL,62),
- (170,73,1,0,0,'309U Caulder Pl NE',309,'U',NULL,'Caulder','Pl','NE',NULL,NULL,NULL,NULL,'Bethel',1,1018,NULL,'04217',NULL,1228,44.372129,-70.8175,0,NULL,NULL,62),
- (171,139,1,1,0,'309U Caulder Pl NE',309,'U',NULL,'Caulder','Pl','NE',NULL,NULL,NULL,NULL,'Bethel',1,1018,NULL,'04217',NULL,1228,44.372129,-70.8175,0,NULL,NULL,62),
- (172,137,1,1,0,'477B Van Ness Rd N',477,'B',NULL,'Van Ness','Rd','N',NULL,NULL,NULL,NULL,'Redford',1,1021,NULL,'48239',NULL,1228,42.379436,-83.29105,0,NULL,NULL,63),
- (173,121,1,1,0,'477B Van Ness Rd N',477,'B',NULL,'Van Ness','Rd','N',NULL,NULL,NULL,NULL,'Redford',1,1021,NULL,'48239',NULL,1228,42.379436,-83.29105,0,NULL,NULL,63),
- (174,172,1,1,0,'477B Van Ness Rd N',477,'B',NULL,'Van Ness','Rd','N',NULL,NULL,NULL,NULL,'Redford',1,1021,NULL,'48239',NULL,1228,42.379436,-83.29105,0,NULL,NULL,63),
- (175,66,1,0,0,'358X Cadell Dr E',358,'X',NULL,'Cadell','Dr','E',NULL,NULL,NULL,NULL,'Port Clinton',1,1034,NULL,'43452',NULL,1228,41.512855,-82.92948,0,NULL,NULL,NULL),
- (176,NULL,1,1,1,'14S El Camino Way E',14,'S',NULL,'El Camino','Way',NULL,NULL,NULL,NULL,NULL,'Collinsville',NULL,1006,NULL,'6022',NULL,1228,41.8328,-72.9253,0,NULL,NULL,NULL),
- (177,NULL,1,1,1,'11B Woodbridge Path SW',11,'B',NULL,'Woodbridge','Path',NULL,NULL,NULL,NULL,NULL,'Dayton',NULL,1034,NULL,'45417',NULL,1228,39.7531,-84.2471,0,NULL,NULL,NULL),
- (178,NULL,1,1,1,'581O Lincoln Dr SW',581,'O',NULL,'Lincoln','Dr',NULL,NULL,NULL,NULL,NULL,'Santa Fe',NULL,1030,NULL,'87594',NULL,1228,35.5212,-105.982,0,NULL,NULL,NULL);
+ (1,162,1,1,0,'518Q Pine Path NW',518,'Q',NULL,'Pine','Path','NW',NULL,NULL,NULL,NULL,'Clarkesville',1,1009,NULL,'30523',NULL,1228,34.700311,-83.51879,0,NULL,NULL,NULL),
+ (2,30,1,1,0,'37E Maple Blvd SW',37,'E',NULL,'Maple','Blvd','SW',NULL,NULL,NULL,NULL,'Barium Springs',1,1032,NULL,'28010',NULL,1228,35.719228,-80.89909,0,NULL,NULL,NULL),
+ (3,131,1,1,0,'211Z Caulder Dr SW',211,'Z',NULL,'Caulder','Dr','SW',NULL,NULL,NULL,NULL,'Throckmorton',1,1042,NULL,'76483',NULL,1228,33.155666,-99.2174,0,NULL,NULL,NULL),
+ (4,170,1,1,0,'574D El Camino Path NW',574,'D',NULL,'El Camino','Path','NW',NULL,NULL,NULL,NULL,'Aurora',1,1005,NULL,'80013',NULL,1228,39.659105,-104.7791,0,NULL,NULL,NULL),
+ (5,35,1,1,0,'878N Cadell Way SW',878,'N',NULL,'Cadell','Way','SW',NULL,NULL,NULL,NULL,'South El Monte',1,1004,NULL,'91733',NULL,1228,34.05051,-118.04834,0,NULL,NULL,NULL),
+ (6,192,1,1,0,'636B States Dr S',636,'B',NULL,'States','Dr','S',NULL,NULL,NULL,NULL,'Lincoln',1,1026,NULL,'68501',NULL,1228,40.865142,-96.823133,0,NULL,NULL,NULL),
+ (7,85,1,1,0,'406J Northpoint Dr NE',406,'J',NULL,'Northpoint','Dr','NE',NULL,NULL,NULL,NULL,'Barnstable',1,1020,NULL,'02630',NULL,1228,41.700327,-70.29568,0,NULL,NULL,NULL),
+ (8,48,1,1,0,'523A Green Path N',523,'A',NULL,'Green','Path','N',NULL,NULL,NULL,NULL,'Norwalk',1,1034,NULL,'44857',NULL,1228,41.236357,-82.60185,0,NULL,NULL,NULL),
+ (9,80,1,1,0,'433U Martin Luther King Ave NW',433,'U',NULL,'Martin Luther King','Ave','NW',NULL,NULL,NULL,NULL,'Belfast',1,1041,NULL,'37019',NULL,1228,35.390308,-86.70969,0,NULL,NULL,NULL),
+ (10,50,1,1,0,'563B College Pl W',563,'B',NULL,'College','Pl','W',NULL,NULL,NULL,NULL,'Springfield',1,1012,NULL,'62756',NULL,1228,39.749457,-89.606017,0,NULL,NULL,NULL),
+ (11,105,1,1,0,'486K Woodbridge Ave N',486,'K',NULL,'Woodbridge','Ave','N',NULL,NULL,NULL,NULL,'Bridgewater Corners',1,1044,NULL,'05035',NULL,1228,43.608849,-72.6799,0,NULL,NULL,NULL),
+ (12,12,1,1,0,'304G Woodbridge Path N',304,'G',NULL,'Woodbridge','Path','N',NULL,NULL,NULL,NULL,'McNeill',1,1023,NULL,'39457',NULL,1228,30.666936,-89.673392,0,NULL,NULL,NULL),
+ (13,95,1,1,0,'387S Caulder Blvd S',387,'S',NULL,'Caulder','Blvd','S',NULL,NULL,NULL,NULL,'Little Falls',1,1022,NULL,'56345',NULL,1228,45.994029,-94.37183,0,NULL,NULL,NULL),
+ (14,82,1,1,0,'915I Woodbridge Ln N',915,'I',NULL,'Woodbridge','Ln','N',NULL,NULL,NULL,NULL,'Cedar Grove',1,1013,NULL,'47016',NULL,1228,39.37427,-84.91113,0,NULL,NULL,NULL),
+ (15,87,1,1,0,'480K States Ln NW',480,'K',NULL,'States','Ln','NW',NULL,NULL,NULL,NULL,'Newton Falls',1,1031,NULL,'13666',NULL,1228,44.533125,-75.192865,0,NULL,NULL,NULL),
+ (16,168,1,1,0,'893C Bay Dr S',893,'C',NULL,'Bay','Dr','S',NULL,NULL,NULL,NULL,'Satsuma',1,1000,NULL,'36572',NULL,1228,30.857435,-88.05414,0,NULL,NULL,NULL),
+ (17,176,1,1,0,'81Q Beech Path SW',81,'Q',NULL,'Beech','Path','SW',NULL,NULL,NULL,NULL,'Parnell',1,1014,NULL,'52325',NULL,1228,41.597014,-91.91805,0,NULL,NULL,NULL),
+ (18,114,1,1,0,'4V Green Way E',4,'V',NULL,'Green','Way','E',NULL,NULL,NULL,NULL,'Calypso',1,1032,NULL,'28325',NULL,1228,35.152512,-78.10474,0,NULL,NULL,NULL),
+ (19,151,1,1,0,'721E Dowlen Pl E',721,'E',NULL,'Dowlen','Pl','E',NULL,NULL,NULL,NULL,'Moline',1,1015,NULL,'67353',NULL,1228,37.337559,-96.29965,0,NULL,NULL,NULL),
+ (20,93,1,1,0,'8T Pine Rd NE',8,'T',NULL,'Pine','Rd','NE',NULL,NULL,NULL,NULL,'Beatty',1,1027,NULL,'89003',NULL,1228,37.027453,-116.84011,0,NULL,NULL,NULL),
+ (21,55,1,1,0,'977T Lincoln Path NW',977,'T',NULL,'Lincoln','Path','NW',NULL,NULL,NULL,NULL,'West Linn',1,1036,NULL,'97068',NULL,1228,45.361991,-122.64443,0,NULL,NULL,NULL),
+ (22,136,1,1,0,'454G Bay Blvd SE',454,'G',NULL,'Bay','Blvd','SE',NULL,NULL,NULL,NULL,'El Paso',1,1042,NULL,'79914',NULL,1228,31.694842,-106.299987,0,NULL,NULL,NULL),
+ (23,144,1,1,0,'291I Green Ln NW',291,'I',NULL,'Green','Ln','NW',NULL,NULL,NULL,NULL,'Suffolk',1,1045,NULL,'23436',NULL,1228,36.894736,-76.51281,0,NULL,NULL,NULL),
+ (24,18,1,1,0,'552E Beech Blvd W',552,'E',NULL,'Beech','Blvd','W',NULL,NULL,NULL,NULL,'Sondheimer',1,1017,NULL,'71276',NULL,1228,32.582205,-91.11541,0,NULL,NULL,NULL),
+ (25,153,1,1,0,'149Q Van Ness Ave S',149,'Q',NULL,'Van Ness','Ave','S',NULL,NULL,NULL,NULL,'Avon',1,1032,NULL,'27915',NULL,1228,35.354252,-75.50417,0,NULL,NULL,NULL),
+ (26,84,1,1,0,'894V El Camino Pl SE',894,'V',NULL,'El Camino','Pl','SE',NULL,NULL,NULL,NULL,'San Diego',1,1004,NULL,'92174',NULL,1228,33.016928,-116.846046,0,NULL,NULL,NULL),
+ (27,20,1,1,0,'593D Van Ness Way SW',593,'D',NULL,'Van Ness','Way','SW',NULL,NULL,NULL,NULL,'Lakemont',1,1009,NULL,'30552',NULL,1228,34.763553,-83.44201,0,NULL,NULL,NULL),
+ (28,115,1,1,0,'84J Pine Path S',84,'J',NULL,'Pine','Path','S',NULL,NULL,NULL,NULL,'McIntosh',1,1040,NULL,'57641',NULL,1228,45.869314,-101.318,0,NULL,NULL,NULL),
+ (29,39,1,1,0,'403V Martin Luther King Ave NE',403,'V',NULL,'Martin Luther King','Ave','NE',NULL,NULL,NULL,NULL,'Sioux City',1,1014,NULL,'51105',NULL,1228,42.505046,-96.38003,0,NULL,NULL,NULL),
+ (30,177,1,1,0,'8G Van Ness Rd W',8,'G',NULL,'Van Ness','Rd','W',NULL,NULL,NULL,NULL,'Trenton',1,1039,NULL,'29847',NULL,1228,33.695638,-81.85192,0,NULL,NULL,NULL),
+ (31,10,1,1,0,'754J Green Way NW',754,'J',NULL,'Green','Way','NW',NULL,NULL,NULL,NULL,'Greencastle',1,1013,NULL,'46135',NULL,1228,39.652374,-86.87361,0,NULL,NULL,NULL),
+ (32,127,1,1,0,'273E Martin Luther King Pl S',273,'E',NULL,'Martin Luther King','Pl','S',NULL,NULL,NULL,NULL,'Port Monmouth',1,1029,NULL,'07758',NULL,1228,40.427561,-74.1069,0,NULL,NULL,NULL),
+ (33,5,1,1,0,'600U Northpoint Ln SW',600,'U',NULL,'Northpoint','Ln','SW',NULL,NULL,NULL,NULL,'Negley',1,1034,NULL,'44441',NULL,1228,40.776151,-80.54967,0,NULL,NULL,NULL),
+ (34,184,1,1,0,'175R Northpoint Rd SW',175,'R',NULL,'Northpoint','Rd','SW',NULL,NULL,NULL,NULL,'West Peterborough',1,1028,NULL,'03468',NULL,1228,42.890804,-71.933396,0,NULL,NULL,NULL),
+ (35,182,1,1,0,'62T Northpoint Path SW',62,'T',NULL,'Northpoint','Path','SW',NULL,NULL,NULL,NULL,'Gulf Shores',1,1000,NULL,'36542',NULL,1228,30.262276,-87.72784,0,NULL,NULL,NULL),
+ (36,76,1,1,0,'695C Lincoln St SE',695,'C',NULL,'Lincoln','St','SE',NULL,NULL,NULL,NULL,'Vanderbilt',1,1042,NULL,'77991',NULL,1228,28.82037,-96.61273,0,NULL,NULL,NULL),
+ (37,133,1,1,0,'247D El Camino Path E',247,'D',NULL,'El Camino','Path','E',NULL,NULL,NULL,NULL,'Woodbury',1,1006,NULL,'06798',NULL,1228,41.554112,-73.20539,0,NULL,NULL,NULL),
+ (38,68,1,1,0,'861I Main St W',861,'I',NULL,'Main','St','W',NULL,NULL,NULL,NULL,'Minneapolis',1,1022,NULL,'55440',NULL,1228,45.015914,-93.47188,0,NULL,NULL,NULL),
+ (39,56,1,1,0,'448J El Camino Ln N',448,'J',NULL,'El Camino','Ln','N',NULL,NULL,NULL,NULL,'Redding',1,1006,NULL,'06896',NULL,1228,41.301007,-73.39857,0,NULL,NULL,NULL),
+ (40,198,1,1,0,'175D States Pl N',175,'D',NULL,'States','Pl','N',NULL,NULL,NULL,NULL,'Clinton Township',1,1021,NULL,'48036',NULL,1228,42.587117,-82.89837,0,NULL,NULL,NULL),
+ (41,83,1,1,0,'771G Northpoint Path N',771,'G',NULL,'Northpoint','Path','N',NULL,NULL,NULL,NULL,'Onley',1,1045,NULL,'23418',NULL,1228,37.685447,-75.71051,0,NULL,NULL,NULL),
+ (42,60,1,1,0,'548B Martin Luther King Ln NW',548,'B',NULL,'Martin Luther King','Ln','NW',NULL,NULL,NULL,NULL,'Leola',1,1037,NULL,'17540',NULL,1228,40.096346,-76.19007,0,NULL,NULL,NULL),
+ (43,186,1,1,0,'245P College Rd E',245,'P',NULL,'College','Rd','E',NULL,NULL,NULL,NULL,'Lillian',1,1000,NULL,'36549',NULL,1228,30.393983,-87.45664,0,NULL,NULL,NULL),
+ (44,53,1,1,0,'134U Northpoint St NE',134,'U',NULL,'Northpoint','St','NE',NULL,NULL,NULL,NULL,'Roundup',1,1025,NULL,'59000',NULL,1228,46.506905,-108.289304,0,NULL,NULL,NULL),
+ (45,113,1,1,0,'819W Maple St SW',819,'W',NULL,'Maple','St','SW',NULL,NULL,NULL,NULL,'Mount Pleasant',1,1041,NULL,'38474',NULL,1228,35.52478,-87.22342,0,NULL,NULL,NULL),
+ (46,88,1,1,0,'625H Pine Way W',625,'H',NULL,'Pine','Way','W',NULL,NULL,NULL,NULL,'Newton',1,1029,NULL,'07860',NULL,1228,41.0714,-74.80199,0,NULL,NULL,NULL),
+ (47,3,1,1,0,'928Y Green Rd NE',928,'Y',NULL,'Green','Rd','NE',NULL,NULL,NULL,NULL,'Tasley',1,1045,NULL,'23441',NULL,1228,37.711442,-75.70044,0,NULL,NULL,NULL),
+ (48,196,1,1,0,'562Z Maple Rd NE',562,'Z',NULL,'Maple','Rd','NE',NULL,NULL,NULL,NULL,'Weedville',1,1037,NULL,'15868',NULL,1228,41.283012,-78.42919,0,NULL,NULL,NULL),
+ (49,194,1,1,0,'472R Woodbridge Blvd E',472,'R',NULL,'Woodbridge','Blvd','E',NULL,NULL,NULL,NULL,'Bradenton',1,1008,NULL,'34209',NULL,1228,27.488866,-82.62737,0,NULL,NULL,NULL),
+ (50,4,1,1,0,'683D Bay Blvd NW',683,'D',NULL,'Bay','Blvd','NW',NULL,NULL,NULL,NULL,'Daisy',1,1009,NULL,'30423',NULL,1228,32.150061,-81.83478,0,NULL,NULL,NULL),
+ (51,134,1,1,0,'201B Main Blvd NE',201,'B',NULL,'Main','Blvd','NE',NULL,NULL,NULL,NULL,'Modesto',1,1004,NULL,'95351',NULL,1228,37.626067,-120.99955,0,NULL,NULL,NULL),
+ (52,167,1,1,0,'335Y States St W',335,'Y',NULL,'States','St','W',NULL,NULL,NULL,NULL,'Minidoka',1,1011,NULL,'83343',NULL,1228,42.772955,-113.509762,0,NULL,NULL,NULL),
+ (53,42,1,1,0,'413W Bay Way E',413,'W',NULL,'Bay','Way','E',NULL,NULL,NULL,NULL,'Wadsworth',1,1027,NULL,'89442',NULL,1228,39.659593,-119.30527,0,NULL,NULL,NULL),
+ (54,124,1,1,0,'619M Martin Luther King St N',619,'M',NULL,'Martin Luther King','St','N',NULL,NULL,NULL,NULL,'Merlin',1,1036,NULL,'97532',NULL,1228,42.542134,-123.5078,0,NULL,NULL,NULL),
+ (55,71,1,1,0,'763H Beech Way E',763,'H',NULL,'Beech','Way','E',NULL,NULL,NULL,NULL,'Joseph',1,1043,NULL,'84739',NULL,1228,38.620071,-112.23422,0,NULL,NULL,NULL),
+ (56,101,1,1,0,'150W Jackson Pl SW',150,'W',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Fort Wayne',1,1013,NULL,'46808',NULL,1228,41.094348,-85.16151,0,NULL,NULL,NULL),
+ (57,47,1,1,0,'222K Green Path W',222,'K',NULL,'Green','Path','W',NULL,NULL,NULL,NULL,'Cimarron',1,1005,NULL,'81220',NULL,1228,38.321598,-107.4166,0,NULL,NULL,NULL),
+ (58,28,1,1,0,'738J Cadell Ave SE',738,'J',NULL,'Cadell','Ave','SE',NULL,NULL,NULL,NULL,'Gordo',1,1000,NULL,'35466',NULL,1228,33.299935,-87.88368,0,NULL,NULL,NULL),
+ (59,29,1,1,0,'900K Pine St E',900,'K',NULL,'Pine','St','E',NULL,NULL,NULL,NULL,'Truckee',1,1004,NULL,'96160',NULL,1228,39.3781,-120.186383,0,NULL,NULL,NULL),
+ (60,43,1,1,0,'491I El Camino Ln E',491,'I',NULL,'El Camino','Ln','E',NULL,NULL,NULL,NULL,'Hull',1,1042,NULL,'77564',NULL,1228,30.159698,-94.65504,0,NULL,NULL,NULL),
+ (61,65,1,1,0,'615R Bay Way NE',615,'R',NULL,'Bay','Way','NE',NULL,NULL,NULL,NULL,'Los Osos',1,1004,NULL,'93402',NULL,1228,35.313222,-120.83468,0,NULL,NULL,NULL),
+ (62,200,1,1,0,'399V Green Dr S',399,'V',NULL,'Green','Dr','S',NULL,NULL,NULL,NULL,'Westborough',1,1020,NULL,'01582',NULL,1228,42.364807,-71.896868,0,NULL,NULL,NULL),
+ (63,112,1,1,0,'355E College Ave NW',355,'E',NULL,'College','Ave','NW',NULL,NULL,NULL,NULL,'Newfoundland',1,1029,NULL,'07435',NULL,1228,41.045897,-74.43677,0,NULL,NULL,NULL),
+ (64,15,1,1,0,'828X Pine Dr SE',828,'X',NULL,'Pine','Dr','SE',NULL,NULL,NULL,NULL,'Haslet',1,1042,NULL,'76052',NULL,1228,32.972998,-97.35592,0,NULL,NULL,NULL),
+ (65,74,1,1,0,'650N Jackson Path NW',650,'N',NULL,'Jackson','Path','NW',NULL,NULL,NULL,NULL,'Tahoka',1,1042,NULL,'79373',NULL,1228,33.199867,-101.81949,0,NULL,NULL,NULL),
+ (66,36,1,1,0,'734Y States St SE',734,'Y',NULL,'States','St','SE',NULL,NULL,NULL,NULL,'Gulf Shores',1,1000,NULL,'36547',NULL,1228,30.265325,-87.629926,0,NULL,NULL,NULL),
+ (67,165,1,1,0,'311P Green Ln SW',311,'P',NULL,'Green','Ln','SW',NULL,NULL,NULL,NULL,'Harrisville',1,1031,NULL,'13648',NULL,1228,44.168224,-75.29253,0,NULL,NULL,NULL),
+ (68,22,1,1,0,'655M Lincoln Way N',655,'M',NULL,'Lincoln','Way','N',NULL,NULL,NULL,NULL,'Drakesville',1,1014,NULL,'52552',NULL,1228,40.837112,-92.56458,0,NULL,NULL,NULL),
+ (69,172,1,1,0,'822H Cadell Rd S',822,'H',NULL,'Cadell','Rd','S',NULL,NULL,NULL,NULL,'Richfield',1,1043,NULL,'84701',NULL,1228,38.765929,-112.08397,0,NULL,NULL,NULL),
+ (70,125,1,1,0,'251F Pine Path SE',251,'F',NULL,'Pine','Path','SE',NULL,NULL,NULL,NULL,'Atlanta',1,1009,NULL,'30328',NULL,1228,33.931746,-84.37817,0,NULL,NULL,NULL),
+ (71,11,1,1,0,'416D Main Path E',416,'D',NULL,'Main','Path','E',NULL,NULL,NULL,NULL,'Detroit',1,1021,NULL,'48278',NULL,1228,42.239933,-83.150823,0,NULL,NULL,NULL),
+ (72,138,1,1,0,'469F Cadell Rd N',469,'F',NULL,'Cadell','Rd','N',NULL,NULL,NULL,NULL,'San Antonio',1,1042,NULL,'78296',NULL,1228,29.437532,-98.461582,0,NULL,NULL,NULL),
+ (73,46,3,1,0,'586C Woodbridge Rd SE',586,'C',NULL,'Woodbridge','Rd','SE',NULL,'Attn: Accounting',NULL,NULL,'San Diego',1,1004,NULL,'92126',NULL,1228,32.914346,-117.14116,0,NULL,NULL,NULL),
+ (74,77,2,1,0,'586C Woodbridge Rd SE',586,'C',NULL,'Woodbridge','Rd','SE',NULL,'Attn: Accounting',NULL,NULL,'San Diego',1,1004,NULL,'92126',NULL,1228,32.914346,-117.14116,0,NULL,NULL,73),
+ (75,67,3,1,0,'868Z Maple Path W',868,'Z',NULL,'Maple','Path','W',NULL,'Attn: Accounting',NULL,NULL,'Crestwood',1,1016,NULL,'40014',NULL,1228,38.335106,-85.4584,0,NULL,NULL,NULL),
+ (76,19,3,1,0,'773N Martin Luther King St NW',773,'N',NULL,'Martin Luther King','St','NW',NULL,'Cuffe Parade',NULL,NULL,'Long Beach',1,1004,NULL,'90822',NULL,1228,33.776094,-118.11848,0,NULL,NULL,NULL),
+ (77,113,2,0,0,'773N Martin Luther King St NW',773,'N',NULL,'Martin Luther King','St','NW',NULL,'Cuffe Parade',NULL,NULL,'Long Beach',1,1004,NULL,'90822',NULL,1228,33.776094,-118.11848,0,NULL,NULL,76),
+ (78,180,3,1,0,'18B Martin Luther King Path NE',18,'B',NULL,'Martin Luther King','Path','NE',NULL,'c/o OPDC',NULL,NULL,'San Luis Obispo',1,1004,NULL,'93403',NULL,1228,35.347065,-120.455345,0,NULL,NULL,NULL),
+ (79,120,3,1,0,'414L El Camino Path NE',414,'L',NULL,'El Camino','Path','NE',NULL,'Subscriptions Dept',NULL,NULL,'Laredo',1,1042,NULL,'78044',NULL,1228,27.363738,-99.481919,0,NULL,NULL,NULL),
+ (80,96,2,1,0,'414L El Camino Path NE',414,'L',NULL,'El Camino','Path','NE',NULL,'Subscriptions Dept',NULL,NULL,'Laredo',1,1042,NULL,'78044',NULL,1228,27.363738,-99.481919,0,NULL,NULL,79),
+ (81,190,3,1,0,'796D Lincoln Ln NE',796,'D',NULL,'Lincoln','Ln','NE',NULL,'Payables Dept.',NULL,NULL,'Leopolis',1,1048,NULL,'54948',NULL,1228,44.779838,-88.87123,0,NULL,NULL,NULL),
+ (82,25,3,1,0,'890W Van Ness Rd NE',890,'W',NULL,'Van Ness','Rd','NE',NULL,'Attn: Accounting',NULL,NULL,'Brookfield',1,1020,NULL,'01506',NULL,1228,42.200374,-72.09787,0,NULL,NULL,NULL),
+ (83,32,3,1,0,'157Q Woodbridge Blvd E',157,'Q',NULL,'Woodbridge','Blvd','E',NULL,'Editorial Dept',NULL,NULL,'Dimmitt',1,1042,NULL,'79027',NULL,1228,34.539266,-102.37108,0,NULL,NULL,NULL),
+ (84,129,3,1,0,'994X Woodbridge Way E',994,'X',NULL,'Woodbridge','Way','E',NULL,'Mailstop 101',NULL,NULL,'Denver',1,1005,NULL,'80243',NULL,1228,39.738752,-104.408349,0,NULL,NULL,NULL),
+ (85,61,2,1,0,'994X Woodbridge Way E',994,'X',NULL,'Woodbridge','Way','E',NULL,'Mailstop 101',NULL,NULL,'Denver',1,1005,NULL,'80243',NULL,1228,39.738752,-104.408349,0,NULL,NULL,84),
+ (86,201,3,1,0,'348L Jackson Rd N',348,'L',NULL,'Jackson','Rd','N',NULL,'Churchgate',NULL,NULL,'Brocket',1,1033,NULL,'58321',NULL,1228,48.204745,-98.31437,0,NULL,NULL,NULL),
+ (87,37,3,1,0,'736F Main Blvd E',736,'F',NULL,'Main','Blvd','E',NULL,'Mailstop 101',NULL,NULL,'Lenhartsville',1,1037,NULL,'19534',NULL,1228,40.574033,-75.87434,0,NULL,NULL,NULL),
+ (88,107,2,1,0,'736F Main Blvd E',736,'F',NULL,'Main','Blvd','E',NULL,'Mailstop 101',NULL,NULL,'Lenhartsville',1,1037,NULL,'19534',NULL,1228,40.574033,-75.87434,0,NULL,NULL,87),
+ (89,51,3,1,0,'169M Cadell Path NW',169,'M',NULL,'Cadell','Path','NW',NULL,'Disbursements',NULL,NULL,'Dulce',1,1030,NULL,'87528',NULL,1228,36.818905,-106.9757,0,NULL,NULL,NULL),
+ (90,84,2,0,0,'169M Cadell Path NW',169,'M',NULL,'Cadell','Path','NW',NULL,'Disbursements',NULL,NULL,'Dulce',1,1030,NULL,'87528',NULL,1228,36.818905,-106.9757,0,NULL,NULL,89),
+ (91,8,3,1,0,'23Y College Dr NE',23,'Y',NULL,'College','Dr','NE',NULL,'c/o OPDC',NULL,NULL,'Upper Marlboro',1,1019,NULL,'20775',NULL,1228,38.833563,-76.877743,0,NULL,NULL,NULL),
+ (92,60,2,0,0,'23Y College Dr NE',23,'Y',NULL,'College','Dr','NE',NULL,'c/o OPDC',NULL,NULL,'Upper Marlboro',1,1019,NULL,'20775',NULL,1228,38.833563,-76.877743,0,NULL,NULL,91),
+ (93,146,3,1,0,'365G Maple Path W',365,'G',NULL,'Maple','Path','W',NULL,'Urgent',NULL,NULL,'Tioga Center',1,1031,NULL,'13845',NULL,1228,42.065842,-76.381946,0,NULL,NULL,NULL),
+ (94,163,3,1,0,'426O Caulder Ln N',426,'O',NULL,'Caulder','Ln','N',NULL,'Community Relations',NULL,NULL,'Elgin',1,1012,NULL,'60122',NULL,1228,42.067101,-88.304994,0,NULL,NULL,NULL),
+ (95,185,2,1,0,'426O Caulder Ln N',426,'O',NULL,'Caulder','Ln','N',NULL,'Community Relations',NULL,NULL,'Elgin',1,1012,NULL,'60122',NULL,1228,42.067101,-88.304994,0,NULL,NULL,94),
+ (96,66,3,1,0,'324T Maple Pl N',324,'T',NULL,'Maple','Pl','N',NULL,'Payables Dept.',NULL,NULL,'South Range',1,1048,NULL,'54874',NULL,1228,46.58521,-91.95129,0,NULL,NULL,NULL),
+ (97,119,2,1,0,'324T Maple Pl N',324,'T',NULL,'Maple','Pl','N',NULL,'Payables Dept.',NULL,NULL,'South Range',1,1048,NULL,'54874',NULL,1228,46.58521,-91.95129,0,NULL,NULL,96),
+ (98,178,3,1,0,'931Z Jackson St SE',931,'Z',NULL,'Jackson','St','SE',NULL,'Donor Relations',NULL,NULL,'Gordon',1,1016,NULL,'41819',NULL,1228,36.98586,-83.06497,0,NULL,NULL,NULL),
+ (99,44,2,1,0,'931Z Jackson St SE',931,'Z',NULL,'Jackson','St','SE',NULL,'Donor Relations',NULL,NULL,'Gordon',1,1016,NULL,'41819',NULL,1228,36.98586,-83.06497,0,NULL,NULL,98),
+ (100,111,3,1,0,'650B Main Path S',650,'B',NULL,'Main','Path','S',NULL,'Donor Relations',NULL,NULL,'Sallis',1,1023,NULL,'39160',NULL,1228,33.002813,-89.75296,0,NULL,NULL,NULL),
+ (101,41,3,1,0,'514Q Dowlen Way E',514,'Q',NULL,'Dowlen','Way','E',NULL,'Editorial Dept',NULL,NULL,'Buffalo',1,1031,NULL,'14265',NULL,1228,42.768413,-78.887094,0,NULL,NULL,NULL),
+ (102,189,2,1,0,'514Q Dowlen Way E',514,'Q',NULL,'Dowlen','Way','E',NULL,'Editorial Dept',NULL,NULL,'Buffalo',1,1031,NULL,'14265',NULL,1228,42.768413,-78.887094,0,NULL,NULL,101),
+ (103,78,3,1,0,'290Z States Path W',290,'Z',NULL,'States','Path','W',NULL,'Attn: Accounting',NULL,NULL,'Frankewing',1,1041,NULL,'38459',NULL,1228,35.188143,-86.81014,0,NULL,NULL,NULL),
+ (104,160,2,1,0,'290Z States Path W',290,'Z',NULL,'States','Path','W',NULL,'Attn: Accounting',NULL,NULL,'Frankewing',1,1041,NULL,'38459',NULL,1228,35.188143,-86.81014,0,NULL,NULL,103),
+ (105,103,1,1,0,'413W Bay Way E',413,'W',NULL,'Bay','Way','E',NULL,NULL,NULL,NULL,'Wadsworth',1,1027,NULL,'89442',NULL,1228,39.659593,-119.30527,0,NULL,NULL,53),
+ (106,130,1,1,0,'413W Bay Way E',413,'W',NULL,'Bay','Way','E',NULL,NULL,NULL,NULL,'Wadsworth',1,1027,NULL,'89442',NULL,1228,39.659593,-119.30527,0,NULL,NULL,53),
+ (107,197,1,1,0,'413W Bay Way E',413,'W',NULL,'Bay','Way','E',NULL,NULL,NULL,NULL,'Wadsworth',1,1027,NULL,'89442',NULL,1228,39.659593,-119.30527,0,NULL,NULL,53),
+ (108,167,1,0,0,'413W Bay Way E',413,'W',NULL,'Bay','Way','E',NULL,NULL,NULL,NULL,'Wadsworth',1,1027,NULL,'89442',NULL,1228,39.659593,-119.30527,0,NULL,NULL,53),
+ (109,128,1,1,0,'619M Martin Luther King St N',619,'M',NULL,'Martin Luther King','St','N',NULL,NULL,NULL,NULL,'Merlin',1,1036,NULL,'97532',NULL,1228,42.542134,-123.5078,0,NULL,NULL,54),
+ (110,108,1,1,0,'619M Martin Luther King St N',619,'M',NULL,'Martin Luther King','St','N',NULL,NULL,NULL,NULL,'Merlin',1,1036,NULL,'97532',NULL,1228,42.542134,-123.5078,0,NULL,NULL,54),
+ (111,148,1,1,0,'619M Martin Luther King St N',619,'M',NULL,'Martin Luther King','St','N',NULL,NULL,NULL,NULL,'Merlin',1,1036,NULL,'97532',NULL,1228,42.542134,-123.5078,0,NULL,NULL,54),
+ (112,59,1,1,0,'619M Martin Luther King St N',619,'M',NULL,'Martin Luther King','St','N',NULL,NULL,NULL,NULL,'Merlin',1,1036,NULL,'97532',NULL,1228,42.542134,-123.5078,0,NULL,NULL,54),
+ (113,91,1,1,0,'763H Beech Way E',763,'H',NULL,'Beech','Way','E',NULL,NULL,NULL,NULL,'Joseph',1,1043,NULL,'84739',NULL,1228,38.620071,-112.23422,0,NULL,NULL,55),
+ (114,135,1,1,0,'763H Beech Way E',763,'H',NULL,'Beech','Way','E',NULL,NULL,NULL,NULL,'Joseph',1,1043,NULL,'84739',NULL,1228,38.620071,-112.23422,0,NULL,NULL,55),
+ (115,187,1,1,0,'763H Beech Way E',763,'H',NULL,'Beech','Way','E',NULL,NULL,NULL,NULL,'Joseph',1,1043,NULL,'84739',NULL,1228,38.620071,-112.23422,0,NULL,NULL,55),
+ (116,14,1,1,0,'763H Beech Way E',763,'H',NULL,'Beech','Way','E',NULL,NULL,NULL,NULL,'Joseph',1,1043,NULL,'84739',NULL,1228,38.620071,-112.23422,0,NULL,NULL,55),
+ (117,27,1,1,0,'150W Jackson Pl SW',150,'W',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Fort Wayne',1,1013,NULL,'46808',NULL,1228,41.094348,-85.16151,0,NULL,NULL,56),
+ (118,16,1,1,0,'150W Jackson Pl SW',150,'W',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Fort Wayne',1,1013,NULL,'46808',NULL,1228,41.094348,-85.16151,0,NULL,NULL,56),
+ (119,75,1,1,0,'150W Jackson Pl SW',150,'W',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Fort Wayne',1,1013,NULL,'46808',NULL,1228,41.094348,-85.16151,0,NULL,NULL,56),
+ (120,89,1,1,0,'150W Jackson Pl SW',150,'W',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Fort Wayne',1,1013,NULL,'46808',NULL,1228,41.094348,-85.16151,0,NULL,NULL,56),
+ (121,7,1,1,0,'222K Green Path W',222,'K',NULL,'Green','Path','W',NULL,NULL,NULL,NULL,'Cimarron',1,1005,NULL,'81220',NULL,1228,38.321598,-107.4166,0,NULL,NULL,57),
+ (122,175,1,1,0,'222K Green Path W',222,'K',NULL,'Green','Path','W',NULL,NULL,NULL,NULL,'Cimarron',1,1005,NULL,'81220',NULL,1228,38.321598,-107.4166,0,NULL,NULL,57),
+ (123,169,1,1,0,'222K Green Path W',222,'K',NULL,'Green','Path','W',NULL,NULL,NULL,NULL,'Cimarron',1,1005,NULL,'81220',NULL,1228,38.321598,-107.4166,0,NULL,NULL,57),
+ (124,149,1,1,0,'222K Green Path W',222,'K',NULL,'Green','Path','W',NULL,NULL,NULL,NULL,'Cimarron',1,1005,NULL,'81220',NULL,1228,38.321598,-107.4166,0,NULL,NULL,57),
+ (125,63,1,1,0,'738J Cadell Ave SE',738,'J',NULL,'Cadell','Ave','SE',NULL,NULL,NULL,NULL,'Gordo',1,1000,NULL,'35466',NULL,1228,33.299935,-87.88368,0,NULL,NULL,58),
+ (126,158,1,1,0,'738J Cadell Ave SE',738,'J',NULL,'Cadell','Ave','SE',NULL,NULL,NULL,NULL,'Gordo',1,1000,NULL,'35466',NULL,1228,33.299935,-87.88368,0,NULL,NULL,58),
+ (127,185,1,0,0,'738J Cadell Ave SE',738,'J',NULL,'Cadell','Ave','SE',NULL,NULL,NULL,NULL,'Gordo',1,1000,NULL,'35466',NULL,1228,33.299935,-87.88368,0,NULL,NULL,58),
+ (128,97,1,1,0,'738J Cadell Ave SE',738,'J',NULL,'Cadell','Ave','SE',NULL,NULL,NULL,NULL,'Gordo',1,1000,NULL,'35466',NULL,1228,33.299935,-87.88368,0,NULL,NULL,58),
+ (129,24,1,1,0,'900K Pine St E',900,'K',NULL,'Pine','St','E',NULL,NULL,NULL,NULL,'Truckee',1,1004,NULL,'96160',NULL,1228,39.3781,-120.186383,0,NULL,NULL,59),
+ (130,183,1,1,0,'900K Pine St E',900,'K',NULL,'Pine','St','E',NULL,NULL,NULL,NULL,'Truckee',1,1004,NULL,'96160',NULL,1228,39.3781,-120.186383,0,NULL,NULL,59),
+ (131,147,1,1,0,'900K Pine St E',900,'K',NULL,'Pine','St','E',NULL,NULL,NULL,NULL,'Truckee',1,1004,NULL,'96160',NULL,1228,39.3781,-120.186383,0,NULL,NULL,59),
+ (132,13,1,1,0,'900K Pine St E',900,'K',NULL,'Pine','St','E',NULL,NULL,NULL,NULL,'Truckee',1,1004,NULL,'96160',NULL,1228,39.3781,-120.186383,0,NULL,NULL,59),
+ (133,140,1,1,0,'491I El Camino Ln E',491,'I',NULL,'El Camino','Ln','E',NULL,NULL,NULL,NULL,'Hull',1,1042,NULL,'77564',NULL,1228,30.159698,-94.65504,0,NULL,NULL,60),
+ (134,26,1,1,0,'491I El Camino Ln E',491,'I',NULL,'El Camino','Ln','E',NULL,NULL,NULL,NULL,'Hull',1,1042,NULL,'77564',NULL,1228,30.159698,-94.65504,0,NULL,NULL,60),
+ (135,49,1,1,0,'491I El Camino Ln E',491,'I',NULL,'El Camino','Ln','E',NULL,NULL,NULL,NULL,'Hull',1,1042,NULL,'77564',NULL,1228,30.159698,-94.65504,0,NULL,NULL,60),
+ (136,54,1,1,0,'738P Martin Luther King Ln E',738,'P',NULL,'Martin Luther King','Ln','E',NULL,NULL,NULL,NULL,'Tarentum',1,1037,NULL,'15084',NULL,1228,40.61357,-79.78095,0,NULL,NULL,NULL),
+ (137,121,1,1,0,'615R Bay Way NE',615,'R',NULL,'Bay','Way','NE',NULL,NULL,NULL,NULL,'Los Osos',1,1004,NULL,'93402',NULL,1228,35.313222,-120.83468,0,NULL,NULL,61),
+ (138,38,1,1,0,'615R Bay Way NE',615,'R',NULL,'Bay','Way','NE',NULL,NULL,NULL,NULL,'Los Osos',1,1004,NULL,'93402',NULL,1228,35.313222,-120.83468,0,NULL,NULL,61),
+ (139,110,1,1,0,'615R Bay Way NE',615,'R',NULL,'Bay','Way','NE',NULL,NULL,NULL,NULL,'Los Osos',1,1004,NULL,'93402',NULL,1228,35.313222,-120.83468,0,NULL,NULL,61),
+ (140,166,1,1,0,'163E Main Path S',163,'E',NULL,'Main','Path','S',NULL,NULL,NULL,NULL,'Thurmont',1,1019,NULL,'21788',NULL,1228,39.604303,-77.41092,0,NULL,NULL,NULL),
+ (141,109,1,1,0,'399V Green Dr S',399,'V',NULL,'Green','Dr','S',NULL,NULL,NULL,NULL,'Westborough',1,1020,NULL,'01582',NULL,1228,42.364807,-71.896868,0,NULL,NULL,62),
+ (142,61,1,0,0,'399V Green Dr S',399,'V',NULL,'Green','Dr','S',NULL,NULL,NULL,NULL,'Westborough',1,1020,NULL,'01582',NULL,1228,42.364807,-71.896868,0,NULL,NULL,62),
+ (143,126,1,1,0,'399V Green Dr S',399,'V',NULL,'Green','Dr','S',NULL,NULL,NULL,NULL,'Westborough',1,1020,NULL,'01582',NULL,1228,42.364807,-71.896868,0,NULL,NULL,62),
+ (144,195,1,1,0,'490U States Pl NW',490,'U',NULL,'States','Pl','NW',NULL,NULL,NULL,NULL,'Havre De Grace',1,1019,NULL,'21078',NULL,1228,39.554644,-76.11118,0,NULL,NULL,NULL),
+ (145,77,1,0,0,'355E College Ave NW',355,'E',NULL,'College','Ave','NW',NULL,NULL,NULL,NULL,'Newfoundland',1,1029,NULL,'07435',NULL,1228,41.045897,-74.43677,0,NULL,NULL,63),
+ (146,21,1,1,0,'355E College Ave NW',355,'E',NULL,'College','Ave','NW',NULL,NULL,NULL,NULL,'Newfoundland',1,1029,NULL,'07435',NULL,1228,41.045897,-74.43677,0,NULL,NULL,63),
+ (147,102,1,1,0,'355E College Ave NW',355,'E',NULL,'College','Ave','NW',NULL,NULL,NULL,NULL,'Newfoundland',1,1029,NULL,'07435',NULL,1228,41.045897,-74.43677,0,NULL,NULL,63),
+ (148,73,1,1,0,'355E College Ave NW',355,'E',NULL,'College','Ave','NW',NULL,NULL,NULL,NULL,'Newfoundland',1,1029,NULL,'07435',NULL,1228,41.045897,-74.43677,0,NULL,NULL,63),
+ (149,150,1,1,0,'828X Pine Dr SE',828,'X',NULL,'Pine','Dr','SE',NULL,NULL,NULL,NULL,'Haslet',1,1042,NULL,'76052',NULL,1228,32.972998,-97.35592,0,NULL,NULL,64),
+ (150,143,1,1,0,'828X Pine Dr SE',828,'X',NULL,'Pine','Dr','SE',NULL,NULL,NULL,NULL,'Haslet',1,1042,NULL,'76052',NULL,1228,32.972998,-97.35592,0,NULL,NULL,64),
+ (151,122,1,1,0,'828X Pine Dr SE',828,'X',NULL,'Pine','Dr','SE',NULL,NULL,NULL,NULL,'Haslet',1,1042,NULL,'76052',NULL,1228,32.972998,-97.35592,0,NULL,NULL,64),
+ (152,79,1,1,0,'828X Pine Dr SE',828,'X',NULL,'Pine','Dr','SE',NULL,NULL,NULL,NULL,'Haslet',1,1042,NULL,'76052',NULL,1228,32.972998,-97.35592,0,NULL,NULL,64),
+ (153,156,1,1,0,'650N Jackson Path NW',650,'N',NULL,'Jackson','Path','NW',NULL,NULL,NULL,NULL,'Tahoka',1,1042,NULL,'79373',NULL,1228,33.199867,-101.81949,0,NULL,NULL,65),
+ (154,188,1,1,0,'650N Jackson Path NW',650,'N',NULL,'Jackson','Path','NW',NULL,NULL,NULL,NULL,'Tahoka',1,1042,NULL,'79373',NULL,1228,33.199867,-101.81949,0,NULL,NULL,65),
+ (155,58,1,1,0,'650N Jackson Path NW',650,'N',NULL,'Jackson','Path','NW',NULL,NULL,NULL,NULL,'Tahoka',1,1042,NULL,'79373',NULL,1228,33.199867,-101.81949,0,NULL,NULL,65),
+ (156,52,1,1,0,'650N Jackson Path NW',650,'N',NULL,'Jackson','Path','NW',NULL,NULL,NULL,NULL,'Tahoka',1,1042,NULL,'79373',NULL,1228,33.199867,-101.81949,0,NULL,NULL,65),
+ (157,57,1,1,0,'734Y States St SE',734,'Y',NULL,'States','St','SE',NULL,NULL,NULL,NULL,'Gulf Shores',1,1000,NULL,'36547',NULL,1228,30.265325,-87.629926,0,NULL,NULL,66),
+ (158,86,1,1,0,'734Y States St SE',734,'Y',NULL,'States','St','SE',NULL,NULL,NULL,NULL,'Gulf Shores',1,1000,NULL,'36547',NULL,1228,30.265325,-87.629926,0,NULL,NULL,66),
+ (159,107,1,0,0,'734Y States St SE',734,'Y',NULL,'States','St','SE',NULL,NULL,NULL,NULL,'Gulf Shores',1,1000,NULL,'36547',NULL,1228,30.265325,-87.629926,0,NULL,NULL,66),
+ (160,17,1,1,0,'969O Jackson Ave N',969,'O',NULL,'Jackson','Ave','N',NULL,NULL,NULL,NULL,'Saint Petersburg',1,1008,NULL,'33716',NULL,1228,27.874324,-82.64515,0,NULL,NULL,NULL),
+ (161,64,1,1,0,'311P Green Ln SW',311,'P',NULL,'Green','Ln','SW',NULL,NULL,NULL,NULL,'Harrisville',1,1031,NULL,'13648',NULL,1228,44.168224,-75.29253,0,NULL,NULL,67),
+ (162,123,1,1,0,'311P Green Ln SW',311,'P',NULL,'Green','Ln','SW',NULL,NULL,NULL,NULL,'Harrisville',1,1031,NULL,'13648',NULL,1228,44.168224,-75.29253,0,NULL,NULL,67),
+ (163,96,1,0,0,'311P Green Ln SW',311,'P',NULL,'Green','Ln','SW',NULL,NULL,NULL,NULL,'Harrisville',1,1031,NULL,'13648',NULL,1228,44.168224,-75.29253,0,NULL,NULL,67),
+ (164,34,1,1,0,'311P Green Ln SW',311,'P',NULL,'Green','Ln','SW',NULL,NULL,NULL,NULL,'Harrisville',1,1031,NULL,'13648',NULL,1228,44.168224,-75.29253,0,NULL,NULL,67),
+ (165,132,1,1,0,'655M Lincoln Way N',655,'M',NULL,'Lincoln','Way','N',NULL,NULL,NULL,NULL,'Drakesville',1,1014,NULL,'52552',NULL,1228,40.837112,-92.56458,0,NULL,NULL,68),
+ (166,90,1,1,0,'655M Lincoln Way N',655,'M',NULL,'Lincoln','Way','N',NULL,NULL,NULL,NULL,'Drakesville',1,1014,NULL,'52552',NULL,1228,40.837112,-92.56458,0,NULL,NULL,68),
+ (167,137,1,1,0,'655M Lincoln Way N',655,'M',NULL,'Lincoln','Way','N',NULL,NULL,NULL,NULL,'Drakesville',1,1014,NULL,'52552',NULL,1228,40.837112,-92.56458,0,NULL,NULL,68),
+ (168,159,1,1,0,'812D Second Ln NE',812,'D',NULL,'Second','Ln','NE',NULL,NULL,NULL,NULL,'Quitman',1,1003,NULL,'72131',NULL,1228,35.402236,-92.20204,0,NULL,NULL,NULL),
+ (169,31,1,1,0,'822H Cadell Rd S',822,'H',NULL,'Cadell','Rd','S',NULL,NULL,NULL,NULL,'Richfield',1,1043,NULL,'84701',NULL,1228,38.765929,-112.08397,0,NULL,NULL,69),
+ (170,152,1,1,0,'822H Cadell Rd S',822,'H',NULL,'Cadell','Rd','S',NULL,NULL,NULL,NULL,'Richfield',1,1043,NULL,'84701',NULL,1228,38.765929,-112.08397,0,NULL,NULL,69),
+ (171,161,1,1,0,'822H Cadell Rd S',822,'H',NULL,'Cadell','Rd','S',NULL,NULL,NULL,NULL,'Richfield',1,1043,NULL,'84701',NULL,1228,38.765929,-112.08397,0,NULL,NULL,69),
+ (172,104,1,1,0,'822H Cadell Rd S',822,'H',NULL,'Cadell','Rd','S',NULL,NULL,NULL,NULL,'Richfield',1,1043,NULL,'84701',NULL,1228,38.765929,-112.08397,0,NULL,NULL,69),
+ (173,40,1,1,0,'251F Pine Path SE',251,'F',NULL,'Pine','Path','SE',NULL,NULL,NULL,NULL,'Atlanta',1,1009,NULL,'30328',NULL,1228,33.931746,-84.37817,0,NULL,NULL,70),
+ (174,44,1,0,0,'251F Pine Path SE',251,'F',NULL,'Pine','Path','SE',NULL,NULL,NULL,NULL,'Atlanta',1,1009,NULL,'30328',NULL,1228,33.931746,-84.37817,0,NULL,NULL,70),
+ (175,98,1,1,0,'251F Pine Path SE',251,'F',NULL,'Pine','Path','SE',NULL,NULL,NULL,NULL,'Atlanta',1,1009,NULL,'30328',NULL,1228,33.931746,-84.37817,0,NULL,NULL,70),
+ (176,155,1,1,0,'251F Pine Path SE',251,'F',NULL,'Pine','Path','SE',NULL,NULL,NULL,NULL,'Atlanta',1,1009,NULL,'30328',NULL,1228,33.931746,-84.37817,0,NULL,NULL,70),
+ (177,179,1,1,0,'416D Main Path E',416,'D',NULL,'Main','Path','E',NULL,NULL,NULL,NULL,'Detroit',1,1021,NULL,'48278',NULL,1228,42.239933,-83.150823,0,NULL,NULL,71),
+ (178,33,1,1,0,'416D Main Path E',416,'D',NULL,'Main','Path','E',NULL,NULL,NULL,NULL,'Detroit',1,1021,NULL,'48278',NULL,1228,42.239933,-83.150823,0,NULL,NULL,71),
+ (179,45,1,1,0,'416D Main Path E',416,'D',NULL,'Main','Path','E',NULL,NULL,NULL,NULL,'Detroit',1,1021,NULL,'48278',NULL,1228,42.239933,-83.150823,0,NULL,NULL,71),
+ (180,193,1,1,0,'416D Main Path E',416,'D',NULL,'Main','Path','E',NULL,NULL,NULL,NULL,'Detroit',1,1021,NULL,'48278',NULL,1228,42.239933,-83.150823,0,NULL,NULL,71),
+ (181,23,1,1,0,'469F Cadell Rd N',469,'F',NULL,'Cadell','Rd','N',NULL,NULL,NULL,NULL,'San Antonio',1,1042,NULL,'78296',NULL,1228,29.437532,-98.461582,0,NULL,NULL,72),
+ (182,106,1,1,0,'469F Cadell Rd N',469,'F',NULL,'Cadell','Rd','N',NULL,NULL,NULL,NULL,'San Antonio',1,1042,NULL,'78296',NULL,1228,29.437532,-98.461582,0,NULL,NULL,72),
+ (183,164,1,1,0,'469F Cadell Rd N',469,'F',NULL,'Cadell','Rd','N',NULL,NULL,NULL,NULL,'San Antonio',1,1042,NULL,'78296',NULL,1228,29.437532,-98.461582,0,NULL,NULL,72),
+ (184,9,1,1,0,'469F Cadell Rd N',469,'F',NULL,'Cadell','Rd','N',NULL,NULL,NULL,NULL,'San Antonio',1,1042,NULL,'78296',NULL,1228,29.437532,-98.461582,0,NULL,NULL,72),
+ (185,NULL,1,1,1,'14S El Camino Way E',14,'S',NULL,'El Camino','Way',NULL,NULL,NULL,NULL,NULL,'Collinsville',NULL,1006,NULL,'6022',NULL,1228,41.8328,-72.9253,0,NULL,NULL,NULL),
+ (186,NULL,1,1,1,'11B Woodbridge Path SW',11,'B',NULL,'Woodbridge','Path',NULL,NULL,NULL,NULL,NULL,'Dayton',NULL,1034,NULL,'45417',NULL,1228,39.7531,-84.2471,0,NULL,NULL,NULL),
+ (187,NULL,1,1,1,'581O Lincoln Dr SW',581,'O',NULL,'Lincoln','Dr',NULL,NULL,NULL,NULL,NULL,'Santa Fe',NULL,1030,NULL,'87594',NULL,1228,35.5212,-105.982,0,NULL,NULL,NULL);
 /*!40000 ALTER TABLE `civicrm_address` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -1891,207 +1896,207 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_contact` WRITE;
 /*!40000 ALTER TABLE `civicrm_contact` DISABLE KEYS */;
 INSERT INTO `civicrm_contact` (`id`, `contact_type`, `contact_sub_type`, `do_not_email`, `do_not_phone`, `do_not_mail`, `do_not_sms`, `do_not_trade`, `is_opt_out`, `legal_identifier`, `external_identifier`, `sort_name`, `display_name`, `nick_name`, `legal_name`, `image_URL`, `preferred_communication_method`, `preferred_language`, `preferred_mail_format`, `hash`, `api_key`, `source`, `first_name`, `middle_name`, `last_name`, `prefix_id`, `suffix_id`, `formal_title`, `communication_style_id`, `email_greeting_id`, `email_greeting_custom`, `email_greeting_display`, `postal_greeting_id`, `postal_greeting_custom`, `postal_greeting_display`, `addressee_id`, `addressee_custom`, `addressee_display`, `job_title`, `gender_id`, `birth_date`, `is_deceased`, `deceased_date`, `household_name`, `primary_contact_id`, `organization_name`, `sic_code`, `user_unique_id`, `employer_id`, `is_deleted`, `created_date`, `modified_date`) VALUES
- (1,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Default Organization','Default Organization',NULL,'Default Organization',NULL,NULL,NULL,'Both',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,'Default Organization',NULL,NULL,NULL,0,NULL,'2021-06-11 00:47:04'),
- (2,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Prentice, Carlos','Carlos Prentice',NULL,NULL,NULL,'5',NULL,'Both','2982859535',NULL,'Sample Data','Carlos','','Prentice',NULL,NULL,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Carlos Prentice',NULL,NULL,'1970-04-25',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (3,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Prentice, Winford','Winford Prentice',NULL,NULL,NULL,'1',NULL,'Both','2762411160',NULL,'Sample Data','Winford','J','Prentice',NULL,NULL,NULL,NULL,1,NULL,'Dear Winford',1,NULL,'Dear Winford',1,NULL,'Winford Prentice',NULL,2,NULL,0,NULL,NULL,NULL,'New York Peace Academy',NULL,NULL,79,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (4,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Martin Luther King Arts Trust','Martin Luther King Arts Trust',NULL,NULL,NULL,NULL,NULL,'Both','1416172647',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Martin Luther King Arts Trust',NULL,NULL,NULL,0,NULL,NULL,66,'Martin Luther King Arts Trust',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (5,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Bachman, Errol','Dr. Errol Bachman',NULL,NULL,NULL,NULL,NULL,'Both','305276862',NULL,'Sample Data','Errol','','Bachman',4,NULL,NULL,NULL,1,NULL,'Dear Errol',1,NULL,'Dear Errol',1,NULL,'Dr. Errol Bachman',NULL,2,'1947-11-05',1,'2021-03-01',NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (6,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Van Ness Software Fellowship','Van Ness Software Fellowship',NULL,NULL,NULL,NULL,NULL,'Both','623052245',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Van Ness Software Fellowship',NULL,NULL,NULL,0,NULL,NULL,53,'Van Ness Software Fellowship',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (7,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Nicole','Mrs. Nicole Wilson',NULL,NULL,NULL,'5',NULL,'Both','3125972405',NULL,'Sample Data','Nicole','Y','Wilson',1,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Mrs. Nicole Wilson',NULL,1,'1977-11-09',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (8,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Samson, Errol','Errol Samson',NULL,NULL,NULL,'2',NULL,'Both','1741040599',NULL,'Sample Data','Errol','C','Samson',NULL,NULL,NULL,NULL,1,NULL,'Dear Errol',1,NULL,'Dear Errol',1,NULL,'Errol Samson',NULL,2,'1970-04-01',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (9,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Parker, Nicole','Dr. Nicole Parker',NULL,NULL,NULL,NULL,NULL,'Both','693554904',NULL,'Sample Data','Nicole','D','Parker',4,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Dr. Nicole Parker',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (10,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Jensen, Bernadette','Ms. Bernadette Jensen',NULL,NULL,NULL,'1',NULL,'Both','513832212',NULL,'Sample Data','Bernadette','J','Jensen',2,NULL,NULL,NULL,1,NULL,'Dear Bernadette',1,NULL,'Dear Bernadette',1,NULL,'Ms. Bernadette Jensen',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (11,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'margaretgrant@notmail.co.nz','margaretgrant@notmail.co.nz',NULL,NULL,NULL,NULL,NULL,'Both','1099101361',NULL,'Sample Data',NULL,NULL,NULL,4,NULL,NULL,NULL,1,NULL,'Dear margaretgrant@notmail.co.nz',1,NULL,'Dear margaretgrant@notmail.co.nz',1,NULL,'margaretgrant@notmail.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (12,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Grant family','Grant family',NULL,NULL,NULL,NULL,NULL,'Both','3228000340',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Grant family',5,NULL,'Dear Grant family',2,NULL,'Grant family',NULL,NULL,NULL,0,NULL,'Grant family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (13,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Sacramento Sports Academy','Sacramento Sports Academy',NULL,NULL,NULL,NULL,NULL,'Both','762268720',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Sacramento Sports Academy',NULL,NULL,NULL,0,NULL,NULL,NULL,'Sacramento Sports Academy',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (14,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Müller, Rolando','Mr. Rolando Müller',NULL,NULL,NULL,'4',NULL,'Both','2804310363',NULL,'Sample Data','Rolando','','Müller',3,NULL,NULL,NULL,1,NULL,'Dear Rolando',1,NULL,'Dear Rolando',1,NULL,'Mr. Rolando Müller',NULL,2,'1978-11-10',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (15,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Bachman, Merrie','Merrie Bachman',NULL,NULL,NULL,NULL,NULL,'Both','2483805039',NULL,'Sample Data','Merrie','G','Bachman',NULL,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Merrie Bachman',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (16,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'McReynolds, Jerome','Dr. Jerome McReynolds',NULL,NULL,NULL,'4',NULL,'Both','1615308753',NULL,'Sample Data','Jerome','','McReynolds',4,NULL,NULL,NULL,1,NULL,'Dear Jerome',1,NULL,'Dear Jerome',1,NULL,'Dr. Jerome McReynolds',NULL,2,NULL,0,NULL,NULL,NULL,'Corpus Christi Agriculture Alliance',NULL,NULL,36,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (17,'Household',NULL,0,0,0,0,1,0,NULL,NULL,'Jones family','Jones family',NULL,NULL,NULL,NULL,NULL,'Both','1110516799',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Jones family',5,NULL,'Dear Jones family',2,NULL,'Jones family',NULL,NULL,NULL,0,NULL,'Jones family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (18,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Wilson, Megan','Dr. Megan Wilson',NULL,NULL,NULL,NULL,NULL,'Both','4146323873',NULL,'Sample Data','Megan','','Wilson',4,NULL,NULL,NULL,1,NULL,'Dear Megan',1,NULL,'Dear Megan',1,NULL,'Dr. Megan Wilson',NULL,1,NULL,0,NULL,NULL,NULL,'Rural Software Services',NULL,NULL,168,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (19,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'Hagar Shores Empowerment Systems','Hagar Shores Empowerment Systems',NULL,NULL,NULL,'3',NULL,'Both','376403915',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Hagar Shores Empowerment Systems',NULL,NULL,NULL,0,NULL,NULL,NULL,'Hagar Shores Empowerment Systems',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (20,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Cooper, Ray','Mr. Ray Cooper III',NULL,NULL,NULL,NULL,NULL,'Both','707495177',NULL,'Sample Data','Ray','P','Cooper',3,4,NULL,NULL,1,NULL,'Dear Ray',1,NULL,'Dear Ray',1,NULL,'Mr. Ray Cooper III',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (21,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Sonny','Sonny Robertson',NULL,NULL,NULL,'2',NULL,'Both','2508034963',NULL,'Sample Data','Sonny','','Robertson',NULL,NULL,NULL,NULL,1,NULL,'Dear Sonny',1,NULL,'Dear Sonny',1,NULL,'Sonny Robertson',NULL,2,'1946-10-23',1,'2021-05-09',NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:08'),
- (22,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jones, Esta','Ms. Esta Jones',NULL,NULL,NULL,NULL,NULL,'Both','2492655702',NULL,'Sample Data','Esta','','Jones',2,NULL,NULL,NULL,1,NULL,'Dear Esta',1,NULL,'Dear Esta',1,NULL,'Ms. Esta Jones',NULL,NULL,'1995-01-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (23,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Rebekah','Ms. Rebekah Wattson',NULL,NULL,NULL,'4',NULL,'Both','289475581',NULL,'Sample Data','Rebekah','','Wattson',2,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Ms. Rebekah Wattson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (24,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Patel, Miguel','Miguel Patel Sr.',NULL,NULL,NULL,NULL,NULL,'Both','2561562874',NULL,'Sample Data','Miguel','U','Patel',NULL,2,NULL,NULL,1,NULL,'Dear Miguel',1,NULL,'Dear Miguel',1,NULL,'Miguel Patel Sr.',NULL,2,'1990-05-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (25,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Díaz, Arlyne','Arlyne Díaz',NULL,NULL,NULL,NULL,NULL,'Both','4265577068',NULL,'Sample Data','Arlyne','','Díaz',NULL,NULL,NULL,NULL,1,NULL,'Dear Arlyne',1,NULL,'Dear Arlyne',1,NULL,'Arlyne Díaz',NULL,NULL,'1970-09-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (26,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Nielsen, Erik','Erik Nielsen Jr.',NULL,NULL,NULL,'4',NULL,'Both','3110052789',NULL,'Sample Data','Erik','','Nielsen',NULL,1,NULL,NULL,1,NULL,'Dear Erik',1,NULL,'Dear Erik',1,NULL,'Erik Nielsen Jr.',NULL,NULL,'1950-02-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (27,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Ivanov, Mei','Mrs. Mei Ivanov',NULL,NULL,NULL,NULL,NULL,'Both','3817644881',NULL,'Sample Data','Mei','','Ivanov',1,NULL,NULL,NULL,1,NULL,'Dear Mei',1,NULL,'Dear Mei',1,NULL,'Mrs. Mei Ivanov',NULL,1,'1948-01-13',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (28,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Yadav family','Yadav family',NULL,NULL,NULL,'3',NULL,'Both','1777336212',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Yadav family',5,NULL,'Dear Yadav family',2,NULL,'Yadav family',NULL,NULL,NULL,0,NULL,'Yadav family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (29,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Yadav, Shad','Shad Yadav Sr.',NULL,NULL,NULL,NULL,NULL,'Both','3704457125',NULL,'Sample Data','Shad','Z','Yadav',NULL,2,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Shad Yadav Sr.',NULL,NULL,'2003-12-09',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (30,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Roberts, Ray','Ray Roberts',NULL,NULL,NULL,'3',NULL,'Both','1321167237',NULL,'Sample Data','Ray','','Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Ray',1,NULL,'Dear Ray',1,NULL,'Ray Roberts',NULL,2,'2005-06-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (31,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cooper, Laree','Laree Cooper',NULL,NULL,NULL,'3',NULL,'Both','4213061637',NULL,'Sample Data','Laree','T','Cooper',NULL,NULL,NULL,NULL,1,NULL,'Dear Laree',1,NULL,'Dear Laree',1,NULL,'Laree Cooper',NULL,1,'2007-08-10',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:08'),
- (32,'Organization',NULL,1,1,0,0,0,0,NULL,NULL,'Rural Family Fund','Rural Family Fund',NULL,NULL,NULL,NULL,NULL,'Both','1606759660',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Rural Family Fund',NULL,NULL,NULL,0,NULL,NULL,NULL,'Rural Family Fund',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (33,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Dimitrov, Megan','Megan Dimitrov',NULL,NULL,NULL,'1',NULL,'Both','604448148',NULL,'Sample Data','Megan','M','Dimitrov',NULL,NULL,NULL,NULL,1,NULL,'Dear Megan',1,NULL,'Dear Megan',1,NULL,'Megan Dimitrov',NULL,NULL,'1974-08-11',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (34,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'carylonnielsen10@spamalot.co.nz','carylonnielsen10@spamalot.co.nz',NULL,NULL,NULL,NULL,NULL,'Both','1898318637',NULL,'Sample Data',NULL,NULL,NULL,4,NULL,NULL,NULL,1,NULL,'Dear carylonnielsen10@spamalot.co.nz',1,NULL,'Dear carylonnielsen10@spamalot.co.nz',1,NULL,'carylonnielsen10@spamalot.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (35,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terry, Bernadette','Mrs. Bernadette Terry',NULL,NULL,NULL,'4',NULL,'Both','2401458356',NULL,'Sample Data','Bernadette','O','Terry',1,NULL,NULL,NULL,1,NULL,'Dear Bernadette',1,NULL,'Dear Bernadette',1,NULL,'Mrs. Bernadette Terry',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (36,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Corpus Christi Agriculture Alliance','Corpus Christi Agriculture Alliance',NULL,NULL,NULL,'2',NULL,'Both','1647729060',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Corpus Christi Agriculture Alliance',NULL,NULL,NULL,0,NULL,NULL,16,'Corpus Christi Agriculture Alliance',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (37,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Smith, Damaris','Damaris Smith',NULL,NULL,NULL,'5',NULL,'Both','3693080437',NULL,'Sample Data','Damaris','T','Smith',NULL,NULL,NULL,NULL,1,NULL,'Dear Damaris',1,NULL,'Dear Damaris',1,NULL,'Damaris Smith',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (38,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'trumanwilson@spamalot.co.nz','trumanwilson@spamalot.co.nz',NULL,NULL,NULL,NULL,NULL,'Both','93472421',NULL,'Sample Data',NULL,NULL,NULL,NULL,3,NULL,NULL,1,NULL,'Dear trumanwilson@spamalot.co.nz',1,NULL,'Dear trumanwilson@spamalot.co.nz',1,NULL,'trumanwilson@spamalot.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (39,'Household',NULL,1,0,0,0,0,0,NULL,NULL,'Wilson family','Wilson family',NULL,NULL,NULL,NULL,NULL,'Both','350510798',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Wilson family',5,NULL,'Dear Wilson family',2,NULL,'Wilson family',NULL,NULL,NULL,0,NULL,'Wilson family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (40,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Prentice, Jackson','Dr. Jackson Prentice Jr.',NULL,NULL,NULL,'4',NULL,'Both','1317187713',NULL,'Sample Data','Jackson','','Prentice',4,1,NULL,NULL,1,NULL,'Dear Jackson',1,NULL,'Dear Jackson',1,NULL,'Dr. Jackson Prentice Jr.',NULL,2,'1996-02-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (41,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Díaz, Iris','Dr. Iris Díaz',NULL,NULL,NULL,NULL,NULL,'Both','2732168560',NULL,'Sample Data','Iris','','Díaz',4,NULL,NULL,NULL,1,NULL,'Dear Iris',1,NULL,'Dear Iris',1,NULL,'Dr. Iris Díaz',NULL,NULL,'1942-11-08',0,NULL,NULL,NULL,'Urban Peace Center',NULL,NULL,87,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (42,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'ashleyroberts-prentice@mymail.co.nz','ashleyroberts-prentice@mymail.co.nz',NULL,NULL,NULL,NULL,NULL,'Both','3588394643',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear ashleyroberts-prentice@mymail.co.nz',1,NULL,'Dear ashleyroberts-prentice@mymail.co.nz',1,NULL,'ashleyroberts-prentice@mymail.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (43,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Jameson, Rosario','Rosario Jameson',NULL,NULL,NULL,'3',NULL,'Both','1768572446',NULL,'Sample Data','Rosario','J','Jameson',NULL,NULL,NULL,NULL,1,NULL,'Dear Rosario',1,NULL,'Dear Rosario',1,NULL,'Rosario Jameson',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (44,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Roberts, Allan','Dr. Allan Roberts',NULL,NULL,NULL,NULL,NULL,'Both','711502623',NULL,'Sample Data','Allan','','Roberts',4,NULL,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Dr. Allan Roberts',NULL,2,'1971-10-05',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (45,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Cooper, Truman','Truman Cooper',NULL,NULL,NULL,NULL,NULL,'Both','938772676',NULL,'Sample Data','Truman','X','Cooper',NULL,NULL,NULL,NULL,1,NULL,'Dear Truman',1,NULL,'Dear Truman',1,NULL,'Truman Cooper',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (46,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jacobs, Brent','Dr. Brent Jacobs III',NULL,NULL,NULL,'1',NULL,'Both','2357186266',NULL,'Sample Data','Brent','','Jacobs',4,4,NULL,NULL,1,NULL,'Dear Brent',1,NULL,'Dear Brent',1,NULL,'Dr. Brent Jacobs III',NULL,NULL,'1949-03-31',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (47,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Roberts, Lawerence','Lawerence Roberts',NULL,NULL,NULL,'5',NULL,'Both','2250722466',NULL,'Sample Data','Lawerence','P','Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Lawerence',1,NULL,'Dear Lawerence',1,NULL,'Lawerence Roberts',NULL,2,'2009-11-13',0,NULL,NULL,NULL,'United Agriculture Center',NULL,NULL,174,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (48,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Roberts, Craig','Dr. Craig Roberts Sr.',NULL,NULL,NULL,NULL,NULL,'Both','1504934188',NULL,'Sample Data','Craig','','Roberts',4,2,NULL,NULL,1,NULL,'Dear Craig',1,NULL,'Dear Craig',1,NULL,'Dr. Craig Roberts Sr.',NULL,NULL,'1952-06-10',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (49,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'González, Iris','Iris González',NULL,NULL,NULL,'3',NULL,'Both','258488856',NULL,'Sample Data','Iris','D','González',NULL,NULL,NULL,NULL,1,NULL,'Dear Iris',1,NULL,'Dear Iris',1,NULL,'Iris González',NULL,1,'1953-12-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (50,'Individual',NULL,1,1,0,0,1,0,NULL,NULL,'Prentice, Maxwell','Maxwell Prentice II',NULL,NULL,NULL,'3',NULL,'Both','1532112278',NULL,'Sample Data','Maxwell','E','Prentice',NULL,3,NULL,NULL,1,NULL,'Dear Maxwell',1,NULL,'Dear Maxwell',1,NULL,'Maxwell Prentice II',NULL,NULL,'1977-07-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (51,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest family','Deforest family',NULL,NULL,NULL,'5',NULL,'Both','3235379039',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Deforest family',5,NULL,'Dear Deforest family',2,NULL,'Deforest family',NULL,NULL,NULL,0,NULL,'Deforest family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (52,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Parker, Allan','Allan Parker',NULL,NULL,NULL,'2',NULL,'Both','1311923270',NULL,'Sample Data','Allan','','Parker',NULL,NULL,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Allan Parker',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (53,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Yadav, Kathlyn','Dr. Kathlyn Yadav',NULL,NULL,NULL,'4',NULL,'Both','892825163',NULL,'Sample Data','Kathlyn','','Yadav',4,NULL,NULL,NULL,1,NULL,'Dear Kathlyn',1,NULL,'Dear Kathlyn',1,NULL,'Dr. Kathlyn Yadav',NULL,1,'1943-11-21',0,NULL,NULL,NULL,'Van Ness Software Fellowship',NULL,NULL,6,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (54,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Bob','Mr. Bob Robertson II',NULL,NULL,NULL,'5',NULL,'Both','2136994257',NULL,'Sample Data','Bob','','Robertson',3,3,NULL,NULL,1,NULL,'Dear Bob',1,NULL,'Dear Bob',1,NULL,'Mr. Bob Robertson II',NULL,2,'1989-01-24',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (55,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Deforest, Brittney','Brittney Deforest',NULL,NULL,NULL,'2',NULL,'Both','1540368141',NULL,'Sample Data','Brittney','','Deforest',NULL,NULL,NULL,NULL,1,NULL,'Dear Brittney',1,NULL,'Dear Brittney',1,NULL,'Brittney Deforest',NULL,NULL,'1984-03-23',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (56,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Łąchowski-Barkley, Sherman','Sherman Łąchowski-Barkley III',NULL,NULL,NULL,NULL,NULL,'Both','2383515627',NULL,'Sample Data','Sherman','','Łąchowski-Barkley',NULL,4,NULL,NULL,1,NULL,'Dear Sherman',1,NULL,'Dear Sherman',1,NULL,'Sherman Łąchowski-Barkley III',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (57,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Jensen, Shauna','Dr. Shauna Jensen',NULL,NULL,NULL,NULL,NULL,'Both','108136044',NULL,'Sample Data','Shauna','U','Jensen',4,NULL,NULL,NULL,1,NULL,'Dear Shauna',1,NULL,'Dear Shauna',1,NULL,'Dr. Shauna Jensen',NULL,1,'1997-09-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (58,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jameson, Landon','Dr. Landon Jameson III',NULL,NULL,NULL,NULL,NULL,'Both','548600134',NULL,'Sample Data','Landon','I','Jameson',4,4,NULL,NULL,1,NULL,'Dear Landon',1,NULL,'Dear Landon',1,NULL,'Dr. Landon Jameson III',NULL,2,'1985-01-14',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (59,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'González, Maxwell','Maxwell González',NULL,NULL,NULL,NULL,NULL,'Both','3943391638',NULL,'Sample Data','Maxwell','N','González',NULL,NULL,NULL,NULL,1,NULL,'Dear Maxwell',1,NULL,'Dear Maxwell',1,NULL,'Maxwell González',NULL,NULL,NULL,0,NULL,NULL,NULL,'United Software Systems',NULL,NULL,181,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (60,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Roberts family','Roberts family',NULL,NULL,NULL,NULL,NULL,'Both','2097305882',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Roberts family',5,NULL,'Dear Roberts family',2,NULL,'Roberts family',NULL,NULL,NULL,0,NULL,'Roberts family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (61,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Kiamesha Lake Sustainability Fund','Kiamesha Lake Sustainability Fund',NULL,NULL,NULL,NULL,NULL,'Both','1618028462',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Kiamesha Lake Sustainability Fund',NULL,NULL,NULL,0,NULL,NULL,153,'Kiamesha Lake Sustainability Fund',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (62,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Prentice family','Prentice family',NULL,NULL,NULL,NULL,NULL,'Both','3313623671',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Prentice family',5,NULL,'Dear Prentice family',2,NULL,'Prentice family',NULL,NULL,NULL,0,NULL,'Prentice family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (63,'Household',NULL,0,1,0,0,0,0,NULL,NULL,'Łąchowski-Barkley family','Łąchowski-Barkley family',NULL,NULL,NULL,'1',NULL,'Both','989157296',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Łąchowski-Barkley family',5,NULL,'Dear Łąchowski-Barkley family',2,NULL,'Łąchowski-Barkley family',NULL,NULL,NULL,0,NULL,'Łąchowski-Barkley family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (64,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Jameson, Rosario','Mr. Rosario Jameson',NULL,NULL,NULL,NULL,NULL,'Both','1768572446',NULL,'Sample Data','Rosario','','Jameson',3,NULL,NULL,NULL,1,NULL,'Dear Rosario',1,NULL,'Dear Rosario',1,NULL,'Mr. Rosario Jameson',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (65,'Organization',NULL,1,0,0,0,0,0,NULL,NULL,'United Culture Partners','United Culture Partners',NULL,NULL,NULL,'2',NULL,'Both','2576598866',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'United Culture Partners',NULL,NULL,NULL,0,NULL,NULL,NULL,'United Culture Partners',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (66,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'rgrant-cooper@sample.biz','rgrant-cooper@sample.biz',NULL,NULL,NULL,'4',NULL,'Both','713196471',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,NULL,1,NULL,'Dear rgrant-cooper@sample.biz',1,NULL,'Dear rgrant-cooper@sample.biz',1,NULL,'rgrant-cooper@sample.biz',NULL,NULL,NULL,0,NULL,NULL,NULL,'Martin Luther King Arts Trust',NULL,NULL,4,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (67,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Reynolds, Mei','Ms. Mei Reynolds',NULL,NULL,NULL,NULL,NULL,'Both','2590400187',NULL,'Sample Data','Mei','','Reynolds',2,NULL,NULL,NULL,1,NULL,'Dear Mei',1,NULL,'Dear Mei',1,NULL,'Ms. Mei Reynolds',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (68,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'González, Brzęczysław','Brzęczysław González Sr.',NULL,NULL,NULL,'1',NULL,'Both','3813995489',NULL,'Sample Data','Brzęczysław','J','González',NULL,2,NULL,NULL,1,NULL,'Dear Brzęczysław',1,NULL,'Dear Brzęczysław',1,NULL,'Brzęczysław González Sr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (69,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Glencoe Development Academy','Glencoe Development Academy',NULL,NULL,NULL,'1',NULL,'Both','764165573',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Glencoe Development Academy',NULL,NULL,NULL,0,NULL,NULL,73,'Glencoe Development Academy',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (70,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Cooper-Müller family','Cooper-Müller family',NULL,NULL,NULL,NULL,NULL,'Both','1121596331',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Cooper-Müller family',5,NULL,'Dear Cooper-Müller family',2,NULL,'Cooper-Müller family',NULL,NULL,NULL,0,NULL,'Cooper-Müller family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (71,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Jacobs, Kenny','Kenny Jacobs Jr.',NULL,NULL,NULL,'5',NULL,'Both','1044730065',NULL,'Sample Data','Kenny','','Jacobs',NULL,1,NULL,NULL,1,NULL,'Dear Kenny',1,NULL,'Dear Kenny',1,NULL,'Kenny Jacobs Jr.',NULL,2,'1946-05-07',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (72,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'Bellmawr Arts Fund','Bellmawr Arts Fund',NULL,NULL,NULL,NULL,NULL,'Both','3104492188',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Bellmawr Arts Fund',NULL,NULL,NULL,0,NULL,NULL,100,'Bellmawr Arts Fund',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (73,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Grant, Valene','Valene Grant',NULL,NULL,NULL,NULL,NULL,'Both','309020900',NULL,'Sample Data','Valene','O','Grant',NULL,NULL,NULL,NULL,1,NULL,'Dear Valene',1,NULL,'Dear Valene',1,NULL,'Valene Grant',NULL,1,'2007-08-27',0,NULL,NULL,NULL,'Glencoe Development Academy',NULL,NULL,69,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (74,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'Martin Luther King Food Partnership','Martin Luther King Food Partnership',NULL,NULL,NULL,'4',NULL,'Both','1756812436',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Martin Luther King Food Partnership',NULL,NULL,NULL,0,NULL,NULL,78,'Martin Luther King Food Partnership',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (75,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell, Scott','Scott Terrell Jr.',NULL,NULL,NULL,NULL,NULL,'Both','2651035335',NULL,'Sample Data','Scott','Y','Terrell',NULL,1,NULL,NULL,1,NULL,'Dear Scott',1,NULL,'Dear Scott',1,NULL,'Scott Terrell Jr.',NULL,NULL,'1955-05-11',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (76,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'bachman.jay@fishmail.biz','bachman.jay@fishmail.biz',NULL,NULL,NULL,'3',NULL,'Both','1953746416',NULL,'Sample Data',NULL,NULL,NULL,NULL,4,NULL,NULL,1,NULL,'Dear bachman.jay@fishmail.biz',1,NULL,'Dear bachman.jay@fishmail.biz',1,NULL,'bachman.jay@fishmail.biz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (77,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'mller.alexia@example.co.in','mller.alexia@example.co.in',NULL,NULL,NULL,'5',NULL,'Both','1179921504',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear mller.alexia@example.co.in',1,NULL,'Dear mller.alexia@example.co.in',1,NULL,'mller.alexia@example.co.in',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (78,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Olsen, Russell','Russell Olsen',NULL,NULL,NULL,'1',NULL,'Both','2568545963',NULL,'Sample Data','Russell','X','Olsen',NULL,NULL,NULL,NULL,1,NULL,'Dear Russell',1,NULL,'Dear Russell',1,NULL,'Russell Olsen',NULL,2,'1934-12-20',0,NULL,NULL,NULL,'Martin Luther King Food Partnership',NULL,NULL,74,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (79,'Organization',NULL,0,1,0,0,0,0,NULL,NULL,'New York Peace Academy','New York Peace Academy',NULL,NULL,NULL,'3',NULL,'Both','2836415379',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'New York Peace Academy',NULL,NULL,NULL,0,NULL,NULL,3,'New York Peace Academy',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (80,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Parker, Maria','Dr. Maria Parker',NULL,NULL,NULL,NULL,NULL,'Both','930508921',NULL,'Sample Data','Maria','N','Parker',4,NULL,NULL,NULL,1,NULL,'Dear Maria',1,NULL,'Dear Maria',1,NULL,'Dr. Maria Parker',NULL,NULL,'1984-05-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (81,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'reynoldsv@example.com','reynoldsv@example.com',NULL,NULL,NULL,NULL,NULL,'Both','1403985781',NULL,'Sample Data',NULL,NULL,NULL,1,NULL,NULL,NULL,1,NULL,'Dear reynoldsv@example.com',1,NULL,'Dear reynoldsv@example.com',1,NULL,'reynoldsv@example.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (82,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cruz, Shauna','Ms. Shauna Cruz',NULL,NULL,NULL,'5',NULL,'Both','3185339040',NULL,'Sample Data','Shauna','','Cruz',2,NULL,NULL,NULL,1,NULL,'Dear Shauna',1,NULL,'Dear Shauna',1,NULL,'Ms. Shauna Cruz',NULL,1,'1967-07-10',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (83,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Jacobs, Merrie','Merrie Jacobs',NULL,NULL,NULL,'1',NULL,'Both','2371395127',NULL,'Sample Data','Merrie','A','Jacobs',NULL,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Merrie Jacobs',NULL,NULL,'1956-03-10',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (84,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Ivanov, Jackson','Dr. Jackson Ivanov Jr.',NULL,NULL,NULL,'1',NULL,'Both','3246901602',NULL,'Sample Data','Jackson','B','Ivanov',4,1,NULL,NULL,1,NULL,'Dear Jackson',1,NULL,'Dear Jackson',1,NULL,'Dr. Jackson Ivanov Jr.',NULL,NULL,'1960-02-20',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (85,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Yadav, Scarlet','Mrs. Scarlet Yadav',NULL,NULL,NULL,'1',NULL,'Both','2692683463',NULL,'Sample Data','Scarlet','A','Yadav',1,NULL,NULL,NULL,1,NULL,'Dear Scarlet',1,NULL,'Dear Scarlet',1,NULL,'Mrs. Scarlet Yadav',NULL,1,'1977-07-28',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (86,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Grant, Lashawnda','Lashawnda Grant',NULL,NULL,NULL,NULL,NULL,'Both','2795633205',NULL,'Sample Data','Lashawnda','','Grant',NULL,NULL,NULL,NULL,1,NULL,'Dear Lashawnda',1,NULL,'Dear Lashawnda',1,NULL,'Lashawnda Grant',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (87,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Urban Peace Center','Urban Peace Center',NULL,NULL,NULL,'2',NULL,'Both','4047507838',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Urban Peace Center',NULL,NULL,NULL,0,NULL,NULL,41,'Urban Peace Center',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (88,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'ejameson@mymail.co.uk','ejameson@mymail.co.uk',NULL,NULL,NULL,NULL,NULL,'Both','119685343',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear ejameson@mymail.co.uk',1,NULL,'Dear ejameson@mymail.co.uk',1,NULL,'ejameson@mymail.co.uk',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (89,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Ivanov, Rolando','Mr. Rolando Ivanov',NULL,NULL,NULL,'3',NULL,'Both','3260863600',NULL,'Sample Data','Rolando','V','Ivanov',3,NULL,NULL,NULL,1,NULL,'Dear Rolando',1,NULL,'Dear Rolando',1,NULL,'Mr. Rolando Ivanov',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (90,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell, Allan','Mr. Allan Terrell',NULL,NULL,NULL,'4',NULL,'Both','349299524',NULL,'Sample Data','Allan','','Terrell',3,NULL,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Mr. Allan Terrell',NULL,2,'1958-05-11',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (91,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Community Empowerment Trust','Community Empowerment Trust',NULL,NULL,NULL,'5',NULL,'Both','2422921319',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Community Empowerment Trust',NULL,NULL,NULL,0,NULL,NULL,NULL,'Community Empowerment Trust',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (92,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest, Carylon','Carylon Deforest',NULL,NULL,NULL,NULL,NULL,'Both','1534099246',NULL,'Sample Data','Carylon','','Deforest',NULL,NULL,NULL,NULL,1,NULL,'Dear Carylon',1,NULL,'Dear Carylon',1,NULL,'Carylon Deforest',NULL,1,'1991-08-17',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (93,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jensen, Ashley','Mr. Ashley Jensen',NULL,NULL,NULL,NULL,NULL,'Both','3241907591',NULL,'Sample Data','Ashley','','Jensen',3,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Mr. Ashley Jensen',NULL,2,'1993-12-20',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (94,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cooper-Müller, Laree','Laree Cooper-Müller',NULL,NULL,NULL,'3',NULL,'Both','4199305012',NULL,'Sample Data','Laree','','Cooper-Müller',NULL,NULL,NULL,NULL,1,NULL,'Dear Laree',1,NULL,'Dear Laree',1,NULL,'Laree Cooper-Müller',NULL,1,'1987-09-11',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (95,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Patel, Kenny','Dr. Kenny Patel Sr.',NULL,NULL,NULL,'3',NULL,'Both','73584714',NULL,'Sample Data','Kenny','','Patel',4,2,NULL,NULL,1,NULL,'Dear Kenny',1,NULL,'Dear Kenny',1,NULL,'Dr. Kenny Patel Sr.',NULL,NULL,'1962-09-12',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (96,'Individual',NULL,1,1,0,0,1,0,NULL,NULL,'Robertson, Bryon','Bryon Robertson',NULL,NULL,NULL,'3',NULL,'Both','3912213392',NULL,'Sample Data','Bryon','Z','Robertson',NULL,NULL,NULL,NULL,1,NULL,'Dear Bryon',1,NULL,'Dear Bryon',1,NULL,'Bryon Robertson',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (97,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Parker-Cruz family','Parker-Cruz family',NULL,NULL,NULL,'2',NULL,'Both','1981374575',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Parker-Cruz family',5,NULL,'Dear Parker-Cruz family',2,NULL,'Parker-Cruz family',NULL,NULL,NULL,0,NULL,'Parker-Cruz family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (98,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Adams, Miguel','Dr. Miguel Adams',NULL,NULL,NULL,'3',NULL,'Both','3600020840',NULL,'Sample Data','Miguel','U','Adams',4,NULL,NULL,NULL,1,NULL,'Dear Miguel',1,NULL,'Dear Miguel',1,NULL,'Dr. Miguel Adams',NULL,2,'1945-02-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (99,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Cooper, Brzęczysław','Mr. Brzęczysław Cooper',NULL,NULL,NULL,'3',NULL,'Both','671824527',NULL,'Sample Data','Brzęczysław','T','Cooper',3,NULL,NULL,NULL,1,NULL,'Dear Brzęczysław',1,NULL,'Dear Brzęczysław',1,NULL,'Mr. Brzęczysław Cooper',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (100,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'blackwells45@fakemail.biz','blackwells45@fakemail.biz',NULL,NULL,NULL,'4',NULL,'Both','4242031944',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear blackwells45@fakemail.biz',1,NULL,'Dear blackwells45@fakemail.biz',1,NULL,'blackwells45@fakemail.biz',NULL,NULL,NULL,0,NULL,NULL,NULL,'Bellmawr Arts Fund',NULL,NULL,72,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (101,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Prentice, Valene','Valene Prentice',NULL,NULL,NULL,NULL,NULL,'Both','2953436948',NULL,'Sample Data','Valene','W','Prentice',NULL,NULL,NULL,NULL,1,NULL,'Dear Valene',1,NULL,'Dear Valene',1,NULL,'Valene Prentice',NULL,NULL,'2008-08-03',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (102,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Yadav, Alexia','Dr. Alexia Yadav',NULL,NULL,NULL,'3',NULL,'Both','1312807214',NULL,'Sample Data','Alexia','','Yadav',4,NULL,NULL,NULL,1,NULL,'Dear Alexia',1,NULL,'Dear Alexia',1,NULL,'Dr. Alexia Yadav',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (103,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Díaz, Lashawnda','Dr. Lashawnda Díaz',NULL,NULL,NULL,NULL,NULL,'Both','2462862160',NULL,'Sample Data','Lashawnda','','Díaz',4,NULL,NULL,NULL,1,NULL,'Dear Lashawnda',1,NULL,'Dear Lashawnda',1,NULL,'Dr. Lashawnda Díaz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (104,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Roberts, Allen','Mr. Allen Roberts',NULL,NULL,NULL,'2',NULL,'Both','1308913179',NULL,'Sample Data','Allen','V','Roberts',3,NULL,NULL,NULL,1,NULL,'Dear Allen',1,NULL,'Dear Allen',1,NULL,'Mr. Allen Roberts',NULL,2,'1982-01-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (105,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Jones, Mei','Dr. Mei Jones',NULL,NULL,NULL,NULL,NULL,'Both','2285120120',NULL,'Sample Data','Mei','','Jones',4,NULL,NULL,NULL,1,NULL,'Dear Mei',1,NULL,'Dear Mei',1,NULL,'Dr. Mei Jones',NULL,NULL,'1979-04-16',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (106,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Łąchowski, Shad','Dr. Shad Łąchowski II',NULL,NULL,NULL,'3',NULL,'Both','695965162',NULL,'Sample Data','Shad','I','Łąchowski',4,3,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Dr. Shad Łąchowski II',NULL,2,'1957-01-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (107,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samson, Maria','Maria Samson III',NULL,NULL,NULL,'1',NULL,'Both','1039221596',NULL,'Sample Data','Maria','T','Samson',NULL,4,NULL,NULL,1,NULL,'Dear Maria',1,NULL,'Dear Maria',1,NULL,'Maria Samson III',NULL,NULL,'1975-09-28',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (108,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Prentice, Jacob','Jacob Prentice Sr.',NULL,NULL,NULL,'2',NULL,'Both','2335760166',NULL,'Sample Data','Jacob','V','Prentice',NULL,2,NULL,NULL,1,NULL,'Dear Jacob',1,NULL,'Dear Jacob',1,NULL,'Jacob Prentice Sr.',NULL,2,'2001-11-12',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (109,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson family','Robertson family',NULL,NULL,NULL,NULL,NULL,'Both','3444393980',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Robertson family',5,NULL,'Dear Robertson family',2,NULL,'Robertson family',NULL,NULL,NULL,0,NULL,'Robertson family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (110,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jameson, Santina','Mrs. Santina Jameson',NULL,NULL,NULL,NULL,NULL,'Both','2989109013',NULL,'Sample Data','Santina','B','Jameson',1,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Mrs. Santina Jameson',NULL,1,'1948-05-02',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (111,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Yadav, Norris','Dr. Norris Yadav III',NULL,NULL,NULL,'3',NULL,'Both','3408497299',NULL,'Sample Data','Norris','E','Yadav',4,4,NULL,NULL,1,NULL,'Dear Norris',1,NULL,'Dear Norris',1,NULL,'Dr. Norris Yadav III',NULL,NULL,'1969-08-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (112,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Reynolds, Jerome','Dr. Jerome Reynolds Sr.',NULL,NULL,NULL,'4',NULL,'Both','2193526984',NULL,'Sample Data','Jerome','','Reynolds',4,2,NULL,NULL,1,NULL,'Dear Jerome',1,NULL,'Dear Jerome',1,NULL,'Dr. Jerome Reynolds Sr.',NULL,2,'1992-07-12',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (113,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Terrell-Prentice, Kiara','Kiara Terrell-Prentice',NULL,NULL,NULL,NULL,NULL,'Both','561749650',NULL,'Sample Data','Kiara','','Terrell-Prentice',NULL,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Kiara Terrell-Prentice',NULL,1,'1960-11-09',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (114,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Reynolds, Sanford','Sanford Reynolds',NULL,NULL,NULL,'2',NULL,'Both','3123200036',NULL,'Sample Data','Sanford','','Reynolds',NULL,NULL,NULL,NULL,1,NULL,'Dear Sanford',1,NULL,'Dear Sanford',1,NULL,'Sanford Reynolds',NULL,2,'1968-01-07',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (115,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Ivanov, Scarlet','Dr. Scarlet Ivanov',NULL,NULL,NULL,NULL,NULL,'Both','959385532',NULL,'Sample Data','Scarlet','','Ivanov',4,NULL,NULL,NULL,1,NULL,'Dear Scarlet',1,NULL,'Dear Scarlet',1,NULL,'Dr. Scarlet Ivanov',NULL,1,'1964-03-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (116,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Yadav, Sharyn','Mrs. Sharyn Yadav',NULL,NULL,NULL,'5',NULL,'Both','2905194815',NULL,'Sample Data','Sharyn','','Yadav',1,NULL,NULL,NULL,1,NULL,'Dear Sharyn',1,NULL,'Dear Sharyn',1,NULL,'Mrs. Sharyn Yadav',NULL,1,'1973-11-02',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (117,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Łąchowski, Jed','Jed Łąchowski',NULL,NULL,NULL,'1',NULL,'Both','2063929350',NULL,'Sample Data','Jed','','Łąchowski',NULL,NULL,NULL,NULL,1,NULL,'Dear Jed',1,NULL,'Dear Jed',1,NULL,'Jed Łąchowski',NULL,2,'1936-12-07',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (118,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Prentice, Rolando','Mr. Rolando Prentice',NULL,NULL,NULL,'5',NULL,'Both','1297722771',NULL,'Sample Data','Rolando','P','Prentice',3,NULL,NULL,NULL,1,NULL,'Dear Rolando',1,NULL,'Dear Rolando',1,NULL,'Mr. Rolando Prentice',NULL,2,'1989-08-03',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (119,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Parker, Teresa','Teresa Parker',NULL,NULL,NULL,NULL,NULL,'Both','1643019663',NULL,'Sample Data','Teresa','','Parker',NULL,NULL,NULL,NULL,1,NULL,'Dear Teresa',1,NULL,'Dear Teresa',1,NULL,'Teresa Parker',NULL,1,'2005-12-08',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (120,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'fparker@spamalot.org','fparker@spamalot.org',NULL,NULL,NULL,NULL,NULL,'Both','2523071110',NULL,'Sample Data',NULL,NULL,NULL,2,NULL,NULL,NULL,1,NULL,'Dear fparker@spamalot.org',1,NULL,'Dear fparker@spamalot.org',1,NULL,'fparker@spamalot.org',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (121,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Cooper, Elina','Elina Cooper',NULL,NULL,NULL,'2',NULL,'Both','4035892202',NULL,'Sample Data','Elina','','Cooper',NULL,NULL,NULL,NULL,1,NULL,'Dear Elina',1,NULL,'Dear Elina',1,NULL,'Elina Cooper',NULL,NULL,'2010-03-13',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (122,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Zope, Damaris','Damaris Zope',NULL,NULL,NULL,NULL,NULL,'Both','2309654739',NULL,'Sample Data','Damaris','E','Zope',NULL,NULL,NULL,NULL,1,NULL,'Dear Damaris',1,NULL,'Dear Damaris',1,NULL,'Damaris Zope',NULL,NULL,'1951-09-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (123,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Prentice, Norris','Dr. Norris Prentice Sr.',NULL,NULL,NULL,'1',NULL,'Both','4068890444',NULL,'Sample Data','Norris','','Prentice',4,2,NULL,NULL,1,NULL,'Dear Norris',1,NULL,'Dear Norris',1,NULL,'Dr. Norris Prentice Sr.',NULL,2,'1981-10-28',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (124,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Terry-Roberts, Jina','Jina Terry-Roberts',NULL,NULL,NULL,'4',NULL,'Both','1753689551',NULL,'Sample Data','Jina','','Terry-Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Jina',1,NULL,'Dear Jina',1,NULL,'Jina Terry-Roberts',NULL,1,'1959-07-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (125,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Adams, Lashawnda','Dr. Lashawnda Adams',NULL,NULL,NULL,'2',NULL,'Both','1526357293',NULL,'Sample Data','Lashawnda','','Adams',4,NULL,NULL,NULL,1,NULL,'Dear Lashawnda',1,NULL,'Dear Lashawnda',1,NULL,'Dr. Lashawnda Adams',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (126,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Prentice family','Prentice family',NULL,NULL,NULL,NULL,NULL,'Both','3313623671',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Prentice family',5,NULL,'Dear Prentice family',2,NULL,'Prentice family',NULL,NULL,NULL,0,NULL,'Prentice family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (127,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Merrie','Merrie Wilson',NULL,NULL,NULL,NULL,NULL,'Both','2015028870',NULL,'Sample Data','Merrie','','Wilson',NULL,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Merrie Wilson',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (128,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'McReynolds, Ivey','Ivey McReynolds',NULL,NULL,NULL,'3',NULL,'Both','3543287446',NULL,'Sample Data','Ivey','A','McReynolds',NULL,NULL,NULL,NULL,1,NULL,'Dear Ivey',1,NULL,'Dear Ivey',1,NULL,'Ivey McReynolds',NULL,1,'1970-04-20',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (129,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'robertsonb@testing.org','robertsonb@testing.org',NULL,NULL,NULL,'4',NULL,'Both','2185730426',NULL,'Sample Data',NULL,NULL,NULL,1,NULL,NULL,NULL,1,NULL,'Dear robertsonb@testing.org',1,NULL,'Dear robertsonb@testing.org',1,NULL,'robertsonb@testing.org',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (130,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest, Carlos','Dr. Carlos Deforest',NULL,NULL,NULL,NULL,NULL,'Both','2222599648',NULL,'Sample Data','Carlos','Q','Deforest',4,NULL,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Dr. Carlos Deforest',NULL,2,'1992-09-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (131,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Grant, Justina','Mrs. Justina Grant',NULL,NULL,NULL,'2',NULL,'Both','2606086842',NULL,'Sample Data','Justina','','Grant',1,NULL,NULL,NULL,1,NULL,'Dear Justina',1,NULL,'Dear Justina',1,NULL,'Mrs. Justina Grant',NULL,NULL,'1992-12-24',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (132,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Lee, Brent','Mr. Brent Lee II',NULL,NULL,NULL,NULL,NULL,'Both','3880593995',NULL,'Sample Data','Brent','','Lee',3,3,NULL,NULL,1,NULL,'Dear Brent',1,NULL,'Dear Brent',1,NULL,'Mr. Brent Lee II',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (133,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Wilson, Miguel','Dr. Miguel Wilson',NULL,NULL,NULL,'4',NULL,'Both','168512775',NULL,'Sample Data','Miguel','','Wilson',4,NULL,NULL,NULL,1,NULL,'Dear Miguel',1,NULL,'Dear Miguel',1,NULL,'Dr. Miguel Wilson',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (134,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Shad','Shad Wilson',NULL,NULL,NULL,NULL,NULL,'Both','3505548330',NULL,'Sample Data','Shad','P','Wilson',NULL,NULL,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Shad Wilson',NULL,NULL,'2013-06-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (135,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Lee, Claudio','Claudio Lee',NULL,NULL,NULL,NULL,NULL,'Both','298367996',NULL,'Sample Data','Claudio','','Lee',NULL,NULL,NULL,NULL,1,NULL,'Dear Claudio',1,NULL,'Dear Claudio',1,NULL,'Claudio Lee',NULL,2,'1977-02-02',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (136,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Barkley, Rebekah','Rebekah Barkley',NULL,NULL,NULL,NULL,NULL,'Both','3218825396',NULL,'Sample Data','Rebekah','E','Barkley',NULL,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Rebekah Barkley',NULL,1,'1960-02-11',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (137,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cooper, Beula','Mrs. Beula Cooper',NULL,NULL,NULL,NULL,NULL,'Both','413956326',NULL,'Sample Data','Beula','S','Cooper',1,NULL,NULL,NULL,1,NULL,'Dear Beula',1,NULL,'Dear Beula',1,NULL,'Mrs. Beula Cooper',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (138,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terry, Rosario','Mr. Rosario Terry III',NULL,NULL,NULL,NULL,NULL,'Both','1264009879',NULL,'Sample Data','Rosario','','Terry',3,4,NULL,NULL,1,NULL,'Dear Rosario',1,NULL,'Dear Rosario',1,NULL,'Mr. Rosario Terry III',NULL,NULL,NULL,0,NULL,NULL,NULL,'California Advocacy Partners',NULL,NULL,182,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (139,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Grant, Jay','Mr. Jay Grant',NULL,NULL,NULL,NULL,NULL,'Both','2599662053',NULL,'Sample Data','Jay','Z','Grant',3,NULL,NULL,NULL,1,NULL,'Dear Jay',1,NULL,'Dear Jay',1,NULL,'Mr. Jay Grant',NULL,2,'1962-12-04',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (140,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Lee, Carylon','Dr. Carylon Lee',NULL,NULL,NULL,NULL,NULL,'Both','4019076192',NULL,'Sample Data','Carylon','X','Lee',4,NULL,NULL,NULL,1,NULL,'Dear Carylon',1,NULL,'Dear Carylon',1,NULL,'Dr. Carylon Lee',NULL,1,'1991-07-17',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (141,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'shadjameson@example.co.in','shadjameson@example.co.in',NULL,NULL,NULL,'5',NULL,'Both','1486964407',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear shadjameson@example.co.in',1,NULL,'Dear shadjameson@example.co.in',1,NULL,'shadjameson@example.co.in',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (142,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Lee, Maxwell','Maxwell Lee III',NULL,NULL,NULL,'4',NULL,'Both','3744211407',NULL,'Sample Data','Maxwell','','Lee',NULL,4,NULL,NULL,1,NULL,'Dear Maxwell',1,NULL,'Dear Maxwell',1,NULL,'Maxwell Lee III',NULL,NULL,'1982-12-27',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (143,'Organization',NULL,1,0,0,0,0,0,NULL,NULL,'Global Environmental Collective','Global Environmental Collective',NULL,NULL,NULL,'5',NULL,'Both','3287854532',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Global Environmental Collective',NULL,NULL,NULL,0,NULL,NULL,170,'Global Environmental Collective',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (144,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jameson, Maria','Mr. Maria Jameson',NULL,NULL,NULL,NULL,NULL,'Both','2824644051',NULL,'Sample Data','Maria','F','Jameson',3,NULL,NULL,NULL,1,NULL,'Dear Maria',1,NULL,'Dear Maria',1,NULL,'Mr. Maria Jameson',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (145,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Jones, Magan','Magan Jones',NULL,NULL,NULL,NULL,NULL,'Both','781454343',NULL,'Sample Data','Magan','','Jones',NULL,NULL,NULL,NULL,1,NULL,'Dear Magan',1,NULL,'Dear Magan',1,NULL,'Magan Jones',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (146,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Lee, Jed','Jed Lee',NULL,NULL,NULL,NULL,NULL,'Both','301771502',NULL,'Sample Data','Jed','','Lee',NULL,NULL,NULL,NULL,1,NULL,'Dear Jed',1,NULL,'Dear Jed',1,NULL,'Jed Lee',NULL,2,'1936-05-17',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (147,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Jameson family','Jameson family',NULL,NULL,NULL,'4',NULL,'Both','2255649769',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Jameson family',5,NULL,'Dear Jameson family',2,NULL,'Jameson family',NULL,NULL,NULL,0,NULL,'Jameson family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (148,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Parker-Cruz, Elizabeth','Elizabeth Parker-Cruz',NULL,NULL,NULL,NULL,NULL,'Both','4038059639',NULL,'Sample Data','Elizabeth','','Parker-Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Elizabeth',1,NULL,'Dear Elizabeth',1,NULL,'Elizabeth Parker-Cruz',NULL,1,'1994-08-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (149,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Dimitrov, Rodrigo','Mr. Rodrigo Dimitrov',NULL,NULL,NULL,NULL,NULL,'Both','3624892269',NULL,'Sample Data','Rodrigo','','Dimitrov',3,NULL,NULL,NULL,1,NULL,'Dear Rodrigo',1,NULL,'Dear Rodrigo',1,NULL,'Mr. Rodrigo Dimitrov',NULL,2,'1984-05-15',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (150,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Jameson, Jina','Jina Jameson',NULL,NULL,NULL,NULL,NULL,'Both','1333283460',NULL,'Sample Data','Jina','N','Jameson',NULL,NULL,NULL,NULL,1,NULL,'Dear Jina',1,NULL,'Dear Jina',1,NULL,'Jina Jameson',NULL,NULL,'2008-09-28',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (151,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Robertson, Omar','Dr. Omar Robertson',NULL,NULL,NULL,'1',NULL,'Both','1197546846',NULL,'Sample Data','Omar','K','Robertson',4,NULL,NULL,NULL,1,NULL,'Dear Omar',1,NULL,'Dear Omar',1,NULL,'Dr. Omar Robertson',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (152,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Reynolds, Merrie','Merrie Reynolds',NULL,NULL,NULL,'2',NULL,'Both','4012463447',NULL,'Sample Data','Merrie','','Reynolds',NULL,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Merrie Reynolds',NULL,NULL,'1955-03-11',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (153,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samson, Landon','Landon Samson',NULL,NULL,NULL,NULL,NULL,'Both','1562429969',NULL,'Sample Data','Landon','','Samson',NULL,NULL,NULL,NULL,1,NULL,'Dear Landon',1,NULL,'Dear Landon',1,NULL,'Landon Samson',NULL,2,NULL,0,NULL,NULL,NULL,'Kiamesha Lake Sustainability Fund',NULL,NULL,61,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (154,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Grant, Clint','Clint Grant',NULL,NULL,NULL,'3',NULL,'Both','2449270383',NULL,'Sample Data','Clint','M','Grant',NULL,NULL,NULL,NULL,1,NULL,'Dear Clint',1,NULL,'Dear Clint',1,NULL,'Clint Grant',NULL,2,'1970-12-01',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (155,'Household',NULL,0,1,0,0,1,0,NULL,NULL,'Patel family','Patel family',NULL,NULL,NULL,'4',NULL,'Both','1669281794',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Patel family',5,NULL,'Dear Patel family',2,NULL,'Patel family',NULL,NULL,NULL,0,NULL,'Patel family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (156,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Díaz, Junko','Junko Díaz',NULL,NULL,NULL,'4',NULL,'Both','42727256',NULL,'Sample Data','Junko','','Díaz',NULL,NULL,NULL,NULL,1,NULL,'Dear Junko',1,NULL,'Dear Junko',1,NULL,'Junko Díaz',NULL,NULL,'1962-06-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (157,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'Van Ness Development Services','Van Ness Development Services',NULL,NULL,NULL,'2',NULL,'Both','1137211499',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Van Ness Development Services',NULL,NULL,NULL,0,NULL,NULL,NULL,'Van Ness Development Services',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (158,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Sonny','Sonny Wilson',NULL,NULL,NULL,NULL,NULL,'Both','1288997537',NULL,'Sample Data','Sonny','Q','Wilson',NULL,NULL,NULL,NULL,1,NULL,'Dear Sonny',1,NULL,'Dear Sonny',1,NULL,'Sonny Wilson',NULL,2,'1991-01-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (159,'Household',NULL,0,0,0,0,1,0,NULL,NULL,'Parker family','Parker family',NULL,NULL,NULL,NULL,NULL,'Both','425242179',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Parker family',5,NULL,'Dear Parker family',2,NULL,'Parker family',NULL,NULL,NULL,0,NULL,'Parker family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (160,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Smith, Josefa','Ms. Josefa Smith',NULL,NULL,NULL,'2',NULL,'Both','3557343869',NULL,'Sample Data','Josefa','','Smith',2,NULL,NULL,NULL,1,NULL,'Dear Josefa',1,NULL,'Dear Josefa',1,NULL,'Ms. Josefa Smith',NULL,1,'1964-08-14',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (161,'Household',NULL,0,0,0,0,1,0,NULL,NULL,'Bachman family','Bachman family',NULL,NULL,NULL,'5',NULL,'Both','1714131215',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Bachman family',5,NULL,'Dear Bachman family',2,NULL,'Bachman family',NULL,NULL,NULL,0,NULL,'Bachman family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (162,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'robertsp99@testmail.com','robertsp99@testmail.com',NULL,NULL,NULL,'3',NULL,'Both','3634038642',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear robertsp99@testmail.com',1,NULL,'Dear robertsp99@testmail.com',1,NULL,'robertsp99@testmail.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (163,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cooper, Toby','Toby Cooper',NULL,NULL,NULL,'2',NULL,'Both','82709624',NULL,'Sample Data','Toby','','Cooper',NULL,NULL,NULL,NULL,1,NULL,'Dear Toby',1,NULL,'Dear Toby',1,NULL,'Toby Cooper',NULL,NULL,'1947-04-27',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (164,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Robertson, Carlos','Carlos Robertson',NULL,NULL,NULL,NULL,NULL,'Both','3416802562',NULL,'Sample Data','Carlos','Z','Robertson',NULL,NULL,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Carlos Robertson',NULL,2,'2010-08-23',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (165,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samson, Troy','Dr. Troy Samson',NULL,NULL,NULL,'2',NULL,'Both','4145447526',NULL,'Sample Data','Troy','','Samson',4,NULL,NULL,NULL,1,NULL,'Dear Troy',1,NULL,'Dear Troy',1,NULL,'Dr. Troy Samson',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (166,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'McReynolds-Bachman, Lashawnda','Ms. Lashawnda McReynolds-Bachman',NULL,NULL,NULL,NULL,NULL,'Both','2775111724',NULL,'Sample Data','Lashawnda','L','McReynolds-Bachman',2,NULL,NULL,NULL,1,NULL,'Dear Lashawnda',1,NULL,'Dear Lashawnda',1,NULL,'Ms. Lashawnda McReynolds-Bachman',NULL,NULL,'1962-06-07',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (167,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Reynolds family','Reynolds family',NULL,NULL,NULL,NULL,NULL,'Both','4119726021',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Reynolds family',5,NULL,'Dear Reynolds family',2,NULL,'Reynolds family',NULL,NULL,NULL,0,NULL,'Reynolds family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (168,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Rural Software Services','Rural Software Services',NULL,NULL,NULL,NULL,NULL,'Both','3725502059',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Rural Software Services',NULL,NULL,NULL,0,NULL,NULL,18,'Rural Software Services',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (169,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'wattson.scarlet55@fishmail.co.nz','wattson.scarlet55@fishmail.co.nz',NULL,NULL,NULL,'2',NULL,'Both','3354089619',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear wattson.scarlet55@fishmail.co.nz',1,NULL,'Dear wattson.scarlet55@fishmail.co.nz',1,NULL,'wattson.scarlet55@fishmail.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (170,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Bachman, Jackson','Jackson Bachman',NULL,NULL,NULL,'3',NULL,'Both','1617477715',NULL,'Sample Data','Jackson','','Bachman',NULL,NULL,NULL,NULL,1,NULL,'Dear Jackson',1,NULL,'Dear Jackson',1,NULL,'Jackson Bachman',NULL,2,'1962-04-13',0,NULL,NULL,NULL,'Global Environmental Collective',NULL,NULL,143,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (171,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Samson family','Samson family',NULL,NULL,NULL,NULL,NULL,'Both','333421926',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Samson family',5,NULL,'Dear Samson family',2,NULL,'Samson family',NULL,NULL,NULL,0,NULL,'Samson family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (172,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cooper, Rolando','Mr. Rolando Cooper',NULL,NULL,NULL,NULL,NULL,'Both','2570887398',NULL,'Sample Data','Rolando','','Cooper',3,NULL,NULL,NULL,1,NULL,'Dear Rolando',1,NULL,'Dear Rolando',1,NULL,'Mr. Rolando Cooper',NULL,NULL,'1993-11-03',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (173,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Lee, Carlos','Carlos Lee III',NULL,NULL,NULL,NULL,NULL,'Both','1904694300',NULL,'Sample Data','Carlos','Q','Lee',NULL,4,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Carlos Lee III',NULL,2,'1977-01-11',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (174,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'United Agriculture Center','United Agriculture Center',NULL,NULL,NULL,'3',NULL,'Both','1560765789',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'United Agriculture Center',NULL,NULL,NULL,0,NULL,NULL,47,'United Agriculture Center',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (175,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'mcooper-mller80@fakemail.net','mcooper-mller80@fakemail.net',NULL,NULL,NULL,'2',NULL,'Both','2153571564',NULL,'Sample Data',NULL,NULL,NULL,2,NULL,NULL,NULL,1,NULL,'Dear mcooper-mller80@fakemail.net',1,NULL,'Dear mcooper-mller80@fakemail.net',1,NULL,'mcooper-mller80@fakemail.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (176,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Łąchowski, Alida','Mrs. Alida Łąchowski',NULL,NULL,NULL,NULL,NULL,'Both','856739005',NULL,'Sample Data','Alida','','Łąchowski',1,NULL,NULL,NULL,1,NULL,'Dear Alida',1,NULL,'Dear Alida',1,NULL,'Mrs. Alida Łąchowski',NULL,1,'1995-04-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (177,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Wattson, Princess','Mrs. Princess Wattson',NULL,NULL,NULL,NULL,NULL,'Both','1322463207',NULL,'Sample Data','Princess','','Wattson',1,NULL,NULL,NULL,1,NULL,'Dear Princess',1,NULL,'Dear Princess',1,NULL,'Mrs. Princess Wattson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (178,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Lee, Truman','Dr. Truman Lee III',NULL,NULL,NULL,NULL,NULL,'Both','696555700',NULL,'Sample Data','Truman','','Lee',4,4,NULL,NULL,1,NULL,'Dear Truman',1,NULL,'Dear Truman',1,NULL,'Dr. Truman Lee III',NULL,2,'1937-08-27',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (179,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Łąchowski, Esta','Dr. Esta Łąchowski',NULL,NULL,NULL,'1',NULL,'Both','195412899',NULL,'Sample Data','Esta','C','Łąchowski',4,NULL,NULL,NULL,1,NULL,'Dear Esta',1,NULL,'Dear Esta',1,NULL,'Dr. Esta Łąchowski',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (180,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Lee family','Lee family',NULL,NULL,NULL,'1',NULL,'Both','845831176',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Lee family',5,NULL,'Dear Lee family',2,NULL,'Lee family',NULL,NULL,NULL,0,NULL,'Lee family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (181,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'United Software Systems','United Software Systems',NULL,NULL,NULL,'2',NULL,'Both','3171127775',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'United Software Systems',NULL,NULL,NULL,0,NULL,NULL,59,'United Software Systems',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (182,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'California Advocacy Partners','California Advocacy Partners',NULL,NULL,NULL,'2',NULL,'Both','2292966928',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'California Advocacy Partners',NULL,NULL,NULL,0,NULL,NULL,138,'California Advocacy Partners',NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (183,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Patel, Arlyne','Arlyne Patel',NULL,NULL,NULL,'5',NULL,'Both','3161399576',NULL,'Sample Data','Arlyne','M','Patel',NULL,NULL,NULL,NULL,1,NULL,'Dear Arlyne',1,NULL,'Dear Arlyne',1,NULL,'Arlyne Patel',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (184,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'rx.jones96@spamalot.org','rx.jones96@spamalot.org',NULL,NULL,NULL,'4',NULL,'Both','1386564851',NULL,'Sample Data',NULL,NULL,NULL,3,3,NULL,NULL,1,NULL,'Dear rx.jones96@spamalot.org',1,NULL,'Dear rx.jones96@spamalot.org',1,NULL,'rx.jones96@spamalot.org',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (185,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Yadav, Billy','Billy Yadav Sr.',NULL,NULL,NULL,'4',NULL,'Both','2022079737',NULL,'Sample Data','Billy','F','Yadav',NULL,2,NULL,NULL,1,NULL,'Dear Billy',1,NULL,'Dear Billy',1,NULL,'Billy Yadav Sr.',NULL,2,'1970-06-02',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (186,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Robertson, Ashley','Mr. Ashley Robertson',NULL,NULL,NULL,NULL,NULL,'Both','3118372484',NULL,'Sample Data','Ashley','B','Robertson',3,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Mr. Ashley Robertson',NULL,2,'1957-11-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (187,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Parker-Cruz, Allan','Allan Parker-Cruz',NULL,NULL,NULL,'4',NULL,'Both','561222250',NULL,'Sample Data','Allan','S','Parker-Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Allan Parker-Cruz',NULL,2,'2002-06-20',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (188,'Household',NULL,1,1,0,0,1,0,NULL,NULL,'Cooper family','Cooper family',NULL,NULL,NULL,NULL,NULL,'Both','1133003930',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Cooper family',5,NULL,'Dear Cooper family',2,NULL,'Cooper family',NULL,NULL,NULL,0,NULL,'Cooper family',NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (189,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Jones, Sonny','Dr. Sonny Jones II',NULL,NULL,NULL,'5',NULL,'Both','436334672',NULL,'Sample Data','Sonny','','Jones',4,3,NULL,NULL,1,NULL,'Dear Sonny',1,NULL,'Dear Sonny',1,NULL,'Dr. Sonny Jones II',NULL,2,'1970-04-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (190,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Prentice, Lincoln','Dr. Lincoln Prentice',NULL,NULL,NULL,'5',NULL,'Both','3258245727',NULL,'Sample Data','Lincoln','W','Prentice',4,NULL,NULL,NULL,1,NULL,'Dear Lincoln',1,NULL,'Dear Lincoln',1,NULL,'Dr. Lincoln Prentice',NULL,NULL,'1936-01-05',1,'2021-02-16',NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (191,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Jacobs, Irvin','Dr. Irvin Jacobs III',NULL,NULL,NULL,'2',NULL,'Both','1475120479',NULL,'Sample Data','Irvin','','Jacobs',4,4,NULL,NULL,1,NULL,'Dear Irvin',1,NULL,'Dear Irvin',1,NULL,'Dr. Irvin Jacobs III',NULL,NULL,'1952-01-14',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (192,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Jacobs, Shad','Shad Jacobs',NULL,NULL,NULL,NULL,NULL,'Both','3732235082',NULL,'Sample Data','Shad','','Jacobs',NULL,NULL,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Shad Jacobs',NULL,2,'1974-06-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (193,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Jones, Sanford','Mr. Sanford Jones',NULL,NULL,NULL,NULL,NULL,'Both','4129066974',NULL,'Sample Data','Sanford','','Jones',3,NULL,NULL,NULL,1,NULL,'Dear Sanford',1,NULL,'Dear Sanford',1,NULL,'Mr. Sanford Jones',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (194,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Olsen, Damaris','Dr. Damaris Olsen',NULL,NULL,NULL,'1',NULL,'Both','3381130592',NULL,'Sample Data','Damaris','A','Olsen',4,NULL,NULL,NULL,1,NULL,'Dear Damaris',1,NULL,'Dear Damaris',1,NULL,'Dr. Damaris Olsen',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (195,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Patel, Nicole','Nicole Patel',NULL,NULL,NULL,'3',NULL,'Both','687315016',NULL,'Sample Data','Nicole','','Patel',NULL,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Nicole Patel',NULL,1,'1969-12-23',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (196,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'McReynolds, Shad','Shad McReynolds',NULL,NULL,NULL,'4',NULL,'Both','4249147082',NULL,'Sample Data','Shad','S','McReynolds',NULL,NULL,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Shad McReynolds',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (197,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Reynolds, Tanya','Tanya Reynolds',NULL,NULL,NULL,NULL,NULL,'Both','3920520265',NULL,'Sample Data','Tanya','','Reynolds',NULL,NULL,NULL,NULL,1,NULL,'Dear Tanya',1,NULL,'Dear Tanya',1,NULL,'Tanya Reynolds',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (198,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Samson, Nicole','Dr. Nicole Samson',NULL,NULL,NULL,'2',NULL,'Both','1649974700',NULL,'Sample Data','Nicole','','Samson',4,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Dr. Nicole Samson',NULL,1,'1988-10-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (199,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Díaz, Brigette','Brigette Díaz',NULL,NULL,NULL,'2',NULL,'Both','939555461',NULL,'Sample Data','Brigette','','Díaz',NULL,NULL,NULL,NULL,1,NULL,'Dear Brigette',1,NULL,'Dear Brigette',1,NULL,'Brigette Díaz',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09'),
- (200,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Łąchowski-Barkley, Betty','Betty Łąchowski-Barkley',NULL,NULL,NULL,NULL,NULL,'Both','4049863156',NULL,'Sample Data','Betty','','Łąchowski-Barkley',NULL,NULL,NULL,NULL,1,NULL,'Dear Betty',1,NULL,'Dear Betty',1,NULL,'Betty Łąchowski-Barkley',NULL,1,'1982-06-13',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:10'),
- (201,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Roberts, Lincoln','Mr. Lincoln Roberts',NULL,NULL,NULL,NULL,NULL,'Both','1322526002',NULL,'Sample Data','Lincoln','','Roberts',3,NULL,NULL,NULL,1,NULL,'Dear Lincoln',1,NULL,'Dear Lincoln',1,NULL,'Mr. Lincoln Roberts',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-06-11 00:47:08','2021-06-11 00:47:09');
+ (1,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Default Organization','Default Organization',NULL,'Default Organization',NULL,NULL,NULL,'Both',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,'Default Organization',NULL,NULL,NULL,0,NULL,'2021-07-02 00:08:50'),
+ (2,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Barkley, Jacob','Mr. Jacob Barkley',NULL,NULL,NULL,'2',NULL,'Both','3801967052',NULL,'Sample Data','Jacob','','Barkley',3,NULL,NULL,NULL,1,NULL,'Dear Jacob',1,NULL,'Dear Jacob',1,NULL,'Mr. Jacob Barkley',NULL,NULL,'1972-11-23',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:08:59'),
+ (3,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Smith, Maxwell','Mr. Maxwell Smith Jr.',NULL,NULL,NULL,'1',NULL,'Both','2112091730',NULL,'Sample Data','Maxwell','P','Smith',3,1,NULL,NULL,1,NULL,'Dear Maxwell',1,NULL,'Dear Maxwell',1,NULL,'Mr. Maxwell Smith Jr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:08:59'),
+ (4,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Smith, Jay','Mr. Jay Smith III',NULL,NULL,NULL,'2',NULL,'Both','2744125186',NULL,'Sample Data','Jay','','Smith',3,4,NULL,NULL,1,NULL,'Dear Jay',1,NULL,'Dear Jay',1,NULL,'Mr. Jay Smith III',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:08:59'),
+ (5,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samuels, Andrew','Andrew Samuels Sr.',NULL,NULL,NULL,'2',NULL,'Both','958232532',NULL,'Sample Data','Andrew','','Samuels',NULL,2,NULL,NULL,1,NULL,'Dear Andrew',1,NULL,'Dear Andrew',1,NULL,'Andrew Samuels Sr.',NULL,NULL,'1994-10-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:08:59'),
+ (6,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Rosario','Rosario Wattson',NULL,NULL,NULL,'1',NULL,'Both','661817002',NULL,'Sample Data','Rosario','V','Wattson',NULL,NULL,NULL,NULL,1,NULL,'Dear Rosario',1,NULL,'Dear Rosario',1,NULL,'Rosario Wattson',NULL,NULL,'1951-12-14',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:08:58'),
+ (7,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Ivanov-Prentice, Barry','Barry Ivanov-Prentice II',NULL,NULL,NULL,'2',NULL,'Both','1868120005',NULL,'Sample Data','Barry','','Ivanov-Prentice',NULL,3,NULL,NULL,1,NULL,'Dear Barry',1,NULL,'Dear Barry',1,NULL,'Barry Ivanov-Prentice II',NULL,2,'1956-05-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (8,'Organization',NULL,1,1,0,0,1,0,NULL,NULL,'Local Peace Partners','Local Peace Partners',NULL,NULL,NULL,'2',NULL,'Both','2788569198',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Local Peace Partners',NULL,NULL,NULL,0,NULL,NULL,60,'Local Peace Partners',NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (9,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest, Truman','Truman Deforest III',NULL,NULL,NULL,NULL,NULL,'Both','3698975048',NULL,'Sample Data','Truman','R','Deforest',NULL,4,NULL,NULL,1,NULL,'Dear Truman',1,NULL,'Dear Truman',1,NULL,'Truman Deforest III',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (10,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Díaz, Princess','Dr. Princess Díaz',NULL,NULL,NULL,NULL,NULL,'Both','2291440559',NULL,'Sample Data','Princess','','Díaz',4,NULL,NULL,NULL,1,NULL,'Dear Princess',1,NULL,'Dear Princess',1,NULL,'Dr. Princess Díaz',NULL,1,'1990-07-27',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:08:59'),
+ (11,'Household',NULL,1,0,0,0,0,0,NULL,NULL,'Łąchowski family','Łąchowski family',NULL,NULL,NULL,NULL,NULL,'Both','2407077255',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Łąchowski family',5,NULL,'Dear Łąchowski family',2,NULL,'Łąchowski family',NULL,NULL,NULL,0,NULL,'Łąchowski family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (12,'Individual',NULL,1,1,0,0,1,0,NULL,NULL,'Jones, Claudio','Claudio Jones',NULL,NULL,NULL,NULL,NULL,'Both','3742470813',NULL,'Sample Data','Claudio','P','Jones',NULL,NULL,NULL,NULL,1,NULL,'Dear Claudio',1,NULL,'Dear Claudio',1,NULL,'Claudio Jones',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:08:59'),
+ (13,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'sanfordd44@testing.net','sanfordd44@testing.net',NULL,NULL,NULL,NULL,NULL,'Both','1434081395',NULL,'Sample Data',NULL,NULL,NULL,3,NULL,NULL,NULL,1,NULL,'Dear sanfordd44@testing.net',1,NULL,'Dear sanfordd44@testing.net',1,NULL,'sanfordd44@testing.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (14,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Terrell, Allen','Mr. Allen Terrell Jr.',NULL,NULL,NULL,NULL,NULL,'Both','1891444288',NULL,'Sample Data','Allen','','Terrell',3,1,NULL,NULL,1,NULL,'Dear Allen',1,NULL,'Dear Allen',1,NULL,'Mr. Allen Terrell Jr.',NULL,2,'1972-02-03',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (15,'Household',NULL,0,1,0,0,0,0,NULL,NULL,'Jameson-Cruz family','Jameson-Cruz family',NULL,NULL,NULL,NULL,NULL,'Both','2651323152',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Jameson-Cruz family',5,NULL,'Dear Jameson-Cruz family',2,NULL,'Jameson-Cruz family',NULL,NULL,NULL,0,NULL,'Jameson-Cruz family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (16,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Díaz, Bob','Bob Díaz',NULL,NULL,NULL,'3',NULL,'Both','3580176387',NULL,'Sample Data','Bob','','Díaz',NULL,NULL,NULL,NULL,1,NULL,'Dear Bob',1,NULL,'Dear Bob',1,NULL,'Bob Díaz',NULL,2,'1989-07-13',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (17,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Yadav, Landon','Landon Yadav',NULL,NULL,NULL,'4',NULL,'Both','250177859',NULL,'Sample Data','Landon','','Yadav',NULL,NULL,NULL,NULL,1,NULL,'Dear Landon',1,NULL,'Dear Landon',1,NULL,'Landon Yadav',NULL,2,'1973-07-24',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (18,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Ivanov, Scott','Dr. Scott Ivanov Sr.',NULL,NULL,NULL,NULL,NULL,'Both','1336634478',NULL,'Sample Data','Scott','U','Ivanov',4,2,NULL,NULL,1,NULL,'Dear Scott',1,NULL,'Dear Scott',1,NULL,'Dr. Scott Ivanov Sr.',NULL,NULL,'1954-12-11',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:08:59'),
+ (19,'Organization',NULL,1,0,0,0,0,0,NULL,NULL,'California Education School','California Education School',NULL,NULL,NULL,'1',NULL,'Both','3137225879',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'California Education School',NULL,NULL,NULL,0,NULL,NULL,113,'California Education School',NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (20,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest, Bryon','Dr. Bryon Deforest Sr.',NULL,NULL,NULL,'5',NULL,'Both','3837072179',NULL,'Sample Data','Bryon','','Deforest',4,2,NULL,NULL,1,NULL,'Dear Bryon',1,NULL,'Dear Bryon',1,NULL,'Dr. Bryon Deforest Sr.',NULL,2,'1960-08-16',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:08:59'),
+ (21,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Jacobs, Beula','Dr. Beula Jacobs',NULL,NULL,NULL,'1',NULL,'Both','41714917',NULL,'Sample Data','Beula','H','Jacobs',4,NULL,NULL,NULL,1,NULL,'Dear Beula',1,NULL,'Dear Beula',1,NULL,'Dr. Beula Jacobs',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (22,'Household',NULL,0,0,0,0,1,0,NULL,NULL,'Patel-Deforest family','Patel-Deforest family',NULL,NULL,NULL,NULL,NULL,'Both','3380192877',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Patel-Deforest family',5,NULL,'Dear Patel-Deforest family',2,NULL,'Patel-Deforest family',NULL,NULL,NULL,0,NULL,'Patel-Deforest family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (23,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Terry-Deforest, Kandace','Mrs. Kandace Terry-Deforest',NULL,NULL,NULL,'5',NULL,'Both','735408561',NULL,'Sample Data','Kandace','','Terry-Deforest',1,NULL,NULL,NULL,1,NULL,'Dear Kandace',1,NULL,'Dear Kandace',1,NULL,'Mrs. Kandace Terry-Deforest',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (24,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell, Kathleen','Kathleen Terrell',NULL,NULL,NULL,NULL,NULL,'Both','1212297989',NULL,'Sample Data','Kathleen','','Terrell',NULL,NULL,NULL,NULL,1,NULL,'Dear Kathleen',1,NULL,'Dear Kathleen',1,NULL,'Kathleen Terrell',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (25,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Brookfield Food School','Brookfield Food School',NULL,NULL,NULL,NULL,NULL,'Both','2576142651',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Brookfield Food School',NULL,NULL,NULL,0,NULL,NULL,NULL,'Brookfield Food School',NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (26,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cruz, Ivey','Ivey Cruz',NULL,NULL,NULL,'5',NULL,'Both','3529937009',NULL,'Sample Data','Ivey','','Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Ivey',1,NULL,'Dear Ivey',1,NULL,'Ivey Cruz',NULL,1,'1977-10-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (27,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Díaz, Magan','Magan Díaz',NULL,NULL,NULL,NULL,NULL,'Both','3991472147',NULL,'Sample Data','Magan','','Díaz',NULL,NULL,NULL,NULL,1,NULL,'Dear Magan',1,NULL,'Dear Magan',1,NULL,'Magan Díaz',NULL,NULL,'1972-09-14',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (28,'Household',NULL,0,1,0,0,0,0,NULL,NULL,'Zope family','Zope family',NULL,NULL,NULL,NULL,NULL,'Both','1649131487',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Zope family',5,NULL,'Dear Zope family',2,NULL,'Zope family',NULL,NULL,NULL,0,NULL,'Zope family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (29,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest-Terrell family','Deforest-Terrell family',NULL,NULL,NULL,NULL,NULL,'Both','1830320125',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Deforest-Terrell family',5,NULL,'Dear Deforest-Terrell family',2,NULL,'Deforest-Terrell family',NULL,NULL,NULL,0,NULL,'Deforest-Terrell family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (30,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Bachman, Laree','Mrs. Laree Bachman',NULL,NULL,NULL,'2',NULL,'Both','3736989072',NULL,'Sample Data','Laree','C','Bachman',1,NULL,NULL,NULL,1,NULL,'Dear Laree',1,NULL,'Dear Laree',1,NULL,'Mrs. Laree Bachman',NULL,1,'1942-02-14',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:08:58'),
+ (31,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Nielsen-Cruz, Beula','Dr. Beula Nielsen-Cruz',NULL,NULL,NULL,'5',NULL,'Both','3527868249',NULL,'Sample Data','Beula','','Nielsen-Cruz',4,NULL,NULL,NULL,1,NULL,'Dear Beula',1,NULL,'Dear Beula',1,NULL,'Dr. Beula Nielsen-Cruz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (32,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Texas Action School','Texas Action School',NULL,NULL,NULL,'4',NULL,'Both','1006349501',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Texas Action School',NULL,NULL,NULL,0,NULL,NULL,NULL,'Texas Action School',NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (33,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Łąchowski, Esta','Dr. Esta Łąchowski',NULL,NULL,NULL,NULL,NULL,'Both','195412899',NULL,'Sample Data','Esta','J','Łąchowski',4,NULL,NULL,NULL,1,NULL,'Dear Esta',1,NULL,'Dear Esta',1,NULL,'Dr. Esta Łąchowski',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (34,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wagner, Scott','Mr. Scott Wagner',NULL,NULL,NULL,NULL,NULL,'Both','2149289040',NULL,'Sample Data','Scott','L','Wagner',3,NULL,NULL,NULL,1,NULL,'Dear Scott',1,NULL,'Dear Scott',1,NULL,'Mr. Scott Wagner',NULL,NULL,'1975-05-01',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (35,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'kathlynn@example.com','kathlynn@example.com',NULL,NULL,NULL,NULL,NULL,'Both','1241015868',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear kathlynn@example.com',1,NULL,'Dear kathlynn@example.com',1,NULL,'kathlynn@example.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:08:58'),
+ (36,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Yadav family','Yadav family',NULL,NULL,NULL,NULL,NULL,'Both','1777336212',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Yadav family',5,NULL,'Dear Yadav family',2,NULL,'Yadav family',NULL,NULL,NULL,0,NULL,'Yadav family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (37,'Organization',NULL,1,0,0,0,0,0,NULL,NULL,'Pennsylvania Development Services','Pennsylvania Development Services',NULL,NULL,NULL,NULL,NULL,'Both','790584710',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Pennsylvania Development Services',NULL,NULL,NULL,0,NULL,NULL,107,'Pennsylvania Development Services',NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (38,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Grant, Brigette','Mrs. Brigette Grant',NULL,NULL,NULL,NULL,NULL,'Both','996729836',NULL,'Sample Data','Brigette','','Grant',1,NULL,NULL,NULL,1,NULL,'Dear Brigette',1,NULL,'Dear Brigette',1,NULL,'Mrs. Brigette Grant',NULL,1,'1981-08-30',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (39,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Nielsen, Lincoln','Mr. Lincoln Nielsen Sr.',NULL,NULL,NULL,NULL,NULL,'Both','3925795202',NULL,'Sample Data','Lincoln','K','Nielsen',3,2,NULL,NULL,1,NULL,'Dear Lincoln',1,NULL,'Dear Lincoln',1,NULL,'Mr. Lincoln Nielsen Sr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:08:59'),
+ (40,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Adams-Dimitrov, Kiara','Kiara Adams-Dimitrov',NULL,NULL,NULL,NULL,NULL,'Both','152890742',NULL,'Sample Data','Kiara','','Adams-Dimitrov',NULL,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Kiara Adams-Dimitrov',NULL,1,'1981-04-15',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (41,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Buffalo Software Fund','Buffalo Software Fund',NULL,NULL,NULL,'3',NULL,'Both','2236693189',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Buffalo Software Fund',NULL,NULL,NULL,0,NULL,NULL,189,'Buffalo Software Fund',NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (42,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson family','Robertson family',NULL,NULL,NULL,'2',NULL,'Both','3444393980',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Robertson family',5,NULL,'Dear Robertson family',2,NULL,'Robertson family',NULL,NULL,NULL,0,NULL,'Robertson family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (43,'Household',NULL,1,0,0,0,1,0,NULL,NULL,'Cruz family','Cruz family',NULL,NULL,NULL,'2',NULL,'Both','2326538497',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Cruz family',5,NULL,'Dear Cruz family',2,NULL,'Cruz family',NULL,NULL,NULL,0,NULL,'Cruz family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:57','2021-07-02 00:09:01'),
+ (44,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Dimitrov, Megan','Megan Dimitrov',NULL,NULL,NULL,NULL,NULL,'Both','604448148',NULL,'Sample Data','Megan','V','Dimitrov',NULL,NULL,NULL,NULL,1,NULL,'Dear Megan',1,NULL,'Dear Megan',1,NULL,'Megan Dimitrov',NULL,1,NULL,0,NULL,NULL,NULL,'Gordon Poetry Partners',NULL,NULL,178,0,'2021-07-02 00:08:57','2021-07-02 00:09:02'),
+ (45,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Łąchowski, Bernadette','Ms. Bernadette Łąchowski',NULL,NULL,NULL,'2',NULL,'Both','2108681272',NULL,'Sample Data','Bernadette','','Łąchowski',2,NULL,NULL,NULL,1,NULL,'Dear Bernadette',1,NULL,'Dear Bernadette',1,NULL,'Ms. Bernadette Łąchowski',NULL,1,'1997-02-13',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (46,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'San Diego Arts Services','San Diego Arts Services',NULL,NULL,NULL,'4',NULL,'Both','1257239720',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'San Diego Arts Services',NULL,NULL,NULL,0,NULL,NULL,77,'San Diego Arts Services',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (47,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Prentice family','Prentice family',NULL,NULL,NULL,'1',NULL,'Both','3313623671',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Prentice family',5,NULL,'Dear Prentice family',2,NULL,'Prentice family',NULL,NULL,NULL,0,NULL,'Prentice family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (48,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Müller, Shauna','Shauna Müller',NULL,NULL,NULL,'2',NULL,'Both','2927518438',NULL,'Sample Data','Shauna','','Müller',NULL,NULL,NULL,NULL,1,NULL,'Dear Shauna',1,NULL,'Dear Shauna',1,NULL,'Shauna Müller',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (49,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'cruz.l.damaris@infomail.biz','cruz.l.damaris@infomail.biz',NULL,NULL,NULL,NULL,NULL,'Both','1727317893',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear cruz.l.damaris@infomail.biz',1,NULL,'Dear cruz.l.damaris@infomail.biz',1,NULL,'cruz.l.damaris@infomail.biz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (50,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'McReynolds, Shad','Mr. Shad McReynolds',NULL,NULL,NULL,'4',NULL,'Both','4249147082',NULL,'Sample Data','Shad','','McReynolds',3,NULL,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Mr. Shad McReynolds',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (51,'Organization',NULL,1,0,0,0,0,0,NULL,NULL,'New Mexico Family Trust','New Mexico Family Trust',NULL,NULL,NULL,NULL,NULL,'Both','2203032708',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'New Mexico Family Trust',NULL,NULL,NULL,0,NULL,NULL,84,'New Mexico Family Trust',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (52,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cruz, Norris','Dr. Norris Cruz II',NULL,NULL,NULL,'3',NULL,'Both','1269804686',NULL,'Sample Data','Norris','S','Cruz',4,3,NULL,NULL,1,NULL,'Dear Norris',1,NULL,'Dear Norris',1,NULL,'Dr. Norris Cruz II',NULL,NULL,'1952-03-17',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (53,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terry, Brigette','Mrs. Brigette Terry',NULL,NULL,NULL,'4',NULL,'Both','2789451544',NULL,'Sample Data','Brigette','R','Terry',1,NULL,NULL,NULL,1,NULL,'Dear Brigette',1,NULL,'Dear Brigette',1,NULL,'Mrs. Brigette Terry',NULL,NULL,'1945-11-03',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (54,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cruz, Carlos','Mr. Carlos Cruz Jr.',NULL,NULL,NULL,NULL,NULL,'Both','149105357',NULL,'Sample Data','Carlos','T','Cruz',3,1,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Mr. Carlos Cruz Jr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (55,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Nielsen, Angelika','Dr. Angelika Nielsen',NULL,NULL,NULL,'5',NULL,'Both','1946989785',NULL,'Sample Data','Angelika','N','Nielsen',4,NULL,NULL,NULL,1,NULL,'Dear Angelika',1,NULL,'Dear Angelika',1,NULL,'Dr. Angelika Nielsen',NULL,NULL,'1950-04-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (56,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Zope, Omar','Omar Zope',NULL,NULL,NULL,NULL,NULL,'Both','1266840311',NULL,'Sample Data','Omar','Y','Zope',NULL,NULL,NULL,NULL,1,NULL,'Dear Omar',1,NULL,'Dear Omar',1,NULL,'Omar Zope',NULL,2,'1989-03-12',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (57,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Yadav, Barry','Dr. Barry Yadav',NULL,NULL,NULL,'4',NULL,'Both','2144069043',NULL,'Sample Data','Barry','K','Yadav',4,NULL,NULL,NULL,1,NULL,'Dear Barry',1,NULL,'Dear Barry',1,NULL,'Dr. Barry Yadav',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (58,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Cruz, Erik','Erik Cruz',NULL,NULL,NULL,NULL,NULL,'Both','3233134929',NULL,'Sample Data','Erik','T','Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Erik',1,NULL,'Dear Erik',1,NULL,'Erik Cruz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (59,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Zope, Jay','Dr. Jay Zope III',NULL,NULL,NULL,'5',NULL,'Both','819910080',NULL,'Sample Data','Jay','','Zope',4,4,NULL,NULL,1,NULL,'Dear Jay',1,NULL,'Dear Jay',1,NULL,'Dr. Jay Zope III',NULL,2,'1965-08-31',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (60,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Bachman, Lou','Lou Bachman',NULL,NULL,NULL,NULL,NULL,'Both','2699316578',NULL,'Sample Data','Lou','I','Bachman',NULL,NULL,NULL,NULL,1,NULL,'Dear Lou',1,NULL,'Dear Lou',1,NULL,'Lou Bachman',NULL,2,NULL,0,NULL,NULL,NULL,'Local Peace Partners',NULL,NULL,8,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (61,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Roberts, Shauna','Shauna Roberts',NULL,NULL,NULL,NULL,NULL,'Both','927862076',NULL,'Sample Data','Shauna','','Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Shauna',1,NULL,'Dear Shauna',1,NULL,'Shauna Roberts',NULL,1,NULL,0,NULL,NULL,NULL,'Colorado Health Academy',NULL,NULL,129,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (62,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'tyadav@spamalot.biz','tyadav@spamalot.biz',NULL,NULL,NULL,NULL,NULL,'Both','2736437745',NULL,'Sample Data',NULL,NULL,NULL,NULL,4,NULL,NULL,1,NULL,'Dear tyadav@spamalot.biz',1,NULL,'Dear tyadav@spamalot.biz',1,NULL,'tyadav@spamalot.biz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (63,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Zope, Delana','Delana Zope',NULL,NULL,NULL,NULL,NULL,'Both','3545847558',NULL,'Sample Data','Delana','','Zope',NULL,NULL,NULL,NULL,1,NULL,'Dear Delana',1,NULL,'Dear Delana',1,NULL,'Delana Zope',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (64,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Barkley, Tanya','Tanya Barkley',NULL,NULL,NULL,'2',NULL,'Both','2953066257',NULL,'Sample Data','Tanya','L','Barkley',NULL,NULL,NULL,NULL,1,NULL,'Dear Tanya',1,NULL,'Dear Tanya',1,NULL,'Tanya Barkley',NULL,1,'1994-10-15',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (65,'Household',NULL,1,1,0,0,1,0,NULL,NULL,'Grant family','Grant family',NULL,NULL,NULL,NULL,NULL,'Both','3228000340',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Grant family',5,NULL,'Dear Grant family',2,NULL,'Grant family',NULL,NULL,NULL,0,NULL,'Grant family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (66,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Urban Environmental Fellowship','Urban Environmental Fellowship',NULL,NULL,NULL,NULL,NULL,'Both','1780578051',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Urban Environmental Fellowship',NULL,NULL,NULL,0,NULL,NULL,119,'Urban Environmental Fellowship',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (67,'Organization',NULL,1,0,0,0,0,0,NULL,NULL,'Kentucky Action Solutions','Kentucky Action Solutions',NULL,NULL,NULL,'1',NULL,'Both','229078033',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Kentucky Action Solutions',NULL,NULL,NULL,0,NULL,NULL,90,'Kentucky Action Solutions',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (68,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Ivanov, Jacob','Mr. Jacob Ivanov III',NULL,NULL,NULL,'4',NULL,'Both','3702183609',NULL,'Sample Data','Jacob','I','Ivanov',3,4,NULL,NULL,1,NULL,'Dear Jacob',1,NULL,'Dear Jacob',1,NULL,'Mr. Jacob Ivanov III',NULL,2,'1992-07-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (69,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Scarlet','Scarlet Wilson',NULL,NULL,NULL,'3',NULL,'Both','1106922860',NULL,'Sample Data','Scarlet','X','Wilson',NULL,NULL,NULL,NULL,1,NULL,'Dear Scarlet',1,NULL,'Dear Scarlet',1,NULL,'Scarlet Wilson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (70,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'jacobs.elbert96@fishmail.info','jacobs.elbert96@fishmail.info',NULL,NULL,NULL,NULL,NULL,'Both','913438099',NULL,'Sample Data',NULL,NULL,NULL,4,NULL,NULL,NULL,1,NULL,'Dear jacobs.elbert96@fishmail.info',1,NULL,'Dear jacobs.elbert96@fishmail.info',1,NULL,'jacobs.elbert96@fishmail.info',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (71,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell family','Terrell family',NULL,NULL,NULL,NULL,NULL,'Both','1136333121',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Terrell family',5,NULL,'Dear Terrell family',2,NULL,'Terrell family',NULL,NULL,NULL,0,NULL,'Terrell family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (72,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest, Landon','Landon Deforest Sr.',NULL,NULL,NULL,NULL,NULL,'Both','49695347',NULL,'Sample Data','Landon','H','Deforest',NULL,2,NULL,NULL,1,NULL,'Dear Landon',1,NULL,'Dear Landon',1,NULL,'Landon Deforest Sr.',NULL,2,'2000-06-23',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:58'),
+ (73,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jacobs, Iris','Ms. Iris Jacobs',NULL,NULL,NULL,NULL,NULL,'Both','3144351192',NULL,'Sample Data','Iris','Q','Jacobs',2,NULL,NULL,NULL,1,NULL,'Dear Iris',1,NULL,'Dear Iris',1,NULL,'Ms. Iris Jacobs',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (74,'Household',NULL,0,1,0,0,0,0,NULL,NULL,'Cruz family','Cruz family',NULL,NULL,NULL,NULL,NULL,'Both','2326538497',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Cruz family',5,NULL,'Dear Cruz family',2,NULL,'Cruz family',NULL,NULL,NULL,0,NULL,'Cruz family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (75,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Díaz, Elizabeth','Elizabeth Díaz',NULL,NULL,NULL,NULL,NULL,'Both','1884711539',NULL,'Sample Data','Elizabeth','V','Díaz',NULL,NULL,NULL,NULL,1,NULL,'Dear Elizabeth',1,NULL,'Dear Elizabeth',1,NULL,'Elizabeth Díaz',NULL,1,'2019-07-31',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (76,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jacobs, Teddy','Teddy Jacobs Sr.',NULL,NULL,NULL,NULL,NULL,'Both','730676702',NULL,'Sample Data','Teddy','','Jacobs',NULL,2,NULL,NULL,1,NULL,'Dear Teddy',1,NULL,'Dear Teddy',1,NULL,'Teddy Jacobs Sr.',NULL,NULL,'1976-06-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (77,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Jacobs, Carylon','Dr. Carylon Jacobs',NULL,NULL,NULL,'1',NULL,'Both','548653672',NULL,'Sample Data','Carylon','C','Jacobs',4,NULL,NULL,NULL,1,NULL,'Dear Carylon',1,NULL,'Dear Carylon',1,NULL,'Dr. Carylon Jacobs',NULL,1,'1969-10-04',0,NULL,NULL,NULL,'San Diego Arts Services',NULL,NULL,46,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (78,'Organization',NULL,0,1,0,0,0,0,NULL,NULL,'Frankewing Arts Initiative','Frankewing Arts Initiative',NULL,NULL,NULL,'3',NULL,'Both','3005782189',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Frankewing Arts Initiative',NULL,NULL,NULL,0,NULL,NULL,160,'Frankewing Arts Initiative',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (79,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Jameson, Irvin','Irvin Jameson II',NULL,NULL,NULL,'4',NULL,'Both','2294697519',NULL,'Sample Data','Irvin','','Jameson',NULL,3,NULL,NULL,1,NULL,'Dear Irvin',1,NULL,'Dear Irvin',1,NULL,'Irvin Jameson II',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (80,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Patel, Bernadette','Bernadette Patel',NULL,NULL,NULL,NULL,NULL,'Both','2696373355',NULL,'Sample Data','Bernadette','','Patel',NULL,NULL,NULL,NULL,1,NULL,'Dear Bernadette',1,NULL,'Dear Bernadette',1,NULL,'Bernadette Patel',NULL,1,'1966-04-15',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (81,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Olsen, Damaris','Mrs. Damaris Olsen',NULL,NULL,NULL,NULL,NULL,'Both','3381130592',NULL,'Sample Data','Damaris','O','Olsen',1,NULL,NULL,NULL,1,NULL,'Dear Damaris',1,NULL,'Dear Damaris',1,NULL,'Mrs. Damaris Olsen',NULL,1,'1993-10-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (82,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Daren','Dr. Daren Wattson',NULL,NULL,NULL,'1',NULL,'Both','3066500462',NULL,'Sample Data','Daren','Z','Wattson',4,NULL,NULL,NULL,1,NULL,'Dear Daren',1,NULL,'Dear Daren',1,NULL,'Dr. Daren Wattson',NULL,2,'1931-11-17',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (83,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Ivanov, Omar','Dr. Omar Ivanov III',NULL,NULL,NULL,'2',NULL,'Both','474284391',NULL,'Sample Data','Omar','','Ivanov',4,4,NULL,NULL,1,NULL,'Dear Omar',1,NULL,'Dear Omar',1,NULL,'Dr. Omar Ivanov III',NULL,NULL,'1969-02-14',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (84,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Barkley, Alida','Dr. Alida Barkley',NULL,NULL,NULL,'5',NULL,'Both','273517991',NULL,'Sample Data','Alida','','Barkley',4,NULL,NULL,NULL,1,NULL,'Dear Alida',1,NULL,'Dear Alida',1,NULL,'Dr. Alida Barkley',NULL,1,'1979-02-05',0,NULL,NULL,NULL,'New Mexico Family Trust',NULL,NULL,51,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (85,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Jacobs, Norris','Dr. Norris Jacobs Sr.',NULL,NULL,NULL,NULL,NULL,'Both','3047702889',NULL,'Sample Data','Norris','F','Jacobs',4,2,NULL,NULL,1,NULL,'Dear Norris',1,NULL,'Dear Norris',1,NULL,'Dr. Norris Jacobs Sr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (86,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Yadav, Felisha','Felisha Yadav',NULL,NULL,NULL,'5',NULL,'Both','4081134711',NULL,'Sample Data','Felisha','','Yadav',NULL,NULL,NULL,NULL,1,NULL,'Dear Felisha',1,NULL,'Dear Felisha',1,NULL,'Felisha Yadav',NULL,1,'1999-01-17',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (87,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Olsen, Shauna','Mrs. Shauna Olsen',NULL,NULL,NULL,NULL,NULL,'Both','774481679',NULL,'Sample Data','Shauna','Z','Olsen',1,NULL,NULL,NULL,1,NULL,'Dear Shauna',1,NULL,'Dear Shauna',1,NULL,'Mrs. Shauna Olsen',NULL,1,'1975-12-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (88,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jacobs, Princess','Mrs. Princess Jacobs',NULL,NULL,NULL,'5',NULL,'Both','3977012582',NULL,'Sample Data','Princess','A','Jacobs',1,NULL,NULL,NULL,1,NULL,'Dear Princess',1,NULL,'Dear Princess',1,NULL,'Mrs. Princess Jacobs',NULL,1,'1953-01-01',0,NULL,NULL,NULL,'Tioga Center Music Alliance',NULL,NULL,146,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (89,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Díaz, Irvin','Dr. Irvin Díaz II',NULL,NULL,NULL,'3',NULL,'Both','2415400429',NULL,'Sample Data','Irvin','G','Díaz',4,3,NULL,NULL,1,NULL,'Dear Irvin',1,NULL,'Dear Irvin',1,NULL,'Dr. Irvin Díaz II',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (90,'Individual',NULL,1,1,0,0,1,0,NULL,NULL,'Patel-Deforest, Damaris','Damaris Patel-Deforest',NULL,NULL,NULL,NULL,NULL,'Both','993150747',NULL,'Sample Data','Damaris','','Patel-Deforest',NULL,NULL,NULL,NULL,1,NULL,'Dear Damaris',1,NULL,'Dear Damaris',1,NULL,'Damaris Patel-Deforest',NULL,1,NULL,0,NULL,NULL,NULL,'Kentucky Action Solutions',NULL,NULL,67,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (91,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell, Megan','Megan Terrell',NULL,NULL,NULL,'5',NULL,'Both','2692525614',NULL,'Sample Data','Megan','','Terrell',NULL,NULL,NULL,NULL,1,NULL,'Dear Megan',1,NULL,'Dear Megan',1,NULL,'Megan Terrell',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (92,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'smithi@notmail.net','smithi@notmail.net',NULL,NULL,NULL,'3',NULL,'Both','2623859371',NULL,'Sample Data',NULL,NULL,NULL,4,3,NULL,NULL,1,NULL,'Dear smithi@notmail.net',1,NULL,'Dear smithi@notmail.net',1,NULL,'smithi@notmail.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (93,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'González, Alida','Dr. Alida González',NULL,NULL,NULL,NULL,NULL,'Both','2128716244',NULL,'Sample Data','Alida','','González',4,NULL,NULL,NULL,1,NULL,'Dear Alida',1,NULL,'Dear Alida',1,NULL,'Dr. Alida González',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (94,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Roberts, Jina','Jina Roberts',NULL,NULL,NULL,NULL,NULL,'Both','3944144091',NULL,'Sample Data','Jina','','Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Jina',1,NULL,'Dear Jina',1,NULL,'Jina Roberts',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (95,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Díaz, Kenny','Kenny Díaz Sr.',NULL,NULL,NULL,NULL,NULL,'Both','3864119395',NULL,'Sample Data','Kenny','','Díaz',NULL,2,NULL,NULL,1,NULL,'Dear Kenny',1,NULL,'Dear Kenny',1,NULL,'Kenny Díaz Sr.',NULL,2,'1932-06-12',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (96,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Wagner-Barkley, Bob','Mr. Bob Wagner-Barkley Sr.',NULL,NULL,NULL,NULL,NULL,'Both','2266038184',NULL,'Sample Data','Bob','','Wagner-Barkley',3,2,NULL,NULL,1,NULL,'Dear Bob',1,NULL,'Dear Bob',1,NULL,'Mr. Bob Wagner-Barkley Sr.',NULL,2,'1999-12-16',0,NULL,NULL,NULL,'Laredo Action Systems',NULL,NULL,120,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (97,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Zope, Erik','Mr. Erik Zope',NULL,NULL,NULL,'2',NULL,'Both','2683786262',NULL,'Sample Data','Erik','','Zope',3,NULL,NULL,NULL,1,NULL,'Dear Erik',1,NULL,'Dear Erik',1,NULL,'Mr. Erik Zope',NULL,NULL,'1958-02-24',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (98,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Dimitrov, Kathlyn','Kathlyn Dimitrov',NULL,NULL,NULL,'5',NULL,'Both','3934921435',NULL,'Sample Data','Kathlyn','I','Dimitrov',NULL,NULL,NULL,NULL,1,NULL,'Dear Kathlyn',1,NULL,'Dear Kathlyn',1,NULL,'Kathlyn Dimitrov',NULL,NULL,'1988-02-04',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (99,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Parker, Shad','Shad Parker',NULL,NULL,NULL,NULL,NULL,'Both','23650208',NULL,'Sample Data','Shad','P','Parker',NULL,NULL,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Shad Parker',NULL,2,'1997-04-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (100,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Díaz, Ashlie','Dr. Ashlie Díaz',NULL,NULL,NULL,NULL,NULL,'Both','428983255',NULL,'Sample Data','Ashlie','','Díaz',4,NULL,NULL,NULL,1,NULL,'Dear Ashlie',1,NULL,'Dear Ashlie',1,NULL,'Dr. Ashlie Díaz',NULL,1,'1994-04-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:58'),
+ (101,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Díaz family','Díaz family',NULL,NULL,NULL,'1',NULL,'Both','2169249835',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Díaz family',5,NULL,'Dear Díaz family',2,NULL,'Díaz family',NULL,NULL,NULL,0,NULL,'Díaz family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (102,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jacobs, Ray','Ray Jacobs',NULL,NULL,NULL,'4',NULL,'Both','50050695',NULL,'Sample Data','Ray','','Jacobs',NULL,NULL,NULL,NULL,1,NULL,'Dear Ray',1,NULL,'Dear Ray',1,NULL,'Ray Jacobs',NULL,NULL,'2009-03-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (103,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Kandace','Dr. Kandace Robertson',NULL,NULL,NULL,'2',NULL,'Both','302551139',NULL,'Sample Data','Kandace','Y','Robertson',4,NULL,NULL,NULL,1,NULL,'Dear Kandace',1,NULL,'Dear Kandace',1,NULL,'Dr. Kandace Robertson',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (104,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Cruz, Barry','Barry Cruz III',NULL,NULL,NULL,'4',NULL,'Both','2626171686',NULL,'Sample Data','Barry','D','Cruz',NULL,4,NULL,NULL,1,NULL,'Dear Barry',1,NULL,'Dear Barry',1,NULL,'Barry Cruz III',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (105,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'tanyag39@testmail.com','tanyag39@testmail.com',NULL,NULL,NULL,NULL,NULL,'Both','3524764998',NULL,'Sample Data',NULL,NULL,NULL,2,NULL,NULL,NULL,1,NULL,'Dear tanyag39@testmail.com',1,NULL,'Dear tanyag39@testmail.com',1,NULL,'tanyag39@testmail.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (106,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Deforest, Troy','Dr. Troy Deforest Jr.',NULL,NULL,NULL,'5',NULL,'Both','696795137',NULL,'Sample Data','Troy','','Deforest',4,1,NULL,NULL,1,NULL,'Dear Troy',1,NULL,'Dear Troy',1,NULL,'Dr. Troy Deforest Jr.',NULL,2,'1994-04-09',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (107,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Yadav, Carlos','Carlos Yadav',NULL,NULL,NULL,NULL,NULL,'Both','2288324304',NULL,'Sample Data','Carlos','J','Yadav',NULL,NULL,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Carlos Yadav',NULL,NULL,NULL,0,NULL,NULL,NULL,'Pennsylvania Development Services',NULL,NULL,37,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (108,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'zope.sanford69@lol.com','zope.sanford69@lol.com',NULL,NULL,NULL,'2',NULL,'Both','2745942471',NULL,'Sample Data',NULL,NULL,NULL,3,1,NULL,NULL,1,NULL,'Dear zope.sanford69@lol.com',1,NULL,'Dear zope.sanford69@lol.com',1,NULL,'zope.sanford69@lol.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (109,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Roberts, Alida','Alida Roberts',NULL,NULL,NULL,NULL,NULL,'Both','3245047840',NULL,'Sample Data','Alida','','Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Alida',1,NULL,'Dear Alida',1,NULL,'Alida Roberts',NULL,1,'1985-04-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (110,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Grant, Iris','Iris Grant',NULL,NULL,NULL,NULL,NULL,'Both','2380499675',NULL,'Sample Data','Iris','','Grant',NULL,NULL,NULL,NULL,1,NULL,'Dear Iris',1,NULL,'Dear Iris',1,NULL,'Iris Grant',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (111,'Organization',NULL,1,0,0,0,1,0,NULL,NULL,'Mississippi Family Partners','Mississippi Family Partners',NULL,NULL,NULL,'3',NULL,'Both','3474648623',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Mississippi Family Partners',NULL,NULL,NULL,0,NULL,NULL,NULL,'Mississippi Family Partners',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (112,'Household',NULL,1,0,0,0,0,0,NULL,NULL,'Jacobs family','Jacobs family',NULL,NULL,NULL,NULL,NULL,'Both','1498986649',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Jacobs family',5,NULL,'Dear Jacobs family',2,NULL,'Jacobs family',NULL,NULL,NULL,0,NULL,'Jacobs family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (113,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Díaz, Sonny','Sonny Díaz II',NULL,NULL,NULL,NULL,NULL,'Both','3648844868',NULL,'Sample Data','Sonny','','Díaz',NULL,3,NULL,NULL,1,NULL,'Dear Sonny',1,NULL,'Dear Sonny',1,NULL,'Sonny Díaz II',NULL,2,'1948-08-31',0,NULL,NULL,NULL,'California Education School',NULL,NULL,19,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (114,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Jensen, Carlos','Mr. Carlos Jensen II',NULL,NULL,NULL,NULL,NULL,'Both','3008185857',NULL,'Sample Data','Carlos','','Jensen',3,3,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Mr. Carlos Jensen II',NULL,NULL,'1936-11-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (115,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Dimitrov, Iris','Mrs. Iris Dimitrov',NULL,NULL,NULL,NULL,NULL,'Both','1205681375',NULL,'Sample Data','Iris','D','Dimitrov',1,NULL,NULL,NULL,1,NULL,'Dear Iris',1,NULL,'Dear Iris',1,NULL,'Mrs. Iris Dimitrov',NULL,1,'1935-11-16',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (116,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell, Tanya','Tanya Terrell',NULL,NULL,NULL,NULL,NULL,'Both','1604022989',NULL,'Sample Data','Tanya','','Terrell',NULL,NULL,NULL,NULL,1,NULL,'Dear Tanya',1,NULL,'Dear Tanya',1,NULL,'Tanya Terrell',NULL,NULL,'1953-10-08',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (117,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Nielsen, Allen','Mr. Allen Nielsen',NULL,NULL,NULL,NULL,NULL,'Both','515166843',NULL,'Sample Data','Allen','Q','Nielsen',3,NULL,NULL,NULL,1,NULL,'Dear Allen',1,NULL,'Dear Allen',1,NULL,'Mr. Allen Nielsen',NULL,2,'1947-01-09',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (118,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cruz, Betty','Betty Cruz',NULL,NULL,NULL,'5',NULL,'Both','1094549317',NULL,'Sample Data','Betty','P','Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Betty',1,NULL,'Dear Betty',1,NULL,'Betty Cruz',NULL,NULL,'1937-02-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (119,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Cruz, Elbert','Elbert Cruz',NULL,NULL,NULL,'3',NULL,'Both','418027726',NULL,'Sample Data','Elbert','X','Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Elbert',1,NULL,'Dear Elbert',1,NULL,'Elbert Cruz',NULL,2,'1943-10-31',0,NULL,NULL,NULL,'Urban Environmental Fellowship',NULL,NULL,66,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (120,'Organization',NULL,1,0,0,0,0,0,NULL,NULL,'Laredo Action Systems','Laredo Action Systems',NULL,NULL,NULL,NULL,NULL,'Both','3847753618',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Laredo Action Systems',NULL,NULL,NULL,0,NULL,NULL,96,'Laredo Action Systems',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (121,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Grant, Princess','Princess Grant',NULL,NULL,NULL,NULL,NULL,'Both','2348548806',NULL,'Sample Data','Princess','','Grant',NULL,NULL,NULL,NULL,1,NULL,'Dear Princess',1,NULL,'Dear Princess',1,NULL,'Princess Grant',NULL,1,'1991-11-24',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (122,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jameson-Cruz, Scott','Scott Jameson-Cruz III',NULL,NULL,NULL,'2',NULL,'Both','1136622742',NULL,'Sample Data','Scott','','Jameson-Cruz',NULL,4,NULL,NULL,1,NULL,'Dear Scott',1,NULL,'Dear Scott',1,NULL,'Scott Jameson-Cruz III',NULL,2,'2012-11-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (123,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wagner-Barkley, Bernadette','Bernadette Wagner-Barkley',NULL,NULL,NULL,'5',NULL,'Both','2836373340',NULL,'Sample Data','Bernadette','Y','Wagner-Barkley',NULL,NULL,NULL,NULL,1,NULL,'Dear Bernadette',1,NULL,'Dear Bernadette',1,NULL,'Bernadette Wagner-Barkley',NULL,1,'1994-04-25',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (124,'Household',NULL,0,0,0,0,1,0,NULL,NULL,'Zope family','Zope family',NULL,NULL,NULL,NULL,NULL,'Both','1649131487',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Zope family',5,NULL,'Dear Zope family',2,NULL,'Zope family',NULL,NULL,NULL,0,NULL,'Zope family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (125,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Dimitrov family','Dimitrov family',NULL,NULL,NULL,'2',NULL,'Both','3351288571',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Dimitrov family',5,NULL,'Dear Dimitrov family',2,NULL,'Dimitrov family',NULL,NULL,NULL,0,NULL,'Dimitrov family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (126,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'roberts.alexia@infomail.info','roberts.alexia@infomail.info',NULL,NULL,NULL,'4',NULL,'Both','2732534954',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear roberts.alexia@infomail.info',1,NULL,'Dear roberts.alexia@infomail.info',1,NULL,'roberts.alexia@infomail.info',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (127,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Deforest, Rosario','Rosario Deforest',NULL,NULL,NULL,NULL,NULL,'Both','1073464974',NULL,'Sample Data','Rosario','','Deforest',NULL,NULL,NULL,NULL,1,NULL,'Dear Rosario',1,NULL,'Dear Rosario',1,NULL,'Rosario Deforest',NULL,2,'1969-05-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (128,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Dimitrov-Zope, Herminia','Mrs. Herminia Dimitrov-Zope',NULL,NULL,NULL,'1',NULL,'Both','389581738',NULL,'Sample Data','Herminia','W','Dimitrov-Zope',1,NULL,NULL,NULL,1,NULL,'Dear Herminia',1,NULL,'Dear Herminia',1,NULL,'Mrs. Herminia Dimitrov-Zope',NULL,1,'1959-03-11',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (129,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Colorado Health Academy','Colorado Health Academy',NULL,NULL,NULL,'2',NULL,'Both','32185714',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Colorado Health Academy',NULL,NULL,NULL,0,NULL,NULL,61,'Colorado Health Academy',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (130,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Santina','Santina Robertson',NULL,NULL,NULL,'5',NULL,'Both','2867920569',NULL,'Sample Data','Santina','','Robertson',NULL,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Santina Robertson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (131,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Müller, Valene','Valene Müller',NULL,NULL,NULL,'5',NULL,'Both','444739216',NULL,'Sample Data','Valene','I','Müller',NULL,NULL,NULL,NULL,1,NULL,'Dear Valene',1,NULL,'Dear Valene',1,NULL,'Valene Müller',NULL,1,'1979-05-14',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:58'),
+ (132,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest, Allan','Dr. Allan Deforest Sr.',NULL,NULL,NULL,NULL,NULL,'Both','2545747290',NULL,'Sample Data','Allan','A','Deforest',4,2,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Dr. Allan Deforest Sr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (133,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Patel, Teresa','Teresa Patel',NULL,NULL,NULL,'2',NULL,'Both','1615801119',NULL,'Sample Data','Teresa','H','Patel',NULL,NULL,NULL,NULL,1,NULL,'Dear Teresa',1,NULL,'Dear Teresa',1,NULL,'Teresa Patel',NULL,1,'1960-05-09',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (134,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Wagner, Elina','Elina Wagner',NULL,NULL,NULL,'1',NULL,'Both','4003830950',NULL,'Sample Data','Elina','R','Wagner',NULL,NULL,NULL,NULL,1,NULL,'Dear Elina',1,NULL,'Dear Elina',1,NULL,'Elina Wagner',NULL,NULL,'1991-05-27',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:00'),
+ (135,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell, Carylon','Carylon Terrell',NULL,NULL,NULL,NULL,NULL,'Both','3327689936',NULL,'Sample Data','Carylon','M','Terrell',NULL,NULL,NULL,NULL,1,NULL,'Dear Carylon',1,NULL,'Dear Carylon',1,NULL,'Carylon Terrell',NULL,1,'1995-06-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (136,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jensen, Bernadette','Bernadette Jensen',NULL,NULL,NULL,NULL,NULL,'Both','513832212',NULL,'Sample Data','Bernadette','O','Jensen',NULL,NULL,NULL,NULL,1,NULL,'Dear Bernadette',1,NULL,'Dear Bernadette',1,NULL,'Bernadette Jensen',NULL,NULL,'1938-05-13',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (137,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Patel-Deforest, Brent','Brent Patel-Deforest',NULL,NULL,NULL,'2',NULL,'Both','475975726',NULL,'Sample Data','Brent','Z','Patel-Deforest',NULL,NULL,NULL,NULL,1,NULL,'Dear Brent',1,NULL,'Dear Brent',1,NULL,'Brent Patel-Deforest',NULL,2,'2007-09-25',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (138,'Household',NULL,1,0,0,0,0,0,NULL,NULL,'Deforest family','Deforest family',NULL,NULL,NULL,NULL,NULL,'Both','3235379039',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Deforest family',5,NULL,'Dear Deforest family',2,NULL,'Deforest family',NULL,NULL,NULL,0,NULL,'Deforest family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (139,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'dimitrov.miguel@testing.co.nz','dimitrov.miguel@testing.co.nz',NULL,NULL,NULL,NULL,NULL,'Both','2498670755',NULL,'Sample Data',NULL,NULL,NULL,4,3,NULL,NULL,1,NULL,'Dear dimitrov.miguel@testing.co.nz',1,NULL,'Dear dimitrov.miguel@testing.co.nz',1,NULL,'dimitrov.miguel@testing.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:58'),
+ (140,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Cruz, Shauna','Dr. Shauna Cruz',NULL,NULL,NULL,NULL,NULL,'Both','3185339040',NULL,'Sample Data','Shauna','G','Cruz',4,NULL,NULL,NULL,1,NULL,'Dear Shauna',1,NULL,'Dear Shauna',1,NULL,'Dr. Shauna Cruz',NULL,NULL,'1991-09-08',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (141,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Yadav, Irvin','Mr. Irvin Yadav Jr.',NULL,NULL,NULL,NULL,NULL,'Both','1734068818',NULL,'Sample Data','Irvin','','Yadav',3,1,NULL,NULL,1,NULL,'Dear Irvin',1,NULL,'Dear Irvin',1,NULL,'Mr. Irvin Yadav Jr.',NULL,2,'1984-08-05',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (142,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Junko','Junko Wattson',NULL,NULL,NULL,'2',NULL,'Both','708062411',NULL,'Sample Data','Junko','Y','Wattson',NULL,NULL,NULL,NULL,1,NULL,'Dear Junko',1,NULL,'Dear Junko',1,NULL,'Junko Wattson',NULL,1,'1932-09-30',1,'2020-11-26',NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (143,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Jameson-Cruz, Juliann','Juliann Jameson-Cruz',NULL,NULL,NULL,NULL,NULL,'Both','3069372207',NULL,'Sample Data','Juliann','','Jameson-Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Juliann',1,NULL,'Dear Juliann',1,NULL,'Juliann Jameson-Cruz',NULL,1,'1995-10-08',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (144,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Dimitrov, Toby','Mr. Toby Dimitrov',NULL,NULL,NULL,NULL,NULL,'Both','4067537771',NULL,'Sample Data','Toby','R','Dimitrov',3,NULL,NULL,NULL,1,NULL,'Dear Toby',1,NULL,'Dear Toby',1,NULL,'Mr. Toby Dimitrov',NULL,2,'1999-01-23',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (145,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Nielsen, Craig','Dr. Craig Nielsen II',NULL,NULL,NULL,'1',NULL,'Both','151242060',NULL,'Sample Data','Craig','','Nielsen',4,3,NULL,NULL,1,NULL,'Dear Craig',1,NULL,'Dear Craig',1,NULL,'Dr. Craig Nielsen II',NULL,NULL,'1996-05-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (146,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Tioga Center Music Alliance','Tioga Center Music Alliance',NULL,NULL,NULL,NULL,NULL,'Both','3930905076',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Tioga Center Music Alliance',NULL,NULL,NULL,0,NULL,NULL,88,'Tioga Center Music Alliance',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (147,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'deforest-terrellc@fishmail.com','deforest-terrellc@fishmail.com',NULL,NULL,NULL,NULL,NULL,'Both','2606756058',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear deforest-terrellc@fishmail.com',1,NULL,'Dear deforest-terrellc@fishmail.com',1,NULL,'deforest-terrellc@fishmail.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (148,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Zope, Angelika','Angelika Zope',NULL,NULL,NULL,NULL,NULL,'Both','797627515',NULL,'Sample Data','Angelika','J','Zope',NULL,NULL,NULL,NULL,1,NULL,'Dear Angelika',1,NULL,'Dear Angelika',1,NULL,'Angelika Zope',NULL,NULL,'2015-02-05',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (149,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'prentice.lincoln@mymail.org','prentice.lincoln@mymail.org',NULL,NULL,NULL,'3',NULL,'Both','1608217180',NULL,'Sample Data',NULL,NULL,NULL,3,4,NULL,NULL,1,NULL,'Dear prentice.lincoln@mymail.org',1,NULL,'Dear prentice.lincoln@mymail.org',1,NULL,'prentice.lincoln@mymail.org',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (150,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cruz, Kandace','Mrs. Kandace Cruz',NULL,NULL,NULL,'4',NULL,'Both','420480045',NULL,'Sample Data','Kandace','','Cruz',1,NULL,NULL,NULL,1,NULL,'Dear Kandace',1,NULL,'Dear Kandace',1,NULL,'Mrs. Kandace Cruz',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (151,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jameson, Maxwell','Mr. Maxwell Jameson Sr.',NULL,NULL,NULL,'2',NULL,'Both','1027858961',NULL,'Sample Data','Maxwell','','Jameson',3,2,NULL,NULL,1,NULL,'Dear Maxwell',1,NULL,'Dear Maxwell',1,NULL,'Mr. Maxwell Jameson Sr.',NULL,2,'1965-01-25',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (152,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'bryonc@testing.net','bryonc@testing.net',NULL,NULL,NULL,'5',NULL,'Both','935232708',NULL,'Sample Data',NULL,NULL,NULL,4,4,NULL,NULL,1,NULL,'Dear bryonc@testing.net',1,NULL,'Dear bryonc@testing.net',1,NULL,'bryonc@testing.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (153,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Terry, Irvin','Irvin Terry Sr.',NULL,NULL,NULL,'1',NULL,'Both','804267401',NULL,'Sample Data','Irvin','Z','Terry',NULL,2,NULL,NULL,1,NULL,'Dear Irvin',1,NULL,'Dear Irvin',1,NULL,'Irvin Terry Sr.',NULL,2,'1998-08-03',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (154,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jameson, Ashley','Ashley Jameson',NULL,NULL,NULL,'3',NULL,'Both','3561508179',NULL,'Sample Data','Ashley','','Jameson',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Ashley Jameson',NULL,1,'1938-04-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (155,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Dimitrov, Bob','Bob Dimitrov II',NULL,NULL,NULL,NULL,NULL,'Both','74615502',NULL,'Sample Data','Bob','','Dimitrov',NULL,3,NULL,NULL,1,NULL,'Dear Bob',1,NULL,'Dear Bob',1,NULL,'Bob Dimitrov II',NULL,NULL,'1982-11-08',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (156,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Cruz, Junko','Mrs. Junko Cruz',NULL,NULL,NULL,'3',NULL,'Both','158072434',NULL,'Sample Data','Junko','S','Cruz',1,NULL,NULL,NULL,1,NULL,'Dear Junko',1,NULL,'Dear Junko',1,NULL,'Mrs. Junko Cruz',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (157,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Delana','Mrs. Delana Wilson',NULL,NULL,NULL,NULL,NULL,'Both','3114260501',NULL,'Sample Data','Delana','','Wilson',1,NULL,NULL,NULL,1,NULL,'Dear Delana',1,NULL,'Dear Delana',1,NULL,'Mrs. Delana Wilson',NULL,1,'1980-10-27',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (158,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Zope, Delana','Delana Zope',NULL,NULL,NULL,NULL,NULL,'Both','3545847558',NULL,'Sample Data','Delana','','Zope',NULL,NULL,NULL,NULL,1,NULL,'Dear Delana',1,NULL,'Dear Delana',1,NULL,'Delana Zope',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (159,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Patel, Sonny','Mr. Sonny Patel Jr.',NULL,NULL,NULL,NULL,NULL,'Both','995093613',NULL,'Sample Data','Sonny','Y','Patel',3,1,NULL,NULL,1,NULL,'Dear Sonny',1,NULL,'Dear Sonny',1,NULL,'Mr. Sonny Patel Jr.',NULL,NULL,'1989-06-28',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (160,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Blackwell, Scarlet','Scarlet Blackwell',NULL,NULL,NULL,'4',NULL,'Both','3052822058',NULL,'Sample Data','Scarlet','K','Blackwell',NULL,NULL,NULL,NULL,1,NULL,'Dear Scarlet',1,NULL,'Dear Scarlet',1,NULL,'Scarlet Blackwell',NULL,1,'1933-11-24',0,NULL,NULL,NULL,'Frankewing Arts Initiative',NULL,NULL,78,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (161,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Cruz, Herminia','Ms. Herminia Cruz',NULL,NULL,NULL,'2',NULL,'Both','3479995875',NULL,'Sample Data','Herminia','X','Cruz',2,NULL,NULL,NULL,1,NULL,'Dear Herminia',1,NULL,'Dear Herminia',1,NULL,'Ms. Herminia Cruz',NULL,1,'1979-01-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (162,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jacobs, Alida','Ms. Alida Jacobs',NULL,NULL,NULL,'4',NULL,'Both','3845218723',NULL,'Sample Data','Alida','S','Jacobs',2,NULL,NULL,NULL,1,NULL,'Dear Alida',1,NULL,'Dear Alida',1,NULL,'Ms. Alida Jacobs',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:58'),
+ (163,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Illinois Music Solutions','Illinois Music Solutions',NULL,NULL,NULL,NULL,NULL,'Both','2349134203',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Illinois Music Solutions',NULL,NULL,NULL,0,NULL,NULL,185,'Illinois Music Solutions',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (164,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest, Kathlyn','Kathlyn Deforest',NULL,NULL,NULL,'4',NULL,'Both','333595076',NULL,'Sample Data','Kathlyn','','Deforest',NULL,NULL,NULL,NULL,1,NULL,'Dear Kathlyn',1,NULL,'Dear Kathlyn',1,NULL,'Kathlyn Deforest',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (165,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Wagner-Barkley family','Wagner-Barkley family',NULL,NULL,NULL,NULL,NULL,'Both','3557314571',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Wagner-Barkley family',5,NULL,'Dear Wagner-Barkley family',2,NULL,'Wagner-Barkley family',NULL,NULL,NULL,0,NULL,'Wagner-Barkley family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (166,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Grant, Carlos','Mr. Carlos Grant III',NULL,NULL,NULL,NULL,NULL,'Both','329794815',NULL,'Sample Data','Carlos','D','Grant',3,4,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Mr. Carlos Grant III',NULL,2,'1986-01-31',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (167,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Teresa','Teresa Wilson',NULL,NULL,NULL,'4',NULL,'Both','4075437794',NULL,'Sample Data','Teresa','','Wilson',NULL,NULL,NULL,NULL,1,NULL,'Dear Teresa',1,NULL,'Dear Teresa',1,NULL,'Teresa Wilson',NULL,1,'1983-09-12',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (168,'Individual',NULL,1,1,0,0,1,0,NULL,NULL,'Blackwell, Ashlie','Mrs. Ashlie Blackwell',NULL,NULL,NULL,'2',NULL,'Both','297953864',NULL,'Sample Data','Ashlie','N','Blackwell',1,NULL,NULL,NULL,1,NULL,'Dear Ashlie',1,NULL,'Dear Ashlie',1,NULL,'Mrs. Ashlie Blackwell',NULL,1,'1954-12-15',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (169,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Prentice, Kathleen','Kathleen Prentice',NULL,NULL,NULL,NULL,NULL,'Both','2436481389',NULL,'Sample Data','Kathleen','','Prentice',NULL,NULL,NULL,NULL,1,NULL,'Dear Kathleen',1,NULL,'Dear Kathleen',1,NULL,'Kathleen Prentice',NULL,1,'1987-02-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (170,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Bryon','Mr. Bryon Robertson II',NULL,NULL,NULL,NULL,NULL,'Both','3912213392',NULL,'Sample Data','Bryon','N','Robertson',3,3,NULL,NULL,1,NULL,'Dear Bryon',1,NULL,'Dear Bryon',1,NULL,'Mr. Bryon Robertson II',NULL,2,'1960-04-02',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:58'),
+ (171,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'McReynolds, Maria','Dr. Maria McReynolds Jr.',NULL,NULL,NULL,NULL,NULL,'Both','2599277622',NULL,'Sample Data','Maria','','McReynolds',4,1,NULL,NULL,1,NULL,'Dear Maria',1,NULL,'Dear Maria',1,NULL,'Dr. Maria McReynolds Jr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (172,'Household',NULL,0,1,0,0,0,0,NULL,NULL,'Cruz family','Cruz family',NULL,NULL,NULL,NULL,NULL,'Both','2326538497',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Cruz family',5,NULL,'Dear Cruz family',2,NULL,'Cruz family',NULL,NULL,NULL,0,NULL,'Cruz family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (173,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Terry, Shauna','Mrs. Shauna Terry',NULL,NULL,NULL,'5',NULL,'Both','739503630',NULL,'Sample Data','Shauna','','Terry',1,NULL,NULL,NULL,1,NULL,'Dear Shauna',1,NULL,'Dear Shauna',1,NULL,'Mrs. Shauna Terry',NULL,NULL,'1967-06-27',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (174,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Dimitrov, Merrie','Dr. Merrie Dimitrov',NULL,NULL,NULL,'3',NULL,'Both','779748961',NULL,'Sample Data','Merrie','Q','Dimitrov',4,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Dr. Merrie Dimitrov',NULL,1,'1997-08-14',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (175,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Prentice, Sherman','Sherman Prentice III',NULL,NULL,NULL,NULL,NULL,'Both','2980148757',NULL,'Sample Data','Sherman','N','Prentice',NULL,4,NULL,NULL,1,NULL,'Dear Sherman',1,NULL,'Dear Sherman',1,NULL,'Sherman Prentice III',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (176,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Nielsen, Carylon','Ms. Carylon Nielsen',NULL,NULL,NULL,NULL,NULL,'Both','1077556196',NULL,'Sample Data','Carylon','','Nielsen',2,NULL,NULL,NULL,1,NULL,'Dear Carylon',1,NULL,'Dear Carylon',1,NULL,'Ms. Carylon Nielsen',NULL,1,'1993-01-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (177,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Nicole','Nicole Wilson',NULL,NULL,NULL,'5',NULL,'Both','3125972405',NULL,'Sample Data','Nicole','','Wilson',NULL,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Nicole Wilson',NULL,NULL,'1983-12-14',0,NULL,NULL,NULL,'Leopolis Culture Partners',NULL,NULL,190,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (178,'Organization',NULL,0,1,0,0,1,0,NULL,NULL,'Gordon Poetry Partners','Gordon Poetry Partners',NULL,NULL,NULL,'2',NULL,'Both','2788978276',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Gordon Poetry Partners',NULL,NULL,NULL,0,NULL,NULL,44,'Gordon Poetry Partners',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (179,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Łąchowski, Rebekah','Ms. Rebekah Łąchowski',NULL,NULL,NULL,NULL,NULL,'Both','237881396',NULL,'Sample Data','Rebekah','G','Łąchowski',2,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Ms. Rebekah Łąchowski',NULL,NULL,'1986-12-15',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (180,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Community Sports Association','Community Sports Association',NULL,NULL,NULL,NULL,NULL,'Both','3590894547',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Community Sports Association',NULL,NULL,NULL,0,NULL,NULL,NULL,'Community Sports Association',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (181,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samson, Allan','Mr. Allan Samson',NULL,NULL,NULL,NULL,NULL,'Both','1152741219',NULL,'Sample Data','Allan','M','Samson',3,NULL,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Mr. Allan Samson',NULL,2,'1957-01-12',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (182,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Smith, Rodrigo','Mr. Rodrigo Smith Jr.',NULL,NULL,NULL,NULL,NULL,'Both','928415905',NULL,'Sample Data','Rodrigo','C','Smith',3,1,NULL,NULL,1,NULL,'Dear Rodrigo',1,NULL,'Dear Rodrigo',1,NULL,'Mr. Rodrigo Smith Jr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (183,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest-Terrell, Herminia','Herminia Deforest-Terrell',NULL,NULL,NULL,'3',NULL,'Both','2609252607',NULL,'Sample Data','Herminia','','Deforest-Terrell',NULL,NULL,NULL,NULL,1,NULL,'Dear Herminia',1,NULL,'Dear Herminia',1,NULL,'Herminia Deforest-Terrell',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (184,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'pt.cooper@fishmail.co.in','pt.cooper@fishmail.co.in',NULL,NULL,NULL,NULL,NULL,'Both','4206036876',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear pt.cooper@fishmail.co.in',1,NULL,'Dear pt.cooper@fishmail.co.in',1,NULL,'pt.cooper@fishmail.co.in',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (185,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Zope, Ashley','Ashley Zope Sr.',NULL,NULL,NULL,'5',NULL,'Both','454484238',NULL,'Sample Data','Ashley','B','Zope',NULL,2,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Ashley Zope Sr.',NULL,NULL,'2001-06-09',0,NULL,NULL,NULL,'Illinois Music Solutions',NULL,NULL,163,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (186,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Samson, Teddy','Dr. Teddy Samson Jr.',NULL,NULL,NULL,'3',NULL,'Both','1628051489',NULL,'Sample Data','Teddy','D','Samson',4,1,NULL,NULL,1,NULL,'Dear Teddy',1,NULL,'Dear Teddy',1,NULL,'Dr. Teddy Samson Jr.',NULL,2,'1983-04-11',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (187,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell, Ashley','Mrs. Ashley Terrell',NULL,NULL,NULL,NULL,NULL,'Both','209760227',NULL,'Sample Data','Ashley','I','Terrell',1,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Mrs. Ashley Terrell',NULL,NULL,'1980-08-01',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (188,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Cruz, Allen','Allen Cruz',NULL,NULL,NULL,NULL,NULL,'Both','3114933760',NULL,'Sample Data','Allen','','Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Allen',1,NULL,'Dear Allen',1,NULL,'Allen Cruz',NULL,2,'2006-08-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (189,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Dimitrov, Carlos','Carlos Dimitrov II',NULL,NULL,NULL,NULL,NULL,'Both','1439063420',NULL,'Sample Data','Carlos','R','Dimitrov',NULL,3,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Carlos Dimitrov II',NULL,2,'1994-12-13',0,NULL,NULL,NULL,'Buffalo Software Fund',NULL,NULL,41,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (190,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Leopolis Culture Partners','Leopolis Culture Partners',NULL,NULL,NULL,'5',NULL,'Both','1993818635',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Leopolis Culture Partners',NULL,NULL,NULL,0,NULL,NULL,177,'Leopolis Culture Partners',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (191,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Jameson, Ashley','Ms. Ashley Jameson',NULL,NULL,NULL,'5',NULL,'Both','3561508179',NULL,'Sample Data','Ashley','F','Jameson',2,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Ms. Ashley Jameson',NULL,1,NULL,1,'2021-02-02',NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (192,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'mcreynolds.g.kacey31@fakemail.co.uk','mcreynolds.g.kacey31@fakemail.co.uk',NULL,NULL,NULL,NULL,NULL,'Both','1198168796',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear mcreynolds.g.kacey31@fakemail.co.uk',1,NULL,'Dear mcreynolds.g.kacey31@fakemail.co.uk',1,NULL,'mcreynolds.g.kacey31@fakemail.co.uk',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (193,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Łąchowski, Lincoln','Mr. Lincoln Łąchowski',NULL,NULL,NULL,NULL,NULL,'Both','4115738277',NULL,'Sample Data','Lincoln','','Łąchowski',3,NULL,NULL,NULL,1,NULL,'Dear Lincoln',1,NULL,'Dear Lincoln',1,NULL,'Mr. Lincoln Łąchowski',NULL,2,'1949-09-28',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (194,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Grant, Scott','Scott Grant Sr.',NULL,NULL,NULL,NULL,NULL,'Both','501213138',NULL,'Sample Data','Scott','','Grant',NULL,2,NULL,NULL,1,NULL,'Dear Scott',1,NULL,'Dear Scott',1,NULL,'Scott Grant Sr.',NULL,2,'1953-04-02',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (195,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Roberts, Miguel','Miguel Roberts',NULL,NULL,NULL,NULL,NULL,'Both','2346499533',NULL,'Sample Data','Miguel','I','Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Miguel',1,NULL,'Dear Miguel',1,NULL,'Miguel Roberts',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:02'),
+ (196,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Adams, Kiara','Mrs. Kiara Adams',NULL,NULL,NULL,'4',NULL,'Both','2312973094',NULL,'Sample Data','Kiara','','Adams',1,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Mrs. Kiara Adams',NULL,1,'1937-09-04',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (197,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Robertson, Santina','Mrs. Santina Robertson',NULL,NULL,NULL,NULL,NULL,'Both','2867920569',NULL,'Sample Data','Santina','A','Robertson',1,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Mrs. Santina Robertson',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (198,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Robertson, Heidi','Heidi Robertson',NULL,NULL,NULL,NULL,NULL,'Both','266812175',NULL,'Sample Data','Heidi','U','Robertson',NULL,NULL,NULL,NULL,1,NULL,'Dear Heidi',1,NULL,'Dear Heidi',1,NULL,'Heidi Robertson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (199,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Müller, Rosario','Dr. Rosario Müller',NULL,NULL,NULL,NULL,NULL,'Both','3842262353',NULL,'Sample Data','Rosario','','Müller',4,NULL,NULL,NULL,1,NULL,'Dear Rosario',1,NULL,'Dear Rosario',1,NULL,'Dr. Rosario Müller',NULL,2,'1933-05-17',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:08:59'),
+ (200,'Household',NULL,0,0,0,0,1,0,NULL,NULL,'Roberts family','Roberts family',NULL,NULL,NULL,NULL,NULL,'Both','2097305882',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Roberts family',5,NULL,'Dear Roberts family',2,NULL,'Roberts family',NULL,NULL,NULL,0,NULL,'Roberts family',NULL,NULL,NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01'),
+ (201,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'North Dakota Agriculture Systems','North Dakota Agriculture Systems',NULL,NULL,NULL,NULL,NULL,'Both','773162321',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'North Dakota Agriculture Systems',NULL,NULL,NULL,0,NULL,NULL,NULL,'North Dakota Agriculture Systems',NULL,NULL,NULL,0,'2021-07-02 00:08:58','2021-07-02 00:09:01');
 /*!40000 ALTER TABLE `civicrm_contact` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -2133,86 +2138,86 @@ INSERT INTO `civicrm_contribution` (`id`, `contact_id`, `financial_type_id`, `co
  (11,43,1,NULL,1,'2009-07-01 12:55:41',0.00,200.00,NULL,NULL,'PL43II',NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
  (12,32,1,NULL,1,'2009-10-01 11:53:50',0.00,200.00,NULL,NULL,'PL32I',NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
  (13,32,1,NULL,1,'2009-12-01 12:55:41',0.00,200.00,NULL,NULL,'PL32II',NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (14,15,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'eafa6983717b93b0',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (15,145,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'1ac3eb07f6424e89',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (16,58,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'15243cfadf0f2536',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (17,92,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'2f48d84c4f5d1f19',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (18,154,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'5f2c43ecf6f87091',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (19,123,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'d76e674b092c0b60',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (20,5,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'1bcdd35abac9d31e',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (21,158,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'372aea6295d47771',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (22,136,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'e030336e9d9e27a7',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (23,191,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'cbde35e851d08693',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (24,89,2,NULL,1,'2021-06-10 20:47:11',0.00,1200.00,NULL,NULL,'023c1d3bad756070',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Lifetime Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (25,165,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'a35026fe0645c5ae',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (26,42,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'7d39bad93d16e658',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (27,76,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'68f0a75d1f668c1b',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (28,124,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'f47f8898b6317b5f',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (29,104,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'5cadf16ab32b0434',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (30,7,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'33714841f2853c39',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (31,170,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'0762aa5988787fd5',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (32,129,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'5389f88cfe515057',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (33,27,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'d80168527be7f31a',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (34,131,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'58daff9210aa1dac',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (35,103,2,NULL,1,'2021-06-10 20:47:11',0.00,1200.00,NULL,NULL,'1ed15367939dd345',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Lifetime Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (36,185,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'5730290ee5588bd2',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (37,75,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'d41c794608ab1605',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (38,33,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'315b9f8a4cac9458',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (39,96,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'efd51e3b59f0cfed',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (40,57,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'69246f58a09a2f97',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (41,64,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'ed31197c507715f1',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (42,196,2,NULL,1,'2021-06-10 20:47:11',0.00,100.00,NULL,NULL,'c5de7035a4c701fb',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (43,46,2,NULL,1,'2021-06-10 20:47:11',0.00,50.00,NULL,NULL,'5dc1b2d5ca4c5525',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (45,9,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'06a7e4450da325ae',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (46,20,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'482154f519605172',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (47,23,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'faa956f935647168',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (48,27,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'d6510b94103ea3e2',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (49,30,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'e4662fa255fcab54',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (50,32,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'a13c9ae0ec206c58',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (51,33,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'bdcd5238815847c7',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (52,34,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'5a468bb7b6b6bb68',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (53,35,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'ad5709781553b5e8',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (54,40,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'75a57ab7ae4d6707',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (55,43,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'44804cc0767c2365',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (56,45,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'e0722580fc4157d7',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (57,48,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'596e85759113dc46',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (58,52,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'e6ee01ed8f4e1d37',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (59,56,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'2d1228acbadf6839',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (60,74,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'0c973d4463bb35c3',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (61,79,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'ae35c3a093b5d14f',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (62,86,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'a69da8779369e62a',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (63,89,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'fc4f22863da1aeca',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (64,92,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'35a34b90d08a1e17',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (65,96,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'445212dcef683434',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (66,99,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'0634a826e55b2d45',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (67,101,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'8b62828a3226d9cc',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (68,105,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'3259f51a57f9bcac',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (69,106,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'c2df86cb38acf5cd',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (70,118,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'db48d1b73f7e2129',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (71,122,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'3d53d6822d6c4005',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (72,125,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'aa77badcabeeb9e0',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (73,127,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'5a993ddc0132e579',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (74,129,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'98e8d03b37a9d77c',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (75,135,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'8852a3eb747973ac',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (76,140,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'99f322caa83d5e6d',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (77,144,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'6fbe546dac220841',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (78,145,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'72149328347ea433',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (79,146,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'59a5e5a89823197d',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (80,147,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'fcbb39a2213da47e',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (81,148,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'c4c12a9af2fff4ee',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (82,152,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'76ed6c8fe2a0d183',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (83,157,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'37de6f426f359bd2',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (84,161,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'1d860a759c13421e',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (85,170,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'b545a95cd18db373',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (86,171,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'026e0db1c8c4aeea',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (87,172,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'0d5f2bdfb43bf660',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (88,173,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'783d82f1e7c74502',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (89,179,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'4113e78404d7c038',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (90,180,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'e6cabf5b83231efa',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (91,181,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'a8e7e70a760615f1',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (92,182,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'c74e50e0a15c9fac',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (93,183,4,NULL,1,'2021-06-10 20:47:12',0.00,50.00,NULL,NULL,'a4f295df8eab7355',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
- (94,201,4,NULL,1,'2021-06-10 20:47:12',0.00,800.00,NULL,NULL,'88746b3f28c58d01',NULL,NULL,'USD',NULL,NULL,'2021-06-10 20:47:12',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0);
+ (14,104,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'3094dbdde129478e',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (15,152,2,NULL,1,'2021-07-02 00:09:07',0.00,50.00,NULL,NULL,'5955f93206090c42',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (16,185,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'e652a0e7a12ad645',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (17,59,2,NULL,1,'2021-07-02 00:09:07',0.00,50.00,NULL,NULL,'54971a61b427afe1',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (18,145,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'a2a02262c76db0e9',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (19,79,2,NULL,1,'2021-07-02 00:09:07',0.00,50.00,NULL,NULL,'f93872aa942886ad',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (20,18,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'eae3715d7bc8edba',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (21,90,2,NULL,1,'2021-07-02 00:09:07',0.00,50.00,NULL,NULL,'3506a81466c14e4b',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (22,150,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'4f0eb9466697f1db',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (23,126,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'13dc5de697d2243a',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (24,21,2,NULL,1,'2021-07-02 00:09:07',0.00,1200.00,NULL,NULL,'f0b1e08e2ea81d91',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Lifetime Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (25,109,2,NULL,1,'2021-07-02 00:09:07',0.00,50.00,NULL,NULL,'c3f309b978bb92f3',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (26,63,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'cf6e8f236da6702f',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (27,140,2,NULL,1,'2021-07-02 00:09:07',0.00,50.00,NULL,NULL,'dd4a233690acdbf3',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (28,69,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'35f8f16cce0d394e',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (29,13,2,NULL,1,'2021-07-02 00:09:07',0.00,50.00,NULL,NULL,'e516af73336d03f3',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (30,35,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'facf9d18a5277e7b',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (31,121,2,NULL,1,'2021-07-02 00:09:07',0.00,50.00,NULL,NULL,'53f0ff480d664b38',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (32,137,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'70f880013fa7a0b2',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (33,50,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'df08dd6f7793f78e',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (34,184,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'a12c838a6a7a816b',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (35,133,2,NULL,1,'2021-07-02 00:09:07',0.00,1200.00,NULL,NULL,'a1f1c3a855964e4c',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Lifetime Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (36,62,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'e0015699e5a80e8d',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (37,27,2,NULL,1,'2021-07-02 00:09:07',0.00,50.00,NULL,NULL,'48cf06c1a88def47',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (38,48,2,NULL,1,'2021-07-02 00:09:07',0.00,50.00,NULL,NULL,'3bec2962b09d42ff',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (39,75,2,NULL,1,'2021-07-02 00:09:07',0.00,50.00,NULL,NULL,'58f00e9d896b30f3',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (40,93,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'a973e6cf717b5d05',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (41,188,2,NULL,1,'2021-07-02 00:09:07',0.00,50.00,NULL,NULL,'b6cc5dab281a105d',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (42,170,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'9b180465e9c3592b',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (43,76,2,NULL,1,'2021-07-02 00:09:07',0.00,100.00,NULL,NULL,'42d7296f33659006',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (45,131,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'d0a026db93179897',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (46,9,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'750d33be1db20eb5',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (47,201,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'bb0e3ce1f2517ed0',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (48,68,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'1ff8dcc28972993d',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (49,154,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'e7a148c241724bbb',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (50,179,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'c233190ec75a6f15',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (51,175,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'90173ca9d0fc016b',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (52,90,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'e24cff6454db41e6',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (53,192,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'4979da293151042c',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (54,141,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'3602a33e4860851b',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (55,195,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'f49635672af19b19',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (56,181,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'36490ec8d3bc1eb6',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (57,156,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'53249e77ea82c1f2',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (58,58,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'0c9b3afe8b935bba',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (59,165,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'c242dedfb0c4e817',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (60,163,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'3f4952d902af5d84',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (61,109,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'a67c0271b9df648d',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (62,49,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'e8615b8596fa319a',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (63,106,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'a6af4dac928334b7',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (64,98,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'0c58260878847155',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (65,23,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'3031c012a60dd973',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (66,120,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'19875050d331d78d',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (67,60,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'16c91ba19af218a9',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (68,57,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'595e7b67086917fc',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (69,164,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'f091bbc5821357a8',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (70,19,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'eacc8fd3c3e66f3f',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (71,130,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'48cfb3243991d8df',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (72,180,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'f0553c559cc7e4da',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (73,47,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'fd73871ab4b07cfa',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (74,134,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'3513abc4aca31ef7',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (75,187,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'133b2f3b84be5319',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (76,86,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'23b0fb7e66844494',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (77,169,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'1be784b8fd0b237a',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (78,127,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'d2469a2fc0eed04d',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (79,45,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'2729ca99d6f19e54',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (80,83,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'df3e2400a135a05a',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (81,190,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'cff20fb776108565',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (82,108,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'bc76f423d356903a',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (83,177,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'8dbc24df5b36a39b',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (84,20,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'be8cf0666c1b9c01',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (85,199,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'c7d25b360f8db735',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (86,121,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'975f73f273740e2b',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (87,102,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'b572e535679c738d',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (88,72,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'33c2a8cdf9ac0487',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (89,189,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'6984f573dbcb4e8c',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (90,24,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'fb82939f9148bc23',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (91,43,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'30ea9790a90d3a7d',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (92,84,4,NULL,1,'2021-07-02 00:09:08',0.00,50.00,NULL,NULL,'38c3e3317d4adf48',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (93,166,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'e4b9ba3f1d2db5c2',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0),
+ (94,151,4,NULL,1,'2021-07-02 00:09:08',0.00,800.00,NULL,NULL,'87a64108e4a04078',NULL,NULL,'USD',NULL,NULL,'2021-07-02 00:09:08',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0);
 /*!40000 ALTER TABLE `civicrm_contribution` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -2254,8 +2259,8 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_contribution_soft` WRITE;
 /*!40000 ALTER TABLE `civicrm_contribution_soft` DISABLE KEYS */;
 INSERT INTO `civicrm_contribution_soft` (`id`, `contribution_id`, `contact_id`, `amount`, `currency`, `pcp_id`, `pcp_display_in_roll`, `pcp_roll_nickname`, `pcp_personal_note`, `soft_credit_type_id`) VALUES
- (1,8,85,10.00,'USD',1,1,'Jones Family','Helping Hands',10),
- (2,9,85,250.00,'USD',1,1,'Annie and the kids','Annie Helps',10);
+ (1,8,139,10.00,'USD',1,1,'Jones Family','Helping Hands',10),
+ (2,9,139,250.00,'USD',1,1,'Annie and the kids','Annie Helps',10);
 /*!40000 ALTER TABLE `civicrm_contribution_soft` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -2864,7 +2869,7 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_domain` WRITE;
 /*!40000 ALTER TABLE `civicrm_domain` DISABLE KEYS */;
 INSERT INTO `civicrm_domain` (`id`, `name`, `description`, `version`, `contact_id`, `locales`, `locale_custom_strings`) VALUES
- (1,'Default Domain Name',NULL,'5.39.1',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}');
+ (1,'Default Domain Name',NULL,'5.40.0',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}');
 /*!40000 ALTER TABLE `civicrm_domain` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -2876,193 +2881,185 @@ LOCK TABLES `civicrm_email` WRITE;
 /*!40000 ALTER TABLE `civicrm_email` DISABLE KEYS */;
 INSERT INTO `civicrm_email` (`id`, `contact_id`, `location_type_id`, `email`, `is_primary`, `is_billing`, `on_hold`, `is_bulkmail`, `hold_date`, `reset_date`, `signature_text`, `signature_html`) VALUES
  (1,1,1,'fixme.domainemail@example.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (2,31,1,'cooper.t.laree@sample.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (3,138,1,'terry.rosario@infomail.com',1,0,0,0,NULL,NULL,NULL,NULL),
- (4,21,1,'sonnyrobertson7@example.net',1,0,0,0,NULL,NULL,NULL,NULL),
- (5,21,1,'robertson.sonny@fakemail.com',0,0,0,0,NULL,NULL,NULL,NULL),
- (6,85,1,'yadav.a.scarlet@notmail.info',1,0,0,0,NULL,NULL,NULL,NULL),
- (7,46,1,'brentj86@notmail.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (8,53,1,'yadav.kathlyn20@airmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
- (9,89,1,'rolandoivanov80@airmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
- (10,89,1,'rv.ivanov@sample.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),
- (11,14,1,'mller.rolando@testmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (12,191,1,'jacobs.irvin@lol.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (13,5,1,'bachman.errol@sample.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (14,173,1,'carloslee@fishmail.info',1,0,0,0,NULL,NULL,NULL,NULL),
- (15,173,1,'cq.lee70@notmail.net',0,0,0,0,NULL,NULL,NULL,NULL),
- (16,178,1,'leet@spamalot.info',1,0,0,0,NULL,NULL,NULL,NULL),
- (17,178,1,'lee.truman33@testing.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),
- (18,23,1,'rebekahwattson@spamalot.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (19,199,1,'brigettedaz@spamalot.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (20,199,1,'brigetted95@sample.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),
- (21,37,1,'smith.t.damaris@testmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (22,179,1,'chowski.c.esta@notmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (23,11,1,'grant.e.margaret74@notmail.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (24,11,1,'margaretgrant@notmail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),
- (25,20,1,'cooperr23@lol.net',1,0,0,0,NULL,NULL,NULL,NULL),
- (26,98,1,'adams.miguel53@example.info',1,0,0,0,NULL,NULL,NULL,NULL),
- (27,98,1,'adams.u.miguel@sample.net',0,0,0,0,NULL,NULL,NULL,NULL),
- (28,57,1,'shaunaj69@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (29,57,1,'shaunaj@sample.co.in',0,0,0,0,NULL,NULL,NULL,NULL),
- (30,44,1,'roberts.allan96@infomail.info',1,0,0,0,NULL,NULL,NULL,NULL),
- (31,27,1,'meii@fishmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (32,78,1,'olsen.x.russell39@sample.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (33,146,1,'lee.jed20@spamalot.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (34,45,1,'cooper.truman@testing.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (35,34,1,'carylonnielsen10@spamalot.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (36,41,1,'daz.iris@testmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
- (37,41,1,'irisd17@testmail.info',0,0,0,0,NULL,NULL,NULL,NULL),
- (38,83,1,'merriej68@sample.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (39,83,1,'merriej@infomail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),
- (40,18,1,'meganw40@example.com',1,0,0,0,NULL,NULL,NULL,NULL),
- (41,154,1,'grantc@airmail.info',1,0,0,0,NULL,NULL,NULL,NULL),
- (42,154,1,'cm.grant12@fakemail.biz',0,0,0,0,NULL,NULL,NULL,NULL),
- (43,192,1,'shadj75@lol.info',1,0,0,0,NULL,NULL,NULL,NULL),
- (44,192,1,'jacobss@fakemail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),
- (45,122,1,'zope.e.damaris80@testmail.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (46,33,1,'mm.dimitrov@testing.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
- (47,33,1,'mm.dimitrov85@spamalot.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (48,48,1,'croberts84@lol.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
- (49,81,1,'vt.reynolds@sample.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (50,81,1,'reynoldsv@example.com',0,0,0,0,NULL,NULL,NULL,NULL),
- (51,100,1,'blackwell.sharyn44@fakemail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
- (52,100,1,'blackwells45@fakemail.biz',0,0,0,0,NULL,NULL,NULL,NULL),
- (53,26,1,'erikn@testing.net',1,0,0,0,NULL,NULL,NULL,NULL),
- (54,110,1,'sb.jameson@notmail.net',1,0,0,0,NULL,NULL,NULL,NULL),
- (55,110,1,'jameson.b.santina75@airmail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),
- (56,71,1,'jacobsk27@fishmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (57,71,1,'kennyjacobs@testmail.biz',0,0,0,0,NULL,NULL,NULL,NULL),
- (58,163,1,'cooper.toby@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
- (59,38,1,'trumanwilson@spamalot.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (60,156,1,'daz.junko@mymail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (61,156,1,'junkodaz@spamalot.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),
- (62,184,1,'jones.russell@sample.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
- (63,184,1,'rx.jones96@spamalot.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (64,169,1,'wattson.scarlet45@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
- (65,169,1,'wattson.scarlet55@fishmail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),
- (66,96,1,'bryonr@fakemail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (67,176,1,'alidachowski@spamalot.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (68,49,1,'irisgonzlez25@spamalot.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (69,49,1,'gonzlez.d.iris@fakemail.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (70,162,1,'robertsp99@testmail.com',1,0,0,0,NULL,NULL,NULL,NULL),
- (71,64,1,'jameson.rosario63@fakemail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
- (72,35,1,'terry.o.bernadette@fishmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
- (73,35,1,'terryb@sample.net',0,0,0,0,NULL,NULL,NULL,NULL),
- (74,92,1,'deforestc52@infomail.info',1,0,0,0,NULL,NULL,NULL,NULL),
- (75,92,1,'deforest.carylon2@fishmail.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (76,130,1,'deforest.q.carlos@fakemail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (77,130,1,'deforestc69@testmail.com',0,0,0,0,NULL,NULL,NULL,NULL),
- (78,3,1,'wj.prentice@fakemail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (79,3,1,'prentice.winford@example.com',0,0,0,0,NULL,NULL,NULL,NULL),
- (80,42,1,'ashleyroberts-prentice@mymail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (81,123,1,'prentice.norris88@testmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
- (82,123,1,'prentice.norris16@spamalot.net',0,0,0,0,NULL,NULL,NULL,NULL),
- (83,108,1,'jacobprentice@example.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (84,108,1,'prenticej@example.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),
- (85,140,1,'lee.carylon51@sample.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (86,140,1,'lee.carylon65@testing.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (87,142,1,'leem68@spamalot.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (88,135,1,'leec55@notmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (89,135,1,'clee@notmail.info',0,0,0,0,NULL,NULL,NULL,NULL),
- (90,111,1,'ne.yadav@sample.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (91,111,1,'norrisyadav35@fakemail.info',0,0,0,0,NULL,NULL,NULL,NULL),
- (92,116,1,'yadav.sharyn@mymail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (93,116,1,'syadav31@infomail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),
- (94,102,1,'yadav.alexia@infomail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (95,102,1,'yadava65@fakemail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),
- (96,29,1,'yadav.shad50@testing.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (97,29,1,'shady54@lol.com',0,0,0,0,NULL,NULL,NULL,NULL),
- (98,95,1,'patel.kenny@example.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (99,195,1,'pateln@infomail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
- (100,183,1,'arlynep@lol.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
- (101,24,1,'miguelpatel7@mymail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (102,104,1,'roberts.allen@testing.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (103,30,1,'roberts.ray@lol.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (104,99,1,'brzczysawcooper72@spamalot.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (105,77,1,'amller@airmail.com',1,0,0,0,NULL,NULL,NULL,NULL),
- (106,77,1,'mller.alexia@example.co.in',0,0,0,0,NULL,NULL,NULL,NULL),
- (107,175,1,'mcooper-mller80@fakemail.net',1,0,0,0,NULL,NULL,NULL,NULL),
- (108,80,1,'mariap@infomail.com',1,0,0,0,NULL,NULL,NULL,NULL),
- (109,193,1,'sanfordjones@mymail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (110,193,1,'sanfordjones40@fakemail.com',0,0,0,0,NULL,NULL,NULL,NULL),
- (111,145,1,'maganjones54@fishmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (112,145,1,'jonesm@testing.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),
- (113,22,1,'jones.esta61@lol.com',1,0,0,0,NULL,NULL,NULL,NULL),
- (114,43,1,'rosarioj19@infomail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (115,43,1,'rosarioj@lol.co.in',0,0,0,0,NULL,NULL,NULL,NULL),
- (116,88,1,'ejameson@mymail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
- (117,141,1,'shadjameson@example.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (118,106,1,'si.chowski42@example.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
- (119,136,1,'barkleyr@infomail.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (120,136,1,'barkley.e.rebekah@testmail.com',0,0,0,0,NULL,NULL,NULL,NULL),
- (121,56,1,'chowski-barkley.sherman@notmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (122,200,1,'bettychowski-barkley@airmail.net',1,0,0,0,NULL,NULL,NULL,NULL),
- (123,200,1,'chowski-barkley.betty30@sample.info',0,0,0,0,NULL,NULL,NULL,NULL),
- (124,112,1,'reynolds.jerome@lol.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
- (125,112,1,'jreynolds@fishmail.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (126,197,1,'reynolds.tanya@fakemail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (127,197,1,'treynolds@sample.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (128,170,1,'bachmanj@fakemail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (129,170,1,'bachman.jackson@lol.info',0,0,0,0,NULL,NULL,NULL,NULL),
- (130,166,1,'lashawndam@spamalot.com',1,0,0,0,NULL,NULL,NULL,NULL),
- (131,76,1,'bachman.jay@fishmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (132,15,1,'bachman.g.merrie21@testmail.com',1,0,0,0,NULL,NULL,NULL,NULL),
- (133,15,1,'merriebachman@notmail.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (134,7,1,'wilson.y.nicole@testing.com',1,0,0,0,NULL,NULL,NULL,NULL),
- (135,158,1,'sonnyw@mymail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
- (136,158,1,'wilson.q.sonny@airmail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),
- (137,134,1,'wilsons@notmail.net',1,0,0,0,NULL,NULL,NULL,NULL),
- (138,134,1,'wilsons29@sample.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),
- (139,151,1,'omarrobertson@notmail.info',1,0,0,0,NULL,NULL,NULL,NULL),
- (140,129,1,'robertsonb@testing.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (141,164,1,'robertson.z.carlos@airmail.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (142,164,1,'cz.robertson@testmail.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (143,54,1,'robertson.bob33@infomail.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (144,54,1,'bobrobertson38@lol.com',0,0,0,0,NULL,NULL,NULL,NULL),
- (145,8,1,'samson.errol40@mymail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (146,8,1,'samsone@infomail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),
- (147,165,1,'samsont49@testing.info',1,0,0,0,NULL,NULL,NULL,NULL),
- (148,165,1,'samson.troy@testmail.info',0,0,0,0,NULL,NULL,NULL,NULL),
- (149,52,1,'parker.allan@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
- (150,120,1,'felishap52@infomail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (151,120,1,'fparker@spamalot.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (152,119,1,'teresaparker97@mymail.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (153,9,1,'parker.d.nicole28@example.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (154,139,1,'jayg59@spamalot.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (155,86,1,'grant.lashawnda41@infomail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
- (156,73,1,'valeneg@spamalot.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (157,66,1,'rgrant-cooper@sample.biz',1,0,0,0,NULL,NULL,NULL,NULL),
- (158,137,1,'bs.cooper@testmail.com',1,0,0,0,NULL,NULL,NULL,NULL),
- (159,121,1,'ecooper@fakemail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
- (160,121,1,'ecooper15@fishmail.com',0,0,0,0,NULL,NULL,NULL,NULL),
- (161,172,1,'cooperr64@example.net',1,0,0,0,NULL,NULL,NULL,NULL),
- (162,172,1,'rolandocooper26@notmail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),
- (163,157,3,'sales@vndevelopmentservices.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (164,91,3,'sales@communityempowermenttrust.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (165,13,3,'feedback@sacramentosportsacademy.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (166,32,3,'sales@ruralfamilyfund.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (167,6,3,'feedback@vnsoftwarefellowship.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (168,53,2,'yadavk@vnsoftwarefellowship.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (169,168,3,'service@ruralsoftware.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (170,18,2,'meganwilson@ruralsoftware.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (171,36,3,'service@ccagriculturealliance.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (172,16,2,'jmcreynolds28@ccagriculturealliance.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (173,4,3,'feedback@mlkingarts.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (174,66,2,'.99@mlkingarts.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (175,79,3,'service@nypeaceacademy.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (176,3,2,'prentice.j.winford@nypeaceacademy.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (177,61,3,'feedback@klsustainabilityfund.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (178,153,2,'landons@klsustainabilityfund.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (179,19,3,'sales@hsempowermentsystems.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (180,72,3,'sales@bellmawrfund.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (181,100,2,'.@bellmawrfund.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (182,181,3,'info@unitedsoftwaresystems.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (183,59,2,'mn.gonzlez@unitedsoftwaresystems.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (184,174,3,'contact@unitedagriculturecenter.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (185,47,2,'roberts.lawerence@unitedagriculturecenter.org',1,0,0,0,NULL,NULL,NULL,NULL),
- (186,NULL,1,'development@example.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (187,NULL,1,'tournaments@example.org',0,0,0,0,NULL,NULL,NULL,NULL),
- (188,NULL,1,'celebration@example.org',0,0,0,0,NULL,NULL,NULL,NULL);
+ (2,72,1,'deforestl21@example.info',1,0,0,0,NULL,NULL,NULL,NULL),
+ (3,162,1,'alidajacobs@lol.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (4,162,1,'jacobs.s.alida@testing.info',0,0,0,0,NULL,NULL,NULL,NULL),
+ (5,139,1,'dimitrov.miguel@testing.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (6,131,1,'vi.mller@testing.info',1,0,0,0,NULL,NULL,NULL,NULL),
+ (7,100,1,'daz.ashlie67@testing.net',1,0,0,0,NULL,NULL,NULL,NULL),
+ (8,100,1,'daza67@spamalot.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (9,170,1,'robertson.n.bryon@mymail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
+ (10,35,1,'knielsen98@spamalot.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
+ (11,35,1,'kathlynn@example.com',0,0,0,0,NULL,NULL,NULL,NULL),
+ (12,192,1,'mcreynolds.g.kacey31@fakemail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
+ (13,85,1,'nf.jacobs@lol.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (14,80,1,'patel.bernadette16@testing.net',1,0,0,0,NULL,NULL,NULL,NULL),
+ (15,50,1,'smcreynolds@testing.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (16,173,1,'shaunat65@fakemail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
+ (17,105,1,'grant.tanya@spamalot.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (18,105,1,'tanyag39@testmail.com',0,0,0,0,NULL,NULL,NULL,NULL),
+ (19,191,1,'ashleyj@testing.info',1,0,0,0,NULL,NULL,NULL,NULL),
+ (20,142,1,'junkow@example.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (21,145,1,'nielsen.craig@example.info',1,0,0,0,NULL,NULL,NULL,NULL),
+ (22,12,1,'jones.p.claudio@fishmail.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (23,12,1,'cp.jones@fishmail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),
+ (24,95,1,'daz.kenny51@fakemail.net',1,0,0,0,NULL,NULL,NULL,NULL),
+ (25,87,1,'shaunao@fakemail.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (26,87,1,'olsens99@airmail.com',0,0,0,0,NULL,NULL,NULL,NULL),
+ (27,116,1,'tanyaterrell52@fakemail.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (28,151,1,'jameson.maxwell@notmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (29,117,1,'allenn@fakemail.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (30,55,1,'angelikan@lol.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
+ (31,136,1,'jensen.o.bernadette51@testing.info',1,0,0,0,NULL,NULL,NULL,NULL),
+ (32,144,1,'tobyd19@fishmail.info',1,0,0,0,NULL,NULL,NULL,NULL),
+ (33,144,1,'tr.dimitrov@notmail.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (34,119,1,'ex.cruz15@mymail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
+ (35,119,1,'cruz.x.elbert@sample.com',0,0,0,0,NULL,NULL,NULL,NULL),
+ (36,69,1,'wilsons@spamalot.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
+ (37,69,1,'wilson.x.scarlet@fakemail.com',0,0,0,0,NULL,NULL,NULL,NULL),
+ (38,18,1,'scottivanov@lol.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (39,18,1,'ivanov.scott3@sample.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),
+ (40,153,1,'irvinterry@testmail.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (41,62,1,'tyadav@spamalot.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (42,115,1,'id.dimitrov@example.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (43,39,1,'lincolnnielsen@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
+ (44,39,1,'lincolnn30@infomail.biz',0,0,0,0,NULL,NULL,NULL,NULL),
+ (45,177,1,'nwilson50@mymail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
+ (46,10,1,'daz.princess8@testing.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
+ (47,127,1,'rdeforest60@fakemail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
+ (48,127,1,'rosariodeforest@sample.net',0,0,0,0,NULL,NULL,NULL,NULL),
+ (49,5,1,'samuelsa@testmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
+ (50,184,1,'pt.cooper@fishmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
+ (51,182,1,'rodrigos@airmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (52,182,1,'rodrigosmith@lol.info',0,0,0,0,NULL,NULL,NULL,NULL),
+ (53,133,1,'patel.h.teresa60@notmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
+ (54,160,1,'scarletblackwell@spamalot.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
+ (55,92,1,'smith.irvin@mymail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
+ (56,92,1,'smithi@notmail.net',0,0,0,0,NULL,NULL,NULL,NULL),
+ (57,56,1,'zope.y.omar@example.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (58,70,1,'jacobs.elbert96@fishmail.info',1,0,0,0,NULL,NULL,NULL,NULL),
+ (59,94,1,'roberts.jina38@spamalot.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
+ (60,198,1,'hu.robertson49@testing.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (61,83,1,'omari60@example.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (62,83,1,'oivanov@sample.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (63,60,1,'bachman.i.lou11@example.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (64,53,1,'brigettet@airmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (65,113,1,'sonnyd@fakemail.net',1,0,0,0,NULL,NULL,NULL,NULL),
+ (66,113,1,'dazs@sample.net',0,0,0,0,NULL,NULL,NULL,NULL),
+ (67,81,1,'damariso@notmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (68,81,1,'do.olsen@mymail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),
+ (69,130,1,'santinar90@fishmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (70,130,1,'santinarobertson@fakemail.info',0,0,0,0,NULL,NULL,NULL,NULL),
+ (71,108,1,'zope.sanford69@lol.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (72,148,1,'zope.angelika@fakemail.info',1,0,0,0,NULL,NULL,NULL,NULL),
+ (73,14,1,'terrell.allen@infomail.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (74,14,1,'aterrell@notmail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),
+ (75,91,1,'meganterrell40@mymail.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (76,91,1,'meganterrell@sample.co.in',0,0,0,0,NULL,NULL,NULL,NULL),
+ (77,135,1,'terrell.carylon@infomail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (78,135,1,'terrell.m.carylon90@sample.co.in',0,0,0,0,NULL,NULL,NULL,NULL),
+ (79,187,1,'ashleyt62@notmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (80,187,1,'terrell.i.ashley37@mymail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),
+ (81,89,1,'irvindaz@fishmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
+ (82,89,1,'daz.g.irvin@notmail.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (83,75,1,'daz.elizabeth@notmail.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (84,149,1,'prentice.lincoln@example.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
+ (85,149,1,'prentice.lincoln@mymail.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (86,175,1,'prentice.sherman@spamalot.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (87,169,1,'kathleenp@testmail.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (88,63,1,'dzope@testing.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (89,185,1,'zope.ashley70@lol.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (90,185,1,'zope.b.ashley11@mymail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),
+ (91,13,1,'sanfordd44@testing.net',1,0,0,0,NULL,NULL,NULL,NULL),
+ (92,24,1,'terrell.kathleen@lol.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
+ (93,183,1,'herminiadeforest-terrell@example.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (94,147,1,'deforest-terrellc@fishmail.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (95,54,1,'cruz.carlos@testing.info',1,0,0,0,NULL,NULL,NULL,NULL),
+ (96,54,1,'carloscruz@fakemail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),
+ (97,140,1,'sg.cruz@airmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
+ (98,49,1,'cruz.damaris@notmail.net',1,0,0,0,NULL,NULL,NULL,NULL),
+ (99,49,1,'cruz.l.damaris@infomail.biz',0,0,0,0,NULL,NULL,NULL,NULL),
+ (100,166,1,'grantc@example.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (101,38,1,'brigetteg@fishmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (102,110,1,'igrant@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
+ (103,110,1,'granti@sample.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (104,109,1,'alidar@testing.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (105,109,1,'alidaroberts63@notmail.info',0,0,0,0,NULL,NULL,NULL,NULL),
+ (106,126,1,'robertsa@spamalot.net',1,0,0,0,NULL,NULL,NULL,NULL),
+ (107,126,1,'roberts.alexia@infomail.info',0,0,0,0,NULL,NULL,NULL,NULL),
+ (108,73,1,'jacobs.iris@notmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (109,77,1,'jacobs.carylon9@airmail.net',1,0,0,0,NULL,NULL,NULL,NULL),
+ (110,21,1,'jacobs.h.beula18@infomail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (111,21,1,'jacobsb@fishmail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),
+ (112,102,1,'rjacobs29@sample.net',1,0,0,0,NULL,NULL,NULL,NULL),
+ (113,102,1,'rayj@lol.biz',0,0,0,0,NULL,NULL,NULL,NULL),
+ (114,150,1,'kandacec@example.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
+ (115,150,1,'kcruz@lol.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),
+ (116,143,1,'jameson-cruzj39@infomail.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (117,143,1,'juliannjameson-cruz11@testmail.com',0,0,0,0,NULL,NULL,NULL,NULL),
+ (118,122,1,'scottj77@infomail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
+ (119,122,1,'scottjameson-cruz@airmail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),
+ (120,156,1,'junkocruz49@spamalot.info',1,0,0,0,NULL,NULL,NULL,NULL),
+ (121,156,1,'junkoc@sample.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),
+ (122,58,1,'cruz.erik47@airmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (123,57,1,'yadavb@mymail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
+ (124,57,1,'yadav.k.barry@testmail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),
+ (125,107,1,'yadavc@testing.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),
+ (126,107,1,'yadav.j.carlos@fakemail.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (127,64,1,'tl.barkley@lol.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (128,123,1,'by.wagner-barkley@infomail.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (129,96,1,'bwagner-barkley@lol.co.in',1,0,0,0,NULL,NULL,NULL,NULL),
+ (130,96,1,'wagner-barkley.bob@infomail.info',0,0,0,0,NULL,NULL,NULL,NULL),
+ (131,132,1,'alland@mymail.info',1,0,0,0,NULL,NULL,NULL,NULL),
+ (132,104,1,'cruzb@fishmail.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (133,104,1,'cruz.barry25@sample.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),
+ (134,152,1,'bryonc@testing.net',1,0,0,0,NULL,NULL,NULL,NULL),
+ (135,155,1,'bdimitrov85@airmail.info',1,0,0,0,NULL,NULL,NULL,NULL),
+ (136,155,1,'dimitrov.bob@airmail.com',0,0,0,0,NULL,NULL,NULL,NULL),
+ (137,40,1,'adams-dimitrovk@spamalot.net',1,0,0,0,NULL,NULL,NULL,NULL),
+ (138,40,1,'adams-dimitrov.kiara@testing.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),
+ (139,193,1,'lincoln@infomail.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (140,179,1,'rebekahchowski@testing.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (141,179,1,'rebekahchowski9@testing.net',0,0,0,0,NULL,NULL,NULL,NULL),
+ (142,33,1,'ej.chowski@fishmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
+ (143,45,1,'bernadette@lol.biz',1,0,0,0,NULL,NULL,NULL,NULL),
+ (144,9,1,'deforestt@example.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),
+ (145,106,1,'deforestt@sample.com',1,0,0,0,NULL,NULL,NULL,NULL),
+ (146,106,1,'deforestt92@airmail.com',0,0,0,0,NULL,NULL,NULL,NULL),
+ (147,46,3,'service@sdartsservices.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (148,77,2,'cc.jacobs97@sdartsservices.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (149,67,3,'contact@kentuckyactionsolutions.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (150,90,2,'patel-deforest.damaris@kentuckyactionsolutions.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (151,19,3,'service@californiaeducationschool.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (152,113,2,'daz.sonny@californiaeducationschool.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (153,180,3,'sales@communityassociation.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (154,120,3,'info@laredosystems.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (155,96,2,'bobw@laredosystems.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (156,190,3,'sales@leopolisculturepartners.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (157,177,2,'nicolewilson@leopolisculturepartners.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (158,25,3,'feedback@brookfieldfoodschool.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (159,32,3,'service@texasschool.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (160,129,3,'service@coloradoacademy.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (161,61,2,'robertss@coloradoacademy.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (162,201,3,'contact@ndagriculturesystems.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (163,37,3,'feedback@pennsylvaniadevelopmentservices.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (164,107,2,'yadavc@pennsylvaniadevelopmentservices.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (165,51,3,'feedback@nmfamilytrust.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (166,84,2,'alidabarkley@nmfamilytrust.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (167,8,3,'info@localpeace.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (168,60,2,'li.bachman14@localpeace.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (169,146,3,'sales@tcmusicalliance.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (170,88,2,'princessj@tcmusicalliance.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (171,163,3,'feedback@illinoismusicsolutions.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (172,185,2,'zopea@illinoismusicsolutions.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (173,178,3,'contact@gordonpoetrypartners.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (174,44,2,'dimitrov.megan@gordonpoetrypartners.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (175,111,3,'feedback@mississippipartners.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (176,41,3,'info@buffalosoftware.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (177,189,2,'carlosdimitrov@buffalosoftware.org',1,0,0,0,NULL,NULL,NULL,NULL),
+ (178,NULL,1,'development@example.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (179,NULL,1,'tournaments@example.org',0,0,0,0,NULL,NULL,NULL,NULL),
+ (180,NULL,1,'celebration@example.org',0,0,0,0,NULL,NULL,NULL,NULL);
 /*!40000 ALTER TABLE `civicrm_email` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -3154,161 +3151,161 @@ INSERT INTO `civicrm_entity_financial_trxn` (`id`, `entity_table`, `entity_id`,
  (28,'civicrm_financial_item',14,14,100.00),
  (29,'civicrm_contribution',16,15,100.00),
  (30,'civicrm_financial_item',15,15,100.00),
- (31,'civicrm_contribution',20,16,100.00),
+ (31,'civicrm_contribution',18,16,100.00),
  (32,'civicrm_financial_item',16,16,100.00),
- (33,'civicrm_contribution',22,17,100.00),
+ (33,'civicrm_contribution',20,17,100.00),
  (34,'civicrm_financial_item',17,17,100.00),
- (35,'civicrm_contribution',23,18,100.00),
+ (35,'civicrm_contribution',22,18,100.00),
  (36,'civicrm_financial_item',18,18,100.00),
- (37,'civicrm_contribution',26,19,100.00),
+ (37,'civicrm_contribution',23,19,100.00),
  (38,'civicrm_financial_item',19,19,100.00),
- (39,'civicrm_contribution',30,20,100.00),
+ (39,'civicrm_contribution',26,20,100.00),
  (40,'civicrm_financial_item',20,20,100.00),
- (41,'civicrm_contribution',32,21,100.00),
+ (41,'civicrm_contribution',28,21,100.00),
  (42,'civicrm_financial_item',21,21,100.00),
- (43,'civicrm_contribution',34,22,100.00),
+ (43,'civicrm_contribution',30,22,100.00),
  (44,'civicrm_financial_item',22,22,100.00),
- (45,'civicrm_contribution',36,23,100.00),
+ (45,'civicrm_contribution',32,23,100.00),
  (46,'civicrm_financial_item',23,23,100.00),
- (47,'civicrm_contribution',38,24,100.00),
+ (47,'civicrm_contribution',33,24,100.00),
  (48,'civicrm_financial_item',24,24,100.00),
- (49,'civicrm_contribution',40,25,100.00),
+ (49,'civicrm_contribution',34,25,100.00),
  (50,'civicrm_financial_item',25,25,100.00),
- (51,'civicrm_contribution',42,26,100.00),
+ (51,'civicrm_contribution',36,26,100.00),
  (52,'civicrm_financial_item',26,26,100.00),
- (53,'civicrm_contribution',15,27,50.00),
- (54,'civicrm_financial_item',27,27,50.00),
- (55,'civicrm_contribution',17,28,50.00),
- (56,'civicrm_financial_item',28,28,50.00),
- (57,'civicrm_contribution',18,29,50.00),
- (58,'civicrm_financial_item',29,29,50.00),
- (59,'civicrm_contribution',19,30,50.00),
+ (53,'civicrm_contribution',40,27,100.00),
+ (54,'civicrm_financial_item',27,27,100.00),
+ (55,'civicrm_contribution',42,28,100.00),
+ (56,'civicrm_financial_item',28,28,100.00),
+ (57,'civicrm_contribution',43,29,100.00),
+ (58,'civicrm_financial_item',29,29,100.00),
+ (59,'civicrm_contribution',15,30,50.00),
  (60,'civicrm_financial_item',30,30,50.00),
- (61,'civicrm_contribution',21,31,50.00),
+ (61,'civicrm_contribution',17,31,50.00),
  (62,'civicrm_financial_item',31,31,50.00),
- (63,'civicrm_contribution',25,32,50.00),
+ (63,'civicrm_contribution',19,32,50.00),
  (64,'civicrm_financial_item',32,32,50.00),
- (65,'civicrm_contribution',27,33,50.00),
+ (65,'civicrm_contribution',21,33,50.00),
  (66,'civicrm_financial_item',33,33,50.00),
- (67,'civicrm_contribution',28,34,50.00),
+ (67,'civicrm_contribution',25,34,50.00),
  (68,'civicrm_financial_item',34,34,50.00),
- (69,'civicrm_contribution',29,35,50.00),
+ (69,'civicrm_contribution',27,35,50.00),
  (70,'civicrm_financial_item',35,35,50.00),
- (71,'civicrm_contribution',31,36,50.00),
+ (71,'civicrm_contribution',29,36,50.00),
  (72,'civicrm_financial_item',36,36,50.00),
- (73,'civicrm_contribution',33,37,50.00),
+ (73,'civicrm_contribution',31,37,50.00),
  (74,'civicrm_financial_item',37,37,50.00),
  (75,'civicrm_contribution',37,38,50.00),
  (76,'civicrm_financial_item',38,38,50.00),
- (77,'civicrm_contribution',39,39,50.00),
+ (77,'civicrm_contribution',38,39,50.00),
  (78,'civicrm_financial_item',39,39,50.00),
- (79,'civicrm_contribution',41,40,50.00),
+ (79,'civicrm_contribution',39,40,50.00),
  (80,'civicrm_financial_item',40,40,50.00),
- (81,'civicrm_contribution',43,41,50.00),
+ (81,'civicrm_contribution',41,41,50.00),
  (82,'civicrm_financial_item',41,41,50.00),
  (83,'civicrm_contribution',24,42,1200.00),
  (84,'civicrm_financial_item',42,42,1200.00),
  (85,'civicrm_contribution',35,43,1200.00),
  (86,'civicrm_financial_item',43,43,1200.00),
- (87,'civicrm_contribution',72,44,50.00),
+ (87,'civicrm_contribution',46,44,50.00),
  (88,'civicrm_financial_item',44,44,50.00),
- (89,'civicrm_contribution',67,45,50.00),
+ (89,'civicrm_contribution',49,45,50.00),
  (90,'civicrm_financial_item',45,45,50.00),
- (91,'civicrm_contribution',93,46,50.00),
+ (91,'civicrm_contribution',52,46,50.00),
  (92,'civicrm_financial_item',46,46,50.00),
- (93,'civicrm_contribution',59,47,50.00),
+ (93,'civicrm_contribution',55,47,50.00),
  (94,'civicrm_financial_item',47,47,50.00),
- (95,'civicrm_contribution',88,48,50.00),
+ (95,'civicrm_contribution',58,48,50.00),
  (96,'civicrm_financial_item',48,48,50.00),
- (97,'civicrm_contribution',76,49,50.00),
+ (97,'civicrm_contribution',61,49,50.00),
  (98,'civicrm_financial_item',49,49,50.00),
- (99,'civicrm_contribution',47,50,50.00),
+ (99,'civicrm_contribution',64,50,50.00),
  (100,'civicrm_financial_item',50,50,50.00),
- (101,'civicrm_contribution',57,51,50.00),
+ (101,'civicrm_contribution',67,51,50.00),
  (102,'civicrm_financial_item',51,51,50.00),
- (103,'civicrm_contribution',54,52,50.00),
+ (103,'civicrm_contribution',71,52,50.00),
  (104,'civicrm_financial_item',52,52,50.00),
- (105,'civicrm_contribution',63,53,50.00),
+ (105,'civicrm_contribution',74,53,50.00),
  (106,'civicrm_financial_item',53,53,50.00),
- (107,'civicrm_contribution',50,54,50.00),
+ (107,'civicrm_contribution',77,54,50.00),
  (108,'civicrm_financial_item',54,54,50.00),
- (109,'civicrm_contribution',77,55,50.00),
+ (109,'civicrm_contribution',80,55,50.00),
  (110,'civicrm_financial_item',55,55,50.00),
- (111,'civicrm_contribution',56,56,50.00),
+ (111,'civicrm_contribution',83,56,50.00),
  (112,'civicrm_financial_item',56,56,50.00),
- (113,'civicrm_contribution',52,57,50.00),
+ (113,'civicrm_contribution',86,57,50.00),
  (114,'civicrm_financial_item',57,57,50.00),
- (115,'civicrm_contribution',83,58,50.00),
+ (115,'civicrm_contribution',89,58,50.00),
  (116,'civicrm_financial_item',58,58,50.00),
- (117,'civicrm_contribution',71,59,50.00),
+ (117,'civicrm_contribution',92,59,50.00),
  (118,'civicrm_financial_item',59,59,50.00),
- (119,'civicrm_contribution',94,60,800.00),
+ (119,'civicrm_contribution',47,60,800.00),
  (120,'civicrm_financial_item',60,60,800.00),
- (121,'civicrm_contribution',49,61,800.00),
+ (121,'civicrm_contribution',50,61,800.00),
  (122,'civicrm_financial_item',61,61,800.00),
- (123,'civicrm_contribution',79,62,800.00),
+ (123,'civicrm_contribution',53,62,800.00),
  (124,'civicrm_financial_item',62,62,800.00),
- (125,'civicrm_contribution',81,63,800.00),
+ (125,'civicrm_contribution',56,63,800.00),
  (126,'civicrm_financial_item',63,63,800.00),
- (127,'civicrm_contribution',64,64,800.00),
+ (127,'civicrm_contribution',59,64,800.00),
  (128,'civicrm_financial_item',64,64,800.00),
- (129,'civicrm_contribution',60,65,800.00),
+ (129,'civicrm_contribution',62,65,800.00),
  (130,'civicrm_financial_item',65,65,800.00),
- (131,'civicrm_contribution',58,66,800.00),
+ (131,'civicrm_contribution',65,66,800.00),
  (132,'civicrm_financial_item',66,66,800.00),
- (133,'civicrm_contribution',45,67,800.00),
+ (133,'civicrm_contribution',68,67,800.00),
  (134,'civicrm_financial_item',67,67,800.00),
- (135,'civicrm_contribution',66,68,800.00),
+ (135,'civicrm_contribution',69,68,800.00),
  (136,'civicrm_financial_item',68,68,800.00),
- (137,'civicrm_contribution',84,69,800.00),
+ (137,'civicrm_contribution',72,69,800.00),
  (138,'civicrm_financial_item',69,69,800.00),
- (139,'civicrm_contribution',62,70,800.00),
+ (139,'civicrm_contribution',75,70,800.00),
  (140,'civicrm_financial_item',70,70,800.00),
  (141,'civicrm_contribution',78,71,800.00),
  (142,'civicrm_financial_item',71,71,800.00),
- (143,'civicrm_contribution',80,72,800.00),
+ (143,'civicrm_contribution',81,72,800.00),
  (144,'civicrm_financial_item',72,72,800.00),
- (145,'civicrm_contribution',73,73,800.00),
+ (145,'civicrm_contribution',84,73,800.00),
  (146,'civicrm_financial_item',73,73,800.00),
- (147,'civicrm_contribution',89,74,800.00),
+ (147,'civicrm_contribution',87,74,800.00),
  (148,'civicrm_financial_item',74,74,800.00),
- (149,'civicrm_contribution',74,75,800.00),
+ (149,'civicrm_contribution',90,75,800.00),
  (150,'civicrm_financial_item',75,75,800.00),
- (151,'civicrm_contribution',68,76,800.00),
+ (151,'civicrm_contribution',93,76,800.00),
  (152,'civicrm_financial_item',76,76,800.00),
- (153,'civicrm_contribution',48,77,800.00),
+ (153,'civicrm_contribution',94,77,800.00),
  (154,'civicrm_financial_item',77,77,800.00),
- (155,'civicrm_contribution',70,78,50.00),
+ (155,'civicrm_contribution',45,78,50.00),
  (156,'civicrm_financial_item',78,78,50.00),
- (157,'civicrm_contribution',61,79,50.00),
+ (157,'civicrm_contribution',48,79,50.00),
  (158,'civicrm_financial_item',79,79,50.00),
- (159,'civicrm_contribution',55,80,50.00),
+ (159,'civicrm_contribution',51,80,50.00),
  (160,'civicrm_financial_item',80,80,50.00),
- (161,'civicrm_contribution',87,81,50.00),
+ (161,'civicrm_contribution',54,81,50.00),
  (162,'civicrm_financial_item',81,81,50.00),
- (163,'civicrm_contribution',90,82,50.00),
+ (163,'civicrm_contribution',57,82,50.00),
  (164,'civicrm_financial_item',82,82,50.00),
- (165,'civicrm_contribution',53,83,50.00),
+ (165,'civicrm_contribution',60,83,50.00),
  (166,'civicrm_financial_item',83,83,50.00),
- (167,'civicrm_contribution',91,84,50.00),
+ (167,'civicrm_contribution',63,84,50.00),
  (168,'civicrm_financial_item',84,84,50.00),
- (169,'civicrm_contribution',46,85,50.00),
+ (169,'civicrm_contribution',66,85,50.00),
  (170,'civicrm_financial_item',85,85,50.00),
- (171,'civicrm_contribution',69,86,50.00),
+ (171,'civicrm_contribution',70,86,50.00),
  (172,'civicrm_financial_item',86,86,50.00),
- (173,'civicrm_contribution',82,87,50.00),
+ (173,'civicrm_contribution',73,87,50.00),
  (174,'civicrm_financial_item',87,87,50.00),
- (175,'civicrm_contribution',86,88,50.00),
+ (175,'civicrm_contribution',76,88,50.00),
  (176,'civicrm_financial_item',88,88,50.00),
- (177,'civicrm_contribution',85,89,50.00),
+ (177,'civicrm_contribution',79,89,50.00),
  (178,'civicrm_financial_item',89,89,50.00),
- (179,'civicrm_contribution',51,90,50.00),
+ (179,'civicrm_contribution',82,90,50.00),
  (180,'civicrm_financial_item',90,90,50.00),
- (181,'civicrm_contribution',92,91,50.00),
+ (181,'civicrm_contribution',85,91,50.00),
  (182,'civicrm_financial_item',91,91,50.00),
- (183,'civicrm_contribution',65,92,50.00),
+ (183,'civicrm_contribution',88,92,50.00),
  (184,'civicrm_financial_item',92,92,50.00),
- (185,'civicrm_contribution',75,93,50.00),
+ (185,'civicrm_contribution',91,93,50.00),
  (186,'civicrm_financial_item',93,93,50.00);
 /*!40000 ALTER TABLE `civicrm_entity_financial_trxn` ENABLE KEYS */;
 UNLOCK TABLES;
@@ -3320,117 +3317,120 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_entity_tag` WRITE;
 /*!40000 ALTER TABLE `civicrm_entity_tag` DISABLE KEYS */;
 INSERT INTO `civicrm_entity_tag` (`id`, `entity_table`, `entity_id`, `tag_id`) VALUES
- (44,'civicrm_contact',2,5),
- (61,'civicrm_contact',3,4),
- (62,'civicrm_contact',3,5),
- (6,'civicrm_contact',4,2),
- (20,'civicrm_contact',5,5),
- (102,'civicrm_contact',8,4),
- (50,'civicrm_contact',10,4),
- (2,'civicrm_contact',13,2),
- (22,'civicrm_contact',16,4),
- (8,'civicrm_contact',19,3),
- (26,'civicrm_contact',20,4),
- (12,'civicrm_contact',21,4),
- (13,'civicrm_contact',21,5),
- (78,'civicrm_contact',30,4),
- (79,'civicrm_contact',30,5),
- (11,'civicrm_contact',31,5),
- (34,'civicrm_contact',34,4),
- (59,'civicrm_contact',35,5),
- (24,'civicrm_contact',37,5),
- (51,'civicrm_contact',38,5),
- (65,'civicrm_contact',40,4),
- (88,'civicrm_contact',43,4),
- (29,'civicrm_contact',44,4),
- (41,'civicrm_contact',48,4),
- (42,'civicrm_contact',48,5),
- (105,'civicrm_contact',52,4),
- (17,'civicrm_contact',53,4),
- (92,'civicrm_contact',56,4),
- (58,'civicrm_contact',58,5),
- (109,'civicrm_contact',66,4),
- (110,'civicrm_contact',66,5),
- (39,'civicrm_contact',67,5),
- (10,'civicrm_contact',69,3),
- (47,'civicrm_contact',71,5),
- (56,'civicrm_contact',75,4),
- (57,'civicrm_contact',75,5),
- (97,'civicrm_contact',76,4),
- (30,'civicrm_contact',78,4),
- (31,'civicrm_contact',78,5),
- (7,'civicrm_contact',79,3),
- (83,'civicrm_contact',80,5),
- (35,'civicrm_contact',83,5),
- (3,'civicrm_contact',87,1),
- (18,'civicrm_contact',89,4),
- (32,'civicrm_contact',90,4),
- (33,'civicrm_contact',90,5),
- (15,'civicrm_contact',93,4),
- (16,'civicrm_contact',93,5),
- (74,'civicrm_contact',95,4),
- (27,'civicrm_contact',98,5),
- (80,'civicrm_contact',99,4),
- (81,'civicrm_contact',99,5),
- (72,'civicrm_contact',102,4),
- (73,'civicrm_contact',102,5),
- (52,'civicrm_contact',103,4),
- (77,'civicrm_contact',104,5),
- (86,'civicrm_contact',105,4),
- (87,'civicrm_contact',105,5),
- (91,'civicrm_contact',106,5),
- (37,'civicrm_contact',107,5),
- (70,'civicrm_contact',111,4),
- (71,'civicrm_contact',111,5),
- (95,'civicrm_contact',112,5),
- (93,'civicrm_contact',114,4),
- (94,'civicrm_contact',114,5),
- (66,'civicrm_contact',118,5),
- (106,'civicrm_contact',119,4),
- (111,'civicrm_contact',121,4),
- (38,'civicrm_contact',122,4),
- (63,'civicrm_contact',123,4),
- (64,'civicrm_contact',123,5),
- (28,'civicrm_contact',125,5),
- (54,'civicrm_contact',127,5),
- (14,'civicrm_contact',128,5),
- (60,'civicrm_contact',130,5),
- (108,'civicrm_contact',131,5),
- (67,'civicrm_contact',132,4),
- (68,'civicrm_contact',132,5),
- (98,'civicrm_contact',133,5),
- (107,'civicrm_contact',139,5),
- (89,'civicrm_contact',141,4),
- (90,'civicrm_contact',141,5),
- (69,'civicrm_contact',142,5),
- (84,'civicrm_contact',148,4),
- (43,'civicrm_contact',149,5),
- (100,'civicrm_contact',151,5),
- (36,'civicrm_contact',154,4),
- (1,'civicrm_contact',157,2),
- (99,'civicrm_contact',158,4),
- (101,'civicrm_contact',164,4),
- (103,'civicrm_contact',165,4),
- (104,'civicrm_contact',165,5),
- (5,'civicrm_contact',168,1),
- (96,'civicrm_contact',170,4),
- (82,'civicrm_contact',175,5),
- (55,'civicrm_contact',176,5),
- (25,'civicrm_contact',179,4),
- (9,'civicrm_contact',181,1),
- (4,'civicrm_contact',182,2),
- (75,'civicrm_contact',183,4),
- (76,'civicrm_contact',183,5),
- (53,'civicrm_contact',184,4),
- (40,'civicrm_contact',185,5),
- (45,'civicrm_contact',186,4),
- (46,'civicrm_contact',186,5),
- (48,'civicrm_contact',189,4),
- (49,'civicrm_contact',189,5),
- (21,'civicrm_contact',190,5),
- (19,'civicrm_contact',191,5),
- (85,'civicrm_contact',193,4),
- (23,'civicrm_contact',199,5);
+ (35,'civicrm_contact',2,5),
+ (60,'civicrm_contact',3,4),
+ (61,'civicrm_contact',3,5),
+ (63,'civicrm_contact',4,5),
+ (7,'civicrm_contact',8,1),
+ (112,'civicrm_contact',9,4),
+ (113,'civicrm_contact',9,5),
+ (78,'civicrm_contact',13,4),
+ (69,'civicrm_contact',14,4),
+ (73,'civicrm_contact',16,5),
+ (96,'civicrm_contact',17,5),
+ (36,'civicrm_contact',18,4),
+ (37,'civicrm_contact',18,5),
+ (2,'civicrm_contact',19,2),
+ (39,'civicrm_contact',20,4),
+ (90,'civicrm_contact',21,4),
+ (91,'civicrm_contact',21,5),
+ (4,'civicrm_contact',25,1),
+ (83,'civicrm_contact',26,5),
+ (13,'civicrm_contact',30,4),
+ (14,'civicrm_contact',30,5),
+ (110,'civicrm_contact',33,4),
+ (111,'civicrm_contact',33,5),
+ (98,'civicrm_contact',34,5),
+ (17,'civicrm_contact',35,5),
+ (6,'civicrm_contact',37,3),
+ (85,'civicrm_contact',38,5),
+ (10,'civicrm_contact',41,1),
+ (108,'civicrm_contact',44,5),
+ (1,'civicrm_contact',46,3),
+ (94,'civicrm_contact',52,5),
+ (81,'civicrm_contact',54,4),
+ (82,'civicrm_contact',54,5),
+ (32,'civicrm_contact',55,4),
+ (51,'civicrm_contact',56,5),
+ (66,'civicrm_contact',59,4),
+ (88,'civicrm_contact',61,4),
+ (50,'civicrm_contact',68,4),
+ (11,'civicrm_contact',72,4),
+ (12,'civicrm_contact',72,5),
+ (89,'civicrm_contact',73,5),
+ (92,'civicrm_contact',79,5),
+ (19,'civicrm_contact',80,5),
+ (18,'civicrm_contact',85,4),
+ (97,'civicrm_contact',86,4),
+ (25,'civicrm_contact',87,4),
+ (26,'civicrm_contact',87,5),
+ (59,'civicrm_contact',88,5),
+ (72,'civicrm_contact',89,4),
+ (103,'civicrm_contact',90,4),
+ (104,'civicrm_contact',90,5),
+ (30,'civicrm_contact',93,4),
+ (31,'civicrm_contact',93,5),
+ (52,'civicrm_contact',94,4),
+ (24,'civicrm_contact',95,5),
+ (76,'civicrm_contact',97,5),
+ (16,'civicrm_contact',100,5),
+ (105,'civicrm_contact',104,5),
+ (114,'civicrm_contact',106,4),
+ (67,'civicrm_contact',108,4),
+ (68,'civicrm_contact',108,5),
+ (58,'civicrm_contact',113,4),
+ (28,'civicrm_contact',114,4),
+ (29,'civicrm_contact',114,5),
+ (40,'civicrm_contact',115,5),
+ (38,'civicrm_contact',118,5),
+ (3,'civicrm_contact',120,3),
+ (99,'civicrm_contact',123,4),
+ (100,'civicrm_contact',123,5),
+ (43,'civicrm_contact',127,4),
+ (5,'civicrm_contact',129,2),
+ (65,'civicrm_contact',130,4),
+ (15,'civicrm_contact',131,4),
+ (49,'civicrm_contact',133,4),
+ (70,'civicrm_contact',135,4),
+ (71,'civicrm_contact',135,5),
+ (47,'civicrm_contact',141,4),
+ (48,'civicrm_contact',141,5),
+ (93,'civicrm_contact',143,5),
+ (33,'civicrm_contact',144,4),
+ (34,'civicrm_contact',144,5),
+ (22,'civicrm_contact',145,5),
+ (74,'civicrm_contact',149,5),
+ (106,'civicrm_contact',152,5),
+ (55,'civicrm_contact',154,5),
+ (107,'civicrm_contact',155,5),
+ (23,'civicrm_contact',157,4),
+ (77,'civicrm_contact',158,4),
+ (101,'civicrm_contact',159,4),
+ (102,'civicrm_contact',159,5),
+ (8,'civicrm_contact',163,3),
+ (84,'civicrm_contact',166,5),
+ (64,'civicrm_contact',167,4),
+ (20,'civicrm_contact',173,4),
+ (75,'civicrm_contact',175,5),
+ (27,'civicrm_contact',176,5),
+ (41,'civicrm_contact',177,4),
+ (42,'civicrm_contact',177,5),
+ (9,'civicrm_contact',178,1),
+ (79,'civicrm_contact',183,4),
+ (80,'civicrm_contact',183,5),
+ (44,'civicrm_contact',184,5),
+ (56,'civicrm_contact',186,4),
+ (57,'civicrm_contact',186,5),
+ (95,'civicrm_contact',188,4),
+ (45,'civicrm_contact',189,4),
+ (46,'civicrm_contact',189,5),
+ (21,'civicrm_contact',191,4),
+ (109,'civicrm_contact',193,4),
+ (62,'civicrm_contact',194,5),
+ (86,'civicrm_contact',195,4),
+ (87,'civicrm_contact',195,5),
+ (53,'civicrm_contact',198,4),
+ (54,'civicrm_contact',198,5);
 /*!40000 ALTER TABLE `civicrm_entity_tag` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -3441,9 +3441,9 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_event` WRITE;
 /*!40000 ALTER TABLE `civicrm_event` DISABLE KEYS */;
 INSERT INTO `civicrm_event` (`id`, `title`, `summary`, `description`, `event_type_id`, `participant_listing_id`, `is_public`, `start_date`, `end_date`, `is_online_registration`, `registration_link_text`, `registration_start_date`, `registration_end_date`, `max_participants`, `event_full_text`, `is_monetary`, `financial_type_id`, `payment_processor`, `is_map`, `is_active`, `fee_label`, `is_show_location`, `loc_block_id`, `default_role_id`, `intro_text`, `footer_text`, `confirm_title`, `confirm_text`, `confirm_footer_text`, `is_email_confirm`, `confirm_email_text`, `confirm_from_name`, `confirm_from_email`, `cc_confirm`, `bcc_confirm`, `default_fee_id`, `default_discount_fee_id`, `thankyou_title`, `thankyou_text`, `thankyou_footer_text`, `is_pay_later`, `pay_later_text`, `pay_later_receipt`, `is_partial_payment`, `initial_amount_label`, `initial_amount_help_text`, `min_initial_amount`, `is_multiple_registrations`, `max_additional_participants`, `allow_same_participant_emails`, `has_waitlist`, `requires_approval`, `expiration_time`, `allow_selfcancelxfer`, `selfcancelxfer_time`, `waitlist_text`, `approval_req_text`, `is_template`, `template_title`, `created_id`, `created_date`, `currency`, `campaign_id`, `is_share`, `is_confirm_enabled`, `parent_event_id`, `slot_label_id`, `dedupe_rule_group_id`, `is_billing_required`) VALUES
- (1,'Fall Fundraiser Dinner','Kick up your heels at our Fall Fundraiser Dinner/Dance at Glen Echo Park! Come by yourself or bring a partner, friend or the entire family!','This event benefits our teen programs. Admission includes a full 3 course meal and wine or soft drinks. Grab your dancing shoes, bring the kids and come join the party!',3,1,1,'2021-12-11 17:00:00','2021-12-13 17:00:00',1,'Register Now',NULL,NULL,100,'Sorry! The Fall Fundraiser Dinner is full. Please call Jane at 204 222-1000 ext 33 if you want to be added to the waiting list.',1,4,NULL,1,1,'Dinner Contribution',1,1,1,'Fill in the information below to join as at this wonderful dinner event.',NULL,'Confirm Your Registration Information','Review the information below carefully.',NULL,1,'Contact the Development Department if you need to make any changes to your registration.','Fundraising Dept.','development@example.org',NULL,NULL,NULL,NULL,'Thanks for Registering!','<p>Thank you for your support. Your contribution will help us build even better tools.</p><p>Please tell your friends and colleagues about this wonderful event.</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',1,'I will send payment by check','Send a check payable to Our Organization within 3 business days to hold your reservation. Checks should be sent to: 100 Main St., Suite 3, San Francisco CA 94110',0,NULL,NULL,NULL,1,0,0,NULL,NULL,NULL,0,0,NULL,NULL,0,NULL,NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0),
- (2,'Summer Solstice Festival Day Concert','Festival Day is coming! Join us and help support your parks.','We will gather at noon, learn a song all together,  and then join in a joyous procession to the pavilion. We will be one of many groups performing at this wonderful concert which benefits our city parks.',5,1,1,'2021-06-10 12:00:00','2021-06-10 17:00:00',1,'Register Now',NULL,NULL,50,'We have all the singers we can handle. Come to the pavilion anyway and join in from the audience.',1,2,NULL,NULL,1,'Festival Fee',1,2,1,'Complete the form below and click Continue to register online for the festival. Or you can register by calling us at 204 222-1000 ext 22.','','Confirm Your Registration Information','','',1,'This email confirms your registration. If you have questions or need to change your registration - please do not hesitate to call us.','Event Dept.','events@example.org','',NULL,NULL,NULL,'Thanks for Your Joining In!','<p>Thank you for your support. Your participation will help build new parks.</p><p>Please tell your friends and colleagues about the concert.</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',0,NULL,NULL,0,NULL,NULL,NULL,1,0,0,NULL,NULL,NULL,0,0,NULL,NULL,0,NULL,NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0),
- (3,'Rain-forest Cup Youth Soccer Tournament','Sign up your team to participate in this fun tournament which benefits several Rain-forest protection groups in the Amazon basin.','This is a FYSA Sanctioned Tournament, which is open to all USSF/FIFA affiliated organizations for boys and girls in age groups: U9-U10 (6v6), U11-U12 (8v8), and U13-U17 (Full Sided).',3,1,1,'2022-01-11 07:00:00','2022-01-14 17:00:00',1,'Register Now',NULL,NULL,500,'Sorry! All available team slots for this tournament have been filled. Contact Jill Futbol for information about the waiting list and next years event.',1,4,NULL,NULL,1,'Tournament Fees',1,3,1,'Complete the form below to register your team for this year\'s tournament.','<em>A Soccer Youth Event</em>','Review and Confirm Your Registration Information','','<em>A Soccer Youth Event</em>',1,'Contact our Tournament Director for eligibility details.','Tournament Director','tournament@example.org','',NULL,NULL,NULL,'Thanks for Your Support!','<p>Thank you for your support. Your participation will help save thousands of acres of rainforest.</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',0,NULL,NULL,0,NULL,NULL,NULL,0,0,0,NULL,NULL,NULL,0,0,NULL,NULL,0,NULL,NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0),
+ (1,'Fall Fundraiser Dinner','Kick up your heels at our Fall Fundraiser Dinner/Dance at Glen Echo Park! Come by yourself or bring a partner, friend or the entire family!','This event benefits our teen programs. Admission includes a full 3 course meal and wine or soft drinks. Grab your dancing shoes, bring the kids and come join the party!',3,1,1,'2022-01-02 17:00:00','2022-01-04 17:00:00',1,'Register Now',NULL,NULL,100,'Sorry! The Fall Fundraiser Dinner is full. Please call Jane at 204 222-1000 ext 33 if you want to be added to the waiting list.',1,4,NULL,1,1,'Dinner Contribution',1,1,1,'Fill in the information below to join as at this wonderful dinner event.',NULL,'Confirm Your Registration Information','Review the information below carefully.',NULL,1,'Contact the Development Department if you need to make any changes to your registration.','Fundraising Dept.','development@example.org',NULL,NULL,NULL,NULL,'Thanks for Registering!','<p>Thank you for your support. Your contribution will help us build even better tools.</p><p>Please tell your friends and colleagues about this wonderful event.</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',1,'I will send payment by check','Send a check payable to Our Organization within 3 business days to hold your reservation. Checks should be sent to: 100 Main St., Suite 3, San Francisco CA 94110',0,NULL,NULL,NULL,1,0,0,NULL,NULL,NULL,0,0,NULL,NULL,0,NULL,NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0),
+ (2,'Summer Solstice Festival Day Concert','Festival Day is coming! Join us and help support your parks.','We will gather at noon, learn a song all together,  and then join in a joyous procession to the pavilion. We will be one of many groups performing at this wonderful concert which benefits our city parks.',5,1,1,'2021-07-01 12:00:00','2021-07-01 17:00:00',1,'Register Now',NULL,NULL,50,'We have all the singers we can handle. Come to the pavilion anyway and join in from the audience.',1,2,NULL,NULL,1,'Festival Fee',1,2,1,'Complete the form below and click Continue to register online for the festival. Or you can register by calling us at 204 222-1000 ext 22.','','Confirm Your Registration Information','','',1,'This email confirms your registration. If you have questions or need to change your registration - please do not hesitate to call us.','Event Dept.','events@example.org','',NULL,NULL,NULL,'Thanks for Your Joining In!','<p>Thank you for your support. Your participation will help build new parks.</p><p>Please tell your friends and colleagues about the concert.</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',0,NULL,NULL,0,NULL,NULL,NULL,1,0,0,NULL,NULL,NULL,0,0,NULL,NULL,0,NULL,NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0),
+ (3,'Rain-forest Cup Youth Soccer Tournament','Sign up your team to participate in this fun tournament which benefits several Rain-forest protection groups in the Amazon basin.','This is a FYSA Sanctioned Tournament, which is open to all USSF/FIFA affiliated organizations for boys and girls in age groups: U9-U10 (6v6), U11-U12 (8v8), and U13-U17 (Full Sided).',3,1,1,'2022-02-02 07:00:00','2022-02-05 17:00:00',1,'Register Now',NULL,NULL,500,'Sorry! All available team slots for this tournament have been filled. Contact Jill Futbol for information about the waiting list and next years event.',1,4,NULL,NULL,1,'Tournament Fees',1,3,1,'Complete the form below to register your team for this year\'s tournament.','<em>A Soccer Youth Event</em>','Review and Confirm Your Registration Information','','<em>A Soccer Youth Event</em>',1,'Contact our Tournament Director for eligibility details.','Tournament Director','tournament@example.org','',NULL,NULL,NULL,'Thanks for Your Support!','<p>Thank you for your support. Your participation will help save thousands of acres of rainforest.</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',0,NULL,NULL,0,NULL,NULL,NULL,0,0,0,NULL,NULL,NULL,0,0,NULL,NULL,0,NULL,NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0),
  (4,NULL,NULL,NULL,4,1,1,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,1,NULL,1,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,0,0,NULL,NULL,1,'Free Meeting without Online Registration',NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0),
  (5,NULL,NULL,NULL,4,1,1,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,1,NULL,1,NULL,1,NULL,NULL,'Confirm Your Registration Information',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Thanks for Registering!',NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,0,0,NULL,NULL,1,'Free Meeting with Online Registration',NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0),
  (6,NULL,NULL,NULL,1,1,1,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,1,4,NULL,0,1,'Conference Fee',1,NULL,1,NULL,NULL,'Confirm Your Registration Information',NULL,NULL,1,NULL,'Event Template Dept.','event_templates@example.org',NULL,NULL,NULL,NULL,'Thanks for Registering!',NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,0,0,NULL,NULL,1,'Paid Conference with Online Registration',NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0);
@@ -3480,7 +3480,8 @@ INSERT INTO `civicrm_extension` (`id`, `type`, `full_name`, `name`, `label`, `fi
  (3,'module','eventcart','Event cart','Event cart','eventcart',NULL,1),
  (4,'module','financialacls','Financial ACLs','Financial ACLs','financialacls',NULL,1),
  (5,'module','contributioncancelactions','Contribution cancel actions','Contribution cancel actions','contributioncancelactions',NULL,1),
- (6,'module','recaptcha','reCAPTCHA','reCAPTCHA','recaptcha',NULL,1);
+ (6,'module','recaptcha','reCAPTCHA','reCAPTCHA','recaptcha',NULL,1),
+ (7,'module','ckeditor4','CKEditor4','CKEditor4','ckeditor4',NULL,1);
 /*!40000 ALTER TABLE `civicrm_extension` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -3524,99 +3525,99 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_financial_item` WRITE;
 /*!40000 ALTER TABLE `civicrm_financial_item` DISABLE KEYS */;
 INSERT INTO `civicrm_financial_item` (`id`, `created_date`, `transaction_date`, `contact_id`, `description`, `amount`, `currency`, `financial_account_id`, `status_id`, `entity_table`, `entity_id`) VALUES
- (1,'2021-06-11 00:47:12','2010-04-11 00:00:00',2,'Contribution Amount',125.00,'USD',1,1,'civicrm_line_item',1),
- (2,'2021-06-11 00:47:12','2010-03-21 00:00:00',4,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',2),
- (3,'2021-06-11 00:47:12','2010-04-29 00:00:00',6,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',3),
- (4,'2021-06-11 00:47:12','2010-04-11 00:00:00',8,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',4),
- (5,'2021-06-11 00:47:12','2010-04-15 00:00:00',16,'Contribution Amount',500.00,'USD',1,1,'civicrm_line_item',5),
- (6,'2021-06-11 00:47:12','2010-04-11 00:00:00',19,'Contribution Amount',175.00,'USD',1,1,'civicrm_line_item',6),
- (7,'2021-06-11 00:47:12','2010-03-27 00:00:00',82,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',7),
- (8,'2021-06-11 00:47:12','2010-03-08 00:00:00',92,'Contribution Amount',10.00,'USD',1,1,'civicrm_line_item',8),
- (9,'2021-06-11 00:47:12','2010-04-22 00:00:00',34,'Contribution Amount',250.00,'USD',1,1,'civicrm_line_item',9),
- (10,'2021-06-11 00:47:12','2009-07-01 11:53:50',71,'Contribution Amount',500.00,'USD',1,1,'civicrm_line_item',10),
- (11,'2021-06-11 00:47:12','2009-07-01 12:55:41',43,'Contribution Amount',200.00,'USD',1,1,'civicrm_line_item',11),
- (12,'2021-06-11 00:47:12','2009-10-01 11:53:50',32,'Contribution Amount',200.00,'USD',1,1,'civicrm_line_item',12),
- (13,'2021-06-11 00:47:12','2009-12-01 12:55:41',32,'Contribution Amount',200.00,'USD',1,1,'civicrm_line_item',13),
- (14,'2021-06-11 00:47:12','2021-06-10 20:47:11',15,'General',100.00,'USD',2,1,'civicrm_line_item',16),
- (15,'2021-06-11 00:47:12','2021-06-10 20:47:11',58,'General',100.00,'USD',2,1,'civicrm_line_item',17),
- (16,'2021-06-11 00:47:12','2021-06-10 20:47:11',5,'General',100.00,'USD',2,1,'civicrm_line_item',18),
- (17,'2021-06-11 00:47:12','2021-06-10 20:47:11',136,'General',100.00,'USD',2,1,'civicrm_line_item',19),
- (18,'2021-06-11 00:47:12','2021-06-10 20:47:11',191,'General',100.00,'USD',2,1,'civicrm_line_item',20),
- (19,'2021-06-11 00:47:12','2021-06-10 20:47:11',42,'General',100.00,'USD',2,1,'civicrm_line_item',21),
- (20,'2021-06-11 00:47:12','2021-06-10 20:47:11',7,'General',100.00,'USD',2,1,'civicrm_line_item',22),
- (21,'2021-06-11 00:47:12','2021-06-10 20:47:11',129,'General',100.00,'USD',2,1,'civicrm_line_item',23),
- (22,'2021-06-11 00:47:12','2021-06-10 20:47:11',131,'General',100.00,'USD',2,1,'civicrm_line_item',24),
- (23,'2021-06-11 00:47:12','2021-06-10 20:47:11',185,'General',100.00,'USD',2,1,'civicrm_line_item',25),
- (24,'2021-06-11 00:47:12','2021-06-10 20:47:11',33,'General',100.00,'USD',2,1,'civicrm_line_item',26),
- (25,'2021-06-11 00:47:12','2021-06-10 20:47:11',57,'General',100.00,'USD',2,1,'civicrm_line_item',27),
- (26,'2021-06-11 00:47:12','2021-06-10 20:47:11',196,'General',100.00,'USD',2,1,'civicrm_line_item',28),
- (27,'2021-06-11 00:47:12','2021-06-10 20:47:11',145,'Student',50.00,'USD',2,1,'civicrm_line_item',29),
- (28,'2021-06-11 00:47:12','2021-06-10 20:47:11',92,'Student',50.00,'USD',2,1,'civicrm_line_item',30),
- (29,'2021-06-11 00:47:12','2021-06-10 20:47:11',154,'Student',50.00,'USD',2,1,'civicrm_line_item',31),
- (30,'2021-06-11 00:47:12','2021-06-10 20:47:11',123,'Student',50.00,'USD',2,1,'civicrm_line_item',32),
- (31,'2021-06-11 00:47:12','2021-06-10 20:47:11',158,'Student',50.00,'USD',2,1,'civicrm_line_item',33),
- (32,'2021-06-11 00:47:12','2021-06-10 20:47:11',165,'Student',50.00,'USD',2,1,'civicrm_line_item',34),
- (33,'2021-06-11 00:47:12','2021-06-10 20:47:11',76,'Student',50.00,'USD',2,1,'civicrm_line_item',35),
- (34,'2021-06-11 00:47:12','2021-06-10 20:47:11',124,'Student',50.00,'USD',2,1,'civicrm_line_item',36),
- (35,'2021-06-11 00:47:12','2021-06-10 20:47:11',104,'Student',50.00,'USD',2,1,'civicrm_line_item',37),
- (36,'2021-06-11 00:47:12','2021-06-10 20:47:11',170,'Student',50.00,'USD',2,1,'civicrm_line_item',38),
- (37,'2021-06-11 00:47:12','2021-06-10 20:47:11',27,'Student',50.00,'USD',2,1,'civicrm_line_item',39),
- (38,'2021-06-11 00:47:12','2021-06-10 20:47:11',75,'Student',50.00,'USD',2,1,'civicrm_line_item',40),
- (39,'2021-06-11 00:47:12','2021-06-10 20:47:11',96,'Student',50.00,'USD',2,1,'civicrm_line_item',41),
- (40,'2021-06-11 00:47:12','2021-06-10 20:47:11',64,'Student',50.00,'USD',2,1,'civicrm_line_item',42),
- (41,'2021-06-11 00:47:12','2021-06-10 20:47:11',46,'Student',50.00,'USD',2,1,'civicrm_line_item',43),
- (42,'2021-06-11 00:47:12','2021-06-10 20:47:11',89,'Lifetime',1200.00,'USD',2,1,'civicrm_line_item',44),
- (43,'2021-06-11 00:47:12','2021-06-10 20:47:11',103,'Lifetime',1200.00,'USD',2,1,'civicrm_line_item',45),
- (44,'2021-06-11 00:47:12','2021-06-10 20:47:12',125,'Soprano',50.00,'USD',2,1,'civicrm_line_item',81),
- (45,'2021-06-11 00:47:12','2021-06-10 20:47:12',101,'Soprano',50.00,'USD',2,1,'civicrm_line_item',82),
- (46,'2021-06-11 00:47:12','2021-06-10 20:47:12',183,'Soprano',50.00,'USD',2,1,'civicrm_line_item',83),
- (47,'2021-06-11 00:47:12','2021-06-10 20:47:12',56,'Soprano',50.00,'USD',2,1,'civicrm_line_item',84),
- (48,'2021-06-11 00:47:12','2021-06-10 20:47:12',173,'Soprano',50.00,'USD',2,1,'civicrm_line_item',85),
- (49,'2021-06-11 00:47:12','2021-06-10 20:47:12',140,'Soprano',50.00,'USD',2,1,'civicrm_line_item',86),
- (50,'2021-06-11 00:47:12','2021-06-10 20:47:12',23,'Soprano',50.00,'USD',2,1,'civicrm_line_item',87),
- (51,'2021-06-11 00:47:12','2021-06-10 20:47:12',48,'Soprano',50.00,'USD',2,1,'civicrm_line_item',88),
- (52,'2021-06-11 00:47:12','2021-06-10 20:47:12',40,'Soprano',50.00,'USD',2,1,'civicrm_line_item',89),
- (53,'2021-06-11 00:47:12','2021-06-10 20:47:12',89,'Soprano',50.00,'USD',2,1,'civicrm_line_item',90),
- (54,'2021-06-11 00:47:12','2021-06-10 20:47:12',32,'Soprano',50.00,'USD',2,1,'civicrm_line_item',91),
- (55,'2021-06-11 00:47:12','2021-06-10 20:47:12',144,'Soprano',50.00,'USD',2,1,'civicrm_line_item',92),
- (56,'2021-06-11 00:47:12','2021-06-10 20:47:12',45,'Soprano',50.00,'USD',2,1,'civicrm_line_item',93),
- (57,'2021-06-11 00:47:12','2021-06-10 20:47:12',34,'Soprano',50.00,'USD',2,1,'civicrm_line_item',94),
- (58,'2021-06-11 00:47:12','2021-06-10 20:47:12',157,'Soprano',50.00,'USD',2,1,'civicrm_line_item',95),
- (59,'2021-06-11 00:47:12','2021-06-10 20:47:12',122,'Soprano',50.00,'USD',2,1,'civicrm_line_item',96),
- (60,'2021-06-11 00:47:12','2021-06-10 20:47:12',201,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',47),
- (61,'2021-06-11 00:47:12','2021-06-10 20:47:12',30,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',48),
- (62,'2021-06-11 00:47:12','2021-06-10 20:47:12',146,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',49),
- (63,'2021-06-11 00:47:12','2021-06-10 20:47:12',148,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',50),
- (64,'2021-06-11 00:47:12','2021-06-10 20:47:12',92,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',51),
- (65,'2021-06-11 00:47:12','2021-06-10 20:47:12',74,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',52),
- (66,'2021-06-11 00:47:12','2021-06-10 20:47:12',52,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',53),
- (67,'2021-06-11 00:47:12','2021-06-10 20:47:12',9,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',54),
- (68,'2021-06-11 00:47:12','2021-06-10 20:47:12',99,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',55),
- (69,'2021-06-11 00:47:12','2021-06-10 20:47:12',161,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',56),
- (70,'2021-06-11 00:47:12','2021-06-10 20:47:12',86,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',57),
- (71,'2021-06-11 00:47:12','2021-06-10 20:47:12',145,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',58),
- (72,'2021-06-11 00:47:12','2021-06-10 20:47:12',147,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',59),
- (73,'2021-06-11 00:47:12','2021-06-10 20:47:12',127,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',60),
- (74,'2021-06-11 00:47:12','2021-06-10 20:47:12',179,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',61),
- (75,'2021-06-11 00:47:12','2021-06-10 20:47:12',129,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',62),
- (76,'2021-06-11 00:47:12','2021-06-10 20:47:12',105,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',63),
- (77,'2021-06-11 00:47:12','2021-06-10 20:47:12',27,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',64),
- (78,'2021-06-11 00:47:12','2021-06-10 20:47:12',118,'Single',50.00,'USD',4,1,'civicrm_line_item',65),
- (79,'2021-06-11 00:47:12','2021-06-10 20:47:12',79,'Single',50.00,'USD',4,1,'civicrm_line_item',66),
- (80,'2021-06-11 00:47:12','2021-06-10 20:47:12',43,'Single',50.00,'USD',4,1,'civicrm_line_item',67),
- (81,'2021-06-11 00:47:12','2021-06-10 20:47:12',172,'Single',50.00,'USD',4,1,'civicrm_line_item',68),
- (82,'2021-06-11 00:47:12','2021-06-10 20:47:12',180,'Single',50.00,'USD',4,1,'civicrm_line_item',69),
- (83,'2021-06-11 00:47:12','2021-06-10 20:47:12',35,'Single',50.00,'USD',4,1,'civicrm_line_item',70),
- (84,'2021-06-11 00:47:12','2021-06-10 20:47:12',181,'Single',50.00,'USD',4,1,'civicrm_line_item',71),
- (85,'2021-06-11 00:47:12','2021-06-10 20:47:12',20,'Single',50.00,'USD',4,1,'civicrm_line_item',72),
- (86,'2021-06-11 00:47:12','2021-06-10 20:47:12',106,'Single',50.00,'USD',4,1,'civicrm_line_item',73),
- (87,'2021-06-11 00:47:12','2021-06-10 20:47:12',152,'Single',50.00,'USD',4,1,'civicrm_line_item',74),
- (88,'2021-06-11 00:47:12','2021-06-10 20:47:12',171,'Single',50.00,'USD',4,1,'civicrm_line_item',75),
- (89,'2021-06-11 00:47:12','2021-06-10 20:47:12',170,'Single',50.00,'USD',4,1,'civicrm_line_item',76),
- (90,'2021-06-11 00:47:12','2021-06-10 20:47:12',33,'Single',50.00,'USD',4,1,'civicrm_line_item',77),
- (91,'2021-06-11 00:47:12','2021-06-10 20:47:12',182,'Single',50.00,'USD',4,1,'civicrm_line_item',78),
- (92,'2021-06-11 00:47:12','2021-06-10 20:47:12',96,'Single',50.00,'USD',4,1,'civicrm_line_item',79),
- (93,'2021-06-11 00:47:12','2021-06-10 20:47:12',135,'Single',50.00,'USD',4,1,'civicrm_line_item',80);
+ (1,'2021-07-02 00:09:08','2010-04-11 00:00:00',2,'Contribution Amount',125.00,'USD',1,1,'civicrm_line_item',1),
+ (2,'2021-07-02 00:09:08','2010-03-21 00:00:00',4,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',2),
+ (3,'2021-07-02 00:09:08','2010-04-29 00:00:00',6,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',3),
+ (4,'2021-07-02 00:09:08','2010-04-11 00:00:00',8,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',4),
+ (5,'2021-07-02 00:09:08','2010-04-15 00:00:00',16,'Contribution Amount',500.00,'USD',1,1,'civicrm_line_item',5),
+ (6,'2021-07-02 00:09:08','2010-04-11 00:00:00',19,'Contribution Amount',175.00,'USD',1,1,'civicrm_line_item',6),
+ (7,'2021-07-02 00:09:08','2010-03-27 00:00:00',82,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',7),
+ (8,'2021-07-02 00:09:08','2010-03-08 00:00:00',92,'Contribution Amount',10.00,'USD',1,1,'civicrm_line_item',8),
+ (9,'2021-07-02 00:09:08','2010-04-22 00:00:00',34,'Contribution Amount',250.00,'USD',1,1,'civicrm_line_item',9),
+ (10,'2021-07-02 00:09:08','2009-07-01 11:53:50',71,'Contribution Amount',500.00,'USD',1,1,'civicrm_line_item',10),
+ (11,'2021-07-02 00:09:08','2009-07-01 12:55:41',43,'Contribution Amount',200.00,'USD',1,1,'civicrm_line_item',11),
+ (12,'2021-07-02 00:09:08','2009-10-01 11:53:50',32,'Contribution Amount',200.00,'USD',1,1,'civicrm_line_item',12),
+ (13,'2021-07-02 00:09:08','2009-12-01 12:55:41',32,'Contribution Amount',200.00,'USD',1,1,'civicrm_line_item',13),
+ (14,'2021-07-02 00:09:08','2021-07-02 00:09:07',104,'General',100.00,'USD',2,1,'civicrm_line_item',16),
+ (15,'2021-07-02 00:09:08','2021-07-02 00:09:07',185,'General',100.00,'USD',2,1,'civicrm_line_item',17),
+ (16,'2021-07-02 00:09:08','2021-07-02 00:09:07',145,'General',100.00,'USD',2,1,'civicrm_line_item',18),
+ (17,'2021-07-02 00:09:08','2021-07-02 00:09:07',18,'General',100.00,'USD',2,1,'civicrm_line_item',19),
+ (18,'2021-07-02 00:09:08','2021-07-02 00:09:07',150,'General',100.00,'USD',2,1,'civicrm_line_item',20),
+ (19,'2021-07-02 00:09:08','2021-07-02 00:09:07',126,'General',100.00,'USD',2,1,'civicrm_line_item',21),
+ (20,'2021-07-02 00:09:08','2021-07-02 00:09:07',63,'General',100.00,'USD',2,1,'civicrm_line_item',22),
+ (21,'2021-07-02 00:09:08','2021-07-02 00:09:07',69,'General',100.00,'USD',2,1,'civicrm_line_item',23),
+ (22,'2021-07-02 00:09:08','2021-07-02 00:09:07',35,'General',100.00,'USD',2,1,'civicrm_line_item',24),
+ (23,'2021-07-02 00:09:08','2021-07-02 00:09:07',137,'General',100.00,'USD',2,1,'civicrm_line_item',25),
+ (24,'2021-07-02 00:09:08','2021-07-02 00:09:07',50,'General',100.00,'USD',2,1,'civicrm_line_item',26),
+ (25,'2021-07-02 00:09:08','2021-07-02 00:09:07',184,'General',100.00,'USD',2,1,'civicrm_line_item',27),
+ (26,'2021-07-02 00:09:08','2021-07-02 00:09:07',62,'General',100.00,'USD',2,1,'civicrm_line_item',28),
+ (27,'2021-07-02 00:09:08','2021-07-02 00:09:07',93,'General',100.00,'USD',2,1,'civicrm_line_item',29),
+ (28,'2021-07-02 00:09:08','2021-07-02 00:09:07',170,'General',100.00,'USD',2,1,'civicrm_line_item',30),
+ (29,'2021-07-02 00:09:08','2021-07-02 00:09:07',76,'General',100.00,'USD',2,1,'civicrm_line_item',31),
+ (30,'2021-07-02 00:09:08','2021-07-02 00:09:07',152,'Student',50.00,'USD',2,1,'civicrm_line_item',32),
+ (31,'2021-07-02 00:09:08','2021-07-02 00:09:07',59,'Student',50.00,'USD',2,1,'civicrm_line_item',33),
+ (32,'2021-07-02 00:09:08','2021-07-02 00:09:07',79,'Student',50.00,'USD',2,1,'civicrm_line_item',34),
+ (33,'2021-07-02 00:09:08','2021-07-02 00:09:07',90,'Student',50.00,'USD',2,1,'civicrm_line_item',35),
+ (34,'2021-07-02 00:09:08','2021-07-02 00:09:07',109,'Student',50.00,'USD',2,1,'civicrm_line_item',36),
+ (35,'2021-07-02 00:09:08','2021-07-02 00:09:07',140,'Student',50.00,'USD',2,1,'civicrm_line_item',37),
+ (36,'2021-07-02 00:09:08','2021-07-02 00:09:07',13,'Student',50.00,'USD',2,1,'civicrm_line_item',38),
+ (37,'2021-07-02 00:09:08','2021-07-02 00:09:07',121,'Student',50.00,'USD',2,1,'civicrm_line_item',39),
+ (38,'2021-07-02 00:09:08','2021-07-02 00:09:07',27,'Student',50.00,'USD',2,1,'civicrm_line_item',40),
+ (39,'2021-07-02 00:09:08','2021-07-02 00:09:07',48,'Student',50.00,'USD',2,1,'civicrm_line_item',41),
+ (40,'2021-07-02 00:09:08','2021-07-02 00:09:07',75,'Student',50.00,'USD',2,1,'civicrm_line_item',42),
+ (41,'2021-07-02 00:09:08','2021-07-02 00:09:07',188,'Student',50.00,'USD',2,1,'civicrm_line_item',43),
+ (42,'2021-07-02 00:09:08','2021-07-02 00:09:07',21,'Lifetime',1200.00,'USD',2,1,'civicrm_line_item',44),
+ (43,'2021-07-02 00:09:08','2021-07-02 00:09:07',133,'Lifetime',1200.00,'USD',2,1,'civicrm_line_item',45),
+ (44,'2021-07-02 00:09:08','2021-07-02 00:09:08',9,'Soprano',50.00,'USD',2,1,'civicrm_line_item',81),
+ (45,'2021-07-02 00:09:08','2021-07-02 00:09:08',154,'Soprano',50.00,'USD',2,1,'civicrm_line_item',82),
+ (46,'2021-07-02 00:09:08','2021-07-02 00:09:08',90,'Soprano',50.00,'USD',2,1,'civicrm_line_item',83),
+ (47,'2021-07-02 00:09:08','2021-07-02 00:09:08',195,'Soprano',50.00,'USD',2,1,'civicrm_line_item',84),
+ (48,'2021-07-02 00:09:08','2021-07-02 00:09:08',58,'Soprano',50.00,'USD',2,1,'civicrm_line_item',85),
+ (49,'2021-07-02 00:09:08','2021-07-02 00:09:08',109,'Soprano',50.00,'USD',2,1,'civicrm_line_item',86),
+ (50,'2021-07-02 00:09:08','2021-07-02 00:09:08',98,'Soprano',50.00,'USD',2,1,'civicrm_line_item',87),
+ (51,'2021-07-02 00:09:08','2021-07-02 00:09:08',60,'Soprano',50.00,'USD',2,1,'civicrm_line_item',88),
+ (52,'2021-07-02 00:09:08','2021-07-02 00:09:08',130,'Soprano',50.00,'USD',2,1,'civicrm_line_item',89),
+ (53,'2021-07-02 00:09:08','2021-07-02 00:09:08',134,'Soprano',50.00,'USD',2,1,'civicrm_line_item',90),
+ (54,'2021-07-02 00:09:08','2021-07-02 00:09:08',169,'Soprano',50.00,'USD',2,1,'civicrm_line_item',91),
+ (55,'2021-07-02 00:09:08','2021-07-02 00:09:08',83,'Soprano',50.00,'USD',2,1,'civicrm_line_item',92),
+ (56,'2021-07-02 00:09:09','2021-07-02 00:09:08',177,'Soprano',50.00,'USD',2,1,'civicrm_line_item',93),
+ (57,'2021-07-02 00:09:09','2021-07-02 00:09:08',121,'Soprano',50.00,'USD',2,1,'civicrm_line_item',94),
+ (58,'2021-07-02 00:09:09','2021-07-02 00:09:08',189,'Soprano',50.00,'USD',2,1,'civicrm_line_item',95),
+ (59,'2021-07-02 00:09:09','2021-07-02 00:09:08',84,'Soprano',50.00,'USD',2,1,'civicrm_line_item',96),
+ (60,'2021-07-02 00:09:09','2021-07-02 00:09:08',201,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',47),
+ (61,'2021-07-02 00:09:09','2021-07-02 00:09:08',179,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',48),
+ (62,'2021-07-02 00:09:09','2021-07-02 00:09:08',192,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',49),
+ (63,'2021-07-02 00:09:09','2021-07-02 00:09:08',181,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',50),
+ (64,'2021-07-02 00:09:09','2021-07-02 00:09:08',165,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',51),
+ (65,'2021-07-02 00:09:09','2021-07-02 00:09:08',49,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',52),
+ (66,'2021-07-02 00:09:09','2021-07-02 00:09:08',23,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',53),
+ (67,'2021-07-02 00:09:09','2021-07-02 00:09:08',57,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',54),
+ (68,'2021-07-02 00:09:09','2021-07-02 00:09:08',164,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',55),
+ (69,'2021-07-02 00:09:09','2021-07-02 00:09:08',180,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',56),
+ (70,'2021-07-02 00:09:09','2021-07-02 00:09:08',187,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',57),
+ (71,'2021-07-02 00:09:09','2021-07-02 00:09:08',127,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',58),
+ (72,'2021-07-02 00:09:09','2021-07-02 00:09:08',190,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',59),
+ (73,'2021-07-02 00:09:09','2021-07-02 00:09:08',20,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',60),
+ (74,'2021-07-02 00:09:09','2021-07-02 00:09:08',102,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',61),
+ (75,'2021-07-02 00:09:09','2021-07-02 00:09:08',24,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',62),
+ (76,'2021-07-02 00:09:09','2021-07-02 00:09:08',166,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',63),
+ (77,'2021-07-02 00:09:09','2021-07-02 00:09:08',151,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',64),
+ (78,'2021-07-02 00:09:09','2021-07-02 00:09:08',131,'Single',50.00,'USD',4,1,'civicrm_line_item',65),
+ (79,'2021-07-02 00:09:09','2021-07-02 00:09:08',68,'Single',50.00,'USD',4,1,'civicrm_line_item',66),
+ (80,'2021-07-02 00:09:09','2021-07-02 00:09:08',175,'Single',50.00,'USD',4,1,'civicrm_line_item',67),
+ (81,'2021-07-02 00:09:09','2021-07-02 00:09:08',141,'Single',50.00,'USD',4,1,'civicrm_line_item',68),
+ (82,'2021-07-02 00:09:09','2021-07-02 00:09:08',156,'Single',50.00,'USD',4,1,'civicrm_line_item',69),
+ (83,'2021-07-02 00:09:09','2021-07-02 00:09:08',163,'Single',50.00,'USD',4,1,'civicrm_line_item',70),
+ (84,'2021-07-02 00:09:09','2021-07-02 00:09:08',106,'Single',50.00,'USD',4,1,'civicrm_line_item',71),
+ (85,'2021-07-02 00:09:09','2021-07-02 00:09:08',120,'Single',50.00,'USD',4,1,'civicrm_line_item',72),
+ (86,'2021-07-02 00:09:09','2021-07-02 00:09:08',19,'Single',50.00,'USD',4,1,'civicrm_line_item',73),
+ (87,'2021-07-02 00:09:09','2021-07-02 00:09:08',47,'Single',50.00,'USD',4,1,'civicrm_line_item',74),
+ (88,'2021-07-02 00:09:09','2021-07-02 00:09:08',86,'Single',50.00,'USD',4,1,'civicrm_line_item',75),
+ (89,'2021-07-02 00:09:09','2021-07-02 00:09:08',45,'Single',50.00,'USD',4,1,'civicrm_line_item',76),
+ (90,'2021-07-02 00:09:09','2021-07-02 00:09:08',108,'Single',50.00,'USD',4,1,'civicrm_line_item',77),
+ (91,'2021-07-02 00:09:09','2021-07-02 00:09:08',199,'Single',50.00,'USD',4,1,'civicrm_line_item',78),
+ (92,'2021-07-02 00:09:09','2021-07-02 00:09:08',72,'Single',50.00,'USD',4,1,'civicrm_line_item',79),
+ (93,'2021-07-02 00:09:09','2021-07-02 00:09:08',43,'Single',50.00,'USD',4,1,'civicrm_line_item',80);
 /*!40000 ALTER TABLE `civicrm_financial_item` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -3640,86 +3641,86 @@ INSERT INTO `civicrm_financial_trxn` (`id`, `from_financial_account_id`, `to_fin
  (11,NULL,6,'2009-07-01 12:55:41',200.00,NULL,NULL,'USD',1,'PL43II',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
  (12,NULL,6,'2009-10-01 11:53:50',200.00,NULL,NULL,'USD',1,'PL32I',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
  (13,NULL,6,'2009-12-01 12:55:41',200.00,NULL,NULL,'USD',1,'PL32II',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (14,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'eafa6983717b93b0',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (15,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'15243cfadf0f2536',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (16,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'1bcdd35abac9d31e',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (17,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'e030336e9d9e27a7',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (18,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'cbde35e851d08693',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (19,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'7d39bad93d16e658',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (20,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'33714841f2853c39',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (21,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'5389f88cfe515057',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (22,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'58daff9210aa1dac',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (23,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'5730290ee5588bd2',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (24,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'315b9f8a4cac9458',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (25,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'69246f58a09a2f97',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (26,NULL,6,'2021-06-10 20:47:11',100.00,NULL,NULL,'USD',1,'c5de7035a4c701fb',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (27,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'1ac3eb07f6424e89',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (28,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'2f48d84c4f5d1f19',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (29,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'5f2c43ecf6f87091',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (30,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'d76e674b092c0b60',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (31,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'372aea6295d47771',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (32,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'a35026fe0645c5ae',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (33,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'68f0a75d1f668c1b',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (34,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'f47f8898b6317b5f',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (35,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'5cadf16ab32b0434',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (36,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'0762aa5988787fd5',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (37,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'d80168527be7f31a',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (38,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'d41c794608ab1605',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (39,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'efd51e3b59f0cfed',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (40,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'ed31197c507715f1',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (41,NULL,6,'2021-06-10 20:47:11',50.00,NULL,NULL,'USD',1,'5dc1b2d5ca4c5525',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (42,NULL,6,'2021-06-10 20:47:11',1200.00,NULL,NULL,'USD',1,'023c1d3bad756070',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (43,NULL,6,'2021-06-10 20:47:11',1200.00,NULL,NULL,'USD',1,'1ed15367939dd345',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (44,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'aa77badcabeeb9e0',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (45,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'8b62828a3226d9cc',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (46,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'a4f295df8eab7355',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (47,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'2d1228acbadf6839',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (48,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'783d82f1e7c74502',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (49,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'99f322caa83d5e6d',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (50,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'faa956f935647168',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (51,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'596e85759113dc46',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (52,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'75a57ab7ae4d6707',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (53,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'fc4f22863da1aeca',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (54,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'a13c9ae0ec206c58',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (55,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'6fbe546dac220841',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (56,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'e0722580fc4157d7',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (57,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'5a468bb7b6b6bb68',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (58,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'37de6f426f359bd2',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (59,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'3d53d6822d6c4005',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (60,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'88746b3f28c58d01',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (61,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'e4662fa255fcab54',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (62,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'59a5e5a89823197d',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (63,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'c4c12a9af2fff4ee',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (64,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'35a34b90d08a1e17',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (65,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'0c973d4463bb35c3',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (66,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'e6ee01ed8f4e1d37',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (67,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'06a7e4450da325ae',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (68,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'0634a826e55b2d45',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (69,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'1d860a759c13421e',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (70,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'a69da8779369e62a',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (71,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'72149328347ea433',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (72,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'fcbb39a2213da47e',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (73,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'5a993ddc0132e579',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (74,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'4113e78404d7c038',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (75,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'98e8d03b37a9d77c',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (76,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'3259f51a57f9bcac',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (77,NULL,6,'2021-06-10 20:47:12',800.00,NULL,NULL,'USD',1,'d6510b94103ea3e2',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (78,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'db48d1b73f7e2129',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (79,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'ae35c3a093b5d14f',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (80,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'44804cc0767c2365',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (81,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'0d5f2bdfb43bf660',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (82,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'e6cabf5b83231efa',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (83,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'ad5709781553b5e8',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (84,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'a8e7e70a760615f1',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (85,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'482154f519605172',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (86,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'c2df86cb38acf5cd',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (87,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'76ed6c8fe2a0d183',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (88,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'026e0db1c8c4aeea',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (89,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'b545a95cd18db373',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (90,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'bdcd5238815847c7',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (91,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'c74e50e0a15c9fac',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (92,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'445212dcef683434',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
- (93,NULL,6,'2021-06-10 20:47:12',50.00,NULL,NULL,'USD',1,'8852a3eb747973ac',NULL,1,NULL,1,NULL,NULL,NULL,NULL);
+ (14,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'3094dbdde129478e',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (15,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'e652a0e7a12ad645',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (16,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'a2a02262c76db0e9',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (17,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'eae3715d7bc8edba',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (18,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'4f0eb9466697f1db',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (19,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'13dc5de697d2243a',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (20,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'cf6e8f236da6702f',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (21,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'35f8f16cce0d394e',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (22,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'facf9d18a5277e7b',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (23,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'70f880013fa7a0b2',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (24,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'df08dd6f7793f78e',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (25,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'a12c838a6a7a816b',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (26,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'e0015699e5a80e8d',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (27,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'a973e6cf717b5d05',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (28,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'9b180465e9c3592b',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (29,NULL,6,'2021-07-02 00:09:07',100.00,NULL,NULL,'USD',1,'42d7296f33659006',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (30,NULL,6,'2021-07-02 00:09:07',50.00,NULL,NULL,'USD',1,'5955f93206090c42',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (31,NULL,6,'2021-07-02 00:09:07',50.00,NULL,NULL,'USD',1,'54971a61b427afe1',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (32,NULL,6,'2021-07-02 00:09:07',50.00,NULL,NULL,'USD',1,'f93872aa942886ad',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (33,NULL,6,'2021-07-02 00:09:07',50.00,NULL,NULL,'USD',1,'3506a81466c14e4b',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (34,NULL,6,'2021-07-02 00:09:07',50.00,NULL,NULL,'USD',1,'c3f309b978bb92f3',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (35,NULL,6,'2021-07-02 00:09:07',50.00,NULL,NULL,'USD',1,'dd4a233690acdbf3',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (36,NULL,6,'2021-07-02 00:09:07',50.00,NULL,NULL,'USD',1,'e516af73336d03f3',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (37,NULL,6,'2021-07-02 00:09:07',50.00,NULL,NULL,'USD',1,'53f0ff480d664b38',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (38,NULL,6,'2021-07-02 00:09:07',50.00,NULL,NULL,'USD',1,'48cf06c1a88def47',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (39,NULL,6,'2021-07-02 00:09:07',50.00,NULL,NULL,'USD',1,'3bec2962b09d42ff',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (40,NULL,6,'2021-07-02 00:09:07',50.00,NULL,NULL,'USD',1,'58f00e9d896b30f3',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (41,NULL,6,'2021-07-02 00:09:07',50.00,NULL,NULL,'USD',1,'b6cc5dab281a105d',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (42,NULL,6,'2021-07-02 00:09:07',1200.00,NULL,NULL,'USD',1,'f0b1e08e2ea81d91',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (43,NULL,6,'2021-07-02 00:09:07',1200.00,NULL,NULL,'USD',1,'a1f1c3a855964e4c',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (44,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'750d33be1db20eb5',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (45,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'e7a148c241724bbb',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (46,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'e24cff6454db41e6',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (47,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'f49635672af19b19',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (48,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'0c9b3afe8b935bba',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (49,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'a67c0271b9df648d',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (50,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'0c58260878847155',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (51,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'16c91ba19af218a9',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (52,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'48cfb3243991d8df',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (53,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'3513abc4aca31ef7',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (54,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'1be784b8fd0b237a',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (55,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'df3e2400a135a05a',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (56,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'8dbc24df5b36a39b',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (57,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'975f73f273740e2b',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (58,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'6984f573dbcb4e8c',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (59,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'38c3e3317d4adf48',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (60,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'bb0e3ce1f2517ed0',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (61,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'c233190ec75a6f15',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (62,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'4979da293151042c',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (63,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'36490ec8d3bc1eb6',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (64,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'c242dedfb0c4e817',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (65,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'e8615b8596fa319a',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (66,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'3031c012a60dd973',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (67,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'595e7b67086917fc',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (68,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'f091bbc5821357a8',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (69,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'f0553c559cc7e4da',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (70,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'133b2f3b84be5319',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (71,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'d2469a2fc0eed04d',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (72,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'cff20fb776108565',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (73,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'be8cf0666c1b9c01',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (74,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'b572e535679c738d',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (75,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'fb82939f9148bc23',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (76,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'e4b9ba3f1d2db5c2',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (77,NULL,6,'2021-07-02 00:09:08',800.00,NULL,NULL,'USD',1,'87a64108e4a04078',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (78,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'d0a026db93179897',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (79,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'1ff8dcc28972993d',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (80,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'90173ca9d0fc016b',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (81,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'3602a33e4860851b',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (82,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'53249e77ea82c1f2',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (83,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'3f4952d902af5d84',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (84,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'a6af4dac928334b7',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (85,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'19875050d331d78d',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (86,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'eacc8fd3c3e66f3f',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (87,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'fd73871ab4b07cfa',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (88,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'23b0fb7e66844494',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (89,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'2729ca99d6f19e54',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (90,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'bc76f423d356903a',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (91,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'c7d25b360f8db735',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (92,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'33c2a8cdf9ac0487',NULL,1,NULL,1,NULL,NULL,NULL,NULL),
+ (93,NULL,6,'2021-07-02 00:09:08',50.00,NULL,NULL,'USD',1,'30ea9790a90d3a7d',NULL,1,NULL,1,NULL,NULL,NULL,NULL);
 /*!40000 ALTER TABLE `civicrm_financial_trxn` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -3767,89 +3768,89 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_group_contact` WRITE;
 /*!40000 ALTER TABLE `civicrm_group_contact` DISABLE KEYS */;
 INSERT INTO `civicrm_group_contact` (`id`, `group_id`, `contact_id`, `status`, `location_id`, `email_id`) VALUES
- (1,2,31,'Added',NULL,NULL),
- (2,2,138,'Added',NULL,NULL),
- (3,2,21,'Added',NULL,NULL),
- (4,2,85,'Added',NULL,NULL),
- (5,2,128,'Added',NULL,NULL),
- (6,2,177,'Added',NULL,NULL),
- (7,2,93,'Added',NULL,NULL),
- (8,2,46,'Added',NULL,NULL),
- (9,2,53,'Added',NULL,NULL),
- (10,2,84,'Added',NULL,NULL),
- (11,2,89,'Added',NULL,NULL),
- (12,2,14,'Added',NULL,NULL),
- (13,2,191,'Added',NULL,NULL),
+ (1,2,72,'Added',NULL,NULL),
+ (2,2,162,'Added',NULL,NULL),
+ (3,2,30,'Added',NULL,NULL),
+ (4,2,139,'Added',NULL,NULL),
+ (5,2,131,'Added',NULL,NULL),
+ (6,2,6,'Added',NULL,NULL),
+ (7,2,100,'Added',NULL,NULL),
+ (8,2,170,'Added',NULL,NULL),
+ (9,2,35,'Added',NULL,NULL),
+ (10,2,192,'Added',NULL,NULL),
+ (11,2,85,'Added',NULL,NULL),
+ (12,2,48,'Added',NULL,NULL),
+ (13,2,80,'Added',NULL,NULL),
  (14,2,50,'Added',NULL,NULL),
- (15,2,5,'Added',NULL,NULL),
- (16,2,173,'Added',NULL,NULL),
- (17,2,190,'Added',NULL,NULL),
- (18,2,178,'Added',NULL,NULL),
- (19,2,16,'Added',NULL,NULL),
- (20,2,23,'Added',NULL,NULL),
- (21,2,199,'Added',NULL,NULL),
- (22,2,25,'Added',NULL,NULL),
- (23,2,37,'Added',NULL,NULL),
- (24,2,201,'Added',NULL,NULL),
- (25,2,179,'Added',NULL,NULL),
- (26,2,11,'Added',NULL,NULL),
- (27,2,20,'Added',NULL,NULL),
- (28,2,117,'Added',NULL,NULL),
- (29,2,98,'Added',NULL,NULL),
- (30,2,57,'Added',NULL,NULL),
- (31,2,125,'Added',NULL,NULL),
- (32,2,194,'Added',NULL,NULL),
- (33,2,44,'Added',NULL,NULL),
- (34,2,27,'Added',NULL,NULL),
- (35,2,78,'Added',NULL,NULL),
- (36,2,146,'Added',NULL,NULL),
- (37,2,90,'Added',NULL,NULL),
- (38,2,45,'Added',NULL,NULL),
- (39,2,34,'Added',NULL,NULL),
- (40,2,41,'Added',NULL,NULL),
- (41,2,83,'Added',NULL,NULL),
- (42,2,18,'Added',NULL,NULL),
- (43,2,154,'Added',NULL,NULL),
- (44,2,160,'Added',NULL,NULL),
- (45,2,107,'Added',NULL,NULL),
- (46,2,192,'Added',NULL,NULL),
- (47,2,122,'Added',NULL,NULL),
- (48,2,144,'Added',NULL,NULL),
- (49,2,67,'Added',NULL,NULL),
- (50,2,33,'Added',NULL,NULL),
- (51,2,185,'Added',NULL,NULL),
- (52,2,59,'Added',NULL,NULL),
- (53,2,48,'Added',NULL,NULL),
- (54,2,81,'Added',NULL,NULL),
- (55,2,149,'Added',NULL,NULL),
- (56,2,100,'Added',NULL,NULL),
- (57,2,2,'Added',NULL,NULL),
- (58,2,26,'Added',NULL,NULL),
- (59,2,186,'Added',NULL,NULL),
- (60,2,110,'Added',NULL,NULL),
- (61,3,71,'Added',NULL,NULL),
- (62,3,163,'Added',NULL,NULL),
- (63,3,189,'Added',NULL,NULL),
- (64,3,196,'Added',NULL,NULL),
- (65,3,10,'Added',NULL,NULL),
- (66,3,115,'Added',NULL,NULL),
- (67,3,38,'Added',NULL,NULL),
- (68,3,156,'Added',NULL,NULL),
- (69,3,103,'Added',NULL,NULL),
- (70,3,68,'Added',NULL,NULL),
- (71,3,184,'Added',NULL,NULL),
- (72,3,169,'Added',NULL,NULL),
- (73,3,127,'Added',NULL,NULL),
- (74,3,96,'Added',NULL,NULL),
- (75,3,176,'Added',NULL,NULL),
- (76,4,31,'Added',NULL,NULL),
- (77,4,46,'Added',NULL,NULL),
- (78,4,5,'Added',NULL,NULL),
- (79,4,25,'Added',NULL,NULL),
- (80,4,98,'Added',NULL,NULL),
- (81,4,146,'Added',NULL,NULL),
- (82,4,154,'Added',NULL,NULL),
- (83,4,33,'Added',NULL,NULL);
+ (15,2,173,'Added',NULL,NULL),
+ (16,2,105,'Added',NULL,NULL),
+ (17,2,191,'Added',NULL,NULL),
+ (18,2,142,'Added',NULL,NULL),
+ (19,2,145,'Added',NULL,NULL),
+ (20,2,99,'Added',NULL,NULL),
+ (21,2,157,'Added',NULL,NULL),
+ (22,2,12,'Added',NULL,NULL),
+ (23,2,95,'Added',NULL,NULL),
+ (24,2,82,'Added',NULL,NULL),
+ (25,2,87,'Added',NULL,NULL),
+ (26,2,168,'Added',NULL,NULL),
+ (27,2,176,'Added',NULL,NULL),
+ (28,2,116,'Added',NULL,NULL),
+ (29,2,114,'Added',NULL,NULL),
+ (30,2,151,'Added',NULL,NULL),
+ (31,2,93,'Added',NULL,NULL),
+ (32,2,117,'Added',NULL,NULL),
+ (33,2,55,'Added',NULL,NULL),
+ (34,2,136,'Added',NULL,NULL),
+ (35,2,144,'Added',NULL,NULL),
+ (36,2,119,'Added',NULL,NULL),
+ (37,2,2,'Added',NULL,NULL),
+ (38,2,69,'Added',NULL,NULL),
+ (39,2,18,'Added',NULL,NULL),
+ (40,2,153,'Added',NULL,NULL),
+ (41,2,118,'Added',NULL,NULL),
+ (42,2,84,'Added',NULL,NULL),
+ (43,2,20,'Added',NULL,NULL),
+ (44,2,62,'Added',NULL,NULL),
+ (45,2,115,'Added',NULL,NULL),
+ (46,2,39,'Added',NULL,NULL),
+ (47,2,177,'Added',NULL,NULL),
+ (48,2,10,'Added',NULL,NULL),
+ (49,2,127,'Added',NULL,NULL),
+ (50,2,5,'Added',NULL,NULL),
+ (51,2,184,'Added',NULL,NULL),
+ (52,2,182,'Added',NULL,NULL),
+ (53,2,189,'Added',NULL,NULL),
+ (54,2,76,'Added',NULL,NULL),
+ (55,2,141,'Added',NULL,NULL),
+ (56,2,171,'Added',NULL,NULL),
+ (57,2,133,'Added',NULL,NULL),
+ (58,2,160,'Added',NULL,NULL),
+ (59,2,68,'Added',NULL,NULL),
+ (60,2,92,'Added',NULL,NULL),
+ (61,3,56,'Added',NULL,NULL),
+ (62,3,70,'Added',NULL,NULL),
+ (63,3,94,'Added',NULL,NULL),
+ (64,3,174,'Added',NULL,NULL),
+ (65,3,198,'Added',NULL,NULL),
+ (66,3,83,'Added',NULL,NULL),
+ (67,3,154,'Added',NULL,NULL),
+ (68,3,60,'Added',NULL,NULL),
+ (69,3,186,'Added',NULL,NULL),
+ (70,3,53,'Added',NULL,NULL),
+ (71,3,113,'Added',NULL,NULL),
+ (72,3,181,'Added',NULL,NULL),
+ (73,3,88,'Added',NULL,NULL),
+ (74,3,199,'Added',NULL,NULL),
+ (75,3,3,'Added',NULL,NULL),
+ (76,4,72,'Added',NULL,NULL),
+ (77,4,170,'Added',NULL,NULL),
+ (78,4,173,'Added',NULL,NULL),
+ (79,4,12,'Added',NULL,NULL),
+ (80,4,114,'Added',NULL,NULL),
+ (81,4,119,'Added',NULL,NULL),
+ (82,4,20,'Added',NULL,NULL),
+ (83,4,5,'Added',NULL,NULL);
 /*!40000 ALTER TABLE `civicrm_group_contact` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -3947,84 +3948,84 @@ INSERT INTO `civicrm_line_item` (`id`, `entity_table`, `entity_id`, `contributio
  (13,'civicrm_contribution',13,13,1,'Contribution Amount',1.00,200.00,200.00,0,1,1,0.00,NULL),
  (16,'civicrm_membership',1,14,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
  (17,'civicrm_membership',3,16,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
- (18,'civicrm_membership',7,20,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
- (19,'civicrm_membership',9,22,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
- (20,'civicrm_membership',10,23,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
- (21,'civicrm_membership',13,26,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
- (22,'civicrm_membership',17,30,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
- (23,'civicrm_membership',19,32,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
- (24,'civicrm_membership',21,34,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
- (25,'civicrm_membership',23,36,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
- (26,'civicrm_membership',25,38,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
- (27,'civicrm_membership',27,40,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
- (28,'civicrm_membership',29,42,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
- (29,'civicrm_membership',2,15,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (30,'civicrm_membership',4,17,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (31,'civicrm_membership',5,18,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (32,'civicrm_membership',6,19,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (33,'civicrm_membership',8,21,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (34,'civicrm_membership',12,25,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (35,'civicrm_membership',14,27,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (36,'civicrm_membership',15,28,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (37,'civicrm_membership',16,29,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (38,'civicrm_membership',18,31,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (39,'civicrm_membership',20,33,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
+ (18,'civicrm_membership',5,18,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (19,'civicrm_membership',7,20,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (20,'civicrm_membership',9,22,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (21,'civicrm_membership',10,23,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (22,'civicrm_membership',13,26,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (23,'civicrm_membership',15,28,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (24,'civicrm_membership',17,30,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (25,'civicrm_membership',19,32,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (26,'civicrm_membership',20,33,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (27,'civicrm_membership',21,34,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (28,'civicrm_membership',23,36,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (29,'civicrm_membership',27,40,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (30,'civicrm_membership',29,42,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (31,'civicrm_membership',30,43,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),
+ (32,'civicrm_membership',2,15,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
+ (33,'civicrm_membership',4,17,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
+ (34,'civicrm_membership',6,19,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
+ (35,'civicrm_membership',8,21,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
+ (36,'civicrm_membership',12,25,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
+ (37,'civicrm_membership',14,27,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
+ (38,'civicrm_membership',16,29,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
+ (39,'civicrm_membership',18,31,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
  (40,'civicrm_membership',24,37,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (41,'civicrm_membership',26,39,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (42,'civicrm_membership',28,41,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
- (43,'civicrm_membership',30,43,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
+ (41,'civicrm_membership',25,38,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
+ (42,'civicrm_membership',26,39,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
+ (43,'civicrm_membership',28,41,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),
  (44,'civicrm_membership',11,24,4,'Lifetime',1.00,1200.00,1200.00,NULL,9,2,0.00,NULL),
  (45,'civicrm_membership',22,35,4,'Lifetime',1.00,1200.00,1200.00,NULL,9,2,0.00,NULL),
- (47,'civicrm_participant',3,94,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (48,'civicrm_participant',6,49,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (49,'civicrm_participant',9,79,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (50,'civicrm_participant',12,81,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (51,'civicrm_participant',15,64,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (52,'civicrm_participant',18,60,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (53,'civicrm_participant',21,58,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (54,'civicrm_participant',24,45,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (55,'civicrm_participant',25,66,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (56,'civicrm_participant',28,84,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (57,'civicrm_participant',31,62,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (47,'civicrm_participant',3,47,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (48,'civicrm_participant',6,50,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (49,'civicrm_participant',9,53,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (50,'civicrm_participant',12,56,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (51,'civicrm_participant',15,59,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (52,'civicrm_participant',18,62,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (53,'civicrm_participant',21,65,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (54,'civicrm_participant',24,68,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (55,'civicrm_participant',25,69,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (56,'civicrm_participant',28,72,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (57,'civicrm_participant',31,75,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
  (58,'civicrm_participant',34,78,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (59,'civicrm_participant',37,80,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (60,'civicrm_participant',40,73,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (61,'civicrm_participant',43,89,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (62,'civicrm_participant',46,74,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (63,'civicrm_participant',49,68,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (64,'civicrm_participant',50,48,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
- (65,'civicrm_participant',1,70,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (66,'civicrm_participant',4,61,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (67,'civicrm_participant',7,55,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (68,'civicrm_participant',10,87,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (69,'civicrm_participant',13,90,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (70,'civicrm_participant',16,53,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (71,'civicrm_participant',19,91,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (72,'civicrm_participant',22,46,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (73,'civicrm_participant',26,69,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (74,'civicrm_participant',29,82,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (75,'civicrm_participant',32,86,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (76,'civicrm_participant',35,85,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (77,'civicrm_participant',38,51,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (78,'civicrm_participant',41,92,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (79,'civicrm_participant',44,65,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (80,'civicrm_participant',47,75,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
- (81,'civicrm_participant',2,72,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (82,'civicrm_participant',5,67,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (83,'civicrm_participant',8,93,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (84,'civicrm_participant',11,59,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (85,'civicrm_participant',14,88,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (86,'civicrm_participant',17,76,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (87,'civicrm_participant',20,47,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (88,'civicrm_participant',23,57,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (89,'civicrm_participant',27,54,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (90,'civicrm_participant',30,63,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (91,'civicrm_participant',33,50,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (92,'civicrm_participant',36,77,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (93,'civicrm_participant',39,56,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (94,'civicrm_participant',42,52,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (95,'civicrm_participant',45,83,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
- (96,'civicrm_participant',48,71,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL);
+ (59,'civicrm_participant',37,81,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (60,'civicrm_participant',40,84,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (61,'civicrm_participant',43,87,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (62,'civicrm_participant',46,90,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (63,'civicrm_participant',49,93,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (64,'civicrm_participant',50,94,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),
+ (65,'civicrm_participant',1,45,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (66,'civicrm_participant',4,48,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (67,'civicrm_participant',7,51,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (68,'civicrm_participant',10,54,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (69,'civicrm_participant',13,57,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (70,'civicrm_participant',16,60,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (71,'civicrm_participant',19,63,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (72,'civicrm_participant',22,66,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (73,'civicrm_participant',26,70,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (74,'civicrm_participant',29,73,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (75,'civicrm_participant',32,76,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (76,'civicrm_participant',35,79,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (77,'civicrm_participant',38,82,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (78,'civicrm_participant',41,85,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (79,'civicrm_participant',44,88,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (80,'civicrm_participant',47,91,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),
+ (81,'civicrm_participant',2,46,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (82,'civicrm_participant',5,49,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (83,'civicrm_participant',8,52,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (84,'civicrm_participant',11,55,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (85,'civicrm_participant',14,58,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (86,'civicrm_participant',17,61,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (87,'civicrm_participant',20,64,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (88,'civicrm_participant',23,67,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (89,'civicrm_participant',27,71,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (90,'civicrm_participant',30,74,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (91,'civicrm_participant',33,77,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (92,'civicrm_participant',36,80,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (93,'civicrm_participant',39,83,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (94,'civicrm_participant',42,86,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (95,'civicrm_participant',45,89,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),
+ (96,'civicrm_participant',48,92,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL);
 /*!40000 ALTER TABLE `civicrm_line_item` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -4035,9 +4036,9 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_loc_block` WRITE;
 /*!40000 ALTER TABLE `civicrm_loc_block` DISABLE KEYS */;
 INSERT INTO `civicrm_loc_block` (`id`, `address_id`, `email_id`, `phone_id`, `im_id`, `address_2_id`, `email_2_id`, `phone_2_id`, `im_2_id`) VALUES
- (1,176,186,180,NULL,NULL,NULL,NULL,NULL),
- (2,177,187,181,NULL,NULL,NULL,NULL,NULL),
- (3,178,188,182,NULL,NULL,NULL,NULL,NULL);
+ (1,185,178,167,NULL,NULL,NULL,NULL,NULL),
+ (2,186,179,168,NULL,NULL,NULL,NULL,NULL),
+ (3,187,180,169,NULL,NULL,NULL,NULL,NULL);
 /*!40000 ALTER TABLE `civicrm_loc_block` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -4477,36 +4478,36 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_membership` WRITE;
 /*!40000 ALTER TABLE `civicrm_membership` DISABLE KEYS */;
 INSERT INTO `civicrm_membership` (`id`, `contact_id`, `membership_type_id`, `join_date`, `start_date`, `end_date`, `source`, `status_id`, `is_override`, `status_override_end_date`, `owner_membership_id`, `max_related`, `is_test`, `is_pay_later`, `contribution_recur_id`, `campaign_id`) VALUES
- (1,15,1,'2021-06-11','2021-06-11','2023-06-10','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (2,145,2,'2021-06-10','2021-06-10','2022-06-09','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (3,58,1,'2021-06-09','2021-06-09','2023-06-08','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (4,92,2,'2021-06-08','2021-06-08','2022-06-07','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (5,154,2,'2020-06-07','2020-06-07','2021-06-06','Payment',4,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (6,123,2,'2021-06-06','2021-06-06','2022-06-05','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (7,5,1,'2021-06-05','2021-06-05','2023-06-04','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (8,158,2,'2021-06-04','2021-06-04','2022-06-03','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (9,136,1,'2021-06-03','2021-06-03','2023-06-02','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (10,191,1,'2019-03-31','2019-03-31','2021-03-30','Donation',3,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (11,89,3,'2021-06-01','2021-06-01',NULL,'Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (12,165,2,'2021-05-31','2021-05-31','2022-05-30','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (13,42,1,'2021-05-30','2021-05-30','2023-05-29','Payment',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (14,76,2,'2021-05-29','2021-05-29','2022-05-28','Payment',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (15,124,2,'2020-05-28','2020-05-28','2021-05-27','Payment',4,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (16,104,2,'2021-05-27','2021-05-27','2022-05-26','Payment',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (17,7,1,'2021-05-26','2021-05-26','2023-05-25','Payment',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (18,170,2,'2021-05-25','2021-05-25','2022-05-24','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (19,129,1,'2021-05-24','2021-05-24','2023-05-23','Payment',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (20,27,2,'2020-05-23','2020-05-23','2021-05-22','Donation',4,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (21,131,1,'2021-05-22','2021-05-22','2023-05-21','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (22,103,3,'2021-05-21','2021-05-21',NULL,'Payment',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (23,185,1,'2021-05-20','2021-05-20','2023-05-19','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (24,75,2,'2021-05-19','2021-05-19','2022-05-18','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (25,33,1,'2018-12-01','2018-12-01','2020-11-30','Donation',3,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (26,96,2,'2021-05-17','2021-05-17','2022-05-16','Payment',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (27,57,1,'2021-05-16','2021-05-16','2023-05-15','Payment',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (28,64,2,'2021-05-15','2021-05-15','2022-05-14','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (29,196,1,'2021-05-14','2021-05-14','2023-05-13','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
- (30,46,2,'2020-05-13','2020-05-13','2021-05-12','Donation',4,NULL,NULL,NULL,NULL,0,0,NULL,NULL);
+ (1,104,1,'2021-07-02','2021-07-02','2023-07-01','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (2,152,2,'2021-07-01','2021-07-01','2022-06-30','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (3,185,1,'2021-06-30','2021-06-30','2023-06-29','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (4,59,2,'2021-06-29','2021-06-29','2022-06-28','Payment',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (5,145,1,'2019-05-31','2019-05-31','2021-05-30','Donation',3,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (6,79,2,'2021-06-27','2021-06-27','2022-06-26','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (7,18,1,'2021-06-26','2021-06-26','2023-06-25','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (8,90,2,'2021-06-25','2021-06-25','2022-06-24','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (9,150,1,'2021-06-24','2021-06-24','2023-06-23','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (10,126,1,'2019-04-21','2019-04-21','2021-04-20','Payment',3,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (11,21,3,'2021-06-22','2021-06-22',NULL,'Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (12,109,2,'2021-06-21','2021-06-21','2022-06-20','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (13,63,1,'2021-06-20','2021-06-20','2023-06-19','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (14,140,2,'2021-06-19','2021-06-19','2022-06-18','Payment',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (15,69,1,'2019-03-12','2019-03-12','2021-03-11','Donation',3,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (16,13,2,'2021-06-17','2021-06-17','2022-06-16','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (17,35,1,'2021-06-16','2021-06-16','2023-06-15','Payment',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (18,121,2,'2021-06-15','2021-06-15','2022-06-14','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (19,137,1,'2021-06-14','2021-06-14','2023-06-13','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (20,50,1,'2019-01-31','2019-01-31','2021-01-30','Payment',3,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (21,184,1,'2021-06-12','2021-06-12','2023-06-11','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (22,133,3,'2021-06-11','2021-06-11',NULL,'Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (23,62,1,'2021-06-10','2021-06-10','2023-06-09','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (24,27,2,'2021-06-09','2021-06-09','2022-06-08','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (25,48,2,'2020-06-08','2020-06-08','2021-06-07','Check',4,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (26,75,2,'2021-06-07','2021-06-07','2022-06-06','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (27,93,1,'2021-06-06','2021-06-06','2023-06-05','Donation',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (28,188,2,'2021-06-05','2021-06-05','2022-06-04','Payment',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (29,170,1,'2021-06-04','2021-06-04','2023-06-03','Check',1,NULL,NULL,NULL,NULL,0,0,NULL,NULL),
+ (30,76,1,'2018-11-12','2018-11-12','2020-11-11','Donation',3,NULL,NULL,NULL,NULL,0,0,NULL,NULL);
 /*!40000 ALTER TABLE `civicrm_membership` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -4528,36 +4529,36 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_membership_log` WRITE;
 /*!40000 ALTER TABLE `civicrm_membership_log` DISABLE KEYS */;
 INSERT INTO `civicrm_membership_log` (`id`, `membership_id`, `status_id`, `start_date`, `end_date`, `modified_id`, `modified_date`, `membership_type_id`, `max_related`) VALUES
- (1,7,1,'2021-06-05','2023-06-04',5,'2021-06-11',1,NULL),
- (2,17,1,'2021-05-26','2023-05-25',7,'2021-06-11',1,NULL),
- (3,1,1,'2021-06-11','2023-06-10',15,'2021-06-11',1,NULL),
- (4,20,4,'2020-05-23','2021-05-22',27,'2021-06-11',2,NULL),
- (5,25,3,'2018-12-01','2020-11-30',33,'2021-06-11',1,NULL),
- (6,13,1,'2021-05-30','2023-05-29',42,'2021-06-11',1,NULL),
- (7,30,4,'2020-05-13','2021-05-12',46,'2021-06-11',2,NULL),
- (8,27,1,'2021-05-16','2023-05-15',57,'2021-06-11',1,NULL),
- (9,3,1,'2021-06-09','2023-06-08',58,'2021-06-11',1,NULL),
- (10,28,1,'2021-05-15','2022-05-14',64,'2021-06-11',2,NULL),
- (11,24,1,'2021-05-19','2022-05-18',75,'2021-06-11',2,NULL),
- (12,14,1,'2021-05-29','2022-05-28',76,'2021-06-11',2,NULL),
- (13,11,1,'2021-06-01',NULL,89,'2021-06-11',3,NULL),
- (14,4,1,'2021-06-08','2022-06-07',92,'2021-06-11',2,NULL),
- (15,26,1,'2021-05-17','2022-05-16',96,'2021-06-11',2,NULL),
- (16,22,1,'2021-05-21',NULL,103,'2021-06-11',3,NULL),
- (17,16,1,'2021-05-27','2022-05-26',104,'2021-06-11',2,NULL),
- (18,6,1,'2021-06-06','2022-06-05',123,'2021-06-11',2,NULL),
- (19,15,4,'2020-05-28','2021-05-27',124,'2021-06-11',2,NULL),
- (20,19,1,'2021-05-24','2023-05-23',129,'2021-06-11',1,NULL),
- (21,21,1,'2021-05-22','2023-05-21',131,'2021-06-11',1,NULL),
- (22,9,1,'2021-06-03','2023-06-02',136,'2021-06-11',1,NULL),
- (23,2,1,'2021-06-10','2022-06-09',145,'2021-06-11',2,NULL),
- (24,5,4,'2020-06-07','2021-06-06',154,'2021-06-11',2,NULL),
- (25,8,1,'2021-06-04','2022-06-03',158,'2021-06-11',2,NULL),
- (26,12,1,'2021-05-31','2022-05-30',165,'2021-06-11',2,NULL),
- (27,18,1,'2021-05-25','2022-05-24',170,'2021-06-11',2,NULL),
- (28,23,1,'2021-05-20','2023-05-19',185,'2021-06-11',1,NULL),
- (29,10,3,'2019-03-31','2021-03-30',191,'2021-06-11',1,NULL),
- (30,29,1,'2021-05-14','2023-05-13',196,'2021-06-11',1,NULL);
+ (1,16,1,'2021-06-17','2022-06-16',13,'2021-07-02',2,NULL),
+ (2,7,1,'2021-06-26','2023-06-25',18,'2021-07-02',1,NULL),
+ (3,11,1,'2021-06-22',NULL,21,'2021-07-02',3,NULL),
+ (4,24,1,'2021-06-09','2022-06-08',27,'2021-07-02',2,NULL),
+ (5,17,1,'2021-06-16','2023-06-15',35,'2021-07-02',1,NULL),
+ (6,25,4,'2020-06-08','2021-06-07',48,'2021-07-02',2,NULL),
+ (7,20,3,'2019-01-31','2021-01-30',50,'2021-07-02',1,NULL),
+ (8,4,1,'2021-06-29','2022-06-28',59,'2021-07-02',2,NULL),
+ (9,23,1,'2021-06-10','2023-06-09',62,'2021-07-02',1,NULL),
+ (10,13,1,'2021-06-20','2023-06-19',63,'2021-07-02',1,NULL),
+ (11,15,3,'2019-03-12','2021-03-11',69,'2021-07-02',1,NULL),
+ (12,26,1,'2021-06-07','2022-06-06',75,'2021-07-02',2,NULL),
+ (13,30,3,'2018-11-12','2020-11-11',76,'2021-07-02',1,NULL),
+ (14,6,1,'2021-06-27','2022-06-26',79,'2021-07-02',2,NULL),
+ (15,8,1,'2021-06-25','2022-06-24',90,'2021-07-02',2,NULL),
+ (16,27,1,'2021-06-06','2023-06-05',93,'2021-07-02',1,NULL),
+ (17,1,1,'2021-07-02','2023-07-01',104,'2021-07-02',1,NULL),
+ (18,12,1,'2021-06-21','2022-06-20',109,'2021-07-02',2,NULL),
+ (19,18,1,'2021-06-15','2022-06-14',121,'2021-07-02',2,NULL),
+ (20,10,3,'2019-04-21','2021-04-20',126,'2021-07-02',1,NULL),
+ (21,22,1,'2021-06-11',NULL,133,'2021-07-02',3,NULL),
+ (22,19,1,'2021-06-14','2023-06-13',137,'2021-07-02',1,NULL),
+ (23,14,1,'2021-06-19','2022-06-18',140,'2021-07-02',2,NULL),
+ (24,5,3,'2019-05-31','2021-05-30',145,'2021-07-02',1,NULL),
+ (25,9,1,'2021-06-24','2023-06-23',150,'2021-07-02',1,NULL),
+ (26,2,1,'2021-07-01','2022-06-30',152,'2021-07-02',2,NULL),
+ (27,29,1,'2021-06-04','2023-06-03',170,'2021-07-02',1,NULL),
+ (28,21,1,'2021-06-12','2023-06-11',184,'2021-07-02',1,NULL),
+ (29,3,1,'2021-06-30','2023-06-29',185,'2021-07-02',1,NULL),
+ (30,28,1,'2021-06-05','2022-06-04',188,'2021-07-02',2,NULL);
 /*!40000 ALTER TABLE `civicrm_membership_log` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -4643,248 +4644,248 @@ INSERT INTO `civicrm_menu` (`id`, `domain_id`, `path`, `path_arguments`, `title`
  (3,1,'civicrm/import/activity',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,420,1,1,NULL,'a:0:{}'),
  (4,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,420,1,1,NULL,'a:0:{}'),
  (5,1,'civicrm/ajax/status',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (6,1,'civicrm/group',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,30,1,1,NULL,'a:0:{}'),
- (7,1,'civicrm/group/search',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:22:\"/civicrm/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:1:{s:7:\"comment\";s:164:\"Note: group search already respect ACL, so a strict permission at url level is not required. A simple/basic permission like \'access CiviCRM\' could be used. CRM-5417\";}'),
- (8,1,'civicrm/group/add',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:22:\"/civicrm/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (9,1,'civicrm/ajax/grouplist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (10,1,'civicrm/payment/form',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&amp;action=add\";}}',NULL,NULL,2,NULL,1,NULL,0,0,1,0,NULL,'a:0:{}'),
- (11,1,'civicrm/payment/edit',NULL,NULL,'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:30:\"CRM_Financial_Form_PaymentEdit\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&amp;action=add\";}}',NULL,NULL,2,NULL,NULL,NULL,0,1,1,0,NULL,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'),
- (12,1,'civicrm/custom',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (13,1,'civicrm/ajax/jqState',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
- (14,1,'civicrm/ajax/jqCounty',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
- (15,1,'civicrm',NULL,'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\";',NULL,'a:0:{}',NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,0,NULL,'a:0:{}'),
- (16,1,'civicrm/dashboard',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,1,NULL,'a:0:{}'),
- (17,1,'civicrm/contact/search',NULL,'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:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,10,1,1,NULL,'a:0:{}'),
- (18,1,'civicrm/contact/image',NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (19,1,'civicrm/contact/imagefile',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (20,1,'civicrm/contact/search/basic',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (21,1,'civicrm/contact/search/advanced',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,12,1,1,NULL,'a:0:{}'),
- (22,1,'civicrm/contact/search/builder',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,14,1,1,NULL,'a:0:{}'),
- (23,1,'civicrm/contact/search/custom',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (24,1,'civicrm/contact/search/custom/list',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,16,1,1,NULL,'a:0:{}'),
- (25,1,'civicrm/contact/add',NULL,'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:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (26,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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:28:\"/civicrm/contact/add?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (27,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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:28:\"/civicrm/contact/add?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (28,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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:28:\"/civicrm/contact/add?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (29,1,'civicrm/contact/relatedcontact',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
- (30,1,'civicrm/contact/merge',NULL,'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:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','s:22:\"CRM_Contact_Form_Merge\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (31,1,'civicrm/contact/email',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (32,1,'civicrm/contact/map',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
- (33,1,'civicrm/contact/map/event',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Map Location(s)\";s:3:\"url\";s:28:\"/civicrm/contact/map?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
- (34,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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (35,1,'civicrm/contact/view/delete',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (36,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (37,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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&amp;action=add&amp;context=standalone\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (38,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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&amp;action=add&amp;context=standalone\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (39,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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&amp;action=add&amp;context=standalone\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (40,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (41,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (42,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (43,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (44,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (45,1,'civicrm/contact/view/cd',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (46,1,'civicrm/contact/view/cd/edit',NULL,NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (47,1,'civicrm/contact/view/vcard',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (48,1,'civicrm/contact/view/print',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (49,1,'civicrm/contact/view/log',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (50,1,'civicrm/user',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,0,1,0,NULL,'a:0:{}'),
- (51,1,'civicrm/dashlet/activity',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (52,1,'civicrm/dashlet/blog',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (53,1,'civicrm/dashlet/getting-started',NULL,'CiviCRM Resources','a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (54,1,'civicrm/ajax/relation',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,3,NULL,'a:0:{}'),
- (55,1,'civicrm/ajax/groupTree',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (56,1,'civicrm/ajax/custom',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (57,1,'civicrm/ajax/customvalue',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,3,NULL,'a:0:{}'),
- (58,1,'civicrm/ajax/cmsuser',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (59,1,'civicrm/ajax/checkemail',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (60,1,'civicrm/ajax/checkphone',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (61,1,'civicrm/ajax/subtype',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (62,1,'civicrm/ajax/signature',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (63,1,'civicrm/ajax/pdfFormat',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (64,1,'civicrm/ajax/paperSize',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (65,1,'civicrm/ajax/contactref',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (66,1,'civicrm/dashlet/myCases',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (67,1,'civicrm/dashlet/allCases',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (68,1,'civicrm/dashlet/casedashboard',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (69,1,'civicrm/contact/deduperules',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,105,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:6:\"Manage\";}'),
- (70,1,'civicrm/contact/dedupefind',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (71,1,'civicrm/ajax/dedupefind',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (72,1,'civicrm/contact/dedupemerge',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (73,1,'civicrm/dedupe/exception',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,110,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:6:\"Manage\";}'),
- (74,1,'civicrm/ajax/dedupeRules',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (75,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (76,1,'civicrm/ajax/markSelection',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (77,1,'civicrm/ajax/toggleDedupeSelect',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (78,1,'civicrm/ajax/flipDupePairs',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (79,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:8:\"send SMS\";}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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&amp;action=add&amp;context=standalone\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (80,1,'civicrm/ajax/contactrelationships',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (81,1,'civicrm/upgrade',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (82,1,'civicrm/export',NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (83,1,'civicrm/export/contact',NULL,'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\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Download Errors\";s:3:\"url\";s:23:\"/civicrm/export?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,0,NULL,'a:0:{}'),
- (84,1,'civicrm/export/standalone',NULL,'Export','a:2:{i:0;s:19:\"CRM_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_Export_Controller_Standalone\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Download Errors\";s:3:\"url\";s:23:\"/civicrm/export?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (85,1,'civicrm/admin/options/acl_role',NULL,'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\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
- (86,1,'civicrm/acl',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (87,1,'civicrm/acl/entityrole',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:20:\"/civicrm/acl?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (88,1,'civicrm/acl/basic',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:20:\"/civicrm/acl?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (89,1,'civicrm/file',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (90,1,'civicrm/file/delete',NULL,'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\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:21:\"Browse Uploaded files\";s:3:\"url\";s:21:\"/civicrm/file?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (91,1,'civicrm/friend',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
- (92,1,'civicrm/logout',NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,9999,1,1,NULL,'a:0:{}'),
- (93,1,'civicrm/i18n',NULL,NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (94,1,'civicrm/ajax/attachment',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (95,1,'civicrm/api',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Core_Page_Redirect\";','s:16:\"url=civicrm/api3\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (96,1,'civicrm/api3',NULL,'CiviCRM API v3','a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (97,1,'civicrm/ajax/apiexample',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (98,1,'civicrm/ajax/apidoc',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (99,1,'civicrm/ajax/rest',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (100,1,'civicrm/api/json',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}','s:16:\"url=civicrm/api3\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (101,1,'civicrm/inline',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (102,1,'civicrm/ajax/chart',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (103,1,'civicrm/asset/builder',NULL,NULL,'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\";}','a:2:{i:0;s:23:\"\\Civi\\Core\\AssetBuilder\";i:1;s:7:\"pageRun\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (104,1,'civicrm/contribute/ajax/tableview',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (105,1,'civicrm/payment/ipn',NULL,NULL,'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\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&amp;action=add\";}}',NULL,NULL,2,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
- (106,1,'civicrm/batch',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (107,1,'civicrm/batch/add',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:22:\"/civicrm/batch?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (108,1,'civicrm/batch/entry',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:22:\"/civicrm/batch?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (109,1,'civicrm/ajax/batch',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (110,1,'civicrm/ajax/batchlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (111,1,'civicrm/ajax/inline',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (112,1,'civicrm/dev/qunit',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (113,1,'civicrm/profile-editor/schema',NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (114,1,'civicrm/a',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (115,1,'civicrm/ajax/angular-modules',NULL,NULL,'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:\"\\Civi\\Angular\\Page\\Modules\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (116,1,'civicrm/ajax/recurringentity/update-mode',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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:34:\"CRM_Core_Page_AJAX_RecurringEntity\";i:1;s:10:\"updateMode\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (117,1,'civicrm/recurringentity/preview',NULL,'Confirm dates','a:2:{i:0;s:19:\"CRM_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:36:\"CRM_Core_Page_RecurringEntityPreview\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (118,1,'civicrm/shortcode',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (119,1,'civicrm/task/add-to-group',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Form_Task_AddToGroup\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (120,1,'civicrm/task/remove-from-group',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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:37:\"CRM_Contact_Form_Task_RemoveFromGroup\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (121,1,'civicrm/task/add-to-tag',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Contact_Form_Task_AddToTag\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (122,1,'civicrm/task/remove-from-tag',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Contact_Form_Task_RemoveFromTag\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (123,1,'civicrm/task/send-email',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (124,1,'civicrm/task/make-mailing-label',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Label\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (125,1,'civicrm/task/pick-profile',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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:33:\"CRM_Contact_Form_Task_PickProfile\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (126,1,'civicrm/task/print-document',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (127,1,'civicrm/task/unhold-email',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Contact_Form_Task_Unhold\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (128,1,'civicrm/task/alter-contact-preference',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Contact_Form_Task_AlterPreferences\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (129,1,'civicrm/task/delete-contact',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Contact_Form_Task_Delete\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (130,1,'civicrm/tag',NULL,'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:11:\"manage tags\";}i:1;s:2:\"or\";}','s:16:\"CRM_Tag_Page_Tag\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,25,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (131,1,'civicrm/tag/edit','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:11:\"manage tags\";}i:1;s:2:\"or\";}','s:17:\"CRM_Tag_Form_Edit\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:17:\"Tags (Categories)\";s:3:\"url\";s:20:\"/civicrm/tag?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (132,1,'civicrm/tag/merge',NULL,'Merge Tags','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','s:18:\"CRM_Tag_Form_Merge\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:17:\"Tags (Categories)\";s:3:\"url\";s:20:\"/civicrm/tag?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (133,1,'civicrm/ajax/tagTree',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:10:\"getTagTree\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (134,1,'civicrm/pcp',NULL,NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
- (135,1,'civicrm/pcp/campaign',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,0,1,0,NULL,'a:0:{}'),
- (136,1,'civicrm/pcp/info',NULL,NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
- (137,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:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:16:\"CRM_PCP_Page_PCP\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,362,1,0,NULL,'a:2:{s:4:\"desc\";s:49:\"View and manage existing personal campaign pages.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'),
- (138,1,'civicrm/admin/custom/group',NULL,'Custom Data','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Page_Group\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:2:{s:4:\"desc\";s:109:\"Configure custom fields to collect and store custom data which is not included in the standard CiviCRM forms.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (139,1,'civicrm/admin/custom/group/field',NULL,'Custom Data Fields','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Page_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,11,1,0,0,'a:0:{}'),
- (140,1,'civicrm/admin/custom/group/field/option',NULL,'Custom Field - Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Custom_Page_Option\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
- (141,1,'civicrm/admin/custom/group/field/add',NULL,'Custom Field - Add','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
- (142,1,'civicrm/admin/custom/group/field/update',NULL,'Custom Field - Edit','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
- (143,1,'civicrm/admin/custom/group/field/move',NULL,'Custom Field - Move','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Custom_Form_MoveField\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
- (144,1,'civicrm/admin/uf/group',NULL,'Profiles','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Page_Group\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,20,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (145,1,'civicrm/admin/uf/group/field',NULL,'CiviCRM Profile Fields','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Page_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,21,1,0,0,'a:0:{}'),
- (146,1,'civicrm/admin/uf/group/field/add',NULL,'Add Field','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,22,1,0,NULL,'a:0:{}'),
- (147,1,'civicrm/admin/uf/group/field/update',NULL,'Edit Field','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,23,1,0,NULL,'a:0:{}'),
- (148,1,'civicrm/admin/uf/group/add',NULL,'New CiviCRM Profile','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Group\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,24,1,0,NULL,'a:0:{}'),
- (149,1,'civicrm/admin/uf/group/update',NULL,'Profile Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Group\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,25,1,0,NULL,'a:0:{}'),
- (150,1,'civicrm/admin/uf/group/setting',NULL,'AdditionalInfo Form','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_UF_Form_AdvanceSetting\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,0,1,0,NULL,'a:0:{}'),
- (151,1,'civicrm/admin/options/activity_type',NULL,'Activity Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,30,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (152,1,'civicrm/admin/reltype',NULL,'Relationship Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Page_RelationshipType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,35,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (153,1,'civicrm/admin/options/subtype',NULL,'Contact Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Admin_Page_ContactType\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,40,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (154,1,'civicrm/admin/options/gender',NULL,'Gender Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,45,1,0,NULL,'a:2:{s:4:\"desc\";s:79:\"Options for assigning gender to individual contacts (e.g. Male, Female, Other).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (155,1,'civicrm/admin/options/individual_prefix',NULL,'Individual Prefixes (Ms, Mr...)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,50,1,0,NULL,'a:2:{s:4:\"desc\";s:66:\"Options for individual contact prefixes (e.g. Ms., Mr., Dr. etc.).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (156,1,'civicrm/admin/options/individual_suffix',NULL,'Individual Suffixes (Jr, Sr...)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,55,1,0,NULL,'a:2:{s:4:\"desc\";s:61:\"Options for individual contact suffixes (e.g. Jr., Sr. etc.).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (157,1,'civicrm/admin/locationType',NULL,'Location Types (Home, Work...)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Page_LocationType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,60,1,0,NULL,'a:2:{s:4:\"desc\";s:94:\"Options for categorizing contact addresses and phone numbers (e.g. Home, Work, Billing, etc.).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (158,1,'civicrm/admin/options/website_type',NULL,'Website Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,65,1,0,NULL,'a:2:{s:4:\"desc\";s:48:\"Options for assigning website types to contacts.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (159,1,'civicrm/admin/options/instant_messenger_service',NULL,'Instant Messenger Services','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,70,1,0,NULL,'a:2:{s:4:\"desc\";s:79:\"List of IM services which can be used when recording screen-names for contacts.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (160,1,'civicrm/admin/options/mobile_provider',NULL,'Mobile Phone Providers','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,75,1,0,NULL,'a:2:{s:4:\"desc\";s:90:\"List of mobile phone providers which can be assigned when recording contact phone numbers.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (161,1,'civicrm/admin/options/phone_type',NULL,'Phone Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,80,1,0,NULL,'a:2:{s:4:\"desc\";s:80:\"Options for assigning phone type to contacts (e.g Phone,\n    Mobile, Fax, Pager)\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (162,1,'civicrm/admin/setting/preferences/display',NULL,'Display Preferences','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_Admin_Form_Preferences_Display\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,90,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (163,1,'civicrm/admin/setting/search',NULL,'Search Preferences','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Admin_Form_Setting_Search\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,95,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (164,1,'civicrm/admin/setting/preferences/date',NULL,'View Date Preferences','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Admin_Page_PreferencesDate\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
- (165,1,'civicrm/admin/menu',NULL,'Navigation Menu','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Page_Navigation\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,100,1,0,NULL,'a:2:{s:4:\"desc\";s:79:\"Add or remove menu items, and modify the order of items on the navigation menu.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (166,1,'civicrm/admin/options/wordreplacements',NULL,'Word Replacements','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Form_WordReplacements\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,105,1,0,NULL,'a:2:{s:4:\"desc\";s:18:\"Word Replacements.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (167,1,'civicrm/admin/options/custom_search',NULL,'Manage Custom Searches','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,110,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
- (168,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:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_Contact_Form_Domain\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:14:\"Communications\";}'),
- (169,1,'civicrm/admin/options/from_email_address',NULL,'From Email Addresses','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,20,1,0,NULL,'a:2:{s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
- (170,1,'civicrm/admin/messageTemplates',NULL,'Message Templates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:22:\"edit message templates\";i:1;s:34:\"edit user-driven message templates\";i:2;s:38:\"edit system workflow message templates\";}i:1;s:2:\"or\";}','s:31:\"CRM_Admin_Page_MessageTemplates\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,30,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:14:\"Communications\";}'),
- (171,1,'civicrm/admin/messageTemplates/add',NULL,'Message Templates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:22:\"edit message templates\";i:1;s:34:\"edit user-driven message templates\";i:2;s:38:\"edit system workflow message templates\";}i:1;s:2:\"or\";}','s:31:\"CRM_Admin_Form_MessageTemplates\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Message Templates\";s:3:\"url\";s:39:\"/civicrm/admin/messageTemplates?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,262,1,0,NULL,'a:1:{s:4:\"desc\";s:26:\"Add/Edit Message Templates\";}'),
- (172,1,'civicrm/admin/scheduleReminders',NULL,'Schedule Reminders','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCRM data\";i:1;s:15:\"edit all events\";}i:1;s:2:\"or\";}','s:32:\"CRM_Admin_Page_ScheduleReminders\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,40,1,0,NULL,'a:2:{s:4:\"desc\";s:19:\"Schedule Reminders.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
- (173,1,'civicrm/admin/weight',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Utils_Weight\";i:1;s:8:\"fixOrder\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
- (174,1,'civicrm/admin/options/preferred_communication_method',NULL,'Preferred Communication Methods','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,50,1,0,NULL,'a:2:{s:4:\"desc\";s:117:\"One or more preferred methods of communication can be assigned to each contact. Customize the available options here.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
- (175,1,'civicrm/admin/labelFormats',NULL,'Label Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Page_LabelFormats\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,60,1,0,NULL,'a:2:{s:4:\"desc\";s:67:\"Configure Label Formats that are used when creating mailing labels.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
- (176,1,'civicrm/admin/pdfFormats',NULL,'Print Page (PDF) Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Page_PdfFormats\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,70,1,0,NULL,'a:2:{s:4:\"desc\";s:95:\"Configure PDF Page Formats that can be assigned to Message Templates when creating PDF letters.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
- (177,1,'civicrm/admin/options/communication_style',NULL,'Communication Style Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,75,1,0,NULL,'a:2:{s:4:\"desc\";s:42:\"Options for Communication Style selection.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
- (178,1,'civicrm/admin/options/email_greeting',NULL,'Email Greeting Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,80,1,0,NULL,'a:2:{s:4:\"desc\";s:75:\"Options for assigning email greetings to individual and household contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
- (179,1,'civicrm/admin/options/postal_greeting',NULL,'Postal Greeting Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,90,1,0,NULL,'a:2:{s:4:\"desc\";s:76:\"Options for assigning postal greetings to individual and household contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
- (180,1,'civicrm/admin/options/addressee',NULL,'Addressee Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,100,1,0,NULL,'a:2:{s:4:\"desc\";s:83:\"Options for assigning addressee to individual, household and organization contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
- (181,1,'civicrm/admin/setting/localization',NULL,'Languages, Currency, Locations','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Admin_Form_Setting_Localization\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:12:\"Localization\";}'),
- (182,1,'civicrm/admin/setting/preferences/address',NULL,'Address Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_Admin_Form_Preferences_Address\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,20,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:12:\"Localization\";}'),
- (183,1,'civicrm/admin/setting/date',NULL,'Date Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_Setting_Date\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,30,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:12:\"Localization\";}'),
- (184,1,'civicrm/admin/options/languages',NULL,'Preferred Languages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,40,1,0,NULL,'a:2:{s:4:\"desc\";s:30:\"Options for contact languages.\";s:10:\"adminGroup\";s:12:\"Localization\";}'),
- (185,1,'civicrm/admin/access',NULL,'Access Control','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Admin_Page_Access\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:2:{s:4:\"desc\";s:73:\"Grant or deny access to actions (view, edit...), features and components.\";s:10:\"adminGroup\";s:21:\"Users and Permissions\";}'),
- (186,1,'civicrm/admin/access/wp-permissions',NULL,'WordPress Access Control','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_ACL_Form_WordPress_Permissions\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Access Control\";s:3:\"url\";s:29:\"/civicrm/admin/access?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:1:{s:4:\"desc\";s:65:\"Grant access to CiviCRM components and other CiviCRM permissions.\";}'),
- (187,1,'civicrm/admin/synchUser',NULL,'Synchronize Users to Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_CMSUser\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,20,1,0,NULL,'a:2:{s:4:\"desc\";s:71:\"Automatically create a CiviCRM contact record for each CMS user record.\";s:10:\"adminGroup\";s:21:\"Users and Permissions\";}'),
- (188,1,'civicrm/admin/configtask',NULL,'Configuration Checklist','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Admin_Page_ConfigTaskList\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}','civicrm/admin/configtask',NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:2:{s:4:\"desc\";s:55:\"List of configuration tasks with links to each setting.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (189,1,'civicrm/admin/setting/component',NULL,'Enable CiviCRM Components','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Admin_Form_Setting_Component\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (190,1,'civicrm/admin/extensions',NULL,'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:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Page_Extensions\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,120,1,0,NULL,'a:2:{s:4:\"desc\";s:0:\"\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (191,1,'civicrm/admin/extensions/upgrade',NULL,'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:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:32:\"CRM_Admin_Page_ExtensionsUpgrade\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Manage Extensions\";s:3:\"url\";s:33:\"/civicrm/admin/extensions?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
- (192,1,'civicrm/admin/setting/smtp',NULL,'Outbound Email Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_Setting_Smtp\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,20,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (193,1,'civicrm/admin/paymentProcessor',NULL,'Settings - Payment Processor','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:29:\"administer payment processors\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Page_PaymentProcessor\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,30,1,0,NULL,'a:2:{s:4:\"desc\";s:48:\"Payment Processor setup for CiviCRM transactions\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (194,1,'civicrm/admin/setting/mapping',NULL,'Mapping and Geocoding','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Admin_Form_Setting_Mapping\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,40,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (195,1,'civicrm/admin/setting/misc',NULL,'Misc (Undelete, PDFs, Limits, Logging, etc.)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:36:\"CRM_Admin_Form_Setting_Miscellaneous\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,50,1,0,NULL,'a:2:{s:4:\"desc\";s:63:\"Enable undelete/move to trash feature, detailed change logging.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (196,1,'civicrm/admin/setting/path',NULL,'Directories','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_Setting_Path\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,60,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (197,1,'civicrm/admin/setting/url',NULL,'Resource URLs','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Admin_Form_Setting_Url\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,70,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (198,1,'civicrm/admin/setting/updateConfigBackend',NULL,'Cleanup Caches and Update Paths','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:42:\"CRM_Admin_Form_Setting_UpdateConfigBackend\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,80,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (199,1,'civicrm/admin/setting/uf',NULL,'CMS Database Integration','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Form_Setting_UF\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,90,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (200,1,'civicrm/admin/options/safe_file_extension',NULL,'Safe File Extension Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,100,1,0,NULL,'a:2:{s:4:\"desc\";s:44:\"File Extensions that can be considered safe.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (201,1,'civicrm/admin/options',NULL,'Option Groups','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,105,1,0,NULL,'a:2:{s:4:\"desc\";s:35:\"Access all meta-data option groups.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (202,1,'civicrm/admin/mapping',NULL,'Import/Export Mappings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Mapping\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,110,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (203,1,'civicrm/admin/setting/debug',NULL,'Debugging','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Admin_Form_Setting_Debugging\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,120,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (204,1,'civicrm/admin/setting/preferences/multisite',NULL,'Multi Site Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,130,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (205,1,'civicrm/admin/setting/preferences/campaign',NULL,'CiviCampaign Component Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:3:{s:4:\"desc\";s:40:\"Configure global CiviCampaign behaviors.\";s:10:\"adminGroup\";s:12:\"CiviCampaign\";s:9:\"component\";s:12:\"CiviCampaign\";}'),
- (206,1,'civicrm/admin/setting/preferences/event',NULL,'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:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,420,1,0,NULL,'a:2:{s:4:\"desc\";s:37:\"Configure global CiviEvent behaviors.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'),
- (207,1,'civicrm/admin/setting/preferences/mailing',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,430,1,0,NULL,'a:2:{s:4:\"desc\";s:36:\"Configure global CiviMail behaviors.\";s:10:\"adminGroup\";s:8:\"CiviMail\";}'),
- (208,1,'civicrm/admin/setting/preferences/member',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,390,1,0,NULL,'a:2:{s:4:\"desc\";s:38:\"Configure global CiviMember behaviors.\";s:10:\"adminGroup\";s:10:\"CiviMember\";}'),
- (209,1,'civicrm/admin/runjobs',NULL,NULL,'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:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:20:\"executeScheduledJobs\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:1:{s:4:\"desc\";s:36:\"URL used for running scheduled jobs.\";}'),
- (210,1,'civicrm/admin/job',NULL,'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:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:18:\"CRM_Admin_Page_Job\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1370,1,0,NULL,'a:2:{s:4:\"desc\";s:35:\"Managing periodially running tasks.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (211,1,'civicrm/admin/joblog',NULL,'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:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:21:\"CRM_Admin_Page_JobLog\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1380,1,0,NULL,'a:2:{s:4:\"desc\";s:46:\"Browsing the log of periodially running tasks.\";s:10:\"adminGroup\";s:6:\"Manage\";}'),
- (212,1,'civicrm/admin/options/grant_type',NULL,'Grant Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,385,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:12:\"Option Lists\";}'),
- (213,1,'civicrm/admin/paymentProcessorType',NULL,'Payment Processor Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Admin_Page_PaymentProcessorType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,390,1,0,NULL,'a:1:{s:4:\"desc\";s:34:\"Payment Processor type information\";}'),
- (214,1,'civicrm/admin',NULL,'Administer CiviCRM','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:20:\"CRM_Admin_Page_Admin\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,9000,1,1,NULL,'a:0:{}'),
- (215,1,'civicrm/ajax/navmenu',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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:7:\"navMenu\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (216,1,'civicrm/ajax/menutree',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,3,NULL,'a:0:{}'),
- (217,1,'civicrm/ajax/statusmsg',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (218,1,'civicrm/admin/price',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,380,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:9:\"Customize\";}'),
- (219,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\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:1:{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.\";}'),
- (220,1,'civicrm/admin/price/field',NULL,'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\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,0,'a:0:{}'),
- (221,1,'civicrm/admin/price/field/option',NULL,'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\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
- (222,1,'civicrm/ajax/mapping',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (223,1,'civicrm/ajax/recipientListing',NULL,NULL,'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:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:16:\"recipientListing\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (224,1,'civicrm/admin/sms/provider',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,500,1,0,NULL,'a:2:{s:4:\"desc\";s:27:\"To configure a sms provider\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
- (225,1,'civicrm/sms/send',NULL,'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:8:\"send SMS\";}i:1;s:3:\"and\";}','s:23:\"CRM_SMS_Controller_Send\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,610,1,1,NULL,'a:0:{}'),
- (226,1,'civicrm/sms/callback',NULL,NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
- (227,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:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Badge_Page_Layout\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,399,1,0,NULL,'a:2:{s:4:\"desc\";s:107:\"Configure name badge layouts for event participants, including logos and what data to include on the badge.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'),
- (228,1,'civicrm/admin/badgelayout/add',NULL,NULL,'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\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:3:\"url\";s:52:\"/civicrm/admin/badgelayout?reset=1&amp;action=browse\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
- (229,1,'civicrm/admin/ckeditor',NULL,'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_Form_CKEditorConfig\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
- (230,1,'civicrm/ajax/api4',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Api4_Permission\";i:1;s:5:\"check\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:18:\"CRM_Api4_Page_AJAX\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (231,1,'civicrm/api4',NULL,'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_Api4_Page_Api4Explorer\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (232,1,'civicrm/custom/add',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (233,1,'civicrm/ajax/optionlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (234,1,'civicrm/ajax/reorder',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (235,1,'civicrm/ajax/multirecordfieldlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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:23:\"getMultiRecordFieldList\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (236,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:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (237,1,'civicrm/activity/view',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&amp;action=add&amp;context=standalone\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (238,1,'civicrm/ajax/activity',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (239,1,'civicrm/ajax/globalrelationships',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (240,1,'civicrm/ajax/clientrelationships',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (241,1,'civicrm/ajax/caseroles',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (242,1,'civicrm/ajax/contactactivity',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (243,1,'civicrm/ajax/activity/convert',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,3,NULL,'a:0:{}'),
- (244,1,'civicrm/activity/search',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&amp;action=add&amp;context=standalone\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
- (245,1,'civicrm/profile',NULL,NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,0,1,0,NULL,'a:0:{}'),
- (246,1,'civicrm/profile/create',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,0,1,0,NULL,'a:0:{}'),
- (247,1,'civicrm/profile/view',NULL,NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (6,1,'civicrm/custom',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (7,1,'civicrm/ajax/jqState',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (8,1,'civicrm/ajax/jqCounty',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (9,1,'civicrm/profile',NULL,NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,0,1,0,NULL,'a:0:{}'),
+ (10,1,'civicrm/profile/create',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,0,1,0,NULL,'a:0:{}'),
+ (11,1,'civicrm/profile/view',NULL,NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (12,1,'civicrm/ajax/api4',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Api4_Permission\";i:1;s:5:\"check\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:18:\"CRM_Api4_Page_AJAX\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (13,1,'civicrm/api4',NULL,'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_Api4_Page_Api4Explorer\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (14,1,'civicrm/custom/add',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (15,1,'civicrm/ajax/optionlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (16,1,'civicrm/ajax/reorder',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (17,1,'civicrm/ajax/multirecordfieldlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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:23:\"getMultiRecordFieldList\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (18,1,'civicrm/tag',NULL,'Tags','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','s:16:\"CRM_Tag_Page_Tag\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,25,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (19,1,'civicrm/tag/edit','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:11:\"manage tags\";}i:1;s:2:\"or\";}','s:17:\"CRM_Tag_Form_Edit\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:4:\"Tags\";s:3:\"url\";s:20:\"/civicrm/tag?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (20,1,'civicrm/tag/merge',NULL,'Merge Tags','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','s:18:\"CRM_Tag_Form_Merge\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:4:\"Tags\";s:3:\"url\";s:20:\"/civicrm/tag?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (21,1,'civicrm/ajax/tagTree',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:10:\"getTagTree\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (22,1,'civicrm/pcp',NULL,NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (23,1,'civicrm/pcp/campaign',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,0,1,0,NULL,'a:0:{}'),
+ (24,1,'civicrm/pcp/info',NULL,NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (25,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:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:16:\"CRM_PCP_Page_PCP\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,362,1,0,NULL,'a:2:{s:4:\"desc\";s:49:\"View and manage existing personal campaign pages.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'),
+ (26,1,'civicrm/payment/form',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&amp;action=add\";}}',NULL,NULL,2,NULL,1,NULL,0,0,1,0,NULL,'a:0:{}'),
+ (27,1,'civicrm/payment/edit',NULL,NULL,'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:30:\"CRM_Financial_Form_PaymentEdit\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&amp;action=add\";}}',NULL,NULL,2,NULL,NULL,NULL,0,1,1,0,NULL,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'),
+ (28,1,'civicrm/admin/custom/group',NULL,'Custom Data','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Page_Group\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:2:{s:4:\"desc\";s:109:\"Configure custom fields to collect and store custom data which is not included in the standard CiviCRM forms.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (29,1,'civicrm/admin/custom/group/field',NULL,'Custom Data Fields','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Page_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,11,1,0,0,'a:0:{}'),
+ (30,1,'civicrm/admin/custom/group/field/option',NULL,'Custom Field - Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Custom_Page_Option\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
+ (31,1,'civicrm/admin/custom/group/field/add',NULL,'Custom Field - Add','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
+ (32,1,'civicrm/admin/custom/group/field/update',NULL,'Custom Field - Edit','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
+ (33,1,'civicrm/admin/custom/group/field/move',NULL,'Custom Field - Move','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Custom_Form_MoveField\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
+ (34,1,'civicrm/admin/uf/group',NULL,'Profiles','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Page_Group\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,20,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (35,1,'civicrm/admin/uf/group/field',NULL,'CiviCRM Profile Fields','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Page_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,21,1,0,0,'a:0:{}'),
+ (36,1,'civicrm/admin/uf/group/field/add',NULL,'Add Field','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,22,1,0,NULL,'a:0:{}'),
+ (37,1,'civicrm/admin/uf/group/field/update',NULL,'Edit Field','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,23,1,0,NULL,'a:0:{}'),
+ (38,1,'civicrm/admin/uf/group/add',NULL,'New CiviCRM Profile','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Group\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,24,1,0,NULL,'a:0:{}'),
+ (39,1,'civicrm/admin/uf/group/update',NULL,'Profile Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Group\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,25,1,0,NULL,'a:0:{}'),
+ (40,1,'civicrm/admin/uf/group/setting',NULL,'AdditionalInfo Form','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_UF_Form_AdvanceSetting\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,0,1,0,NULL,'a:0:{}'),
+ (41,1,'civicrm/admin/options/activity_type',NULL,'Activity Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,30,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (42,1,'civicrm/admin/reltype',NULL,'Relationship Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Page_RelationshipType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,35,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (43,1,'civicrm/admin/options/subtype',NULL,'Contact Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Admin_Page_ContactType\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,40,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (44,1,'civicrm/admin/options/gender',NULL,'Gender Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,45,1,0,NULL,'a:2:{s:4:\"desc\";s:79:\"Options for assigning gender to individual contacts (e.g. Male, Female, Other).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (45,1,'civicrm/admin/options/individual_prefix',NULL,'Individual Prefixes (Ms, Mr...)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,50,1,0,NULL,'a:2:{s:4:\"desc\";s:66:\"Options for individual contact prefixes (e.g. Ms., Mr., Dr. etc.).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (46,1,'civicrm/admin/options/individual_suffix',NULL,'Individual Suffixes (Jr, Sr...)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,55,1,0,NULL,'a:2:{s:4:\"desc\";s:61:\"Options for individual contact suffixes (e.g. Jr., Sr. etc.).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (47,1,'civicrm/admin/locationType',NULL,'Location Types (Home, Work...)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Page_LocationType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,60,1,0,NULL,'a:2:{s:4:\"desc\";s:94:\"Options for categorizing contact addresses and phone numbers (e.g. Home, Work, Billing, etc.).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (48,1,'civicrm/admin/options/website_type',NULL,'Website Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,65,1,0,NULL,'a:2:{s:4:\"desc\";s:48:\"Options for assigning website types to contacts.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (49,1,'civicrm/admin/options/instant_messenger_service',NULL,'Instant Messenger Services','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,70,1,0,NULL,'a:2:{s:4:\"desc\";s:79:\"List of IM services which can be used when recording screen-names for contacts.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (50,1,'civicrm/admin/options/mobile_provider',NULL,'Mobile Phone Providers','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,75,1,0,NULL,'a:2:{s:4:\"desc\";s:90:\"List of mobile phone providers which can be assigned when recording contact phone numbers.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (51,1,'civicrm/admin/options/phone_type',NULL,'Phone Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,80,1,0,NULL,'a:2:{s:4:\"desc\";s:80:\"Options for assigning phone type to contacts (e.g Phone,\n    Mobile, Fax, Pager)\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (52,1,'civicrm/admin/setting/preferences/display',NULL,'Display Preferences','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_Admin_Form_Preferences_Display\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,90,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (53,1,'civicrm/admin/setting/search',NULL,'Search Preferences','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Admin_Form_Setting_Search\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,95,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (54,1,'civicrm/admin/setting/preferences/date',NULL,'View Date Preferences','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Admin_Page_PreferencesDate\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
+ (55,1,'civicrm/admin/menu',NULL,'Navigation Menu','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Page_Navigation\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,100,1,0,NULL,'a:2:{s:4:\"desc\";s:79:\"Add or remove menu items, and modify the order of items on the navigation menu.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (56,1,'civicrm/admin/options/wordreplacements',NULL,'Word Replacements','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Form_WordReplacements\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,105,1,0,NULL,'a:2:{s:4:\"desc\";s:18:\"Word Replacements.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (57,1,'civicrm/admin/options/custom_search',NULL,'Manage Custom Searches','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,110,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'),
+ (58,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:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_Contact_Form_Domain\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:14:\"Communications\";}'),
+ (59,1,'civicrm/admin/options/from_email_address',NULL,'From Email Addresses','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,20,1,0,NULL,'a:2:{s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
+ (60,1,'civicrm/admin/messageTemplates',NULL,'Message Templates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:22:\"edit message templates\";i:1;s:34:\"edit user-driven message templates\";i:2;s:38:\"edit system workflow message templates\";}i:1;s:2:\"or\";}','s:31:\"CRM_Admin_Page_MessageTemplates\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,30,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:14:\"Communications\";}'),
+ (61,1,'civicrm/admin/messageTemplates/add',NULL,'Message Templates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:22:\"edit message templates\";i:1;s:34:\"edit user-driven message templates\";i:2;s:38:\"edit system workflow message templates\";}i:1;s:2:\"or\";}','s:31:\"CRM_Admin_Form_MessageTemplates\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Message Templates\";s:3:\"url\";s:39:\"/civicrm/admin/messageTemplates?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,262,1,0,NULL,'a:1:{s:4:\"desc\";s:26:\"Add/Edit Message Templates\";}'),
+ (62,1,'civicrm/admin/scheduleReminders',NULL,'Schedule Reminders','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCRM data\";i:1;s:15:\"edit all events\";}i:1;s:2:\"or\";}','s:32:\"CRM_Admin_Page_ScheduleReminders\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,40,1,0,NULL,'a:2:{s:4:\"desc\";s:19:\"Schedule Reminders.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
+ (63,1,'civicrm/admin/weight',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Utils_Weight\";i:1;s:8:\"fixOrder\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
+ (64,1,'civicrm/admin/options/preferred_communication_method',NULL,'Preferred Communication Methods','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,50,1,0,NULL,'a:2:{s:4:\"desc\";s:117:\"One or more preferred methods of communication can be assigned to each contact. Customize the available options here.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
+ (65,1,'civicrm/admin/labelFormats',NULL,'Label Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Page_LabelFormats\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,60,1,0,NULL,'a:2:{s:4:\"desc\";s:67:\"Configure Label Formats that are used when creating mailing labels.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
+ (66,1,'civicrm/admin/pdfFormats',NULL,'Print Page (PDF) Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Page_PdfFormats\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,70,1,0,NULL,'a:2:{s:4:\"desc\";s:95:\"Configure PDF Page Formats that can be assigned to Message Templates when creating PDF letters.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
+ (67,1,'civicrm/admin/options/communication_style',NULL,'Communication Style Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,75,1,0,NULL,'a:2:{s:4:\"desc\";s:42:\"Options for Communication Style selection.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
+ (68,1,'civicrm/admin/options/email_greeting',NULL,'Email Greeting Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,80,1,0,NULL,'a:2:{s:4:\"desc\";s:75:\"Options for assigning email greetings to individual and household contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
+ (69,1,'civicrm/admin/options/postal_greeting',NULL,'Postal Greeting Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,90,1,0,NULL,'a:2:{s:4:\"desc\";s:76:\"Options for assigning postal greetings to individual and household contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
+ (70,1,'civicrm/admin/options/addressee',NULL,'Addressee Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,100,1,0,NULL,'a:2:{s:4:\"desc\";s:83:\"Options for assigning addressee to individual, household and organization contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'),
+ (71,1,'civicrm/admin/setting/localization',NULL,'Languages, Currency, Locations','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Admin_Form_Setting_Localization\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:12:\"Localization\";}'),
+ (72,1,'civicrm/admin/setting/preferences/address',NULL,'Address Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_Admin_Form_Preferences_Address\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,20,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:12:\"Localization\";}'),
+ (73,1,'civicrm/admin/setting/date',NULL,'Date Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_Setting_Date\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,30,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:12:\"Localization\";}'),
+ (74,1,'civicrm/admin/options/languages',NULL,'Preferred Languages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,40,1,0,NULL,'a:2:{s:4:\"desc\";s:30:\"Options for contact languages.\";s:10:\"adminGroup\";s:12:\"Localization\";}'),
+ (75,1,'civicrm/admin/access',NULL,'Access Control','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Admin_Page_Access\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:2:{s:4:\"desc\";s:73:\"Grant or deny access to actions (view, edit...), features and components.\";s:10:\"adminGroup\";s:21:\"Users and Permissions\";}'),
+ (76,1,'civicrm/admin/access/wp-permissions',NULL,'WordPress Access Control','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_ACL_Form_WordPress_Permissions\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Access Control\";s:3:\"url\";s:29:\"/civicrm/admin/access?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:1:{s:4:\"desc\";s:65:\"Grant access to CiviCRM components and other CiviCRM permissions.\";}'),
+ (77,1,'civicrm/admin/synchUser',NULL,'Synchronize Users to Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_CMSUser\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,20,1,0,NULL,'a:2:{s:4:\"desc\";s:71:\"Automatically create a CiviCRM contact record for each CMS user record.\";s:10:\"adminGroup\";s:21:\"Users and Permissions\";}'),
+ (78,1,'civicrm/admin/configtask',NULL,'Configuration Checklist','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Admin_Page_ConfigTaskList\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}','civicrm/admin/configtask',NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:2:{s:4:\"desc\";s:55:\"List of configuration tasks with links to each setting.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (79,1,'civicrm/admin/setting/component',NULL,'Enable CiviCRM Components','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Admin_Form_Setting_Component\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (80,1,'civicrm/admin/extensions',NULL,'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:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Page_Extensions\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,120,1,0,NULL,'a:2:{s:4:\"desc\";s:0:\"\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (81,1,'civicrm/admin/extensions/upgrade',NULL,'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:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:32:\"CRM_Admin_Page_ExtensionsUpgrade\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Manage Extensions\";s:3:\"url\";s:33:\"/civicrm/admin/extensions?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
+ (82,1,'civicrm/admin/setting/smtp',NULL,'Outbound Email Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_Setting_Smtp\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,20,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (83,1,'civicrm/admin/paymentProcessor',NULL,'Settings - Payment Processor','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:29:\"administer payment processors\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Page_PaymentProcessor\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,30,1,0,NULL,'a:2:{s:4:\"desc\";s:48:\"Payment Processor setup for CiviCRM transactions\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (84,1,'civicrm/admin/setting/mapping',NULL,'Mapping and Geocoding','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Admin_Form_Setting_Mapping\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,40,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (85,1,'civicrm/admin/setting/misc',NULL,'Misc (Undelete, PDFs, Limits, Logging, etc.)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:36:\"CRM_Admin_Form_Setting_Miscellaneous\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,50,1,0,NULL,'a:2:{s:4:\"desc\";s:63:\"Enable undelete/move to trash feature, detailed change logging.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (86,1,'civicrm/admin/setting/path',NULL,'Directories','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_Setting_Path\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,60,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (87,1,'civicrm/admin/setting/url',NULL,'Resource URLs','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Admin_Form_Setting_Url\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,70,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (88,1,'civicrm/admin/setting/updateConfigBackend',NULL,'Cleanup Caches and Update Paths','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:42:\"CRM_Admin_Form_Setting_UpdateConfigBackend\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,80,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (89,1,'civicrm/admin/setting/uf',NULL,'CMS Database Integration','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Form_Setting_UF\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,90,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (90,1,'civicrm/admin/options/safe_file_extension',NULL,'Safe File Extension Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,100,1,0,NULL,'a:2:{s:4:\"desc\";s:44:\"File Extensions that can be considered safe.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (91,1,'civicrm/admin/options',NULL,'Option Groups','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,105,1,0,NULL,'a:2:{s:4:\"desc\";s:35:\"Access all meta-data option groups.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (92,1,'civicrm/admin/mapping',NULL,'Import/Export Mappings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Mapping\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,110,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (93,1,'civicrm/admin/setting/debug',NULL,'Debugging','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Admin_Form_Setting_Debugging\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,120,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (94,1,'civicrm/admin/setting/preferences/multisite',NULL,'Multi Site Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,130,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (95,1,'civicrm/admin/setting/preferences/campaign',NULL,'CiviCampaign Component Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,10,1,0,NULL,'a:3:{s:4:\"desc\";s:40:\"Configure global CiviCampaign behaviors.\";s:10:\"adminGroup\";s:12:\"CiviCampaign\";s:9:\"component\";s:12:\"CiviCampaign\";}'),
+ (96,1,'civicrm/admin/setting/preferences/event',NULL,'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:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,420,1,0,NULL,'a:2:{s:4:\"desc\";s:37:\"Configure global CiviEvent behaviors.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'),
+ (97,1,'civicrm/admin/setting/preferences/mailing',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,430,1,0,NULL,'a:2:{s:4:\"desc\";s:36:\"Configure global CiviMail behaviors.\";s:10:\"adminGroup\";s:8:\"CiviMail\";}'),
+ (98,1,'civicrm/admin/setting/preferences/member',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,390,1,0,NULL,'a:2:{s:4:\"desc\";s:38:\"Configure global CiviMember behaviors.\";s:10:\"adminGroup\";s:10:\"CiviMember\";}'),
+ (99,1,'civicrm/admin/runjobs',NULL,NULL,'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:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:20:\"executeScheduledJobs\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:1:{s:4:\"desc\";s:36:\"URL used for running scheduled jobs.\";}'),
+ (100,1,'civicrm/admin/job',NULL,'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:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:18:\"CRM_Admin_Page_Job\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1370,1,0,NULL,'a:2:{s:4:\"desc\";s:35:\"Managing periodially running tasks.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (101,1,'civicrm/admin/joblog',NULL,'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:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:21:\"CRM_Admin_Page_JobLog\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1380,1,0,NULL,'a:2:{s:4:\"desc\";s:46:\"Browsing the log of periodially running tasks.\";s:10:\"adminGroup\";s:6:\"Manage\";}'),
+ (102,1,'civicrm/admin/options/grant_type',NULL,'Grant Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,385,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:12:\"Option Lists\";}'),
+ (103,1,'civicrm/admin/paymentProcessorType',NULL,'Payment Processor Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Admin_Page_PaymentProcessorType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,390,1,0,NULL,'a:1:{s:4:\"desc\";s:34:\"Payment Processor type information\";}'),
+ (104,1,'civicrm/admin',NULL,'Administer CiviCRM','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:20:\"CRM_Admin_Page_Admin\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,9000,1,1,NULL,'a:0:{}'),
+ (105,1,'civicrm/ajax/navmenu',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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:7:\"navMenu\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (106,1,'civicrm/ajax/menutree',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,3,NULL,'a:0:{}'),
+ (107,1,'civicrm/ajax/statusmsg',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (108,1,'civicrm/admin/price',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,380,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:9:\"Customize\";}'),
+ (109,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\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:1:{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.\";}'),
+ (110,1,'civicrm/admin/price/field',NULL,'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\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,0,'a:0:{}'),
+ (111,1,'civicrm/admin/price/field/option',NULL,'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\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
+ (112,1,'civicrm/ajax/mapping',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (113,1,'civicrm/ajax/recipientListing',NULL,NULL,'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:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:16:\"recipientListing\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (114,1,'civicrm/admin/sms/provider',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,500,1,0,NULL,'a:2:{s:4:\"desc\";s:27:\"To configure a sms provider\";s:10:\"adminGroup\";s:15:\"System Settings\";}'),
+ (115,1,'civicrm/sms/send',NULL,'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:8:\"send SMS\";}i:1;s:3:\"and\";}','s:23:\"CRM_SMS_Controller_Send\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,610,1,1,NULL,'a:0:{}'),
+ (116,1,'civicrm/sms/callback',NULL,NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (117,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:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Badge_Page_Layout\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,399,1,0,NULL,'a:2:{s:4:\"desc\";s:107:\"Configure name badge layouts for event participants, including logos and what data to include on the badge.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'),
+ (118,1,'civicrm/admin/badgelayout/add',NULL,NULL,'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\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:3:\"url\";s:52:\"/civicrm/admin/badgelayout?reset=1&amp;action=browse\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
+ (119,1,'civicrm/admin/ckeditor',NULL,'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_Form_CKEditorConfig\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
+ (120,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:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (121,1,'civicrm/activity/view',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&amp;action=add&amp;context=standalone\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (122,1,'civicrm/ajax/activity',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (123,1,'civicrm/ajax/globalrelationships',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (124,1,'civicrm/ajax/clientrelationships',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (125,1,'civicrm/ajax/caseroles',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (126,1,'civicrm/ajax/contactactivity',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (127,1,'civicrm/ajax/activity/convert',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,3,NULL,'a:0:{}'),
+ (128,1,'civicrm/activity/search',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&amp;action=add&amp;context=standalone\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (129,1,'civicrm',NULL,'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\";',NULL,'a:0:{}',NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,0,NULL,'a:0:{}'),
+ (130,1,'civicrm/dashboard',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,1,NULL,'a:0:{}'),
+ (131,1,'civicrm/contact/search',NULL,'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:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,10,1,1,NULL,'a:0:{}'),
+ (132,1,'civicrm/contact/image',NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (133,1,'civicrm/contact/imagefile',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (134,1,'civicrm/contact/search/basic',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (135,1,'civicrm/contact/search/advanced',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,12,1,1,NULL,'a:0:{}'),
+ (136,1,'civicrm/contact/search/builder',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,14,1,1,NULL,'a:0:{}'),
+ (137,1,'civicrm/contact/search/custom',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (138,1,'civicrm/contact/search/custom/list',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,16,1,1,NULL,'a:0:{}'),
+ (139,1,'civicrm/contact/add',NULL,'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:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (140,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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:28:\"/civicrm/contact/add?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (141,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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:28:\"/civicrm/contact/add?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (142,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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:28:\"/civicrm/contact/add?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (143,1,'civicrm/contact/relatedcontact',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (144,1,'civicrm/contact/merge',NULL,'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:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','s:22:\"CRM_Contact_Form_Merge\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (145,1,'civicrm/contact/email',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (146,1,'civicrm/contact/map',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (147,1,'civicrm/contact/map/event',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Map Location(s)\";s:3:\"url\";s:28:\"/civicrm/contact/map?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (148,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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (149,1,'civicrm/contact/view/delete',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (150,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (151,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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&amp;action=add&amp;context=standalone\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (152,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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&amp;action=add&amp;context=standalone\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (153,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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&amp;action=add&amp;context=standalone\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (154,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (155,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (156,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (157,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (158,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (159,1,'civicrm/contact/view/cd',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (160,1,'civicrm/contact/view/cd/edit',NULL,NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (161,1,'civicrm/contact/view/vcard',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (162,1,'civicrm/contact/view/print',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (163,1,'civicrm/contact/view/log',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (164,1,'civicrm/user',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,0,1,0,NULL,'a:0:{}'),
+ (165,1,'civicrm/dashlet/activity',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (166,1,'civicrm/dashlet/blog',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (167,1,'civicrm/dashlet/getting-started',NULL,'CiviCRM Resources','a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (168,1,'civicrm/ajax/relation',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,3,NULL,'a:0:{}'),
+ (169,1,'civicrm/ajax/groupTree',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (170,1,'civicrm/ajax/custom',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (171,1,'civicrm/ajax/customvalue',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,3,NULL,'a:0:{}'),
+ (172,1,'civicrm/ajax/cmsuser',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (173,1,'civicrm/ajax/checkemail',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (174,1,'civicrm/ajax/checkphone',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (175,1,'civicrm/ajax/subtype',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (176,1,'civicrm/ajax/signature',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (177,1,'civicrm/ajax/pdfFormat',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (178,1,'civicrm/ajax/paperSize',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (179,1,'civicrm/ajax/contactref',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (180,1,'civicrm/dashlet/myCases',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (181,1,'civicrm/dashlet/allCases',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (182,1,'civicrm/dashlet/casedashboard',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (183,1,'civicrm/contact/deduperules',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,105,1,0,NULL,'a:2:{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:10:\"adminGroup\";s:6:\"Manage\";}'),
+ (184,1,'civicrm/contact/dedupefind',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (185,1,'civicrm/ajax/dedupefind',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (186,1,'civicrm/contact/dedupemerge',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (187,1,'civicrm/dedupe/exception',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,110,1,0,NULL,'a:1:{s:10:\"adminGroup\";s:6:\"Manage\";}'),
+ (188,1,'civicrm/ajax/dedupeRules',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (189,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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&amp;cid=%%cid%%\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (190,1,'civicrm/ajax/markSelection',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (191,1,'civicrm/ajax/toggleDedupeSelect',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (192,1,'civicrm/ajax/flipDupePairs',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (193,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:8:\"send SMS\";}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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&amp;action=add&amp;context=standalone\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (194,1,'civicrm/ajax/contactrelationships',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (195,1,'civicrm/group',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,30,1,1,NULL,'a:0:{}'),
+ (196,1,'civicrm/group/search',NULL,'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:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:22:\"/civicrm/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:1:{s:7:\"comment\";s:164:\"Note: group search already respect ACL, so a strict permission at url level is not required. A simple/basic permission like \'access CiviCRM\' could be used. CRM-5417\";}'),
+ (197,1,'civicrm/group/add',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:22:\"/civicrm/group?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (198,1,'civicrm/ajax/grouplist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (199,1,'civicrm/upgrade',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (200,1,'civicrm/export',NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (201,1,'civicrm/export/contact',NULL,'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\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Download Errors\";s:3:\"url\";s:23:\"/civicrm/export?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,0,NULL,'a:0:{}'),
+ (202,1,'civicrm/export/standalone',NULL,'Export','a:2:{i:0;s:19:\"CRM_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_Export_Controller_Standalone\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Download Errors\";s:3:\"url\";s:23:\"/civicrm/export?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (203,1,'civicrm/admin/options/acl_role',NULL,'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\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
+ (204,1,'civicrm/acl',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (205,1,'civicrm/acl/entityrole',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:20:\"/civicrm/acl?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (206,1,'civicrm/acl/basic',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:20:\"/civicrm/acl?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (207,1,'civicrm/file',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (208,1,'civicrm/file/delete',NULL,'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\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:21:\"Browse Uploaded files\";s:3:\"url\";s:21:\"/civicrm/file?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (209,1,'civicrm/friend',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (210,1,'civicrm/logout',NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,9999,1,1,NULL,'a:0:{}'),
+ (211,1,'civicrm/i18n',NULL,NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (212,1,'civicrm/ajax/attachment',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (213,1,'civicrm/api',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Core_Page_Redirect\";','s:16:\"url=civicrm/api3\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (214,1,'civicrm/api3',NULL,'CiviCRM API v3','a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (215,1,'civicrm/ajax/apiexample',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (216,1,'civicrm/ajax/apidoc',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (217,1,'civicrm/ajax/rest',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (218,1,'civicrm/api/json',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}','s:16:\"url=civicrm/api3\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (219,1,'civicrm/inline',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (220,1,'civicrm/ajax/chart',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (221,1,'civicrm/asset/builder',NULL,NULL,'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\";}','a:2:{i:0;s:23:\"\\Civi\\Core\\AssetBuilder\";i:1;s:7:\"pageRun\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (222,1,'civicrm/contribute/ajax/tableview',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (223,1,'civicrm/payment/ipn',NULL,NULL,'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\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&amp;action=add\";}}',NULL,NULL,2,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (224,1,'civicrm/batch',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (225,1,'civicrm/batch/add',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:22:\"/civicrm/batch?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (226,1,'civicrm/batch/entry',NULL,NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:22:\"/civicrm/batch?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (227,1,'civicrm/ajax/batch',NULL,NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (228,1,'civicrm/ajax/batchlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (229,1,'civicrm/ajax/inline',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (230,1,'civicrm/dev/qunit',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (231,1,'civicrm/profile-editor/schema',NULL,'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\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (232,1,'civicrm/a',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (233,1,'civicrm/ajax/angular-modules',NULL,NULL,'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:\"\\Civi\\Angular\\Page\\Modules\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (234,1,'civicrm/ajax/recurringentity/update-mode',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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:34:\"CRM_Core_Page_AJAX_RecurringEntity\";i:1;s:10:\"updateMode\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (235,1,'civicrm/recurringentity/preview',NULL,'Confirm dates','a:2:{i:0;s:19:\"CRM_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:36:\"CRM_Core_Page_RecurringEntityPreview\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (236,1,'civicrm/shortcode',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (237,1,'civicrm/task/add-to-group',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Form_Task_AddToGroup\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (238,1,'civicrm/task/remove-from-group',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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:37:\"CRM_Contact_Form_Task_RemoveFromGroup\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (239,1,'civicrm/task/add-to-tag',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Contact_Form_Task_AddToTag\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (240,1,'civicrm/task/remove-from-tag',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Contact_Form_Task_RemoveFromTag\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (241,1,'civicrm/task/send-email',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (242,1,'civicrm/task/make-mailing-label',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Label\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (243,1,'civicrm/task/pick-profile',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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:33:\"CRM_Contact_Form_Task_PickProfile\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (244,1,'civicrm/task/print-document',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (245,1,'civicrm/task/unhold-email',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Contact_Form_Task_Unhold\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (246,1,'civicrm/task/alter-contact-preference',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Contact_Form_Task_AlterPreferences\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
+ (247,1,'civicrm/task/delete-contact',NULL,NULL,'a:2:{i:0;s:19:\"CRM_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_Contact_Form_Task_Delete\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:0:{}'),
  (248,1,'civicrm/event',NULL,'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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,1,NULL,NULL,NULL,0,800,1,1,NULL,'a:1:{s:9:\"component\";s:9:\"CiviEvent\";}'),
  (249,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\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,0,1,1,0,NULL,'a:1:{s:9:\"component\";s:9:\"CiviEvent\";}'),
  (250,1,'civicrm/event/info',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
@@ -5082,7 +5083,7 @@ INSERT INTO `civicrm_menu` (`id`, `domain_id`, `path`, `path_arguments`, `title`
  (442,1,'civicrm/event/remove_from_cart',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
  (443,1,'civicrm/event/view_cart',NULL,'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\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,NULL,1,NULL,0,1,1,0,NULL,'a:0:{}'),
  (444,1,'civicrm/admin/setting/recaptcha',NULL,'reCAPTCHA Settings','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:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,0,NULL,'a:0:{}'),
- (445,1,'admin',NULL,NULL,NULL,NULL,NULL,NULL,'a:15:{s:6:\"Manage\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{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:36:\"/civicrm/contact/deduperules?reset=1\";s:4:\"icon\";N;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:33:\"/civicrm/dedupe/exception?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}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:29:\"/civicrm/admin/joblog?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:26:\"Customize Data and Screens\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:19:{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:20:\"/civicrm/tag?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}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:35:\"/civicrm/admin/custom/group?reset=1\";s:4:\"icon\";N;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:31:\"/civicrm/admin/uf/group?reset=1\";s:4:\"icon\";N;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:44:\"/civicrm/admin/options/activity_type?reset=1\";s:4:\"icon\";N;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:30:\"/civicrm/admin/reltype?reset=1\";s:4:\"icon\";N;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:38:\"/civicrm/admin/options/subtype?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:23:\"{weight}.Gender Options\";a:6:{s:5:\"title\";s:14:\"Gender Options\";s:4:\"desc\";s:79:\"Options for assigning gender to individual contacts (e.g. Male, Female, Other).\";s:2:\"id\";s:13:\"GenderOptions\";s:3:\"url\";s:37:\"/civicrm/admin/options/gender?reset=1\";s:4:\"icon\";N;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:48:\"/civicrm/admin/options/individual_prefix?reset=1\";s:4:\"icon\";N;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:48:\"/civicrm/admin/options/individual_suffix?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/locationType?reset=1\";s:4:\"icon\";N;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:43:\"/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:56:\"/civicrm/admin/options/instant_messenger_service?reset=1\";s:4:\"icon\";N;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:46:\"/civicrm/admin/options/mobile_provider?reset=1\";s:4:\"icon\";N;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:41:\"/civicrm/admin/options/phone_type?reset=1\";s:4:\"icon\";N;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:50:\"/civicrm/admin/setting/preferences/display?reset=1\";s:4:\"icon\";N;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:37:\"/civicrm/admin/setting/search?reset=1\";s:4:\"icon\";N;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:27:\"/civicrm/admin/menu?reset=1\";s:4:\"icon\";N;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:47:\"/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:44:\"/civicrm/admin/options/custom_search?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:14:\"CiviContribute\";a:2:{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:49:\"/civicrm/admin/pcp?context=contribute&amp;reset=1\";s:4:\"icon\";N;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:33:\"/civicrm/admin/contribute?reset=1\";s:4:\"icon\";N;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:48:\"/civicrm/admin/contribute/managePremiums?reset=1\";s:4:\"icon\";N;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:46:\"/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:49:\"/civicrm/admin/financial/financialAccount?reset=1\";s:4:\"icon\";N;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:49:\"/civicrm/admin/options/payment_instrument?reset=1\";s:4:\"icon\";N;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:48:\"/civicrm/admin/options/accept_creditcard?reset=1\";s:4:\"icon\";N;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:47:\"/civicrm/admin/options/soft_credit_type?reset=1\";s:4:\"icon\";N;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:53:\"/civicrm/admin/setting/preferences/contribute?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:14:\"Communications\";a:2:{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:47:\"/civicrm/admin/domain?action=update&amp;reset=1\";s:4:\"icon\";N;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:49:\"/civicrm/admin/options/from_email_address?reset=1\";s:4:\"icon\";N;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:39:\"/civicrm/admin/messageTemplates?reset=1\";s:4:\"icon\";N;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:40:\"/civicrm/admin/scheduleReminders?reset=1\";s:4:\"icon\";N;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:61:\"/civicrm/admin/options/preferred_communication_method?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/labelFormats?reset=1\";s:4:\"icon\";N;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:33:\"/civicrm/admin/pdfFormats?reset=1\";s:4:\"icon\";N;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:50:\"/civicrm/admin/options/communication_style?reset=1\";s:4:\"icon\";N;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:45:\"/civicrm/admin/options/email_greeting?reset=1\";s:4:\"icon\";N;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:46:\"/civicrm/admin/options/postal_greeting?reset=1\";s:4:\"icon\";N;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:40:\"/civicrm/admin/options/addressee?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:12:\"Localization\";a:2:{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:43:\"/civicrm/admin/setting/localization?reset=1\";s:4:\"icon\";N;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:50:\"/civicrm/admin/setting/preferences/address?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/setting/date?reset=1\";s:4:\"icon\";N;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:40:\"/civicrm/admin/options/languages?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:21:\"Users and Permissions\";a:2:{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:29:\"/civicrm/admin/access?reset=1\";s:4:\"icon\";N;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:32:\"/civicrm/admin/synchUser?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:15:\"System Settings\";a:2:{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:33:\"/civicrm/admin/configtask?reset=1\";s:4:\"icon\";N;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:40:\"/civicrm/admin/setting/component?reset=1\";s:4:\"icon\";N;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:33:\"/civicrm/admin/extensions?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/setting/smtp?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:37:\"{weight}.Settings - Payment Processor\";a:6:{s:5:\"title\";s:28:\"Settings - Payment Processor\";s:4:\"desc\";s:48:\"Payment Processor setup for CiviCRM transactions\";s:2:\"id\";s:25:\"Settings-PaymentProcessor\";s:3:\"url\";s:39:\"/civicrm/admin/paymentProcessor?reset=1\";s:4:\"icon\";N;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:38:\"/civicrm/admin/setting/mapping?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:53:\"{weight}.Misc (Undelete, PDFs, Limits, Logging, etc.)\";a:6:{s:5:\"title\";s:44:\"Misc (Undelete, PDFs, Limits, Logging, etc.)\";s:4:\"desc\";s:63:\"Enable undelete/move to trash feature, detailed change logging.\";s:2:\"id\";s:38:\"Misc_Undelete_PDFs_Limits_Logging_etc.\";s:3:\"url\";s:35:\"/civicrm/admin/setting/misc?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/setting/path?reset=1\";s:4:\"icon\";N;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:34:\"/civicrm/admin/setting/url?reset=1\";s:4:\"icon\";N;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:50:\"/civicrm/admin/setting/updateConfigBackend?reset=1\";s:4:\"icon\";N;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:33:\"/civicrm/admin/setting/uf?reset=1\";s:4:\"icon\";N;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:50:\"/civicrm/admin/options/safe_file_extension?reset=1\";s:4:\"icon\";N;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:30:\"/civicrm/admin/options?reset=1\";s:4:\"icon\";N;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:30:\"/civicrm/admin/mapping?reset=1\";s:4:\"icon\";N;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:36:\"/civicrm/admin/setting/debug?reset=1\";s:4:\"icon\";N;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:52:\"/civicrm/admin/setting/preferences/multisite?reset=1\";s:4:\"icon\";N;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:26:\"/civicrm/admin/job?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/sms/provider?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:12:\"CiviCampaign\";a:2:{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:51:\"/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:42:\"/civicrm/admin/campaign/surveyType?reset=1\";s:4:\"icon\";N;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:44:\"/civicrm/admin/options/campaign_type?reset=1\";s:4:\"icon\";N;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:46:\"/civicrm/admin/options/campaign_status?reset=1\";s:4:\"icon\";N;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:47:\"/civicrm/admin/options/engagement_index?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:9:\"CiviEvent\";a:2:{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:48:\"/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:52:\"/civicrm/admin/badgelayout?action=browse&amp;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:28:\"/civicrm/admin/event?reset=1\";s:4:\"icon\";N;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:36:\"/civicrm/admin/eventTemplate?reset=1\";s:4:\"icon\";N;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:41:\"/civicrm/admin/options/event_type?reset=1\";s:4:\"icon\";N;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:41:\"/civicrm/admin/participant_status?reset=1\";s:4:\"icon\";N;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:47:\"/civicrm/admin/options/participant_role?reset=1\";s:4:\"icon\";N;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:50:\"/civicrm/admin/options/participant_listing?reset=1\";s:4:\"icon\";N;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:46:\"/civicrm/admin/options/conference_slot?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:8:\"CiviMail\";a:2:{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:50:\"/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:27:\"/civicrm/admin/mail?reset=1\";s:4:\"icon\";N;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:32:\"/civicrm/admin/component?reset=1\";s:4:\"icon\";N;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:58:\"/civicrm/admin/options/from_email_address/civimail?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/mailSettings?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:10:\"CiviMember\";a:2:{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:49:\"/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:44:\"/civicrm/admin/member/membershipType?reset=1\";s:4:\"icon\";N;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:46:\"/civicrm/admin/member/membershipStatus?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:12:\"Option Lists\";a:2:{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:41:\"/civicrm/admin/options/grant_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:9:\"Customize\";a:2:{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:28:\"/civicrm/admin/price?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:8:\"CiviCase\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:26:\"{weight}.CiviCase Settings\";a:6:{s:5:\"title\";s:17:\"CiviCase Settings\";s:4:\"desc\";N;s:2:\"id\";s:16:\"CiviCaseSettings\";s:3:\"url\";s:35:\"/civicrm/admin/setting/case?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}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:40:\"/civicrm/admin/options/case_type?reset=1\";s:4:\"icon\";N;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:45:\"/civicrm/admin/options/redaction_rule?reset=1\";s:4:\"icon\";N;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:42:\"/civicrm/admin/options/case_status?reset=1\";s:4:\"icon\";N;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:47:\"/civicrm/admin/options/encounter_medium?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:10:\"CiviReport\";a:2:{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:43:\"/civicrm/admin/report/template/list?reset=1\";s:4:\"icon\";N;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:53:\"/civicrm/admin/report/options/report_template?reset=1\";s:4:\"icon\";N;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:34:\"/civicrm/admin/report/list?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,NULL,'a:0:{}');
+ (445,1,'admin',NULL,NULL,NULL,NULL,NULL,NULL,'a:15:{s:26:\"Customize Data and Screens\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:19:{s:13:\"{weight}.Tags\";a:6:{s:5:\"title\";s:4:\"Tags\";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:4:\"Tags\";s:3:\"url\";s:20:\"/civicrm/tag?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}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:35:\"/civicrm/admin/custom/group?reset=1\";s:4:\"icon\";N;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:31:\"/civicrm/admin/uf/group?reset=1\";s:4:\"icon\";N;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:44:\"/civicrm/admin/options/activity_type?reset=1\";s:4:\"icon\";N;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:30:\"/civicrm/admin/reltype?reset=1\";s:4:\"icon\";N;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:38:\"/civicrm/admin/options/subtype?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:23:\"{weight}.Gender Options\";a:6:{s:5:\"title\";s:14:\"Gender Options\";s:4:\"desc\";s:79:\"Options for assigning gender to individual contacts (e.g. Male, Female, Other).\";s:2:\"id\";s:13:\"GenderOptions\";s:3:\"url\";s:37:\"/civicrm/admin/options/gender?reset=1\";s:4:\"icon\";N;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:48:\"/civicrm/admin/options/individual_prefix?reset=1\";s:4:\"icon\";N;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:48:\"/civicrm/admin/options/individual_suffix?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/locationType?reset=1\";s:4:\"icon\";N;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:43:\"/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:56:\"/civicrm/admin/options/instant_messenger_service?reset=1\";s:4:\"icon\";N;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:46:\"/civicrm/admin/options/mobile_provider?reset=1\";s:4:\"icon\";N;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:41:\"/civicrm/admin/options/phone_type?reset=1\";s:4:\"icon\";N;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:50:\"/civicrm/admin/setting/preferences/display?reset=1\";s:4:\"icon\";N;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:37:\"/civicrm/admin/setting/search?reset=1\";s:4:\"icon\";N;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:27:\"/civicrm/admin/menu?reset=1\";s:4:\"icon\";N;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:47:\"/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:44:\"/civicrm/admin/options/custom_search?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:14:\"CiviContribute\";a:2:{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:49:\"/civicrm/admin/pcp?context=contribute&amp;reset=1\";s:4:\"icon\";N;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:33:\"/civicrm/admin/contribute?reset=1\";s:4:\"icon\";N;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:48:\"/civicrm/admin/contribute/managePremiums?reset=1\";s:4:\"icon\";N;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:46:\"/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:49:\"/civicrm/admin/financial/financialAccount?reset=1\";s:4:\"icon\";N;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:49:\"/civicrm/admin/options/payment_instrument?reset=1\";s:4:\"icon\";N;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:48:\"/civicrm/admin/options/accept_creditcard?reset=1\";s:4:\"icon\";N;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:47:\"/civicrm/admin/options/soft_credit_type?reset=1\";s:4:\"icon\";N;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:53:\"/civicrm/admin/setting/preferences/contribute?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:14:\"Communications\";a:2:{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:47:\"/civicrm/admin/domain?action=update&amp;reset=1\";s:4:\"icon\";N;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:49:\"/civicrm/admin/options/from_email_address?reset=1\";s:4:\"icon\";N;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:39:\"/civicrm/admin/messageTemplates?reset=1\";s:4:\"icon\";N;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:40:\"/civicrm/admin/scheduleReminders?reset=1\";s:4:\"icon\";N;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:61:\"/civicrm/admin/options/preferred_communication_method?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/labelFormats?reset=1\";s:4:\"icon\";N;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:33:\"/civicrm/admin/pdfFormats?reset=1\";s:4:\"icon\";N;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:50:\"/civicrm/admin/options/communication_style?reset=1\";s:4:\"icon\";N;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:45:\"/civicrm/admin/options/email_greeting?reset=1\";s:4:\"icon\";N;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:46:\"/civicrm/admin/options/postal_greeting?reset=1\";s:4:\"icon\";N;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:40:\"/civicrm/admin/options/addressee?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:12:\"Localization\";a:2:{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:43:\"/civicrm/admin/setting/localization?reset=1\";s:4:\"icon\";N;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:50:\"/civicrm/admin/setting/preferences/address?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/setting/date?reset=1\";s:4:\"icon\";N;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:40:\"/civicrm/admin/options/languages?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:21:\"Users and Permissions\";a:2:{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:29:\"/civicrm/admin/access?reset=1\";s:4:\"icon\";N;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:32:\"/civicrm/admin/synchUser?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:15:\"System Settings\";a:2:{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:33:\"/civicrm/admin/configtask?reset=1\";s:4:\"icon\";N;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:40:\"/civicrm/admin/setting/component?reset=1\";s:4:\"icon\";N;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:33:\"/civicrm/admin/extensions?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/setting/smtp?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:37:\"{weight}.Settings - Payment Processor\";a:6:{s:5:\"title\";s:28:\"Settings - Payment Processor\";s:4:\"desc\";s:48:\"Payment Processor setup for CiviCRM transactions\";s:2:\"id\";s:25:\"Settings-PaymentProcessor\";s:3:\"url\";s:39:\"/civicrm/admin/paymentProcessor?reset=1\";s:4:\"icon\";N;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:38:\"/civicrm/admin/setting/mapping?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:53:\"{weight}.Misc (Undelete, PDFs, Limits, Logging, etc.)\";a:6:{s:5:\"title\";s:44:\"Misc (Undelete, PDFs, Limits, Logging, etc.)\";s:4:\"desc\";s:63:\"Enable undelete/move to trash feature, detailed change logging.\";s:2:\"id\";s:38:\"Misc_Undelete_PDFs_Limits_Logging_etc.\";s:3:\"url\";s:35:\"/civicrm/admin/setting/misc?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/setting/path?reset=1\";s:4:\"icon\";N;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:34:\"/civicrm/admin/setting/url?reset=1\";s:4:\"icon\";N;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:50:\"/civicrm/admin/setting/updateConfigBackend?reset=1\";s:4:\"icon\";N;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:33:\"/civicrm/admin/setting/uf?reset=1\";s:4:\"icon\";N;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:50:\"/civicrm/admin/options/safe_file_extension?reset=1\";s:4:\"icon\";N;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:30:\"/civicrm/admin/options?reset=1\";s:4:\"icon\";N;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:30:\"/civicrm/admin/mapping?reset=1\";s:4:\"icon\";N;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:36:\"/civicrm/admin/setting/debug?reset=1\";s:4:\"icon\";N;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:52:\"/civicrm/admin/setting/preferences/multisite?reset=1\";s:4:\"icon\";N;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:26:\"/civicrm/admin/job?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/sms/provider?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:12:\"CiviCampaign\";a:2:{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:51:\"/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:42:\"/civicrm/admin/campaign/surveyType?reset=1\";s:4:\"icon\";N;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:44:\"/civicrm/admin/options/campaign_type?reset=1\";s:4:\"icon\";N;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:46:\"/civicrm/admin/options/campaign_status?reset=1\";s:4:\"icon\";N;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:47:\"/civicrm/admin/options/engagement_index?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:9:\"CiviEvent\";a:2:{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:48:\"/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:52:\"/civicrm/admin/badgelayout?action=browse&amp;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:28:\"/civicrm/admin/event?reset=1\";s:4:\"icon\";N;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:36:\"/civicrm/admin/eventTemplate?reset=1\";s:4:\"icon\";N;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:41:\"/civicrm/admin/options/event_type?reset=1\";s:4:\"icon\";N;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:41:\"/civicrm/admin/participant_status?reset=1\";s:4:\"icon\";N;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:47:\"/civicrm/admin/options/participant_role?reset=1\";s:4:\"icon\";N;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:50:\"/civicrm/admin/options/participant_listing?reset=1\";s:4:\"icon\";N;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:46:\"/civicrm/admin/options/conference_slot?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:8:\"CiviMail\";a:2:{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:50:\"/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:27:\"/civicrm/admin/mail?reset=1\";s:4:\"icon\";N;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:32:\"/civicrm/admin/component?reset=1\";s:4:\"icon\";N;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:58:\"/civicrm/admin/options/from_email_address/civimail?reset=1\";s:4:\"icon\";N;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:35:\"/civicrm/admin/mailSettings?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:10:\"CiviMember\";a:2:{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:49:\"/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:44:\"/civicrm/admin/member/membershipType?reset=1\";s:4:\"icon\";N;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:46:\"/civicrm/admin/member/membershipStatus?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:6:\"Manage\";a:2:{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:29:\"/civicrm/admin/joblog?reset=1\";s:4:\"icon\";N;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:36:\"/civicrm/contact/deduperules?reset=1\";s:4:\"icon\";N;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:33:\"/civicrm/dedupe/exception?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:12:\"Option Lists\";a:2:{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:41:\"/civicrm/admin/options/grant_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:9:\"Customize\";a:2:{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:28:\"/civicrm/admin/price?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:8:\"CiviCase\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:26:\"{weight}.CiviCase Settings\";a:6:{s:5:\"title\";s:17:\"CiviCase Settings\";s:4:\"desc\";N;s:2:\"id\";s:16:\"CiviCaseSettings\";s:3:\"url\";s:35:\"/civicrm/admin/setting/case?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}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:40:\"/civicrm/admin/options/case_type?reset=1\";s:4:\"icon\";N;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:45:\"/civicrm/admin/options/redaction_rule?reset=1\";s:4:\"icon\";N;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:42:\"/civicrm/admin/options/case_status?reset=1\";s:4:\"icon\";N;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:47:\"/civicrm/admin/options/encounter_medium?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:10:\"CiviReport\";a:2:{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:43:\"/civicrm/admin/report/template/list?reset=1\";s:4:\"icon\";N;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:53:\"/civicrm/admin/report/options/report_template?reset=1\";s:4:\"icon\";N;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:34:\"/civicrm/admin/report/list?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,NULL,'a:0:{}');
 /*!40000 ALTER TABLE `civicrm_menu` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -5093,70 +5094,70 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_msg_template` WRITE;
 /*!40000 ALTER TABLE `civicrm_msg_template` DISABLE KEYS */;
 INSERT INTO `civicrm_msg_template` (`id`, `msg_title`, `msg_subject`, `msg_text`, `msg_html`, `is_active`, `workflow_id`, `workflow_name`, `is_default`, `is_reserved`, `is_sms`, `pdf_format_id`) VALUES
- (1,'Cases - Send Copy of an Activity','{if !empty($idHash)}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if !empty($isCaseActivity)}\n{ts}Your Case Role(s){/ts} : {$contact.role}\n{if $manageCaseURL}\n{ts}Manage Case{/ts} : {$manageCaseURL}\n{/if}\n{/if}\n\n{if $editActURL}\n{ts}Edit activity{/ts} : {$editActURL}\n{/if}\n{if $viewActURL}\n{ts}View activity{/ts} : {$viewActURL}\n{/if}\n\n{foreach from=$activity.fields item=field}\n{if $field.type eq \'Date\'}\n{$field.label}{if !empty($field.category)}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label}{if !empty($field.category)}({$field.category}){/if} : {$field.value}\n{/if}\n{/foreach}\n\n{foreach from=$activity.customGroups key=customGroupName item=customGroup}\n==========================================================\n{$customGroupName}\n==========================================================\n{foreach from=$customGroup item=field}\n{if $field.type eq \'Date\'}\n{$field.label} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label} : {$field.value}\n{/if}\n{/foreach}\n\n{/foreach}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Activity Summary{/ts} - {$activityTypeName}\n      </th>\n     </tr>\n     {if !empty($isCaseActivity)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Your Case Role(s){/ts}\n       </td>\n       <td {$valueStyle}>\n        {$contact.role}\n       </td>\n      </tr>\n      {if $manageCaseURL}\n       <tr>\n       <td colspan=\"2\" {$valueStyle}>\n     <a href=\"{$manageCaseURL}\" title=\"{ts}Manage Case{/ts}\">{ts}Manage Case{/ts}</a>\n       </td>\n       </tr>\n      {/if}\n     {/if}\n     {if $editActURL}\n     <tr>\n       <td colspan=\"2\" {$valueStyle}>\n   <a href=\"{$editActURL}\" title=\"{ts}Edit activity{/ts}\">{ts}Edit activity{/ts}</a>\n       </td>\n     </tr>\n     {/if}\n     {if $viewActURL}\n     <tr>\n       <td colspan=\"2\" {$valueStyle}>\n   <a href=\"{$viewActURL}\" title=\"{ts}View activity{/ts}\">{ts}View activity{/ts}</a>\n       </td>\n     </tr>\n     {/if}\n     {foreach from=$activity.fields item=field}\n      <tr>\n       <td {$labelStyle}>\n        {$field.label}{if !empty($field.category)}({$field.category}){/if}\n       </td>\n       <td {$valueStyle}>\n        {if $field.type eq \'Date\'}\n         {$field.value|crmDate:$config->dateformatDatetime}\n        {else}\n         {$field.value}\n        {/if}\n       </td>\n      </tr>\n     {/foreach}\n\n     {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n      <tr>\n       <th {$headerStyle}>\n        {$customGroupName}\n       </th>\n      </tr>\n      {foreach from=$customGroup item=field}\n       <tr>\n        <td {$labelStyle}>\n         {$field.label}\n        </td>\n        <td {$valueStyle}>\n         {if $field.type eq \'Date\'}\n          {$field.value|crmDate:$config->dateformatDatetime}\n         {else}\n          {$field.value}\n         {/if}\n        </td>\n       </tr>\n      {/foreach}\n     {/foreach}\n    </table>\n   </td>\n  </tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,819,'case_activity',1,0,0,NULL),
- (2,'Cases - Send Copy of an Activity','{if !empty($idHash)}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if !empty($isCaseActivity)}\n{ts}Your Case Role(s){/ts} : {$contact.role}\n{if $manageCaseURL}\n{ts}Manage Case{/ts} : {$manageCaseURL}\n{/if}\n{/if}\n\n{if $editActURL}\n{ts}Edit activity{/ts} : {$editActURL}\n{/if}\n{if $viewActURL}\n{ts}View activity{/ts} : {$viewActURL}\n{/if}\n\n{foreach from=$activity.fields item=field}\n{if $field.type eq \'Date\'}\n{$field.label}{if !empty($field.category)}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label}{if !empty($field.category)}({$field.category}){/if} : {$field.value}\n{/if}\n{/foreach}\n\n{foreach from=$activity.customGroups key=customGroupName item=customGroup}\n==========================================================\n{$customGroupName}\n==========================================================\n{foreach from=$customGroup item=field}\n{if $field.type eq \'Date\'}\n{$field.label} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label} : {$field.value}\n{/if}\n{/foreach}\n\n{/foreach}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Activity Summary{/ts} - {$activityTypeName}\n      </th>\n     </tr>\n     {if !empty($isCaseActivity)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Your Case Role(s){/ts}\n       </td>\n       <td {$valueStyle}>\n        {$contact.role}\n       </td>\n      </tr>\n      {if $manageCaseURL}\n       <tr>\n       <td colspan=\"2\" {$valueStyle}>\n     <a href=\"{$manageCaseURL}\" title=\"{ts}Manage Case{/ts}\">{ts}Manage Case{/ts}</a>\n       </td>\n       </tr>\n      {/if}\n     {/if}\n     {if $editActURL}\n     <tr>\n       <td colspan=\"2\" {$valueStyle}>\n   <a href=\"{$editActURL}\" title=\"{ts}Edit activity{/ts}\">{ts}Edit activity{/ts}</a>\n       </td>\n     </tr>\n     {/if}\n     {if $viewActURL}\n     <tr>\n       <td colspan=\"2\" {$valueStyle}>\n   <a href=\"{$viewActURL}\" title=\"{ts}View activity{/ts}\">{ts}View activity{/ts}</a>\n       </td>\n     </tr>\n     {/if}\n     {foreach from=$activity.fields item=field}\n      <tr>\n       <td {$labelStyle}>\n        {$field.label}{if !empty($field.category)}({$field.category}){/if}\n       </td>\n       <td {$valueStyle}>\n        {if $field.type eq \'Date\'}\n         {$field.value|crmDate:$config->dateformatDatetime}\n        {else}\n         {$field.value}\n        {/if}\n       </td>\n      </tr>\n     {/foreach}\n\n     {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n      <tr>\n       <th {$headerStyle}>\n        {$customGroupName}\n       </th>\n      </tr>\n      {foreach from=$customGroup item=field}\n       <tr>\n        <td {$labelStyle}>\n         {$field.label}\n        </td>\n        <td {$valueStyle}>\n         {if $field.type eq \'Date\'}\n          {$field.value|crmDate:$config->dateformatDatetime}\n         {else}\n          {$field.value}\n         {/if}\n        </td>\n       </tr>\n      {/foreach}\n     {/foreach}\n    </table>\n   </td>\n  </tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,819,'case_activity',0,1,0,NULL),
- (3,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts} - {contact.display_name}\n','{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}\n{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}\n\n{ts}Organization Name{/ts}: {$onBehalfName}\n{ts}Organization Email{/ts}: {$onBehalfEmail}\n{ts}Organization Contact ID{/ts}: {$onBehalfID}\n\n{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}\n\n{if $receiptMessage}\n###########################################################\n{ts}Copy of Contribution Receipt{/ts}\n\n###########################################################\n{$receiptMessage}\n\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <p>{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}</p>\n    <p>{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <td {$labelStyle}>\n       {ts}Organization Name{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$onBehalfName}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Organization Email{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$onBehalfEmail}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Organization Contact ID{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$onBehalfID}\n      </td>\n     </tr>\n    </table>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <p>{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}</p>\n   </td>\n  </tr>\n  {if $receiptMessage}\n   <tr>\n    <td>\n     <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n      <tr>\n       <th {$headerStyle}>\n        {ts}Copy of Contribution Receipt{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {* FIXME: the below is most probably not HTML-ised *}\n        {$receiptMessage}\n       </td>\n      </tr>\n     </table>\n    </td>\n   </tr>\n  {/if}\n </table>\n</center>\n\n</body>\n</html>\n',1,820,'contribution_dupalert',1,0,0,NULL),
- (4,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts} - {contact.display_name}\n','{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}\n{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}\n\n{ts}Organization Name{/ts}: {$onBehalfName}\n{ts}Organization Email{/ts}: {$onBehalfEmail}\n{ts}Organization Contact ID{/ts}: {$onBehalfID}\n\n{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}\n\n{if $receiptMessage}\n###########################################################\n{ts}Copy of Contribution Receipt{/ts}\n\n###########################################################\n{$receiptMessage}\n\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <p>{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}</p>\n    <p>{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <td {$labelStyle}>\n       {ts}Organization Name{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$onBehalfName}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Organization Email{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$onBehalfEmail}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Organization Contact ID{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$onBehalfID}\n      </td>\n     </tr>\n    </table>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <p>{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}</p>\n   </td>\n  </tr>\n  {if $receiptMessage}\n   <tr>\n    <td>\n     <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n      <tr>\n       <th {$headerStyle}>\n        {ts}Copy of Contribution Receipt{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {* FIXME: the below is most probably not HTML-ised *}\n        {$receiptMessage}\n       </td>\n      </tr>\n     </table>\n    </td>\n   </tr>\n  {/if}\n </table>\n</center>\n\n</body>\n</html>\n',1,820,'contribution_dupalert',0,1,0,NULL),
- (5,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if !empty($formValues.receipt_text)}\n{$formValues.receipt_text}\n{else}{ts}Below you will find a receipt for this contribution.{/ts}{/if}\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Contributor{/ts}: {contact.display_name}\n{if !empty($formValues.contributionType_name)}\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{/if}\n{if $lineItem}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($getTaxDetails)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($getTaxDetails)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($getTaxDetails)}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")} {$line.tax_rate|string_format:\"%.2f\"} %   {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if} {/if}   {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($getTaxDetails) && !empty($dataArray)}\n{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset ||  $priceset == 0 || $value != \'\'}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}% : {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if} : {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n{ts}Total Tax Amount{/ts} : {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{ts}Total Amount{/ts} : {$formValues.total_amount|crmMoney:$currency}\n{if !empty($receive_date)}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $receipt_date}\n{ts}Receipt Date{/ts}: {$receipt_date|truncate:10:\'\'|crmDate}\n{/if}\n{if !empty($formValues.paidBy) and empty($formValues.hidden_CreditCard)}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if !empty($formValues.check_number)}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{if !empty($formValues.trxn_id)}\n{ts}Transaction ID{/ts}: {$formValues.trxn_id}\n{/if}\n\n{if !empty($ccContribution)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($formValues.product_name)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$formValues.product_name}\n{if $formValues.product_option}\n{ts}Option{/ts}: {$formValues.product_option}\n{/if}\n{if $formValues.product_sku}\n{ts}SKU{/ts}: {$formValues.product_sku}\n{/if}\n{if $fulfilled_date}\n{ts}Sent{/ts}: {$fulfilled_date|crmDate}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if !empty($formValues.receipt_text)}\n     <p>{$formValues.receipt_text|htmlize}</p>\n    {else}\n     <p>{ts}Below you will find a receipt for this contribution.{/ts}</p>\n    {/if}\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Contribution Information{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Contributor Name{/ts}\n      </td>\n      <td {$valueStyle}>\n       {contact.display_name}\n      </td>\n     </tr>\n     <tr>\n      {if !empty($formValues.contributionType_name)}\n        <td {$labelStyle}>\n         {ts}Financial Type{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.contributionType_name}\n        </td>\n      {/if}\n     </tr>\n\n     {if !empty($lineItem) and empty($is_quick_config)}\n      {foreach from=$lineItem item=value key=priceset}\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n          <tr>\n           <th>{ts}Item{/ts}</th>\n           <th>{ts}Qty{/ts}</th>\n           <th>{ts}Each{/ts}</th>\n           {if !empty($getTaxDetails)}\n             <th>{ts}Subtotal{/ts}</th>\n             <th>{ts}Tax Rate{/ts}</th>\n             <th>{ts}Tax Amount{/ts}</th>\n           {/if}\n           <th>{ts}Total{/ts}</th>\n          </tr>\n          {foreach from=$value item=line}\n           <tr>\n            <td>\n            {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n            </td>\n            <td>\n             {$line.qty}\n            </td>\n            <td>\n             {$line.unit_price|crmMoney:$currency}\n            </td>\n            {if !empty($getTaxDetails)}\n              <td>\n                {$line.unit_price*$line.qty|crmMoney:$currency}\n              </td>\n              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                <td>\n                  {$line.tax_rate|string_format:\"%.2f\"}%\n                </td>\n                <td>\n                  {$line.tax_amount|crmMoney:$currency}\n                </td>\n              {else}\n                <td></td>\n                <td></td>\n              {/if}\n            {/if}\n            <td>\n             {$line.line_total+$line.tax_amount|crmMoney:$currency}\n            </td>\n           </tr>\n          {/foreach}\n         </table>\n        </td>\n       </tr>\n      {/foreach}\n     {/if}\n     {if !empty($getTaxDetails) && !empty($dataArray)}\n       <tr>\n         <td {$labelStyle}>\n           {ts} Amount before Tax : {/ts}\n         </td>\n         <td {$valueStyle}>\n           {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n         </td>\n       </tr>\n\n      {foreach from=$dataArray item=value key=priceset}\n        <tr>\n        {if $priceset ||  $priceset == 0 || $value != \'\'}\n          <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n          <td>&nbsp;{$value|crmMoney:$currency}</td>\n        {else}\n          <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n          <td>&nbsp;{$value|crmMoney:$currency}</td>\n        {/if}\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n      <tr>\n        <td {$labelStyle}>\n          {ts}Total Tax Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n          {$totalTaxAmount|crmMoney:$currency}\n        </td>\n      </tr>\n     {/if}\n\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Amount{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$formValues.total_amount|crmMoney:$currency}\n      </td>\n     </tr>\n\n     {if !empty($receive_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Date Received{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receive_date|truncate:10:\'\'|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n      {if $receipt_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Receipt Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receipt_date|truncate:10:\'\'|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($formValues.paidBy) and empty($formValues.hidden_CreditCard)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Paid By{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$formValues.paidBy}\n       </td>\n      </tr>\n      {if !empty($formValues.check_number)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Check Number{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.check_number}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n     {if !empty($formValues.trxn_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Transaction ID{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$formValues.trxn_id}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($ccContribution)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Billing Name and Address{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$billingName}<br />\n        {$address|nl2br}\n       </td>\n      </tr>\n      <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($softCreditTypes) and !empty($softCredits)}\n      {foreach from=$softCreditTypes item=softCreditType key=n}\n       <tr>\n        <th {$headerStyle}>\n         {$softCreditType}\n        </th>\n       </tr>\n       {foreach from=$softCredits.$n item=value key=label}\n         <tr>\n          <td {$labelStyle}>\n           {$label}\n          </td>\n          <td {$valueStyle}>\n           {$value}\n          </td>\n         </tr>\n        {/foreach}\n       {/foreach}\n     {/if}\n\n     {if !empty($customGroup)}\n      {foreach from=$customGroup item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {$customName}\n        </th>\n       </tr>\n       {foreach from=$value item=v key=n}\n        <tr>\n         <td {$labelStyle}>\n          {$n}\n         </td>\n         <td {$valueStyle}>\n          {$v}\n         </td>\n        </tr>\n       {/foreach}\n      {/foreach}\n     {/if}\n\n     {if !empty($formValues.product_name)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Premium Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {$formValues.product_name}\n       </td>\n      </tr>\n      {if $formValues.product_option}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Option{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.product_option}\n        </td>\n       </tr>\n      {/if}\n      {if $formValues.product_sku}\n       <tr>\n        <td {$labelStyle}>\n         {ts}SKU{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.product_sku}\n        </td>\n       </tr>\n      {/if}\n      {if $fulfilled_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Sent{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$fulfilled_date|truncate:10:\'\'|crmDate}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,821,'contribution_offline_receipt',1,0,0,NULL),
- (6,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if !empty($formValues.receipt_text)}\n{$formValues.receipt_text}\n{else}{ts}Below you will find a receipt for this contribution.{/ts}{/if}\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Contributor{/ts}: {contact.display_name}\n{if !empty($formValues.contributionType_name)}\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{/if}\n{if $lineItem}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($getTaxDetails)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($getTaxDetails)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($getTaxDetails)}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")} {$line.tax_rate|string_format:\"%.2f\"} %   {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if} {/if}   {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($getTaxDetails) && !empty($dataArray)}\n{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset ||  $priceset == 0 || $value != \'\'}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}% : {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if} : {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n{ts}Total Tax Amount{/ts} : {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{ts}Total Amount{/ts} : {$formValues.total_amount|crmMoney:$currency}\n{if !empty($receive_date)}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $receipt_date}\n{ts}Receipt Date{/ts}: {$receipt_date|truncate:10:\'\'|crmDate}\n{/if}\n{if !empty($formValues.paidBy) and empty($formValues.hidden_CreditCard)}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if !empty($formValues.check_number)}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{if !empty($formValues.trxn_id)}\n{ts}Transaction ID{/ts}: {$formValues.trxn_id}\n{/if}\n\n{if !empty($ccContribution)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($formValues.product_name)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$formValues.product_name}\n{if $formValues.product_option}\n{ts}Option{/ts}: {$formValues.product_option}\n{/if}\n{if $formValues.product_sku}\n{ts}SKU{/ts}: {$formValues.product_sku}\n{/if}\n{if $fulfilled_date}\n{ts}Sent{/ts}: {$fulfilled_date|crmDate}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if !empty($formValues.receipt_text)}\n     <p>{$formValues.receipt_text|htmlize}</p>\n    {else}\n     <p>{ts}Below you will find a receipt for this contribution.{/ts}</p>\n    {/if}\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Contribution Information{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Contributor Name{/ts}\n      </td>\n      <td {$valueStyle}>\n       {contact.display_name}\n      </td>\n     </tr>\n     <tr>\n      {if !empty($formValues.contributionType_name)}\n        <td {$labelStyle}>\n         {ts}Financial Type{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.contributionType_name}\n        </td>\n      {/if}\n     </tr>\n\n     {if !empty($lineItem) and empty($is_quick_config)}\n      {foreach from=$lineItem item=value key=priceset}\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n          <tr>\n           <th>{ts}Item{/ts}</th>\n           <th>{ts}Qty{/ts}</th>\n           <th>{ts}Each{/ts}</th>\n           {if !empty($getTaxDetails)}\n             <th>{ts}Subtotal{/ts}</th>\n             <th>{ts}Tax Rate{/ts}</th>\n             <th>{ts}Tax Amount{/ts}</th>\n           {/if}\n           <th>{ts}Total{/ts}</th>\n          </tr>\n          {foreach from=$value item=line}\n           <tr>\n            <td>\n            {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n            </td>\n            <td>\n             {$line.qty}\n            </td>\n            <td>\n             {$line.unit_price|crmMoney:$currency}\n            </td>\n            {if !empty($getTaxDetails)}\n              <td>\n                {$line.unit_price*$line.qty|crmMoney:$currency}\n              </td>\n              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                <td>\n                  {$line.tax_rate|string_format:\"%.2f\"}%\n                </td>\n                <td>\n                  {$line.tax_amount|crmMoney:$currency}\n                </td>\n              {else}\n                <td></td>\n                <td></td>\n              {/if}\n            {/if}\n            <td>\n             {$line.line_total+$line.tax_amount|crmMoney:$currency}\n            </td>\n           </tr>\n          {/foreach}\n         </table>\n        </td>\n       </tr>\n      {/foreach}\n     {/if}\n     {if !empty($getTaxDetails) && !empty($dataArray)}\n       <tr>\n         <td {$labelStyle}>\n           {ts} Amount before Tax : {/ts}\n         </td>\n         <td {$valueStyle}>\n           {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n         </td>\n       </tr>\n\n      {foreach from=$dataArray item=value key=priceset}\n        <tr>\n        {if $priceset ||  $priceset == 0 || $value != \'\'}\n          <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n          <td>&nbsp;{$value|crmMoney:$currency}</td>\n        {else}\n          <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n          <td>&nbsp;{$value|crmMoney:$currency}</td>\n        {/if}\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n      <tr>\n        <td {$labelStyle}>\n          {ts}Total Tax Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n          {$totalTaxAmount|crmMoney:$currency}\n        </td>\n      </tr>\n     {/if}\n\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Amount{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$formValues.total_amount|crmMoney:$currency}\n      </td>\n     </tr>\n\n     {if !empty($receive_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Date Received{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receive_date|truncate:10:\'\'|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n      {if $receipt_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Receipt Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receipt_date|truncate:10:\'\'|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($formValues.paidBy) and empty($formValues.hidden_CreditCard)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Paid By{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$formValues.paidBy}\n       </td>\n      </tr>\n      {if !empty($formValues.check_number)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Check Number{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.check_number}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n     {if !empty($formValues.trxn_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Transaction ID{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$formValues.trxn_id}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($ccContribution)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Billing Name and Address{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$billingName}<br />\n        {$address|nl2br}\n       </td>\n      </tr>\n      <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($softCreditTypes) and !empty($softCredits)}\n      {foreach from=$softCreditTypes item=softCreditType key=n}\n       <tr>\n        <th {$headerStyle}>\n         {$softCreditType}\n        </th>\n       </tr>\n       {foreach from=$softCredits.$n item=value key=label}\n         <tr>\n          <td {$labelStyle}>\n           {$label}\n          </td>\n          <td {$valueStyle}>\n           {$value}\n          </td>\n         </tr>\n        {/foreach}\n       {/foreach}\n     {/if}\n\n     {if !empty($customGroup)}\n      {foreach from=$customGroup item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {$customName}\n        </th>\n       </tr>\n       {foreach from=$value item=v key=n}\n        <tr>\n         <td {$labelStyle}>\n          {$n}\n         </td>\n         <td {$valueStyle}>\n          {$v}\n         </td>\n        </tr>\n       {/foreach}\n      {/foreach}\n     {/if}\n\n     {if !empty($formValues.product_name)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Premium Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {$formValues.product_name}\n       </td>\n      </tr>\n      {if $formValues.product_option}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Option{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.product_option}\n        </td>\n       </tr>\n      {/if}\n      {if $formValues.product_sku}\n       <tr>\n        <td {$labelStyle}>\n         {ts}SKU{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.product_sku}\n        </td>\n       </tr>\n      {/if}\n      {if $fulfilled_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Sent{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$fulfilled_date|truncate:10:\'\'|crmDate}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,821,'contribution_offline_receipt',0,1,0,NULL),
- (7,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n===========================================================\n{/if}\n\n{if $amount}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $lineItem and $priceSetID and empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($dataArray)}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}  {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney:$currency}\n{else}\n{ts}Amount{/ts}: {$amount|crmMoney:$currency} {if isset($amount_level) } - {$amount_level} {/if}\n{/if}\n{/if}\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if !empty($is_recur)}\n{ts}This is a recurring contribution.{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts}You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}\n\n{$updateSubscriptionUrl}\n\n{/if}\n{/if}\n\n{if $honor_block_is_active}\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n{elseif !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or Email*}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium )}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n  {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n  {$contact_phone}\n{/if}\n{/if}\n{if !empty($is_deductible) AND !empty($price)}\n\n{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n     {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if !empty($receipt_text)}\n     <p>{$receipt_text|htmlize}</p>\n    {/if}\n\n    {if $is_pay_later}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  </table>\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n     {if $amount}\n\n\n      <tr>\n       <th {$headerStyle}>\n        {ts}Contribution Information{/ts}\n       </th>\n      </tr>\n\n      {if !empty($lineItem) and !empty($priceSetID) and empty($is_quick_config)}\n\n       {foreach from=$lineItem item=value key=priceset}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n           <tr>\n            <th>{ts}Item{/ts}</th>\n            <th>{ts}Qty{/ts}</th>\n            <th>{ts}Each{/ts}</th>\n            {if !empty($dataArray)}\n             <th>{ts}Subtotal{/ts}</th>\n             <th>{ts}Tax Rate{/ts}</th>\n             <th>{ts}Tax Amount{/ts}</th>\n            {/if}\n            <th>{ts}Total{/ts}</th>\n           </tr>\n           {foreach from=$value item=line}\n            <tr>\n             <td>\n             {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n             </td>\n             <td>\n              {$line.qty}\n             </td>\n             <td>\n              {$line.unit_price|crmMoney:$currency}\n             </td>\n             {if !empty($getTaxDetails)}\n              <td>\n               {$line.unit_price*$line.qty|crmMoney:$currency}\n              </td>\n              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n               <td>\n                {$line.tax_rate|string_format:\"%.2f\"}%\n               </td>\n               <td>\n                {$line.tax_amount|crmMoney:$currency}\n               </td>\n              {else}\n               <td></td>\n               <td></td>\n              {/if}\n             {/if}\n             <td>\n              {$line.line_total+$line.tax_amount|crmMoney:$currency}\n             </td>\n            </tr>\n           {/foreach}\n          </table>\n         </td>\n        </tr>\n       {/foreach}\n       {if !empty($dataArray)}\n        <tr>\n         <td {$labelStyle}>\n          {ts} Amount before Tax : {/ts}\n         </td>\n         <td {$valueStyle}>\n          {$amount-$totalTaxAmount|crmMoney:$currency}\n         </td>\n        </tr>\n\n        {foreach from=$dataArray item=value key=priceset}\n         <tr>\n          {if $priceset || $priceset == 0}\n           <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {else}\n           <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {/if}\n         </tr>\n        {/foreach}\n\n       {/if}\n       {if isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Total Tax{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalTaxAmount|crmMoney:$currency}\n         </td>\n        </tr>\n       {/if}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney:$currency}\n        </td>\n       </tr>\n\n      {else}\n\n      {if !empty($totalTaxAmount)}\n         <tr>\n           <td {$labelStyle}>\n             {ts}Total Tax Amount{/ts}\n           </td>\n           <td {$valueStyle}>\n             {$totalTaxAmount|crmMoney:$currency}\n           </td>\n         </tr>\n       {/if}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney:$currency} {if isset($amount_level)} - {$amount_level}{/if}\n        </td>\n       </tr>\n\n      {/if}\n\n     {/if}\n\n\n     {if !empty($receive_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receive_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($is_monetary) and !empty($trxn_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Transaction #{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$trxn_id}\n       </td>\n      </tr>\n     {/if}\n\n    {if !empty($is_recur)}\n      <tr>\n        <td  colspan=\"2\" {$labelStyle}>\n          {ts}This is a recurring contribution.{/ts}\n          {if $cancelSubscriptionUrl}\n            {ts 1=$cancelSubscriptionUrl}You can cancel future contributions by <a href=\"%1\">visiting this web page</a>.{/ts}\n          {/if}\n        </td>\n      </tr>\n      {if $updateSubscriptionBillingUrl}\n        <tr>\n          <td colspan=\"2\" {$labelStyle}>\n            {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n        </tr>\n      {/if}\n      {if $updateSubscriptionUrl}\n        <tr>\n          <td colspan=\"2\" {$labelStyle}>\n            {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n        </tr>\n      {/if}\n    {/if}\n\n     {if $honor_block_is_active}\n      <tr>\n       <th {$headerStyle}>\n        {$soft_credit_type}\n       </th>\n      </tr>\n      {foreach from=$honoreeProfile item=value key=label}\n        <tr>\n         <td {$labelStyle}>\n          {$label}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n      {/foreach}\n      {elseif !empty($softCreditTypes) and !empty($softCredits)}\n      {foreach from=$softCreditTypes item=softCreditType key=n}\n       <tr>\n        <th {$headerStyle}>\n         {$softCreditType}\n        </th>\n       </tr>\n       {foreach from=$softCredits.$n item=value key=label}\n         <tr>\n          <td {$labelStyle}>\n           {$label}\n          </td>\n          <td {$valueStyle}>\n           {$value}\n          </td>\n         </tr>\n        {/foreach}\n       {/foreach}\n     {/if}\n\n     {if !empty($pcpBlock)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Personal Campaign Page{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Display In Honor Roll{/ts}\n       </td>\n       <td {$valueStyle}>\n        {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n       </td>\n      </tr>\n      {if $pcp_roll_nickname}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Nickname{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_roll_nickname}\n        </td>\n       </tr>\n      {/if}\n      {if $pcp_personal_note}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Personal Note{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_personal_note}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n     {if !empty($onBehalfProfile)}\n      <tr>\n       <th {$headerStyle}>\n        {$onBehalfProfile_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n        <tr>\n         <td {$labelStyle}>\n          {$onBehalfName}\n         </td>\n         <td {$valueStyle}>\n          {$onBehalfValue}\n         </td>\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if !empty($isShare)}\n      <tr>\n        <td colspan=\"2\" {$valueStyle}>\n            {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contributionPageId`\" a=true fe=1 h=1}{/capture}\n            {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}\n        </td>\n      </tr>\n     {/if}\n\n     {if !empty($billingName)}\n       <tr>\n        <th {$headerStyle}>\n         {ts}Billing Name and Address{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$billingName}<br />\n         {$address|nl2br}<br />\n         {$email}\n        </td>\n       </tr>\n     {elseif !empty($email)}\n       <tr>\n        <th {$headerStyle}>\n         {ts}Registered Email{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$email}\n        </td>\n       </tr>\n     {/if}\n\n     {if !empty($credit_card_type)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($selectPremium)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Premium Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {$product_name}\n       </td>\n      </tr>\n      {if $option}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Option{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$option}\n        </td>\n       </tr>\n      {/if}\n      {if $sku}\n       <tr>\n        <td {$labelStyle}>\n         {ts}SKU{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$sku}\n        </td>\n       </tr>\n      {/if}\n      {if $start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($contact_email) OR !empty($contact_phone)}\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <p>{ts}For information about this premium, contact:{/ts}</p>\n         {if !empty($contact_email)}\n          <p>{$contact_email}</p>\n         {/if}\n         {if !empty($contact_phone)}\n          <p>{$contact_phone}</p>\n         {/if}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($is_deductible) AND !empty($price)}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <p>{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n         </td>\n        </tr>\n      {/if}\n     {/if}\n\n     {if !empty($customPre)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPre_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPre item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customPost)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPost_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPost item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,822,'contribution_online_receipt',1,0,0,NULL),
- (8,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n===========================================================\n{/if}\n\n{if $amount}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $lineItem and $priceSetID and empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($dataArray)}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}  {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney:$currency}\n{else}\n{ts}Amount{/ts}: {$amount|crmMoney:$currency} {if isset($amount_level) } - {$amount_level} {/if}\n{/if}\n{/if}\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if !empty($is_recur)}\n{ts}This is a recurring contribution.{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts}You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}\n\n{$updateSubscriptionUrl}\n\n{/if}\n{/if}\n\n{if $honor_block_is_active}\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n{elseif !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or Email*}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium )}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n  {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n  {$contact_phone}\n{/if}\n{/if}\n{if !empty($is_deductible) AND !empty($price)}\n\n{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n     {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if !empty($receipt_text)}\n     <p>{$receipt_text|htmlize}</p>\n    {/if}\n\n    {if $is_pay_later}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  </table>\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n     {if $amount}\n\n\n      <tr>\n       <th {$headerStyle}>\n        {ts}Contribution Information{/ts}\n       </th>\n      </tr>\n\n      {if !empty($lineItem) and !empty($priceSetID) and empty($is_quick_config)}\n\n       {foreach from=$lineItem item=value key=priceset}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n           <tr>\n            <th>{ts}Item{/ts}</th>\n            <th>{ts}Qty{/ts}</th>\n            <th>{ts}Each{/ts}</th>\n            {if !empty($dataArray)}\n             <th>{ts}Subtotal{/ts}</th>\n             <th>{ts}Tax Rate{/ts}</th>\n             <th>{ts}Tax Amount{/ts}</th>\n            {/if}\n            <th>{ts}Total{/ts}</th>\n           </tr>\n           {foreach from=$value item=line}\n            <tr>\n             <td>\n             {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n             </td>\n             <td>\n              {$line.qty}\n             </td>\n             <td>\n              {$line.unit_price|crmMoney:$currency}\n             </td>\n             {if !empty($getTaxDetails)}\n              <td>\n               {$line.unit_price*$line.qty|crmMoney:$currency}\n              </td>\n              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n               <td>\n                {$line.tax_rate|string_format:\"%.2f\"}%\n               </td>\n               <td>\n                {$line.tax_amount|crmMoney:$currency}\n               </td>\n              {else}\n               <td></td>\n               <td></td>\n              {/if}\n             {/if}\n             <td>\n              {$line.line_total+$line.tax_amount|crmMoney:$currency}\n             </td>\n            </tr>\n           {/foreach}\n          </table>\n         </td>\n        </tr>\n       {/foreach}\n       {if !empty($dataArray)}\n        <tr>\n         <td {$labelStyle}>\n          {ts} Amount before Tax : {/ts}\n         </td>\n         <td {$valueStyle}>\n          {$amount-$totalTaxAmount|crmMoney:$currency}\n         </td>\n        </tr>\n\n        {foreach from=$dataArray item=value key=priceset}\n         <tr>\n          {if $priceset || $priceset == 0}\n           <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {else}\n           <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {/if}\n         </tr>\n        {/foreach}\n\n       {/if}\n       {if isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Total Tax{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalTaxAmount|crmMoney:$currency}\n         </td>\n        </tr>\n       {/if}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney:$currency}\n        </td>\n       </tr>\n\n      {else}\n\n      {if !empty($totalTaxAmount)}\n         <tr>\n           <td {$labelStyle}>\n             {ts}Total Tax Amount{/ts}\n           </td>\n           <td {$valueStyle}>\n             {$totalTaxAmount|crmMoney:$currency}\n           </td>\n         </tr>\n       {/if}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney:$currency} {if isset($amount_level)} - {$amount_level}{/if}\n        </td>\n       </tr>\n\n      {/if}\n\n     {/if}\n\n\n     {if !empty($receive_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receive_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($is_monetary) and !empty($trxn_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Transaction #{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$trxn_id}\n       </td>\n      </tr>\n     {/if}\n\n    {if !empty($is_recur)}\n      <tr>\n        <td  colspan=\"2\" {$labelStyle}>\n          {ts}This is a recurring contribution.{/ts}\n          {if $cancelSubscriptionUrl}\n            {ts 1=$cancelSubscriptionUrl}You can cancel future contributions by <a href=\"%1\">visiting this web page</a>.{/ts}\n          {/if}\n        </td>\n      </tr>\n      {if $updateSubscriptionBillingUrl}\n        <tr>\n          <td colspan=\"2\" {$labelStyle}>\n            {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n        </tr>\n      {/if}\n      {if $updateSubscriptionUrl}\n        <tr>\n          <td colspan=\"2\" {$labelStyle}>\n            {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n        </tr>\n      {/if}\n    {/if}\n\n     {if $honor_block_is_active}\n      <tr>\n       <th {$headerStyle}>\n        {$soft_credit_type}\n       </th>\n      </tr>\n      {foreach from=$honoreeProfile item=value key=label}\n        <tr>\n         <td {$labelStyle}>\n          {$label}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n      {/foreach}\n      {elseif !empty($softCreditTypes) and !empty($softCredits)}\n      {foreach from=$softCreditTypes item=softCreditType key=n}\n       <tr>\n        <th {$headerStyle}>\n         {$softCreditType}\n        </th>\n       </tr>\n       {foreach from=$softCredits.$n item=value key=label}\n         <tr>\n          <td {$labelStyle}>\n           {$label}\n          </td>\n          <td {$valueStyle}>\n           {$value}\n          </td>\n         </tr>\n        {/foreach}\n       {/foreach}\n     {/if}\n\n     {if !empty($pcpBlock)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Personal Campaign Page{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Display In Honor Roll{/ts}\n       </td>\n       <td {$valueStyle}>\n        {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n       </td>\n      </tr>\n      {if $pcp_roll_nickname}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Nickname{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_roll_nickname}\n        </td>\n       </tr>\n      {/if}\n      {if $pcp_personal_note}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Personal Note{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_personal_note}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n     {if !empty($onBehalfProfile)}\n      <tr>\n       <th {$headerStyle}>\n        {$onBehalfProfile_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n        <tr>\n         <td {$labelStyle}>\n          {$onBehalfName}\n         </td>\n         <td {$valueStyle}>\n          {$onBehalfValue}\n         </td>\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if !empty($isShare)}\n      <tr>\n        <td colspan=\"2\" {$valueStyle}>\n            {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contributionPageId`\" a=true fe=1 h=1}{/capture}\n            {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}\n        </td>\n      </tr>\n     {/if}\n\n     {if !empty($billingName)}\n       <tr>\n        <th {$headerStyle}>\n         {ts}Billing Name and Address{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$billingName}<br />\n         {$address|nl2br}<br />\n         {$email}\n        </td>\n       </tr>\n     {elseif !empty($email)}\n       <tr>\n        <th {$headerStyle}>\n         {ts}Registered Email{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$email}\n        </td>\n       </tr>\n     {/if}\n\n     {if !empty($credit_card_type)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($selectPremium)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Premium Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {$product_name}\n       </td>\n      </tr>\n      {if $option}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Option{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$option}\n        </td>\n       </tr>\n      {/if}\n      {if $sku}\n       <tr>\n        <td {$labelStyle}>\n         {ts}SKU{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$sku}\n        </td>\n       </tr>\n      {/if}\n      {if $start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($contact_email) OR !empty($contact_phone)}\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <p>{ts}For information about this premium, contact:{/ts}</p>\n         {if !empty($contact_email)}\n          <p>{$contact_email}</p>\n         {/if}\n         {if !empty($contact_phone)}\n          <p>{$contact_phone}</p>\n         {/if}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($is_deductible) AND !empty($price)}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <p>{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n         </td>\n        </tr>\n      {/if}\n     {/if}\n\n     {if !empty($customPre)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPre_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPre item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customPost)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPost_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPost item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,822,'contribution_online_receipt',0,1,0,NULL),
- (9,'Contributions - Invoice','{if $title}\n  {if $component}\n    {if $component == \'event\'}\n      {ts 1=$title}Event Registration Invoice: %1{/ts}\n    {else}\n      {ts 1=$title}Contribution Invoice: %1{/ts}\n    {/if}\n  {/if}\n{else}\n  {ts}Invoice{/ts}\n{/if}\n - {contact.display_name}\n','{ts}Contribution Invoice{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n      <title></title>\n  </head>\n  <body>\n  <div style=\"padding-top:100px;margin-right:50px;border-style: none;\">\n    {if $config->empoweredBy}\n      <table style=\"margin-top:5px;padding-bottom:50px;\" cellpadding=\"5\" cellspacing=\"0\">\n        <tr>\n          <td><img src=\"{$resourceBase}/i/civi99.png\" height=\"34px\" width=\"99px\"></td>\n        </tr>\n      </table>\n    {/if}\n      <table style=\"font-family: Arial, Verdana, sans-serif;\" width=\"100%\" height=\"100\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n        <tr>\n          <td width=\"30%\"><b><font size=\"4\" align=\"center\">{ts}INVOICE{/ts}</font></b></td>\n          <td width=\"50%\" valign=\"bottom\"><b><font size=\"1\" align=\"center\">{ts}Invoice Date:{/ts}</font></b></td>\n          <td valign=\"bottom\" style=\"white-space: nowrap\"><b><font size=\"1\" align=\"right\">{$domain_organization}</font></b></td>\n        </tr>\n        <tr>\n          {if $organization_name}\n            <td><font size=\"1\" align=\"center\">{$display_name}  ({$organization_name})</font></td>\n          {else}\n            <td><font size=\"1\" align=\"center\">{$display_name}</font></td>\n          {/if}\n          <td><font size=\"1\" align=\"right\">{$invoice_date}</font></td>\n          <td style=\"white-space: nowrap\">\n            <font size=\"1\" align=\"right\">\n              {if $domain_street_address }{$domain_street_address}{/if}\n              {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"center\">{$street_address} {$supplemental_address_1}</font></td>\n          <td><b><font size=\"1\" align=\"right\">{ts}Invoice Number:{/ts}</font></b></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n              {if $domain_state }{$domain_state}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"center\">{$supplemental_address_2} {$stateProvinceAbbreviation}</font></td>\n          <td><font size=\"1\" align=\"right\">{$invoice_number}</font></td>\n          <td style=\"white-space: nowrap\">\n            <font size=\"1\" align=\"right\">\n              {if $domain_city}{$domain_city}{/if}\n              {if $domain_postal_code }{$domain_postal_code}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"right\">{$city}  {$postal_code}</font></td>\n          <td height=\"10\"><b><font size=\"1\" align=\"right\">{ts}Reference:{/ts}</font></b></td>\n          <td><font size=\"1\" align=\"right\">{if $domain_country}{$domain_country}{/if}</font></td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"right\"> {$country}</font></td>\n          <td><font size=\"1\" align=\"right\">{if !empty($source)}{$source}{/if}</font></td>\n          <td valign=\"top\" style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">{if $domain_email}{$domain_email}{/if}</font> </td>\n        </tr>\n        <tr>\n          <td></td>\n          <td></td>\n          <td valign=\"top\"><font size=\"1\" align=\"right\">{if $domain_phone}{$domain_phone}{/if}</font> </td>\n        </tr>\n      </table>\n\n             <table style=\"padding-top:75px;font-family: Arial, Verdana, sans-serif;\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n              <tr>\n                <th style=\"text-align:left;font-weight:bold;width:100%\"><font size=\"1\">{ts}Description{/ts}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts}Quantity{/ts}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts}Unit Price{/ts}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{if isset($taxTerm)}{$taxTerm}{/if}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts 1=$currency}Amount %1{/ts}</font></th>\n              </tr>\n              {foreach from=$lineItem item=value key=priceset name=taxpricevalue}\n                {if $smarty.foreach.taxpricevalue.index eq 0}\n                {else}\n                {/if}\n                <tr>\n                  <td style=\"text-align:left;nowrap\"><font size=\"1\">\n                    {if $value.html_type eq \'Text\'}\n                      {$value.label}\n                    {else}\n                      {$value.field_title} - {$value.label}\n                    {/if}\n                    {if $value.description}\n                      <div>{$value.description|truncate:30:\"...\"}</div>\n                    {/if}\n                   </font>\n                  </td>\n                  <td style=\"text-align:right;\"><font size=\"1\">{$value.qty}</font></td>\n                  <td style=\"text-align:right;\"><font size=\"1\">{$value.unit_price|crmMoney:$currency}</font></td>\n                  {if $value.tax_amount != \'\'}\n                    <td style=\"text-align:right;\"><font size=\"1\">{if isset($value.tax_rate)}{$value.tax_rate}%{/if}</font></td>\n                  {else}\n                    <td style=\"text-align:right;\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}-{/ts}{/if}</font></td>\n                  {/if}\n                  <td style=\"text-align:right;\"><font size=\"1\">{$value.subTotal|crmMoney:$currency}</font></td>\n                </tr>\n              {/foreach}\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;\"><font size=\"1\">{ts}Sub Total{/ts}</font></td>\n                <td style=\"text-align:right;\"><font size=\"1\">{$subTotal|crmMoney:$currency}</font></td>\n              </tr>\n              {if !empty($dataArray)}\n              {foreach from=$dataArray item=value key=priceset}\n                <tr>\n                  <td colspan=\"3\"></td>\n                    {if $priceset}\n                      <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{/if}</font></td>\n                      <td style=\"text-align:right\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                    {elseif $priceset == 0}\n                      <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}TOTAL %1{/ts}{/if}</font></td>\n                      <td style=\"text-align:right\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                    {/if}\n                </tr>\n              {/foreach}\n              {/if}\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;white-space: nowrap\"><b><font size=\"1\">{ts 1=$currency}TOTAL %1{/ts}</font></b></td>\n                <td style=\"text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">\n                  {if $contribution_status_id == $refundedStatusId}\n                    {ts}Amount Credited{/ts}\n                  {else}\n                    {ts}Amount Paid{/ts}\n                  {/if}\n                 </font>\n                </td>\n                <td style=\"text-align:right;\"><font size=\"1\">{$amountPaid|crmMoney:$currency}</font></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td colspan=\"2\"><hr></hr></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;white-space: nowrap\" ><b><font size=\"1\">{ts}AMOUNT DUE:{/ts}</font></b></td>\n                <td style=\"text-align:right;\"><b><font size=\"1\">{$amountDue|crmMoney:$currency}</font></b></td>\n              </tr>\n\n              <br/><br/><br/>\n              <tr>\n                <td colspan=\"5\"></td>\n              </tr>\n              {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n                <tr>\n                  <td colspan=\"3\"><b><font size=\"1\" align=\"center\">{ts 1=$dueDate}DUE DATE: %1{/ts}</font></b></td>\n                  <td colspan=\"2\"></td>\n                </tr>\n              {/if}\n            </table>\n          </td>\n        </tr>\n      </table>\n\n      {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n        <table style=\"margin-top:5px;\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n          <tr>\n            <td><img src=\"{$resourceBase}/i/contribute/cut_line.png\" height=\"15\"></td>\n          </tr>\n        </table>\n\n        <table style=\"margin-top:5px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\" id=\"desc\">\n          <tr>\n            <td width=\"60%\"><b><font size=\"4\" align=\"right\">{ts}PAYMENT ADVICE{/ts}</font></b><br/><br/><font size=\"1\" align=\"left\"><b>{ts}To:{/ts}</b><div style=\"width:24em;word-wrap:break-word;\">\n              {$domain_organization}<br />\n              {$domain_street_address} {$domain_supplemental_address_1}<br />\n              {$domain_supplemental_address_2} {$domain_state}<br />\n              {$domain_city} {$domain_postal_code}<br />\n              {$domain_country}<br />\n              {$domain_email}</div>\n              {$domain_phone}<br />\n             </font><br/><br/><font size=\"1\" align=\"left\">{$notes}</font>\n            </td>\n            <td width=\"40%\">\n              <table cellpadding=\"5\" cellspacing=\"0\"  width=\"100%\" border=\"0\">\n                <tr>\n                  <td width=\"100%\"><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Customer:{/ts}</font></td>\n                  <td style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">{$display_name}</font></td>\n                </tr>\n                <tr>\n                  <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Invoice Number:{/ts}</font></td>\n                  <td><font size=\"1\" align=\"right\">{$invoice_number}</font></td>\n                </tr>\n                <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></td></tr>\n                {if $is_pay_later == 1}\n                  <tr>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Amount Due:{/ts}</font></td>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amount|crmMoney:$currency}</font></td>\n                  </tr>\n                {else}\n                  <tr>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Amount Due:{/ts}</font></td>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amountDue|crmMoney:$currency}</font></td>\n                  </tr>\n                {/if}\n                <tr>\n                  <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Due Date:{/ts}</font></td>\n                  <td><font size=\"1\" align=\"right\">{$dueDate}</font></td>\n                </tr>\n                <tr>\n                  <td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></td>\n                </tr>\n              </table>\n      {/if}\n\n      {if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}\n      {if $config->empoweredBy}\n        <table style=\"margin-top:2px;padding-left:7px;page-break-before: always;\">\n          <tr>\n            <td><img src=\"{$resourceBase}/i/civi99.png\" height=\"34px\" width=\"99px\"></td>\n          </tr>\n        </table>\n      {/if}\n\n    <center>\n      <table style=\"font-family: Arial, Verdana, sans-serif\" width=\"100%\" height=\"100\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\">\n        <tr>\n          <td style=\"padding-left:15px;\"><b><font size=\"4\" align=\"center\">{ts}CREDIT NOTE{/ts}</font></b></td>\n          <td style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Date:{/ts}</font></b></td>\n          <td><font size=\"1\" align=\"right\">{$domain_organization}</font></td>\n        </tr>\n        <tr>\n          {if $organization_name}\n            <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$display_name}  ({$organization_name})</font></td>\n          {else}\n            <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$display_name}</font></td>\n          {/if}\n          <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$invoice_date}</font></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_street_address }{$domain_street_address}{/if}\n              {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$street_address}   {$supplemental_address_1}</font></td>\n          <td style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Credit Note Number:{/ts}</font></b></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n              {if $domain_state }{$domain_state}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$supplemental_address_2}  {$stateProvinceAbbreviation}</font></td>\n          <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$creditnote_id}</font></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_city}{$domain_city}{/if}\n              {if $domain_postal_code }{$domain_postal_code}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"padding-left:17px;\"><font size=\"1\" align=\"right\">{$city}  {$postal_code}</font></td>\n          <td height=\"10\" style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Reference:{/ts}</font></b></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_country}{$domain_country}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td></td>\n          <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$source}</font></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_email}{$domain_email}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td></td>\n          <td></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_phone}{$domain_phone}{/if}\n           </font>\n          </td>\n        </tr>\n      </table>\n\n      <table style=\"margin-top:75px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\" id=\"desc\">\n        <tr>\n          <td colspan=\"2\" {$valueStyle}>\n            <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n              <tr>\n                <th style=\"padding-right:28px;text-align:left;font-weight:bold;width:200px;\"><font size=\"1\">{ts}Description{/ts}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts}Quantity{/ts}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts}Unit Price{/ts}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{if isset($taxTerm)}{$taxTerm}{/if}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts 1=$currency}Amount %1{/ts}</font></th>\n              </tr>\n              {foreach from=$lineItem item=value key=priceset name=pricevalue}\n                {if $smarty.foreach.pricevalue.index eq 0}\n                  <tr><td colspan=\"5\"><hr size=\"3\" style=\"color:#000;\"></hr></td></tr>\n                {else}\n                  <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n                {/if}\n                <tr>\n                  <td style =\"text-align:left;\"  >\n                    <font size=\"1\">\n                      {if $value.html_type eq \'Text\'}\n                        {$value.label}\n                      {else}\n                        {$value.field_title} - {$value.label}\n                      {/if}\n                      {if $value.description}\n                        <div>{$value.description|truncate:30:\"...\"}</div>\n                      {/if}\n                   </font>\n                  </td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$value.qty}</font></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$value.unit_price|crmMoney:$currency}</font></td>\n                  {if $value.tax_amount != \'\'}\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if isset($value.tax_rate)}{$value.tax_rate}%{/if}</font></td>\n                  {else}\n                    <td style=\"padding-left:28px;text-align:right\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}No %1{/ts}{/if}</font></td>\n                  {/if}\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$value.subTotal|crmMoney:$currency}</font></td>\n                </tr>\n              {/foreach}\n              <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{ts}Sub Total{/ts}</font></td>\n                <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$subTotal|crmMoney:$currency}</font></td>\n              </tr>\n              {if !empty($dataArray)}\n              {foreach from=$dataArray item=value key=priceset}\n                <tr>\n                  <td colspan=\"3\"></td>\n                  {if $priceset}\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{/if}</font></td>\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                  {elseif $priceset == 0}\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}TOTAL NO %1{/ts}{/if}</font></td>\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                  {/if}\n                </tr>\n              {/foreach}\n              {/if}\n              <tr>\n                <td colspan=\"3\"></td>\n                <td colspan=\"2\"><hr></hr></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{ts 1=$currency}TOTAL %1{/ts}</font></b></td>\n                <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n              </tr>\n              {if $is_pay_later == 0}\n                <tr>\n                  <td colspan=\"3\"></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{ts}LESS Credit to invoice(s){/ts}</font></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n                </tr>\n                <tr>\n                  <td colspan=\"3\"></td>\n                  <td colspan=\"2\"><hr></hr></td>\n                </tr>\n                <tr>\n                  <td colspan=\"3\"></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{ts}REMAINING CREDIT{/ts}</font></b></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{$amountDue|crmMoney:$currency}</font></b></td>\n                  <td style=\"padding-left:28px;\"><font size=\"1\" align=\"right\"></font></td>\n                </tr>\n              {/if}\n              <br/><br/><br/>\n              <tr>\n                <td colspan=\"3\"></td>\n              </tr>\n              <tr>\n                <td></td>\n                <td colspan=\"3\"></td>\n              </tr>\n            </table>\n          </td>\n        </tr>\n      </table>\n\n      <table width=\"100%\" style=\"margin-top:5px;padding-right:45px;\">\n        <tr>\n          <td><img src=\"{$resourceBase}/i/contribute/cut_line.png\" height=\"15\" width=\"100%\"></td>\n        </tr>\n      </table>\n\n      <table style=\"margin-top:6px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\" id=\"desc\">\n        <tr>\n          <td width=\"60%\"><font size=\"4\" align=\"right\"><b>{ts}CREDIT ADVICE{/ts}</b><br/><br /><div style=\"font-size:10px;max-width:300px;\">{ts}Please do not pay on this advice. Deduct the amount of this Credit Note from your next payment to us{/ts}</div><br/></font></td>\n          <td width=\"40%\">\n            <table align=\"right\">\n              <tr>\n                <td colspan=\"2\"></td>\n                <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Customer:{/ts}</font></td>\n                <td><font size=\"1\" align=\"right\">{$display_name}</font></td>\n              </tr>\n              <tr>\n                <td colspan=\"2\"></td>\n                <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Credit Note#:{/ts}</font></td>\n                <td><font size=\"1\" align=\"right\">{$creditnote_id}</font></td>\n              </tr>\n              <tr><td colspan=\"5\"style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n              <tr>\n                <td colspan=\"2\"></td>\n                <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Credit Amount:{/ts}</font></td>\n                <td width=\'50px\'><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amount|crmMoney:$currency}</font></td>\n              </tr>\n            </table>\n          </td>\n        </tr>\n      </table>\n    {/if}\n    </center>\n\n  </div>\n  </body>\n</html>\n',1,823,'contribution_invoice_receipt',1,0,0,NULL),
- (10,'Contributions - Invoice','{if $title}\n  {if $component}\n    {if $component == \'event\'}\n      {ts 1=$title}Event Registration Invoice: %1{/ts}\n    {else}\n      {ts 1=$title}Contribution Invoice: %1{/ts}\n    {/if}\n  {/if}\n{else}\n  {ts}Invoice{/ts}\n{/if}\n - {contact.display_name}\n','{ts}Contribution Invoice{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n      <title></title>\n  </head>\n  <body>\n  <div style=\"padding-top:100px;margin-right:50px;border-style: none;\">\n    {if $config->empoweredBy}\n      <table style=\"margin-top:5px;padding-bottom:50px;\" cellpadding=\"5\" cellspacing=\"0\">\n        <tr>\n          <td><img src=\"{$resourceBase}/i/civi99.png\" height=\"34px\" width=\"99px\"></td>\n        </tr>\n      </table>\n    {/if}\n      <table style=\"font-family: Arial, Verdana, sans-serif;\" width=\"100%\" height=\"100\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n        <tr>\n          <td width=\"30%\"><b><font size=\"4\" align=\"center\">{ts}INVOICE{/ts}</font></b></td>\n          <td width=\"50%\" valign=\"bottom\"><b><font size=\"1\" align=\"center\">{ts}Invoice Date:{/ts}</font></b></td>\n          <td valign=\"bottom\" style=\"white-space: nowrap\"><b><font size=\"1\" align=\"right\">{$domain_organization}</font></b></td>\n        </tr>\n        <tr>\n          {if $organization_name}\n            <td><font size=\"1\" align=\"center\">{$display_name}  ({$organization_name})</font></td>\n          {else}\n            <td><font size=\"1\" align=\"center\">{$display_name}</font></td>\n          {/if}\n          <td><font size=\"1\" align=\"right\">{$invoice_date}</font></td>\n          <td style=\"white-space: nowrap\">\n            <font size=\"1\" align=\"right\">\n              {if $domain_street_address }{$domain_street_address}{/if}\n              {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"center\">{$street_address} {$supplemental_address_1}</font></td>\n          <td><b><font size=\"1\" align=\"right\">{ts}Invoice Number:{/ts}</font></b></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n              {if $domain_state }{$domain_state}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"center\">{$supplemental_address_2} {$stateProvinceAbbreviation}</font></td>\n          <td><font size=\"1\" align=\"right\">{$invoice_number}</font></td>\n          <td style=\"white-space: nowrap\">\n            <font size=\"1\" align=\"right\">\n              {if $domain_city}{$domain_city}{/if}\n              {if $domain_postal_code }{$domain_postal_code}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"right\">{$city}  {$postal_code}</font></td>\n          <td height=\"10\"><b><font size=\"1\" align=\"right\">{ts}Reference:{/ts}</font></b></td>\n          <td><font size=\"1\" align=\"right\">{if $domain_country}{$domain_country}{/if}</font></td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"right\"> {$country}</font></td>\n          <td><font size=\"1\" align=\"right\">{if !empty($source)}{$source}{/if}</font></td>\n          <td valign=\"top\" style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">{if $domain_email}{$domain_email}{/if}</font> </td>\n        </tr>\n        <tr>\n          <td></td>\n          <td></td>\n          <td valign=\"top\"><font size=\"1\" align=\"right\">{if $domain_phone}{$domain_phone}{/if}</font> </td>\n        </tr>\n      </table>\n\n             <table style=\"padding-top:75px;font-family: Arial, Verdana, sans-serif;\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n              <tr>\n                <th style=\"text-align:left;font-weight:bold;width:100%\"><font size=\"1\">{ts}Description{/ts}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts}Quantity{/ts}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts}Unit Price{/ts}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{if isset($taxTerm)}{$taxTerm}{/if}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts 1=$currency}Amount %1{/ts}</font></th>\n              </tr>\n              {foreach from=$lineItem item=value key=priceset name=taxpricevalue}\n                {if $smarty.foreach.taxpricevalue.index eq 0}\n                {else}\n                {/if}\n                <tr>\n                  <td style=\"text-align:left;nowrap\"><font size=\"1\">\n                    {if $value.html_type eq \'Text\'}\n                      {$value.label}\n                    {else}\n                      {$value.field_title} - {$value.label}\n                    {/if}\n                    {if $value.description}\n                      <div>{$value.description|truncate:30:\"...\"}</div>\n                    {/if}\n                   </font>\n                  </td>\n                  <td style=\"text-align:right;\"><font size=\"1\">{$value.qty}</font></td>\n                  <td style=\"text-align:right;\"><font size=\"1\">{$value.unit_price|crmMoney:$currency}</font></td>\n                  {if $value.tax_amount != \'\'}\n                    <td style=\"text-align:right;\"><font size=\"1\">{if isset($value.tax_rate)}{$value.tax_rate}%{/if}</font></td>\n                  {else}\n                    <td style=\"text-align:right;\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}-{/ts}{/if}</font></td>\n                  {/if}\n                  <td style=\"text-align:right;\"><font size=\"1\">{$value.subTotal|crmMoney:$currency}</font></td>\n                </tr>\n              {/foreach}\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;\"><font size=\"1\">{ts}Sub Total{/ts}</font></td>\n                <td style=\"text-align:right;\"><font size=\"1\">{$subTotal|crmMoney:$currency}</font></td>\n              </tr>\n              {if !empty($dataArray)}\n              {foreach from=$dataArray item=value key=priceset}\n                <tr>\n                  <td colspan=\"3\"></td>\n                    {if $priceset}\n                      <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{/if}</font></td>\n                      <td style=\"text-align:right\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                    {elseif $priceset == 0}\n                      <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}TOTAL %1{/ts}{/if}</font></td>\n                      <td style=\"text-align:right\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                    {/if}\n                </tr>\n              {/foreach}\n              {/if}\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;white-space: nowrap\"><b><font size=\"1\">{ts 1=$currency}TOTAL %1{/ts}</font></b></td>\n                <td style=\"text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">\n                  {if $contribution_status_id == $refundedStatusId}\n                    {ts}Amount Credited{/ts}\n                  {else}\n                    {ts}Amount Paid{/ts}\n                  {/if}\n                 </font>\n                </td>\n                <td style=\"text-align:right;\"><font size=\"1\">{$amountPaid|crmMoney:$currency}</font></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td colspan=\"2\"><hr></hr></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;white-space: nowrap\" ><b><font size=\"1\">{ts}AMOUNT DUE:{/ts}</font></b></td>\n                <td style=\"text-align:right;\"><b><font size=\"1\">{$amountDue|crmMoney:$currency}</font></b></td>\n              </tr>\n\n              <br/><br/><br/>\n              <tr>\n                <td colspan=\"5\"></td>\n              </tr>\n              {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n                <tr>\n                  <td colspan=\"3\"><b><font size=\"1\" align=\"center\">{ts 1=$dueDate}DUE DATE: %1{/ts}</font></b></td>\n                  <td colspan=\"2\"></td>\n                </tr>\n              {/if}\n            </table>\n          </td>\n        </tr>\n      </table>\n\n      {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n        <table style=\"margin-top:5px;\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n          <tr>\n            <td><img src=\"{$resourceBase}/i/contribute/cut_line.png\" height=\"15\"></td>\n          </tr>\n        </table>\n\n        <table style=\"margin-top:5px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\" id=\"desc\">\n          <tr>\n            <td width=\"60%\"><b><font size=\"4\" align=\"right\">{ts}PAYMENT ADVICE{/ts}</font></b><br/><br/><font size=\"1\" align=\"left\"><b>{ts}To:{/ts}</b><div style=\"width:24em;word-wrap:break-word;\">\n              {$domain_organization}<br />\n              {$domain_street_address} {$domain_supplemental_address_1}<br />\n              {$domain_supplemental_address_2} {$domain_state}<br />\n              {$domain_city} {$domain_postal_code}<br />\n              {$domain_country}<br />\n              {$domain_email}</div>\n              {$domain_phone}<br />\n             </font><br/><br/><font size=\"1\" align=\"left\">{$notes}</font>\n            </td>\n            <td width=\"40%\">\n              <table cellpadding=\"5\" cellspacing=\"0\"  width=\"100%\" border=\"0\">\n                <tr>\n                  <td width=\"100%\"><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Customer:{/ts}</font></td>\n                  <td style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">{$display_name}</font></td>\n                </tr>\n                <tr>\n                  <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Invoice Number:{/ts}</font></td>\n                  <td><font size=\"1\" align=\"right\">{$invoice_number}</font></td>\n                </tr>\n                <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></td></tr>\n                {if $is_pay_later == 1}\n                  <tr>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Amount Due:{/ts}</font></td>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amount|crmMoney:$currency}</font></td>\n                  </tr>\n                {else}\n                  <tr>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Amount Due:{/ts}</font></td>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amountDue|crmMoney:$currency}</font></td>\n                  </tr>\n                {/if}\n                <tr>\n                  <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Due Date:{/ts}</font></td>\n                  <td><font size=\"1\" align=\"right\">{$dueDate}</font></td>\n                </tr>\n                <tr>\n                  <td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></td>\n                </tr>\n              </table>\n      {/if}\n\n      {if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}\n      {if $config->empoweredBy}\n        <table style=\"margin-top:2px;padding-left:7px;page-break-before: always;\">\n          <tr>\n            <td><img src=\"{$resourceBase}/i/civi99.png\" height=\"34px\" width=\"99px\"></td>\n          </tr>\n        </table>\n      {/if}\n\n    <center>\n      <table style=\"font-family: Arial, Verdana, sans-serif\" width=\"100%\" height=\"100\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\">\n        <tr>\n          <td style=\"padding-left:15px;\"><b><font size=\"4\" align=\"center\">{ts}CREDIT NOTE{/ts}</font></b></td>\n          <td style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Date:{/ts}</font></b></td>\n          <td><font size=\"1\" align=\"right\">{$domain_organization}</font></td>\n        </tr>\n        <tr>\n          {if $organization_name}\n            <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$display_name}  ({$organization_name})</font></td>\n          {else}\n            <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$display_name}</font></td>\n          {/if}\n          <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$invoice_date}</font></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_street_address }{$domain_street_address}{/if}\n              {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$street_address}   {$supplemental_address_1}</font></td>\n          <td style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Credit Note Number:{/ts}</font></b></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n              {if $domain_state }{$domain_state}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$supplemental_address_2}  {$stateProvinceAbbreviation}</font></td>\n          <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$creditnote_id}</font></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_city}{$domain_city}{/if}\n              {if $domain_postal_code }{$domain_postal_code}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"padding-left:17px;\"><font size=\"1\" align=\"right\">{$city}  {$postal_code}</font></td>\n          <td height=\"10\" style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Reference:{/ts}</font></b></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_country}{$domain_country}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td></td>\n          <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$source}</font></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_email}{$domain_email}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td></td>\n          <td></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_phone}{$domain_phone}{/if}\n           </font>\n          </td>\n        </tr>\n      </table>\n\n      <table style=\"margin-top:75px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\" id=\"desc\">\n        <tr>\n          <td colspan=\"2\" {$valueStyle}>\n            <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n              <tr>\n                <th style=\"padding-right:28px;text-align:left;font-weight:bold;width:200px;\"><font size=\"1\">{ts}Description{/ts}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts}Quantity{/ts}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts}Unit Price{/ts}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{if isset($taxTerm)}{$taxTerm}{/if}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts 1=$currency}Amount %1{/ts}</font></th>\n              </tr>\n              {foreach from=$lineItem item=value key=priceset name=pricevalue}\n                {if $smarty.foreach.pricevalue.index eq 0}\n                  <tr><td colspan=\"5\"><hr size=\"3\" style=\"color:#000;\"></hr></td></tr>\n                {else}\n                  <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n                {/if}\n                <tr>\n                  <td style =\"text-align:left;\"  >\n                    <font size=\"1\">\n                      {if $value.html_type eq \'Text\'}\n                        {$value.label}\n                      {else}\n                        {$value.field_title} - {$value.label}\n                      {/if}\n                      {if $value.description}\n                        <div>{$value.description|truncate:30:\"...\"}</div>\n                      {/if}\n                   </font>\n                  </td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$value.qty}</font></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$value.unit_price|crmMoney:$currency}</font></td>\n                  {if $value.tax_amount != \'\'}\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if isset($value.tax_rate)}{$value.tax_rate}%{/if}</font></td>\n                  {else}\n                    <td style=\"padding-left:28px;text-align:right\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}No %1{/ts}{/if}</font></td>\n                  {/if}\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$value.subTotal|crmMoney:$currency}</font></td>\n                </tr>\n              {/foreach}\n              <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{ts}Sub Total{/ts}</font></td>\n                <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$subTotal|crmMoney:$currency}</font></td>\n              </tr>\n              {if !empty($dataArray)}\n              {foreach from=$dataArray item=value key=priceset}\n                <tr>\n                  <td colspan=\"3\"></td>\n                  {if $priceset}\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{/if}</font></td>\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                  {elseif $priceset == 0}\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}TOTAL NO %1{/ts}{/if}</font></td>\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                  {/if}\n                </tr>\n              {/foreach}\n              {/if}\n              <tr>\n                <td colspan=\"3\"></td>\n                <td colspan=\"2\"><hr></hr></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{ts 1=$currency}TOTAL %1{/ts}</font></b></td>\n                <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n              </tr>\n              {if $is_pay_later == 0}\n                <tr>\n                  <td colspan=\"3\"></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{ts}LESS Credit to invoice(s){/ts}</font></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n                </tr>\n                <tr>\n                  <td colspan=\"3\"></td>\n                  <td colspan=\"2\"><hr></hr></td>\n                </tr>\n                <tr>\n                  <td colspan=\"3\"></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{ts}REMAINING CREDIT{/ts}</font></b></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{$amountDue|crmMoney:$currency}</font></b></td>\n                  <td style=\"padding-left:28px;\"><font size=\"1\" align=\"right\"></font></td>\n                </tr>\n              {/if}\n              <br/><br/><br/>\n              <tr>\n                <td colspan=\"3\"></td>\n              </tr>\n              <tr>\n                <td></td>\n                <td colspan=\"3\"></td>\n              </tr>\n            </table>\n          </td>\n        </tr>\n      </table>\n\n      <table width=\"100%\" style=\"margin-top:5px;padding-right:45px;\">\n        <tr>\n          <td><img src=\"{$resourceBase}/i/contribute/cut_line.png\" height=\"15\" width=\"100%\"></td>\n        </tr>\n      </table>\n\n      <table style=\"margin-top:6px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\" id=\"desc\">\n        <tr>\n          <td width=\"60%\"><font size=\"4\" align=\"right\"><b>{ts}CREDIT ADVICE{/ts}</b><br/><br /><div style=\"font-size:10px;max-width:300px;\">{ts}Please do not pay on this advice. Deduct the amount of this Credit Note from your next payment to us{/ts}</div><br/></font></td>\n          <td width=\"40%\">\n            <table align=\"right\">\n              <tr>\n                <td colspan=\"2\"></td>\n                <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Customer:{/ts}</font></td>\n                <td><font size=\"1\" align=\"right\">{$display_name}</font></td>\n              </tr>\n              <tr>\n                <td colspan=\"2\"></td>\n                <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Credit Note#:{/ts}</font></td>\n                <td><font size=\"1\" align=\"right\">{$creditnote_id}</font></td>\n              </tr>\n              <tr><td colspan=\"5\"style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n              <tr>\n                <td colspan=\"2\"></td>\n                <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Credit Amount:{/ts}</font></td>\n                <td width=\'50px\'><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amount|crmMoney:$currency}</font></td>\n              </tr>\n            </table>\n          </td>\n        </tr>\n      </table>\n    {/if}\n    </center>\n\n  </div>\n  </body>\n</html>\n',1,823,'contribution_invoice_receipt',0,1,0,NULL),
- (11,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if $recur_txnType eq \'START\'}\n{if $auto_renew_membership}\n{ts}Thanks for your auto renew membership sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s).{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n{else}\n{ts}Thanks for your recurring contribution sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit 3=$recur_installments}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments } {ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.\n\n{ts}Start Date{/ts}:  {$recur_start_date|crmDate}\n\n{if $cancelSubscriptionUrl}\n{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n{/if}\n\n{elseif $recur_txnType eq \'END\'}\n{if $auto_renew_membership}\n{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}\n\n\n{else}\n{ts}Your recurring contribution term has ended.{/ts}\n\n\n{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}\n\n\n==================================================\n{ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n\n==================================================\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts}End Date{/ts}: {$recur_end_date|crmDate}\n\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n   </td>\n  </tr>\n\n  <tr>\n   <td>&nbsp;</td>\n  </tr>\n\n    {if $recur_txnType eq \'START\'}\n     {if $auto_renew_membership}\n       <tr>\n        <td>\n         <p>{ts}Thanks for your auto renew membership sign-up.{/ts}</p>\n         <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}</p>\n        </td>\n       </tr>\n       {if $cancelSubscriptionUrl}\n       <tr>\n         <td {$labelStyle}>\n           {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n         </td>\n       </tr>\n       {/if}\n       {if $updateSubscriptionBillingUrl}\n         <tr>\n          <td {$labelStyle}>\n           {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n         </tr>\n       {/if}\n     {else}\n      <tr>\n       <td>\n        <p>{ts}Thanks for your recurring contribution sign-up.{/ts}</p>\n        <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments }{ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.</p>\n        <p>{ts}Start Date{/ts}: {$recur_start_date|crmDate}</p>\n       </td>\n      </tr>\n      {if $cancelSubscriptionUrl}\n      <tr>\n        <td {$labelStyle}>\n          {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by <a href=\"%1\">visiting this web page</a>.{/ts}\n        </td>\n      </tr>\n      {/if}\n      {if $updateSubscriptionBillingUrl}\n        <tr>\n          <td {$labelStyle}>\n            {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n        </tr>\n      {/if}\n      {if $updateSubscriptionUrl}\n      <tr>\n        <td {$labelStyle}>\n          {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n        </td>\n      </tr>\n      {/if}\n     {/if}\n\n    {elseif $recur_txnType eq \'END\'}\n\n     {if $auto_renew_membership}\n      <tr>\n       <td>\n        <p>{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}</p>\n       </td>\n      </tr>\n     {else}\n      <tr>\n       <td>\n        <p>{ts}Your recurring contribution term has ended.{/ts}</p>\n        <p>{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}</p>\n       </td>\n      </tr>\n      <tr>\n       <td>\n     <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n      <tr>\n       <th {$headerStyle}>\n        {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Start Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$recur_start_date|crmDate}\n       </td>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}End Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$recur_end_date|crmDate}\n       </td>\n      </tr>\n     </table>\n       </td>\n      </tr>\n\n     {/if}\n    {/if}\n\n </table>\n</center>\n\n</body>\n</html>\n',1,824,'contribution_recurring_notify',1,0,0,NULL),
- (12,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if $recur_txnType eq \'START\'}\n{if $auto_renew_membership}\n{ts}Thanks for your auto renew membership sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s).{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n{else}\n{ts}Thanks for your recurring contribution sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit 3=$recur_installments}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments } {ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.\n\n{ts}Start Date{/ts}:  {$recur_start_date|crmDate}\n\n{if $cancelSubscriptionUrl}\n{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n{/if}\n\n{elseif $recur_txnType eq \'END\'}\n{if $auto_renew_membership}\n{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}\n\n\n{else}\n{ts}Your recurring contribution term has ended.{/ts}\n\n\n{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}\n\n\n==================================================\n{ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n\n==================================================\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts}End Date{/ts}: {$recur_end_date|crmDate}\n\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n   </td>\n  </tr>\n\n  <tr>\n   <td>&nbsp;</td>\n  </tr>\n\n    {if $recur_txnType eq \'START\'}\n     {if $auto_renew_membership}\n       <tr>\n        <td>\n         <p>{ts}Thanks for your auto renew membership sign-up.{/ts}</p>\n         <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}</p>\n        </td>\n       </tr>\n       {if $cancelSubscriptionUrl}\n       <tr>\n         <td {$labelStyle}>\n           {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n         </td>\n       </tr>\n       {/if}\n       {if $updateSubscriptionBillingUrl}\n         <tr>\n          <td {$labelStyle}>\n           {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n         </tr>\n       {/if}\n     {else}\n      <tr>\n       <td>\n        <p>{ts}Thanks for your recurring contribution sign-up.{/ts}</p>\n        <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments }{ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.</p>\n        <p>{ts}Start Date{/ts}: {$recur_start_date|crmDate}</p>\n       </td>\n      </tr>\n      {if $cancelSubscriptionUrl}\n      <tr>\n        <td {$labelStyle}>\n          {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by <a href=\"%1\">visiting this web page</a>.{/ts}\n        </td>\n      </tr>\n      {/if}\n      {if $updateSubscriptionBillingUrl}\n        <tr>\n          <td {$labelStyle}>\n            {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n        </tr>\n      {/if}\n      {if $updateSubscriptionUrl}\n      <tr>\n        <td {$labelStyle}>\n          {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n        </td>\n      </tr>\n      {/if}\n     {/if}\n\n    {elseif $recur_txnType eq \'END\'}\n\n     {if $auto_renew_membership}\n      <tr>\n       <td>\n        <p>{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}</p>\n       </td>\n      </tr>\n     {else}\n      <tr>\n       <td>\n        <p>{ts}Your recurring contribution term has ended.{/ts}</p>\n        <p>{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}</p>\n       </td>\n      </tr>\n      <tr>\n       <td>\n     <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n      <tr>\n       <th {$headerStyle}>\n        {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Start Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$recur_start_date|crmDate}\n       </td>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}End Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$recur_end_date|crmDate}\n       </td>\n      </tr>\n     </table>\n       </td>\n      </tr>\n\n     {/if}\n    {/if}\n\n </table>\n</center>\n\n</body>\n</html>\n',1,824,'contribution_recurring_notify',0,1,0,NULL),
- (13,'Contributions - Recurring Cancellation Notification','{ts}Recurring Contribution Cancellation Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,825,'contribution_recurring_cancelled',1,0,0,NULL),
- (14,'Contributions - Recurring Cancellation Notification','{ts}Recurring Contribution Cancellation Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,825,'contribution_recurring_cancelled',0,1,0,NULL),
- (15,'Contributions - Recurring Billing Updates','{ts}Recurring Contribution Billing Updates{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n    <tr>\n        <th {$headerStyle}>\n         {ts}Billing Name and Address{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$billingName}<br />\n         {$address|nl2br}<br />\n         {$email}\n        </td>\n       </tr>\n        <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n            {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n        </td>\n       </tr>\n  </table>\n</center>\n\n</body>\n</html>\n',1,826,'contribution_recurring_billing',1,0,0,NULL),
- (16,'Contributions - Recurring Billing Updates','{ts}Recurring Contribution Billing Updates{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n    <tr>\n        <th {$headerStyle}>\n         {ts}Billing Name and Address{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$billingName}<br />\n         {$address|nl2br}<br />\n         {$email}\n        </td>\n       </tr>\n        <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n            {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n        </td>\n       </tr>\n  </table>\n</center>\n\n</body>\n</html>\n',1,826,'contribution_recurring_billing',0,1,0,NULL),
- (17,'Contributions - Recurring Updates','{ts}Recurring Contribution Update Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}Your recurring contribution has been updated as requested:{/ts}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}\n{if $installments}{ts 1=$installments} for %1 installments.{/ts}{/if}\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}Your recurring contribution has been updated as requested:{/ts}\n    <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}{if $installments}{ts 1=$installments} for %1 installments{/ts}{/if}.</p>\n\n    <p>{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,827,'contribution_recurring_edit',1,0,0,NULL),
- (18,'Contributions - Recurring Updates','{ts}Recurring Contribution Update Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}Your recurring contribution has been updated as requested:{/ts}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}\n{if $installments}{ts 1=$installments} for %1 installments.{/ts}{/if}\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}Your recurring contribution has been updated as requested:{/ts}\n    <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}{if $installments}{ts 1=$installments} for %1 installments{/ts}{/if}.</p>\n\n    <p>{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,827,'contribution_recurring_edit',0,1,0,NULL),
- (19,'Personal Campaign Pages - Admin Notification','{ts}Personal Campaign Page Notification{/ts} - {contact.display_name}\n','===========================================================\n{ts}Personal Campaign Page Notification{/ts}\n\n===========================================================\n{ts}Action{/ts}: {if $mode EQ \'Update\'}{ts}Updated personal campaign page{/ts}{else}{ts}New personal campaign page{/ts}{/if}\n{ts}Personal Campaign Page Title{/ts}: {$pcpTitle}\n{ts}Current Status{/ts}: {$pcpStatus}\n{capture assign=pcpURL}{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1 fe=1}{/capture}\n{ts}View Page{/ts}:\n>> {$pcpURL}\n\n{ts}Supporter{/ts}: {$supporterName}\n>> {$supporterUrl}\n\n{ts}Linked to Contribution Page{/ts}: {$contribPageTitle}\n>> {$contribPageUrl}\n\n{ts}Manage Personal Campaign Pages{/ts}:\n>> {$managePCPUrl}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=pcpURL     }{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1 fe=1}{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Personal Campaign Page Notification{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Action{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {if $mode EQ \'Update\'}\n        {ts}Updated personal campaign page{/ts}\n       {else}\n        {ts}New personal campaign page{/ts}\n       {/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Personal Campaign Page Title{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$pcpTitle}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Current Status{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$pcpStatus}\n      </td>\n     </tr>\n\n     <tr>\n      <td {$labelStyle}>\n       <a href=\"{$pcpURL}\">{ts}View Page{/ts}</a>\n      </td>\n      <td></td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Supporter{/ts}\n      </td>\n      <td {$valueStyle}>\n       <a href=\"{$supporterUrl}\">{$supporterName}</a>\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Linked to Contribution Page{/ts}\n      </td>\n      <td {$valueStyle}>\n       <a href=\"{$contribPageUrl}\">{$contribPageTitle}</a>\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       <a href=\"{$managePCPUrl}\">{ts}Manage Personal Campaign Pages{/ts}</a>\n      </td>\n      <td></td>\n     </tr>\n\n    </table>\n   </td>\n  </tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,828,'pcp_notify',1,0,0,NULL),
- (20,'Personal Campaign Pages - Admin Notification','{ts}Personal Campaign Page Notification{/ts} - {contact.display_name}\n','===========================================================\n{ts}Personal Campaign Page Notification{/ts}\n\n===========================================================\n{ts}Action{/ts}: {if $mode EQ \'Update\'}{ts}Updated personal campaign page{/ts}{else}{ts}New personal campaign page{/ts}{/if}\n{ts}Personal Campaign Page Title{/ts}: {$pcpTitle}\n{ts}Current Status{/ts}: {$pcpStatus}\n{capture assign=pcpURL}{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1 fe=1}{/capture}\n{ts}View Page{/ts}:\n>> {$pcpURL}\n\n{ts}Supporter{/ts}: {$supporterName}\n>> {$supporterUrl}\n\n{ts}Linked to Contribution Page{/ts}: {$contribPageTitle}\n>> {$contribPageUrl}\n\n{ts}Manage Personal Campaign Pages{/ts}:\n>> {$managePCPUrl}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=pcpURL     }{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1 fe=1}{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Personal Campaign Page Notification{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Action{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {if $mode EQ \'Update\'}\n        {ts}Updated personal campaign page{/ts}\n       {else}\n        {ts}New personal campaign page{/ts}\n       {/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Personal Campaign Page Title{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$pcpTitle}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Current Status{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$pcpStatus}\n      </td>\n     </tr>\n\n     <tr>\n      <td {$labelStyle}>\n       <a href=\"{$pcpURL}\">{ts}View Page{/ts}</a>\n      </td>\n      <td></td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Supporter{/ts}\n      </td>\n      <td {$valueStyle}>\n       <a href=\"{$supporterUrl}\">{$supporterName}</a>\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Linked to Contribution Page{/ts}\n      </td>\n      <td {$valueStyle}>\n       <a href=\"{$contribPageUrl}\">{$contribPageTitle}</a>\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       <a href=\"{$managePCPUrl}\">{ts}Manage Personal Campaign Pages{/ts}</a>\n      </td>\n      <td></td>\n     </tr>\n\n    </table>\n   </td>\n  </tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,828,'pcp_notify',0,1,0,NULL),
- (21,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}\n','{if $pcpStatus eq \'Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been approved and is now live.{/ts}\n\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n{if $isTellFriendEnabled}\n\n{ts}After logging in, you can use this form to promote your fundraising page{/ts}:\n{$pcpTellFriendURL}\n\n{/if}\n\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{* Rejected message *}\n{elseif $pcpStatus eq \'Not Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}\n\n{if $pcpNotifyEmailAddress}\n\n{ts}Please contact our site administrator for more information{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n\n    <h1>{ts}Your Personal Campaign Page{/ts}</h1>\n\n    {if $pcpStatus eq \'Approved\'}\n\n     <p>{ts}Your personal campaign page has been approved and is now live.{/ts}</p>\n     <p>{ts}Whenever you want to preview, update or promote your page{/ts}:</p>\n     <ol>\n      <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n      <li><a href=\"{$pcpInfoURL}\">{ts}Go to your page{/ts}</a></li>\n     </ol>\n     <p>{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}</p>\n\n     {if $isTellFriendEnabled}\n      <p><a href=\"{$pcpTellFriendURL}\">{ts}After logging in, you can use this form to promote your fundraising page{/ts}</a></p>\n     {/if}\n\n     {if $pcpNotifyEmailAddress}\n      <p>{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}</p>\n     {/if}\n\n    {elseif $pcpStatus eq \'Not Approved\'}\n\n     <p>{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}</p>\n     {if $pcpNotifyEmailAddress}\n      <p>{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}</p>\n     {/if}\n\n    {/if}\n\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,829,'pcp_status_change',1,0,0,NULL),
- (22,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}\n','{if $pcpStatus eq \'Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been approved and is now live.{/ts}\n\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n{if $isTellFriendEnabled}\n\n{ts}After logging in, you can use this form to promote your fundraising page{/ts}:\n{$pcpTellFriendURL}\n\n{/if}\n\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{* Rejected message *}\n{elseif $pcpStatus eq \'Not Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}\n\n{if $pcpNotifyEmailAddress}\n\n{ts}Please contact our site administrator for more information{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n\n    <h1>{ts}Your Personal Campaign Page{/ts}</h1>\n\n    {if $pcpStatus eq \'Approved\'}\n\n     <p>{ts}Your personal campaign page has been approved and is now live.{/ts}</p>\n     <p>{ts}Whenever you want to preview, update or promote your page{/ts}:</p>\n     <ol>\n      <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n      <li><a href=\"{$pcpInfoURL}\">{ts}Go to your page{/ts}</a></li>\n     </ol>\n     <p>{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}</p>\n\n     {if $isTellFriendEnabled}\n      <p><a href=\"{$pcpTellFriendURL}\">{ts}After logging in, you can use this form to promote your fundraising page{/ts}</a></p>\n     {/if}\n\n     {if $pcpNotifyEmailAddress}\n      <p>{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}</p>\n     {/if}\n\n    {elseif $pcpStatus eq \'Not Approved\'}\n\n     <p>{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}</p>\n     {if $pcpNotifyEmailAddress}\n      <p>{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}</p>\n     {/if}\n\n    {/if}\n\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,829,'pcp_status_change',0,1,0,NULL),
- (23,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}\n\n{if $pcpStatus eq \'Approved\'}\n====================\n{ts}Promoting Your Page{/ts}\n\n====================\n{if $isTellFriendEnabled}\n\n{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:\n\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser and follow the prompts{/ts}:\n{$pcpTellFriendURL}\n{else}\n\n{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts}\n{ts}Include this link to your fundraising page in your emails{/ts}:\n{$pcpInfoURL}\n{/if}\n\n===================\n{ts}Managing Your Page{/ts}\n\n===================\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n\n{elseif $pcpStatus EQ \'Waiting Review\'}\n{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}\n\n\n{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}\n\n\n{ts}You can still preview your page prior to approval{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser{/ts}:\n{$pcpInfoURL}\n\n{/if}\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}</p>\n   </td>\n  </tr>\n\n  {if $pcpStatus eq \'Approved\'}\n\n    <tr>\n     <td>\n      <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n       <tr>\n        <th {$headerStyle}>\n         {ts}Promoting Your Page{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {if $isTellFriendEnabled}\n          <p>{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:</p>\n          <ol>\n           <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n           <li><a href=\"{$pcpTellFriendURL}\">{ts}Click this link and follow the prompts{/ts}</a></li>\n          </ol>\n         {else}\n          <p>{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts} {ts}Include this link to your fundraising page in your emails{/ts}: {$pcpInfoURL}</p>\n         {/if}\n        </td>\n       </tr>\n       <tr>\n        <th {$headerStyle}>\n         {ts}Managing Your Page{/ts}\n        </th>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <p>{ts}Whenever you want to preview, update or promote your page{/ts}:</p>\n         <ol>\n          <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n          <li><a href=\"{$pcpInfoURL}\">{ts}Go to your page{/ts}</a></li>\n         </ol>\n         <p>{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}</p>\n        </td>\n       </tr>\n       </tr>\n      </table>\n     </td>\n    </tr>\n\n   {elseif $pcpStatus EQ \'Waiting Review\'}\n\n    <tr>\n     <td>\n      <p>{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}</p>\n      <p>{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}</p>\n      <p>{ts}You can still preview your page prior to approval{/ts}:</p>\n      <ol>\n       <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n       <li><a href=\"{$pcpInfoURL}\">{ts}Click this link{/ts}</a></li>\n      </ol>\n     </td>\n    </tr>\n\n   {/if}\n\n   {if $pcpNotifyEmailAddress}\n    <tr>\n     <td>\n      <p>{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}</p>\n     </td>\n    </tr>\n   {/if}\n\n </table>\n</center>\n\n</body>\n</html>\n',1,830,'pcp_supporter_notify',1,0,0,NULL),
- (24,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}\n\n{if $pcpStatus eq \'Approved\'}\n====================\n{ts}Promoting Your Page{/ts}\n\n====================\n{if $isTellFriendEnabled}\n\n{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:\n\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser and follow the prompts{/ts}:\n{$pcpTellFriendURL}\n{else}\n\n{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts}\n{ts}Include this link to your fundraising page in your emails{/ts}:\n{$pcpInfoURL}\n{/if}\n\n===================\n{ts}Managing Your Page{/ts}\n\n===================\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n\n{elseif $pcpStatus EQ \'Waiting Review\'}\n{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}\n\n\n{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}\n\n\n{ts}You can still preview your page prior to approval{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser{/ts}:\n{$pcpInfoURL}\n\n{/if}\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}</p>\n   </td>\n  </tr>\n\n  {if $pcpStatus eq \'Approved\'}\n\n    <tr>\n     <td>\n      <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n       <tr>\n        <th {$headerStyle}>\n         {ts}Promoting Your Page{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {if $isTellFriendEnabled}\n          <p>{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:</p>\n          <ol>\n           <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n           <li><a href=\"{$pcpTellFriendURL}\">{ts}Click this link and follow the prompts{/ts}</a></li>\n          </ol>\n         {else}\n          <p>{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts} {ts}Include this link to your fundraising page in your emails{/ts}: {$pcpInfoURL}</p>\n         {/if}\n        </td>\n       </tr>\n       <tr>\n        <th {$headerStyle}>\n         {ts}Managing Your Page{/ts}\n        </th>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <p>{ts}Whenever you want to preview, update or promote your page{/ts}:</p>\n         <ol>\n          <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n          <li><a href=\"{$pcpInfoURL}\">{ts}Go to your page{/ts}</a></li>\n         </ol>\n         <p>{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}</p>\n        </td>\n       </tr>\n       </tr>\n      </table>\n     </td>\n    </tr>\n\n   {elseif $pcpStatus EQ \'Waiting Review\'}\n\n    <tr>\n     <td>\n      <p>{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}</p>\n      <p>{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}</p>\n      <p>{ts}You can still preview your page prior to approval{/ts}:</p>\n      <ol>\n       <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n       <li><a href=\"{$pcpInfoURL}\">{ts}Click this link{/ts}</a></li>\n      </ol>\n     </td>\n    </tr>\n\n   {/if}\n\n   {if $pcpNotifyEmailAddress}\n    <tr>\n     <td>\n      <p>{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}</p>\n     </td>\n    </tr>\n   {/if}\n\n </table>\n</center>\n\n</body>\n</html>\n',1,830,'pcp_supporter_notify',0,1,0,NULL),
- (25,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts} - {contact.display_name}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\n===========================================================\n{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}You have received a donation at your personal page{/ts}: {$page_title}\n>> {$pcpInfoURL}\n\n{ts}Your fundraising total has been updated.{/ts}\n{ts}The donor\'s information is listed below.  You can choose to contact them and convey your thanks if you wish.{/ts}\n{if $is_honor_roll_enabled}\n    {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}\n{/if}\n\n{ts}Received{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n  {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n  <p>{ts}You have received a donation at your personal page{/ts}: <a href=\"{$pcpInfoURL}\">{$page_title}</a></p>\n  <p>{ts}Your fundraising total has been updated.{/ts}<br/>\n    {ts}The donor\'s information is listed below.  You can choose to contact them and convey your thanks if you wish.{/ts} <br/>\n    {if $is_honor_roll_enabled}\n      {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}<br/>\n    {/if}\n  </p>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n    <tr><td>{ts}Received{/ts}:</td><td> {$receive_date|crmDate}</td></tr>\n    <tr><td>{ts}Amount{/ts}:</td><td> {$total_amount|crmMoney:$currency}</td></tr>\n    <tr><td>{ts}Name{/ts}:</td><td> {$donors_display_name}</td></tr>\n    <tr><td>{ts}Email{/ts}:</td><td> {$donors_email}</td></tr>\n  </table>\n</body>\n</html>\n',1,831,'pcp_owner_notify',1,0,0,NULL),
- (26,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts} - {contact.display_name}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\n===========================================================\n{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}You have received a donation at your personal page{/ts}: {$page_title}\n>> {$pcpInfoURL}\n\n{ts}Your fundraising total has been updated.{/ts}\n{ts}The donor\'s information is listed below.  You can choose to contact them and convey your thanks if you wish.{/ts}\n{if $is_honor_roll_enabled}\n    {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}\n{/if}\n\n{ts}Received{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n  {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n  <p>{ts}You have received a donation at your personal page{/ts}: <a href=\"{$pcpInfoURL}\">{$page_title}</a></p>\n  <p>{ts}Your fundraising total has been updated.{/ts}<br/>\n    {ts}The donor\'s information is listed below.  You can choose to contact them and convey your thanks if you wish.{/ts} <br/>\n    {if $is_honor_roll_enabled}\n      {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}<br/>\n    {/if}\n  </p>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n    <tr><td>{ts}Received{/ts}:</td><td> {$receive_date|crmDate}</td></tr>\n    <tr><td>{ts}Amount{/ts}:</td><td> {$total_amount|crmMoney:$currency}</td></tr>\n    <tr><td>{ts}Name{/ts}:</td><td> {$donors_display_name}</td></tr>\n    <tr><td>{ts}Email{/ts}:</td><td> {$donors_email}</td></tr>\n  </table>\n</body>\n</html>\n',1,831,'pcp_owner_notify',0,1,0,NULL),
- (27,'Additional Payment Receipt or Refund Notification','{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if}{if $component eq \'event\'} - {$event.title}{/if} - {contact.display_name}\n','{if $emailGreeting}{$emailGreeting},\n{/if}\n\n{if $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}Below you will find a receipt for this payment.{/ts}\n{/if}\n{if $paymentsComplete}\n{ts}Thank you for completing this payment.{/ts}\n{/if}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}This Refund Amount{/ts}: {$refundAmount|crmMoney}\n------------------------------------------------------------------------------------\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}\n------------------------------------------------------------------------------------\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n\n===============================================================================\n\n{ts}Contribution Details{/ts}\n\n===============================================================================\n{if isset($totalAmount)}\n{ts}Total Fee{/ts}: {$totalAmount|crmMoney}\n{/if}\n{if isset($totalPaid)}\n{ts}Total Paid{/ts}: {$totalPaid|crmMoney}\n{/if}\n{if isset($amountOwed)}\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}\n{/if}\n\n\n{if !empty($billingName) || !empty($address)}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n{if !empty($billingName)}\n{$billingName}\n{/if}\n{if !empty($address)}\n{$address}\n{/if}\n{/if}\n\n{if !empty($credit_card_number)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===============================================================================\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if $component eq \'event\'}\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=emptyBlockStyle }style=\"padding: 10px; border-bottom: 1px solid #999;background-color: #f7f7f7;\"{/capture}\n{capture assign=emptyBlockValueStyle }style=\"padding: 10px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n  <tr>\n    <td>\n      {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n      {if $isRefund}\n        <p>{ts}A refund has been issued based on changes in your registration selections.{/ts}</p>\n      {else}\n        <p>{ts}Below you will find a receipt for this payment.{/ts}</p>\n        {if $paymentsComplete}\n          <p>{ts}Thank you for completing this contribution.{/ts}</p>\n        {/if}\n      {/if}\n    </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n    {if $isRefund}\n      <tr>\n        <th {$headerStyle}>{ts}Refund Details{/ts}</th>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n        {ts}This Refund Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$refundAmount|crmMoney}\n        </td>\n      </tr>\n    {else}\n      <tr>\n        <th {$headerStyle}>{ts}Payment Details{/ts}</th>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n        {ts}This Payment Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$paymentAmount|crmMoney}\n        </td>\n      </tr>\n    {/if}\n    {if $receive_date}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Transaction Date{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$receive_date|crmDate}\n        </td>\n      </tr>\n    {/if}\n    {if !empty($trxn_id)}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Transaction #{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$trxn_id}\n        </td>\n      </tr>\n    {/if}\n    {if !empty($paidBy)}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Paid By{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$paidBy}\n        </td>\n      </tr>\n    {/if}\n    {if !empty($checkNumber)}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Check Number{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$checkNumber}\n        </td>\n      </tr>\n    {/if}\n\n  <tr>\n    <th {$headerStyle}>{ts}Contribution Details{/ts}</th>\n  </tr>\n  {if isset($totalAmount)}\n  <tr>\n    <td {$labelStyle}>\n      {ts}Total Fee{/ts}\n    </td>\n    <td {$valueStyle}>\n      {$totalAmount|crmMoney}\n    </td>\n  </tr>\n  {/if}\n  {if isset($totalPaid)}\n  <tr>\n    <td {$labelStyle}>\n      {ts}Total Paid{/ts}\n    </td>\n    <td {$valueStyle}>\n      {$totalPaid|crmMoney}\n    </td>\n  </tr>\n  {/if}\n  {if isset($amountOwed)}\n  <tr>\n    <td {$labelStyle}>\n      {ts}Balance Owed{/ts}\n    </td>\n    <td {$valueStyle}>\n      {$amountOwed|crmMoney}\n    </td> {* This will be zero after final payment. *}\n  </tr>\n  {/if}\n  </table>\n\n  </td>\n  </tr>\n    <tr>\n      <td>\n  <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n    {if !empty($billingName) || !empty($address)}\n          <tr>\n            <th {$headerStyle}>\n        {ts}Billing Name and Address{/ts}\n            </th>\n          </tr>\n          <tr>\n            <td colspan=\"2\" {$valueStyle}>\n        {if !empty($billingName)}{$billingName}{/if}<br />\n        {if !empty($address)}{$address|nl2br}{/if}\n            </td>\n          </tr>\n    {/if}\n    {if !empty($credit_card_number)}\n          <tr>\n            <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n            </th>\n          </tr>\n          <tr>\n            <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n            </td>\n          </tr>\n    {/if}\n    {if $component eq \'event\'}\n    <tr>\n      <th {$headerStyle}>\n        {ts}Event Information and Location{/ts}\n      </th>\n    </tr>\n    <tr>\n      <td colspan=\"2\" {$valueStyle}>\n         {$event.event_title}<br />\n        {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n    </tr>\n\n    {if !empty($event.participant_role)}\n    <tr>\n      <td {$labelStyle}>\n        {ts}Participant Role{/ts}\n      </td>\n      <td {$valueStyle}>\n        {$event.participant_role}\n      </td>\n    </tr>\n    {/if}\n\n    {if !empty($isShowLocation)}\n    <tr>\n      <td colspan=\"2\" {$valueStyle}>\n        {$location.address.1.display|nl2br}\n      </td>\n    </tr>\n    {/if}\n\n    {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n    <tr>\n      <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n      </td>\n    </tr>\n    {foreach from=$location.phone item=phone}\n    {if $phone.phone}\n          <tr>\n            <td {$labelStyle}>\n        {if $phone.phone_type}\n        {$phone.phone_type_display}\n        {else}\n        {ts}Phone{/ts}\n        {/if}\n            </td>\n            <td {$valueStyle}>\n        {$phone.phone} {if $phone.phone_ext}&nbsp;{ts}ext.{/ts} {$phone.phone_ext}{/if}\n            </td>\n          </tr>\n    {/if}\n    {/foreach}\n    {foreach from=$location.email item=eventEmail}\n    {if $eventEmail.email}\n          <tr>\n            <td {$labelStyle}>\n        {ts}Email{/ts}\n            </td>\n            <td {$valueStyle}>\n        {$eventEmail.email}\n            </td>\n          </tr>\n    {/if}\n    {/foreach}\n    {/if} {*phone block close*}\n    {/if}\n  </table>\n      </td>\n    </tr>\n\n    </table>\n  </center>\n\n </body>\n</html>\n',1,832,'payment_or_refund_notification',1,0,0,NULL),
- (28,'Additional Payment Receipt or Refund Notification','{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if}{if $component eq \'event\'} - {$event.title}{/if} - {contact.display_name}\n','{if $emailGreeting}{$emailGreeting},\n{/if}\n\n{if $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}Below you will find a receipt for this payment.{/ts}\n{/if}\n{if $paymentsComplete}\n{ts}Thank you for completing this payment.{/ts}\n{/if}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}This Refund Amount{/ts}: {$refundAmount|crmMoney}\n------------------------------------------------------------------------------------\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}\n------------------------------------------------------------------------------------\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n\n===============================================================================\n\n{ts}Contribution Details{/ts}\n\n===============================================================================\n{if isset($totalAmount)}\n{ts}Total Fee{/ts}: {$totalAmount|crmMoney}\n{/if}\n{if isset($totalPaid)}\n{ts}Total Paid{/ts}: {$totalPaid|crmMoney}\n{/if}\n{if isset($amountOwed)}\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}\n{/if}\n\n\n{if !empty($billingName) || !empty($address)}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n{if !empty($billingName)}\n{$billingName}\n{/if}\n{if !empty($address)}\n{$address}\n{/if}\n{/if}\n\n{if !empty($credit_card_number)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===============================================================================\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if $component eq \'event\'}\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=emptyBlockStyle }style=\"padding: 10px; border-bottom: 1px solid #999;background-color: #f7f7f7;\"{/capture}\n{capture assign=emptyBlockValueStyle }style=\"padding: 10px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n  <tr>\n    <td>\n      {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n      {if $isRefund}\n        <p>{ts}A refund has been issued based on changes in your registration selections.{/ts}</p>\n      {else}\n        <p>{ts}Below you will find a receipt for this payment.{/ts}</p>\n        {if $paymentsComplete}\n          <p>{ts}Thank you for completing this contribution.{/ts}</p>\n        {/if}\n      {/if}\n    </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n    {if $isRefund}\n      <tr>\n        <th {$headerStyle}>{ts}Refund Details{/ts}</th>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n        {ts}This Refund Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$refundAmount|crmMoney}\n        </td>\n      </tr>\n    {else}\n      <tr>\n        <th {$headerStyle}>{ts}Payment Details{/ts}</th>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n        {ts}This Payment Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$paymentAmount|crmMoney}\n        </td>\n      </tr>\n    {/if}\n    {if $receive_date}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Transaction Date{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$receive_date|crmDate}\n        </td>\n      </tr>\n    {/if}\n    {if !empty($trxn_id)}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Transaction #{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$trxn_id}\n        </td>\n      </tr>\n    {/if}\n    {if !empty($paidBy)}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Paid By{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$paidBy}\n        </td>\n      </tr>\n    {/if}\n    {if !empty($checkNumber)}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Check Number{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$checkNumber}\n        </td>\n      </tr>\n    {/if}\n\n  <tr>\n    <th {$headerStyle}>{ts}Contribution Details{/ts}</th>\n  </tr>\n  {if isset($totalAmount)}\n  <tr>\n    <td {$labelStyle}>\n      {ts}Total Fee{/ts}\n    </td>\n    <td {$valueStyle}>\n      {$totalAmount|crmMoney}\n    </td>\n  </tr>\n  {/if}\n  {if isset($totalPaid)}\n  <tr>\n    <td {$labelStyle}>\n      {ts}Total Paid{/ts}\n    </td>\n    <td {$valueStyle}>\n      {$totalPaid|crmMoney}\n    </td>\n  </tr>\n  {/if}\n  {if isset($amountOwed)}\n  <tr>\n    <td {$labelStyle}>\n      {ts}Balance Owed{/ts}\n    </td>\n    <td {$valueStyle}>\n      {$amountOwed|crmMoney}\n    </td> {* This will be zero after final payment. *}\n  </tr>\n  {/if}\n  </table>\n\n  </td>\n  </tr>\n    <tr>\n      <td>\n  <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n    {if !empty($billingName) || !empty($address)}\n          <tr>\n            <th {$headerStyle}>\n        {ts}Billing Name and Address{/ts}\n            </th>\n          </tr>\n          <tr>\n            <td colspan=\"2\" {$valueStyle}>\n        {if !empty($billingName)}{$billingName}{/if}<br />\n        {if !empty($address)}{$address|nl2br}{/if}\n            </td>\n          </tr>\n    {/if}\n    {if !empty($credit_card_number)}\n          <tr>\n            <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n            </th>\n          </tr>\n          <tr>\n            <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n            </td>\n          </tr>\n    {/if}\n    {if $component eq \'event\'}\n    <tr>\n      <th {$headerStyle}>\n        {ts}Event Information and Location{/ts}\n      </th>\n    </tr>\n    <tr>\n      <td colspan=\"2\" {$valueStyle}>\n         {$event.event_title}<br />\n        {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n    </tr>\n\n    {if !empty($event.participant_role)}\n    <tr>\n      <td {$labelStyle}>\n        {ts}Participant Role{/ts}\n      </td>\n      <td {$valueStyle}>\n        {$event.participant_role}\n      </td>\n    </tr>\n    {/if}\n\n    {if !empty($isShowLocation)}\n    <tr>\n      <td colspan=\"2\" {$valueStyle}>\n        {$location.address.1.display|nl2br}\n      </td>\n    </tr>\n    {/if}\n\n    {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n    <tr>\n      <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n      </td>\n    </tr>\n    {foreach from=$location.phone item=phone}\n    {if $phone.phone}\n          <tr>\n            <td {$labelStyle}>\n        {if $phone.phone_type}\n        {$phone.phone_type_display}\n        {else}\n        {ts}Phone{/ts}\n        {/if}\n            </td>\n            <td {$valueStyle}>\n        {$phone.phone} {if $phone.phone_ext}&nbsp;{ts}ext.{/ts} {$phone.phone_ext}{/if}\n            </td>\n          </tr>\n    {/if}\n    {/foreach}\n    {foreach from=$location.email item=eventEmail}\n    {if $eventEmail.email}\n          <tr>\n            <td {$labelStyle}>\n        {ts}Email{/ts}\n            </td>\n            <td {$valueStyle}>\n        {$eventEmail.email}\n            </td>\n          </tr>\n    {/if}\n    {/foreach}\n    {/if} {*phone block close*}\n    {/if}\n  </table>\n      </td>\n    </tr>\n\n    </table>\n  </center>\n\n </body>\n</html>\n',1,832,'payment_or_refund_notification',0,1,0,NULL),
- (29,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {$event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif !empty($is_pay_later)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar File:{/ts} {$icalFeed}\n{/if}\n\n{if !empty($email)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$email}\n{/if}\n{if !empty($event.is_monetary)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts}\n{/if}\n{/if}\n---------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{capture assign=ts_participant_total}{if !empty($pricesetFieldsCount) }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}  {/if}  {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n{/if}\n{/foreach}\n\n{if !empty($dataArray)}\n{if isset($totalAmount) and isset($totalTaxAmount)}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amount) && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary)}\n\n{if !empty($balanceAmount)}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($balanceAmount)}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if !empty($pricesetFieldsCount) }\n      {assign var=\"count\" value= 0}\n      {foreach from=$lineItem item=pcount}\n      {assign var=\"lineItemCount\" value=0}\n      {if $pcount neq \'skip\'}\n        {foreach from=$pcount item=p_count}\n        {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n        {/foreach}\n        {if $lineItemCount < 1 }\n        {assign var=\"lineItemCount\" value=1}\n        {/if}\n      {assign var=\"count\" value=$count+$lineItemCount}\n      {/if}\n      {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if !empty($is_pay_later) }\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=val key=field}\n{if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\' }\n{if $field eq \'additionalCustomPre\' }\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{/if}\n{foreach from=$val item=v key=f}\n{$f}: {$v}\n{/foreach}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n    {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n     <p>{$event.confirm_email_text|htmlize}</p>\n    {/if}\n\n    {if !empty($isOnWaitlist)}\n     <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n     {if !empty($isPrimary)}\n       <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n     {/if}\n    {elseif !empty($isRequireApproval)}\n     <p>{ts}Your registration has been submitted.{/ts}</p>\n     {if !empty($isPrimary)}\n      <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n     {/if}\n    {elseif !empty($is_pay_later)}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n\n     {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Participant Role{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$event.participant_role}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($isShowLocation)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}\n           {$phone.phone_type_display}\n          {else}\n           {ts}Phone{/ts}\n          {/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone} {if $phone.phone_ext}&nbsp;{ts}ext.{/ts} {$phone.phone_ext}{/if}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($event.is_public)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n        <a href=\"{$icalFeed}\">{ts}Download iCalendar File{/ts}</a>\n       </td>\n      </tr>\n     {/if}\n\n     {if $email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$email}\n       </td>\n      </tr>\n     {/if}\n\n\n     {if !empty($event.is_monetary)}\n\n      <tr>\n       <th {$headerStyle}>\n        {if !empty($event.fee_label)}{$event.fee_label}{/if}\n       </th>\n      </tr>\n\n      {if !empty($lineItem)}\n       {foreach from=$lineItem item=value key=priceset}\n        {if $value neq \'skip\'}\n         {if !empty($isPrimary)}\n          {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n           <tr>\n            <td colspan=\"2\" {$labelStyle}>\n             {ts 1=$priceset+1}Participant %1{/ts}\n            </td>\n           </tr>\n          {/if}\n         {/if}\n         <tr>\n          <td colspan=\"2\" {$valueStyle}>\n           <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n            <tr>\n             <th>{ts}Item{/ts}</th>\n             <th>{ts}Qty{/ts}</th>\n             <th>{ts}Each{/ts}</th>\n             {if !empty($dataArray)}\n              <th>{ts}SubTotal{/ts}</th>\n              <th>{ts}Tax Rate{/ts}</th>\n              <th>{ts}Tax Amount{/ts}</th>\n             {/if}\n             <th>{ts}Total{/ts}</th>\n       {if !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n            </tr>\n            {foreach from=$value item=line}\n             <tr>\n              <td>\n        {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n              </td>\n              <td>\n               {$line.qty}\n              </td>\n              <td>\n               {$line.unit_price|crmMoney}\n              </td>\n              {if !empty($dataArray)}\n               <td>\n                {$line.unit_price*$line.qty|crmMoney}\n               </td>\n               {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                <td>\n                 {$line.tax_rate|string_format:\"%.2f\"}%\n                </td>\n                <td>\n                 {$line.tax_amount|crmMoney}\n                </td>\n               {else}\n                <td></td>\n                <td></td>\n               {/if}\n              {/if}\n              <td>\n               {$line.line_total+$line.tax_amount|crmMoney}\n              </td>\n        {if  !empty($pricesetFieldsCount) }\n        <td>\n    {$line.participant_count}\n              </td>\n        {/if}\n             </tr>\n            {/foreach}\n           </table>\n          </td>\n         </tr>\n        {/if}\n       {/foreach}\n       {if !empty($dataArray)}\n        {if isset($totalAmount) and isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Amount Before Tax:{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalAmount-$totalTaxAmount|crmMoney}\n         </td>\n        </tr>\n        {/if}\n        {foreach from=$dataArray item=value key=priceset}\n          <tr>\n           {if $priceset || $priceset == 0}\n            <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n            <td>&nbsp;{$value|crmMoney:$currency}</td>\n           {else}\n            <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n            <td>&nbsp;{$value|crmMoney:$currency}</td>\n           {/if}\n          </tr>\n        {/foreach}\n       {/if}\n      {/if}\n\n      {if !empty($amount) && !$lineItem}\n       {foreach from=$amount item=amnt key=level}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$amnt.amount|crmMoney} {$amnt.label}\n         </td>\n        </tr>\n       {/foreach}\n      {/if}\n      {if isset($totalTaxAmount)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Tax Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$totalTaxAmount|crmMoney:$currency}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($isPrimary)}\n       <tr>\n        <td {$labelStyle}>\n        {if isset($balanceAmount)}\n           {ts}Total Paid{/ts}\n        {else}\n           {ts}Total Amount{/ts}\n         {/if}\n        </td>\n        <td {$valueStyle}>\n         {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n        </td>\n       </tr>\n      {if isset($balanceAmount)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Balance{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$balanceAmount|crmMoney}\n        </td>\n       </tr>\n      {/if}\n       {if !empty($pricesetFieldsCount) }\n     <tr>\n       <td {$labelStyle}>\n   {ts}Total Participants{/ts}</td>\n       <td {$valueStyle}>\n   {assign var=\"count\" value= 0}\n         {foreach from=$lineItem item=pcount}\n         {assign var=\"lineItemCount\" value=0}\n         {if $pcount neq \'skip\'}\n           {foreach from=$pcount item=p_count}\n           {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n           {/foreach}\n           {if $lineItemCount < 1 }\n           assign var=\"lineItemCount\" value=1}\n           {/if}\n           {assign var=\"count\" value=$count+$lineItemCount}\n         {/if}\n         {/foreach}\n   {$count}\n       </td>\n     </tr>\n     {/if}\n       {if !empty($is_pay_later)}\n        <tr>\n         <td colspan=\"2\" {$labelStyle}>\n          {if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n         </td>\n        </tr>\n       {/if}\n\n       {if $register_date}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Registration Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$register_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($receive_date)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$receive_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($financialTypeName)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Financial Type{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$financialTypeName}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($trxn_id)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction #{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$trxn_id}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($paidBy)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Paid By{/ts}\n         </td>\n         <td {$valueStyle}>\n         {$paidBy}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($checkNumber)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Check Number{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$checkNumber}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($billingName)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Billing Name and Address{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$billingName}<br />\n          {$address|nl2br}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($credit_card_type)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Credit Card Information{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$credit_card_type}<br />\n          {$credit_card_number}<br />\n          {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n      {/if}\n\n     {/if} {* End of conditional section for Paid events *}\n\n     {if !empty($customPre)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPre_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPre item=value key=customName}\n       {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customPost)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPost_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPost item=value key=customName}\n       {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customProfile)}\n      {foreach from=$customProfile item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n        </th>\n       </tr>\n       {foreach from=$value item=val key=field}\n        {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n         <tr>\n          <td colspan=\"2\" {$labelStyle}>\n           {if $field eq \'additionalCustomPre\'}\n            {$additionalCustomPre_grouptitle}\n           {else}\n            {$additionalCustomPost_grouptitle}\n           {/if}\n          </td>\n         </tr>\n         {foreach from=$val item=v key=f}\n          <tr>\n           <td {$labelStyle}>\n            {$f}\n           </td>\n           <td {$valueStyle}>\n            {$v}\n           </td>\n          </tr>\n         {/foreach}\n        {/if}\n       {/foreach}\n      {/foreach}\n     {/if}\n\n     {if !empty($customGroup)}\n      {foreach from=$customGroup item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {$customName}\n        </th>\n       </tr>\n       {foreach from=$value item=v key=n}\n        <tr>\n         <td {$labelStyle}>\n          {$n}\n         </td>\n         <td {$valueStyle}>\n          {$v}\n         </td>\n        </tr>\n       {/foreach}\n      {/foreach}\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,833,'event_offline_receipt',1,0,0,NULL),
- (30,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {$event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif !empty($is_pay_later)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar File:{/ts} {$icalFeed}\n{/if}\n\n{if !empty($email)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$email}\n{/if}\n{if !empty($event.is_monetary)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts}\n{/if}\n{/if}\n---------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{capture assign=ts_participant_total}{if !empty($pricesetFieldsCount) }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}  {/if}  {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n{/if}\n{/foreach}\n\n{if !empty($dataArray)}\n{if isset($totalAmount) and isset($totalTaxAmount)}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amount) && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary)}\n\n{if !empty($balanceAmount)}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($balanceAmount)}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if !empty($pricesetFieldsCount) }\n      {assign var=\"count\" value= 0}\n      {foreach from=$lineItem item=pcount}\n      {assign var=\"lineItemCount\" value=0}\n      {if $pcount neq \'skip\'}\n        {foreach from=$pcount item=p_count}\n        {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n        {/foreach}\n        {if $lineItemCount < 1 }\n        {assign var=\"lineItemCount\" value=1}\n        {/if}\n      {assign var=\"count\" value=$count+$lineItemCount}\n      {/if}\n      {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if !empty($is_pay_later) }\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=val key=field}\n{if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\' }\n{if $field eq \'additionalCustomPre\' }\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{/if}\n{foreach from=$val item=v key=f}\n{$f}: {$v}\n{/foreach}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n    {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n     <p>{$event.confirm_email_text|htmlize}</p>\n    {/if}\n\n    {if !empty($isOnWaitlist)}\n     <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n     {if !empty($isPrimary)}\n       <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n     {/if}\n    {elseif !empty($isRequireApproval)}\n     <p>{ts}Your registration has been submitted.{/ts}</p>\n     {if !empty($isPrimary)}\n      <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n     {/if}\n    {elseif !empty($is_pay_later)}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n\n     {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Participant Role{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$event.participant_role}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($isShowLocation)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}\n           {$phone.phone_type_display}\n          {else}\n           {ts}Phone{/ts}\n          {/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone} {if $phone.phone_ext}&nbsp;{ts}ext.{/ts} {$phone.phone_ext}{/if}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($event.is_public)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n        <a href=\"{$icalFeed}\">{ts}Download iCalendar File{/ts}</a>\n       </td>\n      </tr>\n     {/if}\n\n     {if $email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$email}\n       </td>\n      </tr>\n     {/if}\n\n\n     {if !empty($event.is_monetary)}\n\n      <tr>\n       <th {$headerStyle}>\n        {if !empty($event.fee_label)}{$event.fee_label}{/if}\n       </th>\n      </tr>\n\n      {if !empty($lineItem)}\n       {foreach from=$lineItem item=value key=priceset}\n        {if $value neq \'skip\'}\n         {if !empty($isPrimary)}\n          {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n           <tr>\n            <td colspan=\"2\" {$labelStyle}>\n             {ts 1=$priceset+1}Participant %1{/ts}\n            </td>\n           </tr>\n          {/if}\n         {/if}\n         <tr>\n          <td colspan=\"2\" {$valueStyle}>\n           <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n            <tr>\n             <th>{ts}Item{/ts}</th>\n             <th>{ts}Qty{/ts}</th>\n             <th>{ts}Each{/ts}</th>\n             {if !empty($dataArray)}\n              <th>{ts}SubTotal{/ts}</th>\n              <th>{ts}Tax Rate{/ts}</th>\n              <th>{ts}Tax Amount{/ts}</th>\n             {/if}\n             <th>{ts}Total{/ts}</th>\n       {if !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n            </tr>\n            {foreach from=$value item=line}\n             <tr>\n              <td>\n        {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n              </td>\n              <td>\n               {$line.qty}\n              </td>\n              <td>\n               {$line.unit_price|crmMoney}\n              </td>\n              {if !empty($dataArray)}\n               <td>\n                {$line.unit_price*$line.qty|crmMoney}\n               </td>\n               {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                <td>\n                 {$line.tax_rate|string_format:\"%.2f\"}%\n                </td>\n                <td>\n                 {$line.tax_amount|crmMoney}\n                </td>\n               {else}\n                <td></td>\n                <td></td>\n               {/if}\n              {/if}\n              <td>\n               {$line.line_total+$line.tax_amount|crmMoney}\n              </td>\n        {if  !empty($pricesetFieldsCount) }\n        <td>\n    {$line.participant_count}\n              </td>\n        {/if}\n             </tr>\n            {/foreach}\n           </table>\n          </td>\n         </tr>\n        {/if}\n       {/foreach}\n       {if !empty($dataArray)}\n        {if isset($totalAmount) and isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Amount Before Tax:{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalAmount-$totalTaxAmount|crmMoney}\n         </td>\n        </tr>\n        {/if}\n        {foreach from=$dataArray item=value key=priceset}\n          <tr>\n           {if $priceset || $priceset == 0}\n            <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n            <td>&nbsp;{$value|crmMoney:$currency}</td>\n           {else}\n            <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n            <td>&nbsp;{$value|crmMoney:$currency}</td>\n           {/if}\n          </tr>\n        {/foreach}\n       {/if}\n      {/if}\n\n      {if !empty($amount) && !$lineItem}\n       {foreach from=$amount item=amnt key=level}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$amnt.amount|crmMoney} {$amnt.label}\n         </td>\n        </tr>\n       {/foreach}\n      {/if}\n      {if isset($totalTaxAmount)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Tax Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$totalTaxAmount|crmMoney:$currency}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($isPrimary)}\n       <tr>\n        <td {$labelStyle}>\n        {if isset($balanceAmount)}\n           {ts}Total Paid{/ts}\n        {else}\n           {ts}Total Amount{/ts}\n         {/if}\n        </td>\n        <td {$valueStyle}>\n         {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n        </td>\n       </tr>\n      {if isset($balanceAmount)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Balance{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$balanceAmount|crmMoney}\n        </td>\n       </tr>\n      {/if}\n       {if !empty($pricesetFieldsCount) }\n     <tr>\n       <td {$labelStyle}>\n   {ts}Total Participants{/ts}</td>\n       <td {$valueStyle}>\n   {assign var=\"count\" value= 0}\n         {foreach from=$lineItem item=pcount}\n         {assign var=\"lineItemCount\" value=0}\n         {if $pcount neq \'skip\'}\n           {foreach from=$pcount item=p_count}\n           {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n           {/foreach}\n           {if $lineItemCount < 1 }\n           assign var=\"lineItemCount\" value=1}\n           {/if}\n           {assign var=\"count\" value=$count+$lineItemCount}\n         {/if}\n         {/foreach}\n   {$count}\n       </td>\n     </tr>\n     {/if}\n       {if !empty($is_pay_later)}\n        <tr>\n         <td colspan=\"2\" {$labelStyle}>\n          {if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n         </td>\n        </tr>\n       {/if}\n\n       {if $register_date}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Registration Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$register_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($receive_date)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$receive_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($financialTypeName)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Financial Type{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$financialTypeName}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($trxn_id)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction #{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$trxn_id}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($paidBy)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Paid By{/ts}\n         </td>\n         <td {$valueStyle}>\n         {$paidBy}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($checkNumber)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Check Number{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$checkNumber}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($billingName)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Billing Name and Address{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$billingName}<br />\n          {$address|nl2br}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($credit_card_type)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Credit Card Information{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$credit_card_type}<br />\n          {$credit_card_number}<br />\n          {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n      {/if}\n\n     {/if} {* End of conditional section for Paid events *}\n\n     {if !empty($customPre)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPre_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPre item=value key=customName}\n       {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customPost)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPost_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPost item=value key=customName}\n       {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customProfile)}\n      {foreach from=$customProfile item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n        </th>\n       </tr>\n       {foreach from=$value item=val key=field}\n        {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n         <tr>\n          <td colspan=\"2\" {$labelStyle}>\n           {if $field eq \'additionalCustomPre\'}\n            {$additionalCustomPre_grouptitle}\n           {else}\n            {$additionalCustomPost_grouptitle}\n           {/if}\n          </td>\n         </tr>\n         {foreach from=$val item=v key=f}\n          <tr>\n           <td {$labelStyle}>\n            {$f}\n           </td>\n           <td {$valueStyle}>\n            {$v}\n           </td>\n          </tr>\n         {/foreach}\n        {/if}\n       {/foreach}\n      {/foreach}\n     {/if}\n\n     {if !empty($customGroup)}\n      {foreach from=$customGroup item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {$customName}\n        </th>\n       </tr>\n       {foreach from=$value item=v key=n}\n        <tr>\n         <td {$labelStyle}>\n          {$n}\n         </td>\n         <td {$valueStyle}>\n          {$v}\n         </td>\n        </tr>\n       {/foreach}\n      {/foreach}\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,833,'event_offline_receipt',0,1,0,NULL),
- (31,'Events - Registration Confirmation and Receipt (on-line)','{if !empty($isOnWaitlist)}{ts}Wait List Confirmation{/ts}{elseif !empty($isRequireApproval)}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n\n{else}\n  {ts}Thank you for your registration.{/ts}\n  {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n  {else}{if !empty($isOnWaitlist)}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n  {/if}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n{if !empty($conference_sessions)}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location}    {$session.location}{/if}\n{/foreach}\n{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar File:{/ts} {$icalFeed}\n{/if}\n\n{if !empty($payer.name)}\nYou were registered by: {$payer.name}\n{/if}\n{if !empty($event.is_monetary) and empty($isRequireApproval)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty ($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}\n\n{/if}\n{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}  {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}{if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if !empty($individual)}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%29s\"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%33s\"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:\"%12s\"}{/if}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if !empty($dataArray)}\n{if isset($totalAmount) and isset($totalTaxAmount)}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amounts) && empty($lineItem)}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary) }\n\n{ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($pricesetFieldsCount) }\n      {assign var=\"count\" value= 0}\n      {foreach from=$lineItem item=pcount}\n      {assign var=\"lineItemCount\" value=0}\n      {if $pcount neq \'skip\'}\n        {foreach from=$pcount item=p_count}\n        {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n        {/foreach}\n      {if $lineItemCount < 1 }\n        {assign var=\"lineItemCount\" value=1}\n      {/if}\n      {assign var=\"count\" value=$count+$lineItemCount}\n      {/if}\n      {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if !empty($receive_date)}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{foreach from=$eachProfile item=val key=field}\n{foreach from=$val item=v key=f}\n{$field}: {$v}\n{/foreach}\n{/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($event.allow_selfcancelxfer) }\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}\n   {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotal}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n     {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n    {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n     <p>{$event.confirm_email_text|htmlize}</p>\n\n    {else}\n     <p>{ts}Thank you for your registration.{/ts}\n     {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}\n     {else}{if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}</p>\n\n    {/if}\n\n    <p>\n    {if !empty($isOnWaitlist)}\n     <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n     {if !empty($isPrimary)}\n       <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n     {/if}\n    {elseif !empty($isRequireApproval)}\n     <p>{ts}Your registration has been submitted.{/ts}</p>\n     {if !empty($isPrimary)}\n      <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n     {/if}\n    {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"width:100%; max-width:700px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n\n\n     {if $conference_sessions}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n  {ts}Your schedule:{/ts}\n       </td>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n  {assign var=\'group_by_day\' value=\'NA\'}\n  {foreach from=$conference_sessions item=session}\n   {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n    {assign var=\'group_by_day\' value=$session.start_date}\n          <em>{$group_by_day|date_format:\"%m/%d/%Y\"}</em><br />\n   {/if}\n   {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />\n   {if $session.location}&nbsp;&nbsp;&nbsp;&nbsp;{$session.location}<br />{/if}\n  {/foreach}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Participant Role{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$event.participant_role}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($isShowLocation)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}\n           {$phone.phone_type_display}\n          {else}\n           {ts}Phone{/ts}\n          {/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone} {if $phone.phone_ext}&nbsp;{ts}ext.{/ts} {$phone.phone_ext}{/if}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($event.is_public)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n        <a href=\"{$icalFeed}\">{ts}Download iCalendar File{/ts}</a>\n       </td>\n      </tr>\n     {/if}\n\n    {if !empty($event.is_share)}\n        <tr>\n            <td colspan=\"2\" {$valueStyle}>\n                {capture assign=eventUrl}{crmURL p=\'civicrm/event/info\' q=\"id=`$event.id`&reset=1\" a=true fe=1 h=1}{/capture}\n                {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$eventUrl title=$event.title pageURL=$eventUrl}\n            </td>\n        </tr>\n    {/if}\n    {if !empty($payer.name)}\n     <tr>\n       <th {$headerStyle}>\n         {ts}You were registered by:{/ts}\n       </th>\n     </tr>\n     <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$payer.name}\n       </td>\n     </tr>\n    {/if}\n    {if !empty($event.is_monetary) and empty($isRequireApproval)}\n\n      <tr>\n       <th {$headerStyle}>\n        {if !empty($event.fee_label)}{$event.fee_label}{/if}\n       </th>\n      </tr>\n\n      {if !empty($lineItem)}\n       {foreach from=$lineItem item=value key=priceset}\n        {if $value neq \'skip\'}\n         {if !empty($isPrimary)}\n          {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n           <tr>\n            <td colspan=\"2\" {$labelStyle}>\n             {ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n            </td>\n           </tr>\n          {/if}\n         {/if}\n         <tr>\n          <td colspan=\"2\" {$valueStyle}>\n           <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n            <tr>\n             <th>{ts}Item{/ts}</th>\n             <th>{ts}Qty{/ts}</th>\n             <th>{ts}Each{/ts}</th>\n             {if !empty($dataArray)}\n              <th>{ts}SubTotal{/ts}</th>\n              <th>{ts}Tax Rate{/ts}</th>\n              <th>{ts}Tax Amount{/ts}</th>\n             {/if}\n             <th>{ts}Total{/ts}</th>\n       {if  !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n            </tr>\n            {foreach from=$value item=line}\n             <tr>\n              <td {$tdfirstStyle}>\n              {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n              </td>\n              <td {$tdStyle} align=\"middle\">\n               {$line.qty}\n              </td>\n              <td {$tdStyle}>\n               {$line.unit_price|crmMoney:$currency}\n              </td>\n              {if !empty($dataArray)}\n               <td {$tdStyle}>\n                {$line.unit_price*$line.qty|crmMoney}\n               </td>\n               {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                <td {$tdStyle}>\n                 {$line.tax_rate|string_format:\"%.2f\"}%\n                </td>\n                <td {$tdStyle}>\n                 {$line.tax_amount|crmMoney}\n                </td>\n               {else}\n                <td></td>\n                <td></td>\n               {/if}\n              {/if}\n              <td {$tdStyle}>\n               {$line.line_total+$line.tax_amount|crmMoney:$currency}\n              </td>\n        {if !empty($pricesetFieldsCount) }<td {$tdStyle}>{$line.participant_count}</td> {/if}\n             </tr>\n            {/foreach}\n            {if !empty($individual)}\n              <tr {$participantTotal}>\n                <td colspan=3>{ts}Participant Total{/ts}</td>\n                <td colspan=2>{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}</td>\n                <td colspan=1>{$individual.$priceset.totalTaxAmt|crmMoney}</td>\n                <td colspan=2>{$individual.$priceset.totalAmtWithTax|crmMoney}</td>\n              </tr>\n            {/if}\n           </table>\n          </td>\n         </tr>\n        {/if}\n       {/foreach}\n       {if !empty($dataArray)}\n        {if isset($totalAmount) and isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts} Amount Before Tax: {/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalAmount-$totalTaxAmount|crmMoney}\n         </td>\n        </tr>\n        {/if}\n        {foreach from=$dataArray item=value key=priceset}\n         <tr>\n          {if $priceset || $priceset == 0}\n           <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {else}\n           <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {/if}\n         </tr>\n        {/foreach}\n       {/if}\n      {/if}\n\n      {if !empty($amounts) && empty($lineItem)}\n       {foreach from=$amounts item=amnt key=level}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$amnt.amount|crmMoney:$currency} {$amnt.label}\n         </td>\n        </tr>\n       {/foreach}\n      {/if}\n\n    {if isset($totalTaxAmount)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Tax Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$totalTaxAmount|crmMoney:$currency}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($isPrimary)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n        </td>\n       </tr>\n       {if !empty($pricesetFieldsCount) }\n     <tr>\n       <td {$labelStyle}>\n      {ts}Total Participants{/ts}</td>\n      <td {$valueStyle}>\n      {assign var=\"count\" value= 0}\n      {foreach from=$lineItem item=pcount}\n      {assign var=\"lineItemCount\" value=0}\n      {if $pcount neq \'skip\'}\n        {foreach from=$pcount item=p_count}\n        {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n        {/foreach}\n      {if $lineItemCount < 1 }\n        {assign var=\"lineItemCount\" value=1}\n      {/if}\n      {assign var=\"count\" value=$count+$lineItemCount}\n      {/if}\n      {/foreach}\n     {$count}\n     </td> </tr>\n      {/if}\n\n       {if $register_date}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Registration Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$register_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($receive_date)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$receive_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($financialTypeName)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Financial Type{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$financialTypeName}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($trxn_id)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction #{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$trxn_id}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($paidBy)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Paid By{/ts}\n         </td>\n         <td {$valueStyle}>\n         {$paidBy}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($checkNumber)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Check Number{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$checkNumber}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($billingName)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Billing Name and Address{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$billingName}<br />\n          {$address|nl2br}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($credit_card_type)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Credit Card Information{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$credit_card_type}<br />\n          {$credit_card_number}<br />\n          {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n      {/if}\n\n     {/if} {* End of conditional section for Paid events *}\n\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n   <tr> <th {$headerStyle}>{$customPre_grouptitle.$i}</th></tr>\n   {foreach from=$customPr item=customValue key=customName}\n   {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n     <tr>\n         <td {$labelStyle}>{$customName}</td>\n         <td {$valueStyle}>{$customValue}</td>\n     </tr>\n   {/if}\n   {/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n   <tr> <th {$headerStyle}>{$customPost_grouptitle.$j}</th></tr>\n   {foreach from=$customPos item=customValue key=customName}\n   {if (!empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n     <tr>\n         <td {$labelStyle}>{$customName}</td>\n         <td {$valueStyle}>{$customValue}</td>\n     </tr>\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customProfile)}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n     <tr><th {$headerStyle}>{ts 1=$participantID+2}Participant %1{/ts} </th></tr>\n     {foreach from=$eachParticipant item=eachProfile key=pid}\n     <tr><th {$headerStyle}>{$customProfile.title.$pid}</th></tr>\n     {foreach from=$eachProfile item=val key=field}\n     <tr>{foreach from=$val item=v key=f}\n         <td {$labelStyle}>{$field}</td>\n         <td {$valueStyle}>{$v}</td>\n         {/foreach}\n     </tr>\n     {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n    </table>\n    {if !empty($event.allow_selfcancelxfer) }\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n        {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}<br />\n        {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n        <a href=\"{$selfService}\">{ts}Click here to transfer or cancel your registration.{/ts}</a>\n      </td>\n     </tr>\n    {/if}\n </table>\n</center>\n\n</body>\n</html>\n',1,834,'event_online_receipt',1,0,0,NULL),
- (32,'Events - Registration Confirmation and Receipt (on-line)','{if !empty($isOnWaitlist)}{ts}Wait List Confirmation{/ts}{elseif !empty($isRequireApproval)}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n\n{else}\n  {ts}Thank you for your registration.{/ts}\n  {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n  {else}{if !empty($isOnWaitlist)}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n  {/if}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n{if !empty($conference_sessions)}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location}    {$session.location}{/if}\n{/foreach}\n{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar File:{/ts} {$icalFeed}\n{/if}\n\n{if !empty($payer.name)}\nYou were registered by: {$payer.name}\n{/if}\n{if !empty($event.is_monetary) and empty($isRequireApproval)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty ($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}\n\n{/if}\n{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}  {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}{if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if !empty($individual)}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%29s\"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%33s\"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:\"%12s\"}{/if}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if !empty($dataArray)}\n{if isset($totalAmount) and isset($totalTaxAmount)}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amounts) && empty($lineItem)}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary) }\n\n{ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($pricesetFieldsCount) }\n      {assign var=\"count\" value= 0}\n      {foreach from=$lineItem item=pcount}\n      {assign var=\"lineItemCount\" value=0}\n      {if $pcount neq \'skip\'}\n        {foreach from=$pcount item=p_count}\n        {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n        {/foreach}\n      {if $lineItemCount < 1 }\n        {assign var=\"lineItemCount\" value=1}\n      {/if}\n      {assign var=\"count\" value=$count+$lineItemCount}\n      {/if}\n      {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if !empty($receive_date)}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{foreach from=$eachProfile item=val key=field}\n{foreach from=$val item=v key=f}\n{$field}: {$v}\n{/foreach}\n{/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($event.allow_selfcancelxfer) }\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}\n   {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotal}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n     {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n    {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n     <p>{$event.confirm_email_text|htmlize}</p>\n\n    {else}\n     <p>{ts}Thank you for your registration.{/ts}\n     {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}\n     {else}{if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}</p>\n\n    {/if}\n\n    <p>\n    {if !empty($isOnWaitlist)}\n     <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n     {if !empty($isPrimary)}\n       <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n     {/if}\n    {elseif !empty($isRequireApproval)}\n     <p>{ts}Your registration has been submitted.{/ts}</p>\n     {if !empty($isPrimary)}\n      <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n     {/if}\n    {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"width:100%; max-width:700px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n\n\n     {if $conference_sessions}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n  {ts}Your schedule:{/ts}\n       </td>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n  {assign var=\'group_by_day\' value=\'NA\'}\n  {foreach from=$conference_sessions item=session}\n   {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n    {assign var=\'group_by_day\' value=$session.start_date}\n          <em>{$group_by_day|date_format:\"%m/%d/%Y\"}</em><br />\n   {/if}\n   {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />\n   {if $session.location}&nbsp;&nbsp;&nbsp;&nbsp;{$session.location}<br />{/if}\n  {/foreach}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Participant Role{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$event.participant_role}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($isShowLocation)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}\n           {$phone.phone_type_display}\n          {else}\n           {ts}Phone{/ts}\n          {/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone} {if $phone.phone_ext}&nbsp;{ts}ext.{/ts} {$phone.phone_ext}{/if}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($event.is_public)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n        <a href=\"{$icalFeed}\">{ts}Download iCalendar File{/ts}</a>\n       </td>\n      </tr>\n     {/if}\n\n    {if !empty($event.is_share)}\n        <tr>\n            <td colspan=\"2\" {$valueStyle}>\n                {capture assign=eventUrl}{crmURL p=\'civicrm/event/info\' q=\"id=`$event.id`&reset=1\" a=true fe=1 h=1}{/capture}\n                {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$eventUrl title=$event.title pageURL=$eventUrl}\n            </td>\n        </tr>\n    {/if}\n    {if !empty($payer.name)}\n     <tr>\n       <th {$headerStyle}>\n         {ts}You were registered by:{/ts}\n       </th>\n     </tr>\n     <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$payer.name}\n       </td>\n     </tr>\n    {/if}\n    {if !empty($event.is_monetary) and empty($isRequireApproval)}\n\n      <tr>\n       <th {$headerStyle}>\n        {if !empty($event.fee_label)}{$event.fee_label}{/if}\n       </th>\n      </tr>\n\n      {if !empty($lineItem)}\n       {foreach from=$lineItem item=value key=priceset}\n        {if $value neq \'skip\'}\n         {if !empty($isPrimary)}\n          {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n           <tr>\n            <td colspan=\"2\" {$labelStyle}>\n             {ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n            </td>\n           </tr>\n          {/if}\n         {/if}\n         <tr>\n          <td colspan=\"2\" {$valueStyle}>\n           <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n            <tr>\n             <th>{ts}Item{/ts}</th>\n             <th>{ts}Qty{/ts}</th>\n             <th>{ts}Each{/ts}</th>\n             {if !empty($dataArray)}\n              <th>{ts}SubTotal{/ts}</th>\n              <th>{ts}Tax Rate{/ts}</th>\n              <th>{ts}Tax Amount{/ts}</th>\n             {/if}\n             <th>{ts}Total{/ts}</th>\n       {if  !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n            </tr>\n            {foreach from=$value item=line}\n             <tr>\n              <td {$tdfirstStyle}>\n              {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n              </td>\n              <td {$tdStyle} align=\"middle\">\n               {$line.qty}\n              </td>\n              <td {$tdStyle}>\n               {$line.unit_price|crmMoney:$currency}\n              </td>\n              {if !empty($dataArray)}\n               <td {$tdStyle}>\n                {$line.unit_price*$line.qty|crmMoney}\n               </td>\n               {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                <td {$tdStyle}>\n                 {$line.tax_rate|string_format:\"%.2f\"}%\n                </td>\n                <td {$tdStyle}>\n                 {$line.tax_amount|crmMoney}\n                </td>\n               {else}\n                <td></td>\n                <td></td>\n               {/if}\n              {/if}\n              <td {$tdStyle}>\n               {$line.line_total+$line.tax_amount|crmMoney:$currency}\n              </td>\n        {if !empty($pricesetFieldsCount) }<td {$tdStyle}>{$line.participant_count}</td> {/if}\n             </tr>\n            {/foreach}\n            {if !empty($individual)}\n              <tr {$participantTotal}>\n                <td colspan=3>{ts}Participant Total{/ts}</td>\n                <td colspan=2>{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}</td>\n                <td colspan=1>{$individual.$priceset.totalTaxAmt|crmMoney}</td>\n                <td colspan=2>{$individual.$priceset.totalAmtWithTax|crmMoney}</td>\n              </tr>\n            {/if}\n           </table>\n          </td>\n         </tr>\n        {/if}\n       {/foreach}\n       {if !empty($dataArray)}\n        {if isset($totalAmount) and isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts} Amount Before Tax: {/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalAmount-$totalTaxAmount|crmMoney}\n         </td>\n        </tr>\n        {/if}\n        {foreach from=$dataArray item=value key=priceset}\n         <tr>\n          {if $priceset || $priceset == 0}\n           <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {else}\n           <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {/if}\n         </tr>\n        {/foreach}\n       {/if}\n      {/if}\n\n      {if !empty($amounts) && empty($lineItem)}\n       {foreach from=$amounts item=amnt key=level}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$amnt.amount|crmMoney:$currency} {$amnt.label}\n         </td>\n        </tr>\n       {/foreach}\n      {/if}\n\n    {if isset($totalTaxAmount)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Tax Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$totalTaxAmount|crmMoney:$currency}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($isPrimary)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n        </td>\n       </tr>\n       {if !empty($pricesetFieldsCount) }\n     <tr>\n       <td {$labelStyle}>\n      {ts}Total Participants{/ts}</td>\n      <td {$valueStyle}>\n      {assign var=\"count\" value= 0}\n      {foreach from=$lineItem item=pcount}\n      {assign var=\"lineItemCount\" value=0}\n      {if $pcount neq \'skip\'}\n        {foreach from=$pcount item=p_count}\n        {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n        {/foreach}\n      {if $lineItemCount < 1 }\n        {assign var=\"lineItemCount\" value=1}\n      {/if}\n      {assign var=\"count\" value=$count+$lineItemCount}\n      {/if}\n      {/foreach}\n     {$count}\n     </td> </tr>\n      {/if}\n\n       {if $register_date}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Registration Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$register_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($receive_date)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$receive_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($financialTypeName)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Financial Type{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$financialTypeName}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($trxn_id)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction #{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$trxn_id}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($paidBy)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Paid By{/ts}\n         </td>\n         <td {$valueStyle}>\n         {$paidBy}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($checkNumber)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Check Number{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$checkNumber}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($billingName)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Billing Name and Address{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$billingName}<br />\n          {$address|nl2br}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($credit_card_type)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Credit Card Information{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$credit_card_type}<br />\n          {$credit_card_number}<br />\n          {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n      {/if}\n\n     {/if} {* End of conditional section for Paid events *}\n\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n   <tr> <th {$headerStyle}>{$customPre_grouptitle.$i}</th></tr>\n   {foreach from=$customPr item=customValue key=customName}\n   {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n     <tr>\n         <td {$labelStyle}>{$customName}</td>\n         <td {$valueStyle}>{$customValue}</td>\n     </tr>\n   {/if}\n   {/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n   <tr> <th {$headerStyle}>{$customPost_grouptitle.$j}</th></tr>\n   {foreach from=$customPos item=customValue key=customName}\n   {if (!empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n     <tr>\n         <td {$labelStyle}>{$customName}</td>\n         <td {$valueStyle}>{$customValue}</td>\n     </tr>\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customProfile)}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n     <tr><th {$headerStyle}>{ts 1=$participantID+2}Participant %1{/ts} </th></tr>\n     {foreach from=$eachParticipant item=eachProfile key=pid}\n     <tr><th {$headerStyle}>{$customProfile.title.$pid}</th></tr>\n     {foreach from=$eachProfile item=val key=field}\n     <tr>{foreach from=$val item=v key=f}\n         <td {$labelStyle}>{$field}</td>\n         <td {$valueStyle}>{$v}</td>\n         {/foreach}\n     </tr>\n     {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n    </table>\n    {if !empty($event.allow_selfcancelxfer) }\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n        {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}<br />\n        {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n        <a href=\"{$selfService}\">{ts}Click here to transfer or cancel your registration.{/ts}</a>\n      </td>\n     </tr>\n    {/if}\n </table>\n</center>\n\n</body>\n</html>\n',1,834,'event_online_receipt',0,1,0,NULL),
- (33,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if $is_pay_later}\n  This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n{else}\n  This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n{/if}\n\n{if $is_pay_later}\n  {if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n{/if}\n\n  Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n Here\'s a summary of your transaction placed on {$transaction_date|date_format:\"%D %I:%M %p %Z\"}:\n\n{if $billing_name}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billing_name}\n\n{$billing_street_address}\n\n{$billing_city}, {$billing_state} {$billing_postal_code}\n\n{$email}\n{/if}\n\n{if !empty($source)}\n{$source}\n{/if}\n\n\n{foreach from=$line_items item=line_item}\n{$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})\n{if $line_item.event->is_show_location}\n  {$line_item.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n{$line_item.event->start_date|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%I:%M %p\"}\n\n  Quantity: {$line_item.num_participants}\n\n{if $line_item.num_participants > 0}\n  {foreach from=$line_item.participants item=participant}\n    {$participant.display_name}\n  {/foreach}\n{/if}\n{if $line_item.num_waiting_participants > 0}\n  Waitlisted:\n    {foreach from=$line_item.waiting_participants item=participant}\n      {$participant.display_name}\n    {/foreach}\n{/if}\nCost: {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\nTotal For This Event: {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n\n{/foreach}\n\n{if $discounts}\nSubtotal: {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n--------------------------------------\nDiscounts\n{foreach from=$discounts key=myId item=i}\n  {$i.title}: -{$i.amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/if}\n======================================\nTotal: {$total|crmMoney:$currency|string_format:\"%10s\"}\n\n{if $credit_card_type}\n===========================================================\n{ts}Payment Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n{/if}\n\n  If you have questions about the status of your registration or purchase please feel free to contact us.\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n    <title></title>\n  </head>\n  <body>\n    {capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n    {capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n    {capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if $is_pay_later}\n      <p>\n        This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n      </p>\n    {else}\n      <p>\n        This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n      </p>\n    {/if}\n\n    {if $is_pay_later}\n      <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p>\n    {/if}\n\n    <p>Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n  Here\'s a summary of your transaction placed on {$transaction_date|date_format:\"%D %I:%M %p %Z\"}:</p>\n\n{if $billing_name}\n  <table class=\"billing-info\">\n      <tr>\n    <th style=\"text-align: left;\">\n      {ts}Billing Name and Address{/ts}\n    </th>\n      </tr>\n      <tr>\n    <td>\n      {$billing_name}<br />\n      {$billing_street_address}<br />\n      {$billing_city}, {$billing_state} {$billing_postal_code}<br/>\n      <br/>\n      {$email}\n    </td>\n    </tr>\n    </table>\n{/if}\n{if $credit_card_type}\n  <p>&nbsp;</p>\n  <table class=\"billing-info\">\n      <tr>\n    <th style=\"text-align: left;\">\n      {ts}Credit Card Information{/ts}\n    </th>\n      </tr>\n      <tr>\n    <td>\n      {$credit_card_type}<br />\n      {$credit_card_number}<br />\n      {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n    </td>\n    </tr>\n    </table>\n{/if}\n{if !empty($source)}\n    <p>&nbsp;</p>\n    {$source}\n{/if}\n    <p>&nbsp;</p>\n    <table width=\"700\">\n      <thead>\n    <tr>\n{if $line_items}\n      <th style=\"text-align: left;\">\n      Event\n      </th>\n      <th style=\"text-align: left;\">\n      Participants\n      </th>\n{/if}\n      <th style=\"text-align: left;\">\n      Price\n      </th>\n      <th style=\"text-align: left;\">\n      Total\n      </th>\n    </tr>\n    </thead>\n      <tbody>\n  {foreach from=$line_items item=line_item}\n  <tr>\n    <td style=\"width: 220px\">\n      {$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})<br />\n      {if $line_item.event->is_show_location}\n        {$line_item.location.address.1.display|nl2br}\n      {/if}{*End of isShowLocation condition*}<br /><br />\n      {$line_item.event->start_date|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%I:%M %p\"}\n    </td>\n    <td style=\"width: 180px\">\n    {$line_item.num_participants}\n      {if $line_item.num_participants > 0}\n      <div class=\"participants\" style=\"padding-left: 10px;\">\n        {foreach from=$line_item.participants item=participant}\n        {$participant.display_name}<br />\n        {/foreach}\n      </div>\n      {/if}\n      {if $line_item.num_waiting_participants > 0}\n      Waitlisted:<br/>\n      <div class=\"participants\" style=\"padding-left: 10px;\">\n        {foreach from=$line_item.waiting_participants item=participant}\n        {$participant.display_name}<br />\n        {/foreach}\n      </div>\n      {/if}\n    </td>\n    <td style=\"width: 100px\">\n      {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\n    </td>\n    <td style=\"width: 100px\">\n      &nbsp;{$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n    </td>\n  </tr>\n  {/foreach}\n      </tbody>\n      <tfoot>\n  {if $discounts}\n  <tr>\n    <td>\n    </td>\n    <td>\n    </td>\n    <td>\n      Subtotal:\n    </td>\n    <td>\n      &nbsp;{$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n    </td>\n  </tr>\n  {foreach from=$discounts key=myId item=i}\n  <tr>\n    <td>\n      {$i.title}\n    </td>\n    <td>\n    </td>\n    <td>\n    </td>\n    <td>\n      -{$i.amount}\n    </td>\n  </tr>\n  {/foreach}\n  {/if}\n  <tr>\n{if $line_items}\n    <td>\n    </td>\n    <td>\n    </td>\n{/if}\n    <td>\n      <strong>Total:</strong>\n    </td>\n    <td>\n      <strong>&nbsp;{$total|crmMoney:$currency|string_format:\"%10s\"}</strong>\n    </td>\n  </tr>\n      </tfoot>\n    </table>\n\n    If you have questions about the status of your registration or purchase please feel free to contact us.\n  </body>\n</html>\n',1,835,'event_registration_receipt',1,0,0,NULL),
- (34,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if $is_pay_later}\n  This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n{else}\n  This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n{/if}\n\n{if $is_pay_later}\n  {if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n{/if}\n\n  Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n Here\'s a summary of your transaction placed on {$transaction_date|date_format:\"%D %I:%M %p %Z\"}:\n\n{if $billing_name}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billing_name}\n\n{$billing_street_address}\n\n{$billing_city}, {$billing_state} {$billing_postal_code}\n\n{$email}\n{/if}\n\n{if !empty($source)}\n{$source}\n{/if}\n\n\n{foreach from=$line_items item=line_item}\n{$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})\n{if $line_item.event->is_show_location}\n  {$line_item.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n{$line_item.event->start_date|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%I:%M %p\"}\n\n  Quantity: {$line_item.num_participants}\n\n{if $line_item.num_participants > 0}\n  {foreach from=$line_item.participants item=participant}\n    {$participant.display_name}\n  {/foreach}\n{/if}\n{if $line_item.num_waiting_participants > 0}\n  Waitlisted:\n    {foreach from=$line_item.waiting_participants item=participant}\n      {$participant.display_name}\n    {/foreach}\n{/if}\nCost: {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\nTotal For This Event: {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n\n{/foreach}\n\n{if $discounts}\nSubtotal: {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n--------------------------------------\nDiscounts\n{foreach from=$discounts key=myId item=i}\n  {$i.title}: -{$i.amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/if}\n======================================\nTotal: {$total|crmMoney:$currency|string_format:\"%10s\"}\n\n{if $credit_card_type}\n===========================================================\n{ts}Payment Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n{/if}\n\n  If you have questions about the status of your registration or purchase please feel free to contact us.\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n    <title></title>\n  </head>\n  <body>\n    {capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n    {capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n    {capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if $is_pay_later}\n      <p>\n        This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n      </p>\n    {else}\n      <p>\n        This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n      </p>\n    {/if}\n\n    {if $is_pay_later}\n      <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p>\n    {/if}\n\n    <p>Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n  Here\'s a summary of your transaction placed on {$transaction_date|date_format:\"%D %I:%M %p %Z\"}:</p>\n\n{if $billing_name}\n  <table class=\"billing-info\">\n      <tr>\n    <th style=\"text-align: left;\">\n      {ts}Billing Name and Address{/ts}\n    </th>\n      </tr>\n      <tr>\n    <td>\n      {$billing_name}<br />\n      {$billing_street_address}<br />\n      {$billing_city}, {$billing_state} {$billing_postal_code}<br/>\n      <br/>\n      {$email}\n    </td>\n    </tr>\n    </table>\n{/if}\n{if $credit_card_type}\n  <p>&nbsp;</p>\n  <table class=\"billing-info\">\n      <tr>\n    <th style=\"text-align: left;\">\n      {ts}Credit Card Information{/ts}\n    </th>\n      </tr>\n      <tr>\n    <td>\n      {$credit_card_type}<br />\n      {$credit_card_number}<br />\n      {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n    </td>\n    </tr>\n    </table>\n{/if}\n{if !empty($source)}\n    <p>&nbsp;</p>\n    {$source}\n{/if}\n    <p>&nbsp;</p>\n    <table width=\"700\">\n      <thead>\n    <tr>\n{if $line_items}\n      <th style=\"text-align: left;\">\n      Event\n      </th>\n      <th style=\"text-align: left;\">\n      Participants\n      </th>\n{/if}\n      <th style=\"text-align: left;\">\n      Price\n      </th>\n      <th style=\"text-align: left;\">\n      Total\n      </th>\n    </tr>\n    </thead>\n      <tbody>\n  {foreach from=$line_items item=line_item}\n  <tr>\n    <td style=\"width: 220px\">\n      {$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})<br />\n      {if $line_item.event->is_show_location}\n        {$line_item.location.address.1.display|nl2br}\n      {/if}{*End of isShowLocation condition*}<br /><br />\n      {$line_item.event->start_date|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%I:%M %p\"}\n    </td>\n    <td style=\"width: 180px\">\n    {$line_item.num_participants}\n      {if $line_item.num_participants > 0}\n      <div class=\"participants\" style=\"padding-left: 10px;\">\n        {foreach from=$line_item.participants item=participant}\n        {$participant.display_name}<br />\n        {/foreach}\n      </div>\n      {/if}\n      {if $line_item.num_waiting_participants > 0}\n      Waitlisted:<br/>\n      <div class=\"participants\" style=\"padding-left: 10px;\">\n        {foreach from=$line_item.waiting_participants item=participant}\n        {$participant.display_name}<br />\n        {/foreach}\n      </div>\n      {/if}\n    </td>\n    <td style=\"width: 100px\">\n      {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\n    </td>\n    <td style=\"width: 100px\">\n      &nbsp;{$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n    </td>\n  </tr>\n  {/foreach}\n      </tbody>\n      <tfoot>\n  {if $discounts}\n  <tr>\n    <td>\n    </td>\n    <td>\n    </td>\n    <td>\n      Subtotal:\n    </td>\n    <td>\n      &nbsp;{$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n    </td>\n  </tr>\n  {foreach from=$discounts key=myId item=i}\n  <tr>\n    <td>\n      {$i.title}\n    </td>\n    <td>\n    </td>\n    <td>\n    </td>\n    <td>\n      -{$i.amount}\n    </td>\n  </tr>\n  {/foreach}\n  {/if}\n  <tr>\n{if $line_items}\n    <td>\n    </td>\n    <td>\n    </td>\n{/if}\n    <td>\n      <strong>Total:</strong>\n    </td>\n    <td>\n      <strong>&nbsp;{$total|crmMoney:$currency|string_format:\"%10s\"}</strong>\n    </td>\n  </tr>\n      </tfoot>\n    </table>\n\n    If you have questions about the status of your registration or purchase please feel free to contact us.\n  </body>\n</html>\n',1,835,'event_registration_receipt',0,1,0,NULL),
- (35,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}Your Event Registration has been cancelled.{/ts}\n\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}Your Event Registration has been cancelled.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if $event.location.phone.1.phone || $event.location.email.1.email}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,836,'participant_cancelled',1,0,0,NULL),
- (36,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}Your Event Registration has been cancelled.{/ts}\n\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}Your Event Registration has been cancelled.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if $event.location.phone.1.phone || $event.location.email.1.email}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,836,'participant_cancelled',0,1,0,NULL),
- (37,'Events - Registration Confirmation Invite','{ts 1=$event.event_title}Confirm your registration for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}\n\n{if !$isAdditional and $participant.id}\n\n===========================================================\n{ts}Confirm Your Registration{/ts}\n\n===========================================================\n{capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\nClick this link to go to a web page where you can confirm your registration online:\n{$confirmUrl}\n{/if}\n{if $event.allow_selfcancelxfer }\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if $totalAmount}{ts}Cancellations are not refundable.{/ts}{/if}\n   {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n{if $conference_sessions}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location}    {$session.location}{/if}\n{/foreach}\n{/if}\n\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar File:{/ts} {$icalFeed}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}</p>\n   </td>\n  </tr>\n  {if !$isAdditional and $participant.id}\n   <tr>\n    <th {$headerStyle}>\n     {ts}Confirm Your Registration{/ts}\n    </th>\n   </tr>\n   <tr>\n    <td colspan=\"2\" {$valueStyle}>\n     {capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\n     <a href=\"{$confirmUrl}\">{ts}Click here to confirm and complete your registration{/ts}</a>\n    </td>\n   </tr>\n  {/if}\n  {if $event.allow_selfcancelxfer }\n  {ts}This event allows for{/ts}\n  {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n       <a href=\"{$selfService}\"> {ts}self service cancel or transfer{/ts}</a>\n  {/if}\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     {if $conference_sessions}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n  {ts}Your schedule:{/ts}\n       </td>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n  {assign var=\'group_by_day\' value=\'NA\'}\n  {foreach from=$conference_sessions item=session}\n   {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n    {assign var=\'group_by_day\' value=$session.start_date}\n          <em>{$group_by_day|date_format:\"%m/%d/%Y\"}</em><br />\n   {/if}\n   {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />\n   {if $session.location}&nbsp;&nbsp;&nbsp;&nbsp;{$session.location}<br />{/if}\n  {/foreach}\n       </td>\n      </tr>\n     {/if}\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if $event.location.phone.1.phone || $event.location.email.1.email}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $event.is_public}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n        <a href=\"{$icalFeed}\">{ts}Download iCalendar File{/ts}</a>\n       </td>\n      </tr>\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n  {if $event.allow_selfcancelxfer }\n   <tr>\n     <td colspan=\"2\" {$valueStyle}>\n       {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if $totalAmount}{ts}Cancellations are not refundable.{/ts}{/if}<br />\n         {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n       <a href=\"{$selfService}\">{ts}Click here to transfer or cancel your registration.{/ts}</a>\n     </td>\n   </tr>\n  {/if}\n  <tr>\n   <td colspan=\"2\" {$valueStyle}>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,837,'participant_confirm',1,0,0,NULL),
- (38,'Events - Registration Confirmation Invite','{ts 1=$event.event_title}Confirm your registration for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}\n\n{if !$isAdditional and $participant.id}\n\n===========================================================\n{ts}Confirm Your Registration{/ts}\n\n===========================================================\n{capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\nClick this link to go to a web page where you can confirm your registration online:\n{$confirmUrl}\n{/if}\n{if $event.allow_selfcancelxfer }\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if $totalAmount}{ts}Cancellations are not refundable.{/ts}{/if}\n   {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n{if $conference_sessions}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location}    {$session.location}{/if}\n{/foreach}\n{/if}\n\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar File:{/ts} {$icalFeed}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}</p>\n   </td>\n  </tr>\n  {if !$isAdditional and $participant.id}\n   <tr>\n    <th {$headerStyle}>\n     {ts}Confirm Your Registration{/ts}\n    </th>\n   </tr>\n   <tr>\n    <td colspan=\"2\" {$valueStyle}>\n     {capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\n     <a href=\"{$confirmUrl}\">{ts}Click here to confirm and complete your registration{/ts}</a>\n    </td>\n   </tr>\n  {/if}\n  {if $event.allow_selfcancelxfer }\n  {ts}This event allows for{/ts}\n  {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n       <a href=\"{$selfService}\"> {ts}self service cancel or transfer{/ts}</a>\n  {/if}\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     {if $conference_sessions}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n  {ts}Your schedule:{/ts}\n       </td>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n  {assign var=\'group_by_day\' value=\'NA\'}\n  {foreach from=$conference_sessions item=session}\n   {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n    {assign var=\'group_by_day\' value=$session.start_date}\n          <em>{$group_by_day|date_format:\"%m/%d/%Y\"}</em><br />\n   {/if}\n   {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />\n   {if $session.location}&nbsp;&nbsp;&nbsp;&nbsp;{$session.location}<br />{/if}\n  {/foreach}\n       </td>\n      </tr>\n     {/if}\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if $event.location.phone.1.phone || $event.location.email.1.email}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $event.is_public}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n        <a href=\"{$icalFeed}\">{ts}Download iCalendar File{/ts}</a>\n       </td>\n      </tr>\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n  {if $event.allow_selfcancelxfer }\n   <tr>\n     <td colspan=\"2\" {$valueStyle}>\n       {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if $totalAmount}{ts}Cancellations are not refundable.{/ts}{/if}<br />\n         {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n       <a href=\"{$selfService}\">{ts}Click here to transfer or cancel your registration.{/ts}</a>\n     </td>\n   </tr>\n  {/if}\n  <tr>\n   <td colspan=\"2\" {$valueStyle}>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,837,'participant_confirm',0,1,0,NULL),
- (39,'Events - Pending Registration Expiration Notice','{ts 1=$event.event_title}Event registration has expired for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}</p>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if $event.location.phone.1.phone || $event.location.email.1.email}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,838,'participant_expired',1,0,0,NULL),
- (40,'Events - Pending Registration Expiration Notice','{ts 1=$event.event_title}Event registration has expired for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}</p>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if $event.location.phone.1.phone || $event.location.email.1.email}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,838,'participant_expired',0,1,0,NULL),
- (41,'Events - Registration Transferred Notice','{ts 1=$event.event_title}Event Registration Transferred for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$to_participant}Your Event Registration has been transferred to %1.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$to_participant}Your Event Registration has been Transferred to %1.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if $event.location.phone.1.phone || $event.location.email.1.email}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,839,'participant_transferred',1,0,0,NULL),
- (42,'Events - Registration Transferred Notice','{ts 1=$event.event_title}Event Registration Transferred for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$to_participant}Your Event Registration has been transferred to %1.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$to_participant}Your Event Registration has been Transferred to %1.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if $event.location.phone.1.phone || $event.location.email.1.email}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,839,'participant_transferred',0,1,0,NULL),
- (43,'Tell-a-Friend Email','{ts 1=$senderContactName 2=$title}%1 wants you to know about %2{/ts}\n','{$senderMessage}\n\n{if $generalLink}{ts}For more information, visit:{/ts}\n>> {$generalLink}\n\n{/if}\n{if $contribute}{ts}To make a contribution, go to:{/ts}\n>> {$pageURL}\n\n{/if}\n{if $event}{ts}To find out more about this event, go to:{/ts}\n>> {$pageURL}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <p>{$senderMessage}</p>\n    {if $generalLink}\n     <p><a href=\"{$generalLink}\">{ts}More information{/ts}</a></p>\n    {/if}\n    {if $contribute}\n     <p><a href=\"{$pageURL}\">{ts}Make a contribution{/ts}</a></p>\n    {/if}\n    {if $event}\n     <p><a href=\"{$pageURL}\">{ts}Find out more about this event{/ts}</a></p>\n    {/if}\n   </td>\n  </tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,840,'friend',1,0,0,NULL),
- (44,'Tell-a-Friend Email','{ts 1=$senderContactName 2=$title}%1 wants you to know about %2{/ts}\n','{$senderMessage}\n\n{if $generalLink}{ts}For more information, visit:{/ts}\n>> {$generalLink}\n\n{/if}\n{if $contribute}{ts}To make a contribution, go to:{/ts}\n>> {$pageURL}\n\n{/if}\n{if $event}{ts}To find out more about this event, go to:{/ts}\n>> {$pageURL}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <p>{$senderMessage}</p>\n    {if $generalLink}\n     <p><a href=\"{$generalLink}\">{ts}More information{/ts}</a></p>\n    {/if}\n    {if $contribute}\n     <p><a href=\"{$pageURL}\">{ts}Make a contribution{/ts}</a></p>\n    {/if}\n    {if $event}\n     <p><a href=\"{$pageURL}\">{ts}Find out more about this event{/ts}</a></p>\n    {/if}\n   </td>\n  </tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,840,'friend',0,1,0,NULL),
- (45,'Memberships - Signup and Renewal Receipts (off-line)','{if $receiptType EQ \'membership signup\'}\n{ts}Membership Confirmation and Receipt{/ts}\n{elseif $receiptType EQ \'membership renewal\'}\n{ts}Membership Renewal Confirmation and Receipt{/ts}\n{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if !empty($formValues.receipt_text_signup)}\n{$formValues.receipt_text_signup}\n{elseif !empty($formValues.receipt_text_renewal)}\n{$formValues.receipt_text_renewal}\n{else}{ts}Thank you for this contribution.{/ts}{/if}\n\n{if empty($lineItem)}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{/if}\n{if empty($cancelled)}\n{if empty($lineItem)}\n{ts}Membership Start Date{/ts}: {$mem_start_date}\n{ts}Membership End Date{/ts}: {$mem_end_date}\n{/if}\n\n{if $formValues.total_amount OR $formValues.total_amount eq 0 }\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !empty($formValues.contributionType_name)}\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{/if}\n{if !empty($lineItem)}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}  {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}  {else}                  {/if}   {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax{/ts}: {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"} %: {$value|crmMoney:$currency}\n{elseif  $priceset == 0}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$formValues.total_amount|crmMoney}\n{if !empty($receive_date)}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if !empty($formValues.paidBy)}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if !empty($formValues.check_number)}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if !empty($isPrimary) }\n{if !empty($billingName)}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n\n{if !empty($customValues)}\n===========================================================\n{ts}Membership Options{/ts}\n\n===========================================================\n{foreach from=$customValues item=value key=customName}\n {$customName} : {$value}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n        \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n  <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\"\n         style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n    <!-- BEGIN HEADER -->\n    <!-- You can add table row(s) here with logo or other header elements -->\n    <!-- END HEADER -->\n\n    <!-- BEGIN CONTENT -->\n\n    <tr>\n      <td>\n        {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n        {if !empty($formValues.receipt_text_signup)}\n          <p>{$formValues.receipt_text_signup|htmlize}</p>\n        {elseif !empty($formValues.receipt_text_renewal)}\n          <p>{$formValues.receipt_text_renewal|htmlize}</p>\n        {else}\n          <p>{ts}Thank you for this contribution.{/ts}</p>\n        {/if}\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n          {if empty($lineItem)}\n            <tr>\n              <th {$headerStyle}>\n                {ts}Membership Information{/ts}\n              </th>\n            </tr>\n            <tr>\n              <td {$labelStyle}>\n                {ts}Membership Type{/ts}\n              </td>\n              <td {$valueStyle}>\n                {$membership_name}\n              </td>\n            </tr>\n          {/if}\n          {if empty($cancelled)}\n            {if empty($lineItem)}\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Membership Start Date{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$mem_start_date}\n                </td>\n              </tr>\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Membership End Date{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$mem_end_date}\n                </td>\n              </tr>\n            {/if}\n            {if $formValues.total_amount OR $formValues.total_amount eq 0 }\n              <tr>\n                <th {$headerStyle}>\n                  {ts}Membership Fee{/ts}\n                </th>\n              </tr>\n              {if !empty($formValues.contributionType_name)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Financial Type{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$formValues.contributionType_name}\n                  </td>\n                </tr>\n              {/if}\n\n              {if !empty($lineItem)}\n                {foreach from=$lineItem item=value key=priceset}\n                  <tr>\n                    <td colspan=\"2\" {$valueStyle}>\n                      <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n                        <tr>\n                          <th>{ts}Item{/ts}</th>\n                          <th>{ts}Fee{/ts}</th>\n                          {if !empty($dataArray)}\n                            <th>{ts}SubTotal{/ts}</th>\n                            <th>{ts}Tax Rate{/ts}</th>\n                            <th>{ts}Tax Amount{/ts}</th>\n                            <th>{ts}Total{/ts}</th>\n                          {/if}\n                          <th>{ts}Membership Start Date{/ts}</th>\n                          <th>{ts}Membership End Date{/ts}</th>\n                        </tr>\n                        {foreach from=$value item=line}\n                          <tr>\n                            <td>\n                              {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}\n                                <div>{$line.description|truncate:30:\"...\"}</div>{/if}\n                            </td>\n                            <td>\n                              {$line.line_total|crmMoney}\n                            </td>\n                            {if !empty($dataArray)}\n                              <td>\n                                {$line.unit_price*$line.qty|crmMoney}\n                              </td>\n                              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                                <td>\n                                  {$line.tax_rate|string_format:\"%.2f\"}%\n                                </td>\n                                <td>\n                                  {$line.tax_amount|crmMoney}\n                                </td>\n                              {else}\n                                <td></td>\n                                <td></td>\n                              {/if}\n                              <td>\n                                {$line.line_total+$line.tax_amount|crmMoney}\n                              </td>\n                            {/if}\n                            <td>\n                              {$line.start_date}\n                            </td>\n                            <td>\n                              {$line.end_date}\n                            </td>\n                          </tr>\n                        {/foreach}\n                      </table>\n                    </td>\n                  </tr>\n                {/foreach}\n                {if !empty($dataArray)}\n                  {if isset($formValues.total_amount) and isset($totalTaxAmount)}\n                  <tr>\n                    <td {$labelStyle}>\n                      {ts}Amount Before Tax:{/ts}\n                    </td>\n                    <td {$valueStyle}>\n                      {$formValues.total_amount-$totalTaxAmount|crmMoney}\n                    </td>\n                  </tr>\n                  {/if}\n                  {foreach from=$dataArray item=value key=priceset}\n                    <tr>\n                      {if $priceset}\n                        <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n                        <td>&nbsp;{$value|crmMoney:$currency}</td>\n                      {elseif  $priceset == 0}\n                        <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n                        <td>&nbsp;{$value|crmMoney:$currency}</td>\n                      {/if}\n                    </tr>\n                  {/foreach}\n                {/if}\n              {/if}\n              {if isset($totalTaxAmount)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Total Tax Amount{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$totalTaxAmount|crmMoney:$currency}\n                  </td>\n                </tr>\n              {/if}\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Amount{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$formValues.total_amount|crmMoney}\n                </td>\n              </tr>\n              {if !empty($receive_date)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Date Received{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$receive_date|truncate:10:\'\'|crmDate}\n                  </td>\n                </tr>\n              {/if}\n              {if !empty($formValues.paidBy)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Paid By{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$formValues.paidBy}\n                  </td>\n                </tr>\n                {if !empty($formValues.check_number)}\n                  <tr>\n                    <td {$labelStyle}>\n                      {ts}Check Number{/ts}\n                    </td>\n                    <td {$valueStyle}>\n                      {$formValues.check_number}\n                    </td>\n                  </tr>\n                {/if}\n              {/if}\n            {/if}\n          {/if}\n        </table>\n      </td>\n    </tr>\n\n    {if !empty($isPrimary)}\n      <tr>\n        <td>\n          <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n\n            {if !empty($billingName)}\n              <tr>\n                <th {$headerStyle}>\n                  {ts}Billing Name and Address{/ts}\n                </th>\n              </tr>\n              <tr>\n                <td {$labelStyle}>\n                  {$billingName}<br/>\n                  {$address}\n                </td>\n              </tr>\n            {/if}\n\n            {if !empty($credit_card_type)}\n              <tr>\n                <th {$headerStyle}>\n                  {ts}Credit Card Information{/ts}\n                </th>\n              </tr>\n              <tr>\n                <td {$valueStyle}>\n                  {$credit_card_type}<br/>\n                  {$credit_card_number}\n                </td>\n              </tr>\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Expires{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n                </td>\n              </tr>\n            {/if}\n\n          </table>\n        </td>\n      </tr>\n    {/if}\n\n    {if !empty($customValues)}\n      <tr>\n        <td>\n          <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n            <tr>\n              <th {$headerStyle}>\n                {ts}Membership Options{/ts}\n              </th>\n            </tr>\n            {foreach from=$customValues item=value key=customName}\n              <tr>\n                <td {$labelStyle}>\n                  {$customName}\n                </td>\n                <td {$valueStyle}>\n                  {$value}\n                </td>\n              </tr>\n            {/foreach}\n          </table>\n        </td>\n      </tr>\n    {/if}\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,841,'membership_offline_receipt',1,0,0,NULL),
- (46,'Memberships - Signup and Renewal Receipts (off-line)','{if $receiptType EQ \'membership signup\'}\n{ts}Membership Confirmation and Receipt{/ts}\n{elseif $receiptType EQ \'membership renewal\'}\n{ts}Membership Renewal Confirmation and Receipt{/ts}\n{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if !empty($formValues.receipt_text_signup)}\n{$formValues.receipt_text_signup}\n{elseif !empty($formValues.receipt_text_renewal)}\n{$formValues.receipt_text_renewal}\n{else}{ts}Thank you for this contribution.{/ts}{/if}\n\n{if empty($lineItem)}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{/if}\n{if empty($cancelled)}\n{if empty($lineItem)}\n{ts}Membership Start Date{/ts}: {$mem_start_date}\n{ts}Membership End Date{/ts}: {$mem_end_date}\n{/if}\n\n{if $formValues.total_amount OR $formValues.total_amount eq 0 }\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !empty($formValues.contributionType_name)}\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{/if}\n{if !empty($lineItem)}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}  {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}  {else}                  {/if}   {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax{/ts}: {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"} %: {$value|crmMoney:$currency}\n{elseif  $priceset == 0}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$formValues.total_amount|crmMoney}\n{if !empty($receive_date)}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if !empty($formValues.paidBy)}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if !empty($formValues.check_number)}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if !empty($isPrimary) }\n{if !empty($billingName)}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n\n{if !empty($customValues)}\n===========================================================\n{ts}Membership Options{/ts}\n\n===========================================================\n{foreach from=$customValues item=value key=customName}\n {$customName} : {$value}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n        \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n  <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\"\n         style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n    <!-- BEGIN HEADER -->\n    <!-- You can add table row(s) here with logo or other header elements -->\n    <!-- END HEADER -->\n\n    <!-- BEGIN CONTENT -->\n\n    <tr>\n      <td>\n        {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n        {if !empty($formValues.receipt_text_signup)}\n          <p>{$formValues.receipt_text_signup|htmlize}</p>\n        {elseif !empty($formValues.receipt_text_renewal)}\n          <p>{$formValues.receipt_text_renewal|htmlize}</p>\n        {else}\n          <p>{ts}Thank you for this contribution.{/ts}</p>\n        {/if}\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n          {if empty($lineItem)}\n            <tr>\n              <th {$headerStyle}>\n                {ts}Membership Information{/ts}\n              </th>\n            </tr>\n            <tr>\n              <td {$labelStyle}>\n                {ts}Membership Type{/ts}\n              </td>\n              <td {$valueStyle}>\n                {$membership_name}\n              </td>\n            </tr>\n          {/if}\n          {if empty($cancelled)}\n            {if empty($lineItem)}\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Membership Start Date{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$mem_start_date}\n                </td>\n              </tr>\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Membership End Date{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$mem_end_date}\n                </td>\n              </tr>\n            {/if}\n            {if $formValues.total_amount OR $formValues.total_amount eq 0 }\n              <tr>\n                <th {$headerStyle}>\n                  {ts}Membership Fee{/ts}\n                </th>\n              </tr>\n              {if !empty($formValues.contributionType_name)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Financial Type{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$formValues.contributionType_name}\n                  </td>\n                </tr>\n              {/if}\n\n              {if !empty($lineItem)}\n                {foreach from=$lineItem item=value key=priceset}\n                  <tr>\n                    <td colspan=\"2\" {$valueStyle}>\n                      <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n                        <tr>\n                          <th>{ts}Item{/ts}</th>\n                          <th>{ts}Fee{/ts}</th>\n                          {if !empty($dataArray)}\n                            <th>{ts}SubTotal{/ts}</th>\n                            <th>{ts}Tax Rate{/ts}</th>\n                            <th>{ts}Tax Amount{/ts}</th>\n                            <th>{ts}Total{/ts}</th>\n                          {/if}\n                          <th>{ts}Membership Start Date{/ts}</th>\n                          <th>{ts}Membership End Date{/ts}</th>\n                        </tr>\n                        {foreach from=$value item=line}\n                          <tr>\n                            <td>\n                              {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}\n                                <div>{$line.description|truncate:30:\"...\"}</div>{/if}\n                            </td>\n                            <td>\n                              {$line.line_total|crmMoney}\n                            </td>\n                            {if !empty($dataArray)}\n                              <td>\n                                {$line.unit_price*$line.qty|crmMoney}\n                              </td>\n                              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                                <td>\n                                  {$line.tax_rate|string_format:\"%.2f\"}%\n                                </td>\n                                <td>\n                                  {$line.tax_amount|crmMoney}\n                                </td>\n                              {else}\n                                <td></td>\n                                <td></td>\n                              {/if}\n                              <td>\n                                {$line.line_total+$line.tax_amount|crmMoney}\n                              </td>\n                            {/if}\n                            <td>\n                              {$line.start_date}\n                            </td>\n                            <td>\n                              {$line.end_date}\n                            </td>\n                          </tr>\n                        {/foreach}\n                      </table>\n                    </td>\n                  </tr>\n                {/foreach}\n                {if !empty($dataArray)}\n                  {if isset($formValues.total_amount) and isset($totalTaxAmount)}\n                  <tr>\n                    <td {$labelStyle}>\n                      {ts}Amount Before Tax:{/ts}\n                    </td>\n                    <td {$valueStyle}>\n                      {$formValues.total_amount-$totalTaxAmount|crmMoney}\n                    </td>\n                  </tr>\n                  {/if}\n                  {foreach from=$dataArray item=value key=priceset}\n                    <tr>\n                      {if $priceset}\n                        <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n                        <td>&nbsp;{$value|crmMoney:$currency}</td>\n                      {elseif  $priceset == 0}\n                        <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n                        <td>&nbsp;{$value|crmMoney:$currency}</td>\n                      {/if}\n                    </tr>\n                  {/foreach}\n                {/if}\n              {/if}\n              {if isset($totalTaxAmount)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Total Tax Amount{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$totalTaxAmount|crmMoney:$currency}\n                  </td>\n                </tr>\n              {/if}\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Amount{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$formValues.total_amount|crmMoney}\n                </td>\n              </tr>\n              {if !empty($receive_date)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Date Received{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$receive_date|truncate:10:\'\'|crmDate}\n                  </td>\n                </tr>\n              {/if}\n              {if !empty($formValues.paidBy)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Paid By{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$formValues.paidBy}\n                  </td>\n                </tr>\n                {if !empty($formValues.check_number)}\n                  <tr>\n                    <td {$labelStyle}>\n                      {ts}Check Number{/ts}\n                    </td>\n                    <td {$valueStyle}>\n                      {$formValues.check_number}\n                    </td>\n                  </tr>\n                {/if}\n              {/if}\n            {/if}\n          {/if}\n        </table>\n      </td>\n    </tr>\n\n    {if !empty($isPrimary)}\n      <tr>\n        <td>\n          <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n\n            {if !empty($billingName)}\n              <tr>\n                <th {$headerStyle}>\n                  {ts}Billing Name and Address{/ts}\n                </th>\n              </tr>\n              <tr>\n                <td {$labelStyle}>\n                  {$billingName}<br/>\n                  {$address}\n                </td>\n              </tr>\n            {/if}\n\n            {if !empty($credit_card_type)}\n              <tr>\n                <th {$headerStyle}>\n                  {ts}Credit Card Information{/ts}\n                </th>\n              </tr>\n              <tr>\n                <td {$valueStyle}>\n                  {$credit_card_type}<br/>\n                  {$credit_card_number}\n                </td>\n              </tr>\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Expires{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n                </td>\n              </tr>\n            {/if}\n\n          </table>\n        </td>\n      </tr>\n    {/if}\n\n    {if !empty($customValues)}\n      <tr>\n        <td>\n          <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n            <tr>\n              <th {$headerStyle}>\n                {ts}Membership Options{/ts}\n              </th>\n            </tr>\n            {foreach from=$customValues item=value key=customName}\n              <tr>\n                <td {$labelStyle}>\n                  {$customName}\n                </td>\n                <td {$valueStyle}>\n                  {$value}\n                </td>\n              </tr>\n            {/foreach}\n          </table>\n        </td>\n      </tr>\n    {/if}\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,841,'membership_offline_receipt',0,1,0,NULL),
- (47,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n===========================================================\n{/if}\n\n{if $membership_assign && !$useForMember}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n{/if}\n{if $amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !$useForMember && isset($membership_amount) && !empty($is_quick_config)}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount && !$is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{/if}\n{elseif !$useForMember && !empty($lineItem) and !empty($priceSetID) & empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{$line.description|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney}\n{else}\n{if $useForMember && $lineItem && empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}  {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}   {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if isset($amount_level) } - {$amount_level} {/if}\n{/if}\n{elseif isset($membership_amount)}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{/if}\n\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if !empty($membership_trx_id)}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if !empty($is_recur)}\n{ts}This membership will be renewed automatically.{/ts}\n{if $cancelSubscriptionUrl}\n\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n{/if}\n{/if}\n\n{if $honor_block_is_active }\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or email *}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n  {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n  {$contact_phone}\n{/if}\n{/if}\n{if !empty($is_deductible) AND !empty($price)}\n\n{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n     {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if !empty($receipt_text)}\n     <p>{$receipt_text|htmlize}</p>\n    {/if}\n\n    {if $is_pay_later}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  </table>\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n     {if $membership_assign && !$useForMember}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Membership Type{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_name}\n       </td>\n      </tr>\n      {if $mem_start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$mem_start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $mem_end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n          {$mem_end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n\n     {if $amount}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Fee{/ts}\n       </th>\n      </tr>\n\n      {if !$useForMember and isset($membership_amount) and !empty($is_quick_config)}\n\n       <tr>\n        <td {$labelStyle}>\n         {ts 1=$membership_name}%1 Membership{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$membership_amount|crmMoney}\n        </td>\n       </tr>\n       {if $amount && !$is_separate_payment }\n         <tr>\n          <td {$labelStyle}>\n           {ts}Contribution Amount{/ts}\n          </td>\n          <td {$valueStyle}>\n           {$amount|crmMoney}\n          </td>\n         </tr>\n         <tr>\n           <td {$labelStyle}>\n           {ts}Total{/ts}\n            </td>\n            <td {$valueStyle}>\n            {$amount+$membership_amount|crmMoney}\n           </td>\n         </tr>\n       {/if}\n\n      {elseif empty($useForMember) && !empty($lineItem) and $priceSetID and empty($is_quick_config)}\n\n       {foreach from=$lineItem item=value key=priceset}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n           <tr>\n            <th>{ts}Item{/ts}</th>\n            <th>{ts}Qty{/ts}</th>\n            <th>{ts}Each{/ts}</th>\n            <th>{ts}Total{/ts}</th>\n           </tr>\n           {foreach from=$value item=line}\n            <tr>\n             <td>\n              {$line.description|truncate:30:\"...\"}\n             </td>\n             <td>\n              {$line.qty}\n             </td>\n             <td>\n              {$line.unit_price|crmMoney}\n             </td>\n             <td>\n              {$line.line_total|crmMoney}\n             </td>\n            </tr>\n           {/foreach}\n          </table>\n         </td>\n        </tr>\n       {/foreach}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney}\n        </td>\n       </tr>\n\n      {else}\n       {if $useForMember && $lineItem and empty($is_quick_config)}\n       {foreach from=$lineItem item=value key=priceset}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n           <tr>\n            <th>{ts}Item{/ts}</th>\n            <th>{ts}Fee{/ts}</th>\n            {if !empty($dataArray)}\n              <th>{ts}SubTotal{/ts}</th>\n              <th>{ts}Tax Rate{/ts}</th>\n              <th>{ts}Tax Amount{/ts}</th>\n              <th>{ts}Total{/ts}</th>\n            {/if}\n      <th>{ts}Membership Start Date{/ts}</th>\n      <th>{ts}Membership End Date{/ts}</th>\n           </tr>\n           {foreach from=$value item=line}\n            <tr>\n             <td>\n             {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n             </td>\n             <td>\n              {$line.line_total|crmMoney}\n             </td>\n             {if !empty($dataArray)}\n              <td>\n               {$line.unit_price*$line.qty|crmMoney}\n              </td>\n              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n               <td>\n                {$line.tax_rate|string_format:\"%.2f\"}%\n               </td>\n               <td>\n                {$line.tax_amount|crmMoney}\n               </td>\n              {else}\n               <td></td>\n               <td></td>\n              {/if}\n              <td>\n               {$line.line_total+$line.tax_amount|crmMoney}\n              </td>\n             {/if}\n             <td>\n              {$line.start_date}\n             </td>\n       <td>\n              {$line.end_date}\n             </td>\n            </tr>\n           {/foreach}\n          </table>\n         </td>\n        </tr>\n       {/foreach}\n       {if !empty($dataArray)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Amount Before Tax:{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$amount-$totalTaxAmount|crmMoney}\n         </td>\n        </tr>\n        {foreach from=$dataArray item=value key=priceset}\n         <tr>\n         {if $priceset || $priceset == 0}\n           <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n         {else}\n           <td>&nbsp;{ts}NO{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n         {/if}\n         </tr>\n        {/foreach}\n       {/if}\n       {/if}\n       {if isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Total Tax Amount{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalTaxAmount|crmMoney:$currency}\n         </td>\n        </tr>\n       {/if}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney} {if isset($amount_level)} - {$amount_level}{/if}\n        </td>\n       </tr>\n\n      {/if}\n\n\n     {elseif isset($membership_amount)}\n\n\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Fee{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts 1=$membership_name}%1 Membership{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_amount|crmMoney}\n       </td>\n      </tr>\n\n\n     {/if}\n\n     {if !empty($receive_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receive_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($is_monetary) and !empty($trxn_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Transaction #{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$trxn_id}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($membership_trx_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Membership Transaction #{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_trx_id}\n       </td>\n      </tr>\n     {/if}\n     {if !empty($is_recur)}\n       <tr>\n        <td colspan=\"2\" {$labelStyle}>\n         {ts}This membership will be renewed automatically.{/ts}\n         {if $cancelSubscriptionUrl}\n           {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n         {/if}\n        </td>\n       </tr>\n       {if $updateSubscriptionBillingUrl}\n         <tr>\n          <td colspan=\"2\" {$labelStyle}>\n           {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n         </tr>\n       {/if}\n     {/if}\n\n     {if $honor_block_is_active}\n      <tr>\n       <th {$headerStyle}>\n        {$soft_credit_type}\n       </th>\n      </tr>\n      {foreach from=$honoreeProfile item=value key=label}\n        <tr>\n         <td {$labelStyle}>\n          {$label}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if !empty($pcpBlock)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Personal Campaign Page{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Display In Honor Roll{/ts}\n       </td>\n       <td {$valueStyle}>\n        {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n       </td>\n      </tr>\n      {if $pcp_roll_nickname}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Nickname{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_roll_nickname}\n        </td>\n       </tr>\n      {/if}\n      {if $pcp_personal_note}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Personal Note{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_personal_note}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n     {if !empty($onBehalfProfile)}\n      <tr>\n       <th {$headerStyle}>\n        {$onBehalfProfile_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n        <tr>\n         <td {$labelStyle}>\n          {$onBehalfName}\n         </td>\n         <td {$valueStyle}>\n          {$onBehalfValue}\n         </td>\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if !empty($billingName)}\n       <tr>\n         <th {$headerStyle}>\n           {ts}Billing Name and Address{/ts}\n         </th>\n      </tr>\n      <tr>\n        <td colspan=\"2\" {$valueStyle}>\n          {$billingName}<br />\n          {$address|nl2br}<br />\n          {$email}\n        </td>\n      </tr>\n    {elseif !empty($email)}\n      <tr>\n        <th {$headerStyle}>\n          {ts}Registered Email{/ts}\n        </th>\n      </tr>\n      <tr>\n        <td colspan=\"2\" {$valueStyle}>\n          {$email}\n        </td>\n      </tr>\n    {/if}\n\n     {if !empty($credit_card_type)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($selectPremium)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Premium Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {$product_name}\n       </td>\n      </tr>\n      {if $option}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Option{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$option}\n        </td>\n       </tr>\n      {/if}\n      {if $sku}\n       <tr>\n        <td {$labelStyle}>\n         {ts}SKU{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$sku}\n        </td>\n       </tr>\n      {/if}\n      {if $start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($contact_email) OR !empty($contact_phone)}\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <p>{ts}For information about this premium, contact:{/ts}</p>\n         {if !empty($contact_email)}\n          <p>{$contact_email}</p>\n         {/if}\n         {if !empty($contact_phone)}\n          <p>{$contact_phone}</p>\n         {/if}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($is_deductible) AND !empty($price)}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <p>{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n         </td>\n        </tr>\n      {/if}\n     {/if}\n\n     {if !empty($customPre)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPre_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPre item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customPost)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPost_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPost item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,842,'membership_online_receipt',1,0,0,NULL),
- (48,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n===========================================================\n{/if}\n\n{if $membership_assign && !$useForMember}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n{/if}\n{if $amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !$useForMember && isset($membership_amount) && !empty($is_quick_config)}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount && !$is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{/if}\n{elseif !$useForMember && !empty($lineItem) and !empty($priceSetID) & empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{$line.description|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney}\n{else}\n{if $useForMember && $lineItem && empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}  {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}   {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if isset($amount_level) } - {$amount_level} {/if}\n{/if}\n{elseif isset($membership_amount)}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{/if}\n\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if !empty($membership_trx_id)}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if !empty($is_recur)}\n{ts}This membership will be renewed automatically.{/ts}\n{if $cancelSubscriptionUrl}\n\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n{/if}\n{/if}\n\n{if $honor_block_is_active }\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or email *}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n  {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n  {$contact_phone}\n{/if}\n{/if}\n{if !empty($is_deductible) AND !empty($price)}\n\n{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n     {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if !empty($receipt_text)}\n     <p>{$receipt_text|htmlize}</p>\n    {/if}\n\n    {if $is_pay_later}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  </table>\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n     {if $membership_assign && !$useForMember}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Membership Type{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_name}\n       </td>\n      </tr>\n      {if $mem_start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$mem_start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $mem_end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n          {$mem_end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n\n     {if $amount}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Fee{/ts}\n       </th>\n      </tr>\n\n      {if !$useForMember and isset($membership_amount) and !empty($is_quick_config)}\n\n       <tr>\n        <td {$labelStyle}>\n         {ts 1=$membership_name}%1 Membership{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$membership_amount|crmMoney}\n        </td>\n       </tr>\n       {if $amount && !$is_separate_payment }\n         <tr>\n          <td {$labelStyle}>\n           {ts}Contribution Amount{/ts}\n          </td>\n          <td {$valueStyle}>\n           {$amount|crmMoney}\n          </td>\n         </tr>\n         <tr>\n           <td {$labelStyle}>\n           {ts}Total{/ts}\n            </td>\n            <td {$valueStyle}>\n            {$amount+$membership_amount|crmMoney}\n           </td>\n         </tr>\n       {/if}\n\n      {elseif empty($useForMember) && !empty($lineItem) and $priceSetID and empty($is_quick_config)}\n\n       {foreach from=$lineItem item=value key=priceset}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n           <tr>\n            <th>{ts}Item{/ts}</th>\n            <th>{ts}Qty{/ts}</th>\n            <th>{ts}Each{/ts}</th>\n            <th>{ts}Total{/ts}</th>\n           </tr>\n           {foreach from=$value item=line}\n            <tr>\n             <td>\n              {$line.description|truncate:30:\"...\"}\n             </td>\n             <td>\n              {$line.qty}\n             </td>\n             <td>\n              {$line.unit_price|crmMoney}\n             </td>\n             <td>\n              {$line.line_total|crmMoney}\n             </td>\n            </tr>\n           {/foreach}\n          </table>\n         </td>\n        </tr>\n       {/foreach}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney}\n        </td>\n       </tr>\n\n      {else}\n       {if $useForMember && $lineItem and empty($is_quick_config)}\n       {foreach from=$lineItem item=value key=priceset}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n           <tr>\n            <th>{ts}Item{/ts}</th>\n            <th>{ts}Fee{/ts}</th>\n            {if !empty($dataArray)}\n              <th>{ts}SubTotal{/ts}</th>\n              <th>{ts}Tax Rate{/ts}</th>\n              <th>{ts}Tax Amount{/ts}</th>\n              <th>{ts}Total{/ts}</th>\n            {/if}\n      <th>{ts}Membership Start Date{/ts}</th>\n      <th>{ts}Membership End Date{/ts}</th>\n           </tr>\n           {foreach from=$value item=line}\n            <tr>\n             <td>\n             {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n             </td>\n             <td>\n              {$line.line_total|crmMoney}\n             </td>\n             {if !empty($dataArray)}\n              <td>\n               {$line.unit_price*$line.qty|crmMoney}\n              </td>\n              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n               <td>\n                {$line.tax_rate|string_format:\"%.2f\"}%\n               </td>\n               <td>\n                {$line.tax_amount|crmMoney}\n               </td>\n              {else}\n               <td></td>\n               <td></td>\n              {/if}\n              <td>\n               {$line.line_total+$line.tax_amount|crmMoney}\n              </td>\n             {/if}\n             <td>\n              {$line.start_date}\n             </td>\n       <td>\n              {$line.end_date}\n             </td>\n            </tr>\n           {/foreach}\n          </table>\n         </td>\n        </tr>\n       {/foreach}\n       {if !empty($dataArray)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Amount Before Tax:{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$amount-$totalTaxAmount|crmMoney}\n         </td>\n        </tr>\n        {foreach from=$dataArray item=value key=priceset}\n         <tr>\n         {if $priceset || $priceset == 0}\n           <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n         {else}\n           <td>&nbsp;{ts}NO{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n         {/if}\n         </tr>\n        {/foreach}\n       {/if}\n       {/if}\n       {if isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Total Tax Amount{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalTaxAmount|crmMoney:$currency}\n         </td>\n        </tr>\n       {/if}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney} {if isset($amount_level)} - {$amount_level}{/if}\n        </td>\n       </tr>\n\n      {/if}\n\n\n     {elseif isset($membership_amount)}\n\n\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Fee{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts 1=$membership_name}%1 Membership{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_amount|crmMoney}\n       </td>\n      </tr>\n\n\n     {/if}\n\n     {if !empty($receive_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receive_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($is_monetary) and !empty($trxn_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Transaction #{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$trxn_id}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($membership_trx_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Membership Transaction #{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_trx_id}\n       </td>\n      </tr>\n     {/if}\n     {if !empty($is_recur)}\n       <tr>\n        <td colspan=\"2\" {$labelStyle}>\n         {ts}This membership will be renewed automatically.{/ts}\n         {if $cancelSubscriptionUrl}\n           {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n         {/if}\n        </td>\n       </tr>\n       {if $updateSubscriptionBillingUrl}\n         <tr>\n          <td colspan=\"2\" {$labelStyle}>\n           {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n         </tr>\n       {/if}\n     {/if}\n\n     {if $honor_block_is_active}\n      <tr>\n       <th {$headerStyle}>\n        {$soft_credit_type}\n       </th>\n      </tr>\n      {foreach from=$honoreeProfile item=value key=label}\n        <tr>\n         <td {$labelStyle}>\n          {$label}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if !empty($pcpBlock)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Personal Campaign Page{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Display In Honor Roll{/ts}\n       </td>\n       <td {$valueStyle}>\n        {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n       </td>\n      </tr>\n      {if $pcp_roll_nickname}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Nickname{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_roll_nickname}\n        </td>\n       </tr>\n      {/if}\n      {if $pcp_personal_note}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Personal Note{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_personal_note}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n     {if !empty($onBehalfProfile)}\n      <tr>\n       <th {$headerStyle}>\n        {$onBehalfProfile_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n        <tr>\n         <td {$labelStyle}>\n          {$onBehalfName}\n         </td>\n         <td {$valueStyle}>\n          {$onBehalfValue}\n         </td>\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if !empty($billingName)}\n       <tr>\n         <th {$headerStyle}>\n           {ts}Billing Name and Address{/ts}\n         </th>\n      </tr>\n      <tr>\n        <td colspan=\"2\" {$valueStyle}>\n          {$billingName}<br />\n          {$address|nl2br}<br />\n          {$email}\n        </td>\n      </tr>\n    {elseif !empty($email)}\n      <tr>\n        <th {$headerStyle}>\n          {ts}Registered Email{/ts}\n        </th>\n      </tr>\n      <tr>\n        <td colspan=\"2\" {$valueStyle}>\n          {$email}\n        </td>\n      </tr>\n    {/if}\n\n     {if !empty($credit_card_type)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($selectPremium)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Premium Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {$product_name}\n       </td>\n      </tr>\n      {if $option}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Option{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$option}\n        </td>\n       </tr>\n      {/if}\n      {if $sku}\n       <tr>\n        <td {$labelStyle}>\n         {ts}SKU{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$sku}\n        </td>\n       </tr>\n      {/if}\n      {if $start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($contact_email) OR !empty($contact_phone)}\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <p>{ts}For information about this premium, contact:{/ts}</p>\n         {if !empty($contact_email)}\n          <p>{$contact_email}</p>\n         {/if}\n         {if !empty($contact_phone)}\n          <p>{$contact_phone}</p>\n         {/if}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($is_deductible) AND !empty($price)}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <p>{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n         </td>\n        </tr>\n      {/if}\n     {/if}\n\n     {if !empty($customPre)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPre_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPre item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customPost)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPost_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPost item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,842,'membership_online_receipt',0,1,0,NULL),
- (49,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}\n\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Status{/ts}: {$membership_status}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}</p>\n\n   </td>\n  </tr>\n </table>\n <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Membership Status{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_status}\n       </td>\n      </tr>\n      {if $mem_start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$mem_start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $mem_end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n          {$mem_end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n\n </table>\n</center>\n\n</body>\n</html>\n',1,843,'membership_autorenew_cancelled',1,0,0,NULL),
- (50,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}\n\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Status{/ts}: {$membership_status}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}</p>\n\n   </td>\n  </tr>\n </table>\n <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Membership Status{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_status}\n       </td>\n      </tr>\n      {if $mem_start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$mem_start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $mem_end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n          {$mem_end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n\n </table>\n</center>\n\n</body>\n</html>\n',1,843,'membership_autorenew_cancelled',0,1,0,NULL),
- (51,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n   <tr>\n        <th {$headerStyle}>\n         {ts}Billing Name and Address{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$billingName}<br />\n         {$address|nl2br}<br />\n         {$email}\n        </td>\n       </tr>\n        <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n         {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n        </td>\n      </tr>\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,844,'membership_autorenew_billing',1,0,0,NULL),
- (52,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n   <tr>\n        <th {$headerStyle}>\n         {ts}Billing Name and Address{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$billingName}<br />\n         {$address|nl2br}<br />\n         {$email}\n        </td>\n       </tr>\n        <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n         {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n        </td>\n      </tr>\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,844,'membership_autorenew_billing',0,1,0,NULL),
- (53,'Test-drive - Receipt Header','[TEST]\n','***********************************************************\n\n{ts}Test-drive Email / Receipt{/ts}\n\n{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}\n\n***********************************************************\n','<center>\n <table id=\"crm-event_receipt_test\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n  <tr>\n   <td>\n    <p>{ts}Test-drive Email / Receipt{/ts}</p>\n    <p>{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}</p>\n   </td>\n  </tr>\n </table>\n</center>\n',1,845,'test_preview',1,0,0,NULL),
- (54,'Test-drive - Receipt Header','[TEST]\n','***********************************************************\n\n{ts}Test-drive Email / Receipt{/ts}\n\n{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}\n\n***********************************************************\n','<center>\n <table id=\"crm-event_receipt_test\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n  <tr>\n   <td>\n    <p>{ts}Test-drive Email / Receipt{/ts}</p>\n    <p>{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}</p>\n   </td>\n  </tr>\n </table>\n</center>\n',1,845,'test_preview',0,1,0,NULL),
- (55,'Pledges - Acknowledgement','{ts}Thank you for your Pledge{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n{ts}Thank you for your generous pledge.{/ts}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$total_pledge_amount|crmMoney:$currency}\n\n===========================================================\n{ts}Payment Schedule{/ts}\n\n===========================================================\n{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}\n\n{if $frequency_day}\n\n{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}\n{/if}\n\n{if $payments}\n{assign var=\"count\" value=\"1\"}\n{foreach from=$payments item=payment}\n\n{ts 1=$count}Payment %1{/ts}: {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n{assign var=\"count\" value=`$count+1`}\n{/foreach}\n{/if}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}Thank you for your generous pledge.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Pledge Information{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Pledge Received{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$create_date|truncate:10:\'\'|crmDate}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Pledge Amount{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$total_pledge_amount|crmMoney:$currency}\n      </td>\n     </tr>\n     <tr>\n      <th {$headerStyle}>\n       {ts}Payment Schedule{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       <p>{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}</p>\n\n       {if $frequency_day}\n        <p>{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}</p>\n       {/if}\n      </td>\n     </tr>\n\n     {if $payments}\n      {assign var=\"count\" value=\"1\"}\n      {foreach from=$payments item=payment}\n       <tr>\n        <td {$labelStyle}>\n         {ts 1=$count}Payment %1{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n        </td>\n       </tr>\n       {assign var=\"count\" value=`$count+1`}\n      {/foreach}\n     {/if}\n\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}</p>\n      </td>\n     </tr>\n\n     {if $customGroup}\n      {foreach from=$customGroup item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {$customName}\n        </th>\n       </tr>\n       {foreach from=$value item=v key=n}\n        <tr>\n         <td {$labelStyle}>\n          {$n}\n         </td>\n         <td {$valueStyle}>\n          {$v}\n         </td>\n        </tr>\n       {/foreach}\n      {/foreach}\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,846,'pledge_acknowledge',1,0,0,NULL),
- (56,'Pledges - Acknowledgement','{ts}Thank you for your Pledge{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n{ts}Thank you for your generous pledge.{/ts}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$total_pledge_amount|crmMoney:$currency}\n\n===========================================================\n{ts}Payment Schedule{/ts}\n\n===========================================================\n{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}\n\n{if $frequency_day}\n\n{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}\n{/if}\n\n{if $payments}\n{assign var=\"count\" value=\"1\"}\n{foreach from=$payments item=payment}\n\n{ts 1=$count}Payment %1{/ts}: {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n{assign var=\"count\" value=`$count+1`}\n{/foreach}\n{/if}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}Thank you for your generous pledge.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Pledge Information{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Pledge Received{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$create_date|truncate:10:\'\'|crmDate}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Pledge Amount{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$total_pledge_amount|crmMoney:$currency}\n      </td>\n     </tr>\n     <tr>\n      <th {$headerStyle}>\n       {ts}Payment Schedule{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       <p>{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}</p>\n\n       {if $frequency_day}\n        <p>{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}</p>\n       {/if}\n      </td>\n     </tr>\n\n     {if $payments}\n      {assign var=\"count\" value=\"1\"}\n      {foreach from=$payments item=payment}\n       <tr>\n        <td {$labelStyle}>\n         {ts 1=$count}Payment %1{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n        </td>\n       </tr>\n       {assign var=\"count\" value=`$count+1`}\n      {/foreach}\n     {/if}\n\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}</p>\n      </td>\n     </tr>\n\n     {if $customGroup}\n      {foreach from=$customGroup item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {$customName}\n        </th>\n       </tr>\n       {foreach from=$value item=v key=n}\n        <tr>\n         <td {$labelStyle}>\n          {$n}\n         </td>\n         <td {$valueStyle}>\n          {$v}\n         </td>\n        </tr>\n       {/foreach}\n      {/foreach}\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,846,'pledge_acknowledge',0,1,0,NULL),
- (57,'Pledges - Payment Reminder','{ts}Pledge Payment Reminder{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}\n\n===========================================================\n{ts}Payment Due{/ts}\n\n===========================================================\n{ts}Amount Due{/ts}: {$amount_due|crmMoney:$currency}\n{ts}Due Date{/ts}: {$scheduled_payment_date|truncate:10:\'\'|crmDate}\n\n{if $contribution_page_id}\n{capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\nClick this link to go to a web page where you can make your payment online:\n{$contributionUrl}\n{else}\n{ts}Please mail your payment to{/ts}:\n{$domain.address}\n{/if}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$amount|crmMoney:$currency}\n{ts}Total Paid{/ts}: {$amount_paid|crmMoney:$currency}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n\n{ts}Thank your for your generous support.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Payment Due{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Amount Due{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$amount_due|crmMoney:$currency}\n      </td>\n     </tr>\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    {if $contribution_page_id}\n     {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\n     <p><a href=\"{$contributionUrl}\">{ts}Go to a web page where you can make your payment online{/ts}</a></p>\n    {else}\n     <p>{ts}Please mail your payment to{/ts}: {$domain.address}</p>\n    {/if}\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Pledge Information{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Pledge Received{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$create_date|truncate:10:\'\'|crmDate}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Pledge Amount{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$amount|crmMoney:$currency}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Paid{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$amount_paid|crmMoney:$currency}\n      </td>\n     </tr>\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}</p>\n    <p>{ts}Thank your for your generous support.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,847,'pledge_reminder',1,0,0,NULL),
- (58,'Pledges - Payment Reminder','{ts}Pledge Payment Reminder{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}\n\n===========================================================\n{ts}Payment Due{/ts}\n\n===========================================================\n{ts}Amount Due{/ts}: {$amount_due|crmMoney:$currency}\n{ts}Due Date{/ts}: {$scheduled_payment_date|truncate:10:\'\'|crmDate}\n\n{if $contribution_page_id}\n{capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\nClick this link to go to a web page where you can make your payment online:\n{$contributionUrl}\n{else}\n{ts}Please mail your payment to{/ts}:\n{$domain.address}\n{/if}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$amount|crmMoney:$currency}\n{ts}Total Paid{/ts}: {$amount_paid|crmMoney:$currency}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n\n{ts}Thank your for your generous support.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Payment Due{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Amount Due{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$amount_due|crmMoney:$currency}\n      </td>\n     </tr>\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    {if $contribution_page_id}\n     {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\n     <p><a href=\"{$contributionUrl}\">{ts}Go to a web page where you can make your payment online{/ts}</a></p>\n    {else}\n     <p>{ts}Please mail your payment to{/ts}: {$domain.address}</p>\n    {/if}\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Pledge Information{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Pledge Received{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$create_date|truncate:10:\'\'|crmDate}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Pledge Amount{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$amount|crmMoney:$currency}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Paid{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$amount_paid|crmMoney:$currency}\n      </td>\n     </tr>\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}</p>\n    <p>{ts}Thank your for your generous support.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,847,'pledge_reminder',0,1,0,NULL),
- (59,'Profiles - Admin Notification','{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts} - {contact.display_name}\n','{ts}Submitted For:{/ts} {$displayName}\n{ts}Date:{/ts} {$currentDate}\n{ts}Contact Summary:{/ts} {$contactLink}\n\n===========================================================\n{$grouptitle}\n\n===========================================================\n{foreach from=$values item=value key=valueName}\n{$valueName}: {$value}\n{/foreach}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <td {$labelStyle}>\n       {ts}Submitted For{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$displayName}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Date{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$currentDate}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Contact Summary{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$contactLink}\n      </td>\n     </tr>\n\n     <tr>\n      <th {$headerStyle}>\n       {$grouptitle}\n      </th>\n     </tr>\n\n     {foreach from=$values item=value key=valueName}\n      <tr>\n       <td {$labelStyle}>\n        {$valueName}\n       </td>\n       <td {$valueStyle}>\n        {$value}\n       </td>\n      </tr>\n     {/foreach}\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,848,'uf_notify',1,0,0,NULL),
- (60,'Profiles - Admin Notification','{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts} - {contact.display_name}\n','{ts}Submitted For:{/ts} {$displayName}\n{ts}Date:{/ts} {$currentDate}\n{ts}Contact Summary:{/ts} {$contactLink}\n\n===========================================================\n{$grouptitle}\n\n===========================================================\n{foreach from=$values item=value key=valueName}\n{$valueName}: {$value}\n{/foreach}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <td {$labelStyle}>\n       {ts}Submitted For{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$displayName}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Date{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$currentDate}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Contact Summary{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$contactLink}\n      </td>\n     </tr>\n\n     <tr>\n      <th {$headerStyle}>\n       {$grouptitle}\n      </th>\n     </tr>\n\n     {foreach from=$values item=value key=valueName}\n      <tr>\n       <td {$labelStyle}>\n        {$valueName}\n       </td>\n       <td {$valueStyle}>\n        {$value}\n       </td>\n      </tr>\n     {/foreach}\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,848,'uf_notify',0,1,0,NULL),
- (61,'Petition - signature added','Thank you for signing {$petition.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\nThank you for signing {$petition.title}.\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n<p>Thank you for signing {$petition.title}.</p>\n\n{include file=\"CRM/Campaign/Page/Petition/SocialNetwork.tpl\" petition_id=$survey_id noscript=true emailMode=true}\n',1,849,'petition_sign',1,0,0,NULL),
- (62,'Petition - signature added','Thank you for signing {$petition.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\nThank you for signing {$petition.title}.\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n<p>Thank you for signing {$petition.title}.</p>\n\n{include file=\"CRM/Campaign/Page/Petition/SocialNetwork.tpl\" petition_id=$survey_id noscript=true emailMode=true}\n',1,849,'petition_sign',0,1,0,NULL),
- (63,'Petition - need verification','Confirmation of signature needed for {$petition.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\nThank you for signing {$petition.title}.\n\nIn order to complete your signature, we must confirm your e-mail.\nPlease do so by visiting the following email confirmation web page:\n\n{$petition.confirmUrlPlainText}\n\nIf you did not sign this petition, please ignore this message.\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n<p>Thank you for signing {$petition.title}.</p>\n\n<p>In order to <b>complete your signature</b>, we must confirm your e-mail.\n<br />\nPlease do so by visiting the following web page by clicking\non the link below or pasting the link into your browser.\n<br /><br />\nEmail confirmation page: <a href=\"{$petition.confirmUrl}\">{$petition.confirmUrl}</a></p>\n\n<p>If you did not sign this petition, please ignore this message.</p>\n',1,850,'petition_confirmation_needed',1,0,0,NULL),
- (64,'Petition - need verification','Confirmation of signature needed for {$petition.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\nThank you for signing {$petition.title}.\n\nIn order to complete your signature, we must confirm your e-mail.\nPlease do so by visiting the following email confirmation web page:\n\n{$petition.confirmUrlPlainText}\n\nIf you did not sign this petition, please ignore this message.\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n<p>Thank you for signing {$petition.title}.</p>\n\n<p>In order to <b>complete your signature</b>, we must confirm your e-mail.\n<br />\nPlease do so by visiting the following web page by clicking\non the link below or pasting the link into your browser.\n<br /><br />\nEmail confirmation page: <a href=\"{$petition.confirmUrl}\">{$petition.confirmUrl}</a></p>\n\n<p>If you did not sign this petition, please ignore this message.</p>\n',1,850,'petition_confirmation_needed',0,1,0,NULL),
+ (1,'Cases - Send Copy of an Activity','{if !empty($idHash)}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if !empty($isCaseActivity)}\n{ts}Your Case Role(s){/ts} : {$contact.role|default:\'\'}\n{if !empty($manageCaseURL)}\n{ts}Manage Case{/ts} : {$manageCaseURL}\n{/if}\n{/if}\n\n{if !empty($editActURL)}\n{ts}Edit activity{/ts} : {$editActURL}\n{/if}\n{if !empty($viewActURL)}\n{ts}View activity{/ts} : {$viewActURL}\n{/if}\n\n{foreach from=$activity.fields item=field}\n{if $field.type eq \'Date\'}\n{$field.label}{if !empty($field.category)}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label}{if !empty($field.category)}({$field.category}){/if} : {$field.value}\n{/if}\n{/foreach}\n\n{if !empty($activity.customGroups)}\n{foreach from=$activity.customGroups key=customGroupName item=customGroup}\n==========================================================\n{$customGroupName}\n==========================================================\n{foreach from=$customGroup item=field}\n{if $field.type eq \'Date\'}\n{$field.label} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label} : {$field.value}\n{/if}\n{/foreach}\n\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n  {capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n  {capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n  {capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n  <center>\n    <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n    <!-- BEGIN HEADER -->\n    <!-- You can add table row(s) here with logo or other header elements -->\n    <!-- END HEADER -->\n\n    <!-- BEGIN CONTENT -->\n\n      <tr>\n        <td>\n          <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n            <tr>\n              <th {$headerStyle}>\n                {ts}Activity Summary{/ts} - {$activityTypeName}\n              </th>\n            </tr>\n            {if !empty($isCaseActivity)}\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Your Case Role(s){/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$contact.role|default:\'\'}\n                </td>\n              </tr>\n              {if !empty($manageCaseURL)}\n                <tr>\n                  <td colspan=\"2\" {$valueStyle}>\n                    <a href=\"{$manageCaseURL}\" title=\"{ts}Manage Case{/ts}\">{ts}Manage Case{/ts}</a>\n                  </td>\n                </tr>\n              {/if}\n            {/if}\n            {if !empty($editActURL)}\n              <tr>\n                <td colspan=\"2\" {$valueStyle}>\n                  <a href=\"{$editActURL}\" title=\"{ts}Edit activity{/ts}\">{ts}Edit activity{/ts}</a>\n                </td>\n              </tr>\n            {/if}\n            {if !empty($viewActURL)}\n              <tr>\n                <td colspan=\"2\" {$valueStyle}>\n                  <a href=\"{$viewActURL}\" title=\"{ts}View activity{/ts}\">{ts}View activity{/ts}</a>\n                </td>\n              </tr>\n            {/if}\n            {foreach from=$activity.fields item=field}\n              <tr>\n                <td {$labelStyle}>\n                  {$field.label}{if !empty($field.category)}({$field.category}){/if}\n                </td>\n                <td {$valueStyle}>\n                  {if $field.type eq \'Date\'}\n                    {$field.value|crmDate:$config->dateformatDatetime}\n                  {else}\n                    {$field.value}\n                  {/if}\n                </td>\n              </tr>\n            {/foreach}\n\n            {if !empty($activity.customGroups)}\n              {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n                <tr>\n                  <th {$headerStyle}>\n                    {$customGroupName}\n                  </th>\n                </tr>\n                {foreach from=$customGroup item=field}\n                  <tr>\n                    <td {$labelStyle}>\n                      {$field.label}\n                    </td>\n                    <td {$valueStyle}>\n                      {if $field.type eq \'Date\'}\n                        {$field.value|crmDate:$config->dateformatDatetime}\n                      {else}\n                        {$field.value}\n                      {/if}\n                    </td>\n                  </tr>\n                {/foreach}\n              {/foreach}\n            {/if}\n          </table>\n        </td>\n      </tr>\n    </table>\n  </center>\n</body>\n</html>\n',1,823,'case_activity',1,0,0,NULL),
+ (2,'Cases - Send Copy of an Activity','{if !empty($idHash)}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if !empty($isCaseActivity)}\n{ts}Your Case Role(s){/ts} : {$contact.role|default:\'\'}\n{if !empty($manageCaseURL)}\n{ts}Manage Case{/ts} : {$manageCaseURL}\n{/if}\n{/if}\n\n{if !empty($editActURL)}\n{ts}Edit activity{/ts} : {$editActURL}\n{/if}\n{if !empty($viewActURL)}\n{ts}View activity{/ts} : {$viewActURL}\n{/if}\n\n{foreach from=$activity.fields item=field}\n{if $field.type eq \'Date\'}\n{$field.label}{if !empty($field.category)}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label}{if !empty($field.category)}({$field.category}){/if} : {$field.value}\n{/if}\n{/foreach}\n\n{if !empty($activity.customGroups)}\n{foreach from=$activity.customGroups key=customGroupName item=customGroup}\n==========================================================\n{$customGroupName}\n==========================================================\n{foreach from=$customGroup item=field}\n{if $field.type eq \'Date\'}\n{$field.label} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label} : {$field.value}\n{/if}\n{/foreach}\n\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n  {capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n  {capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n  {capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n  <center>\n    <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n    <!-- BEGIN HEADER -->\n    <!-- You can add table row(s) here with logo or other header elements -->\n    <!-- END HEADER -->\n\n    <!-- BEGIN CONTENT -->\n\n      <tr>\n        <td>\n          <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n            <tr>\n              <th {$headerStyle}>\n                {ts}Activity Summary{/ts} - {$activityTypeName}\n              </th>\n            </tr>\n            {if !empty($isCaseActivity)}\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Your Case Role(s){/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$contact.role|default:\'\'}\n                </td>\n              </tr>\n              {if !empty($manageCaseURL)}\n                <tr>\n                  <td colspan=\"2\" {$valueStyle}>\n                    <a href=\"{$manageCaseURL}\" title=\"{ts}Manage Case{/ts}\">{ts}Manage Case{/ts}</a>\n                  </td>\n                </tr>\n              {/if}\n            {/if}\n            {if !empty($editActURL)}\n              <tr>\n                <td colspan=\"2\" {$valueStyle}>\n                  <a href=\"{$editActURL}\" title=\"{ts}Edit activity{/ts}\">{ts}Edit activity{/ts}</a>\n                </td>\n              </tr>\n            {/if}\n            {if !empty($viewActURL)}\n              <tr>\n                <td colspan=\"2\" {$valueStyle}>\n                  <a href=\"{$viewActURL}\" title=\"{ts}View activity{/ts}\">{ts}View activity{/ts}</a>\n                </td>\n              </tr>\n            {/if}\n            {foreach from=$activity.fields item=field}\n              <tr>\n                <td {$labelStyle}>\n                  {$field.label}{if !empty($field.category)}({$field.category}){/if}\n                </td>\n                <td {$valueStyle}>\n                  {if $field.type eq \'Date\'}\n                    {$field.value|crmDate:$config->dateformatDatetime}\n                  {else}\n                    {$field.value}\n                  {/if}\n                </td>\n              </tr>\n            {/foreach}\n\n            {if !empty($activity.customGroups)}\n              {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n                <tr>\n                  <th {$headerStyle}>\n                    {$customGroupName}\n                  </th>\n                </tr>\n                {foreach from=$customGroup item=field}\n                  <tr>\n                    <td {$labelStyle}>\n                      {$field.label}\n                    </td>\n                    <td {$valueStyle}>\n                      {if $field.type eq \'Date\'}\n                        {$field.value|crmDate:$config->dateformatDatetime}\n                      {else}\n                        {$field.value}\n                      {/if}\n                    </td>\n                  </tr>\n                {/foreach}\n              {/foreach}\n            {/if}\n          </table>\n        </td>\n      </tr>\n    </table>\n  </center>\n</body>\n</html>\n',1,823,'case_activity',0,1,0,NULL),
+ (3,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts} - {contact.display_name}\n','{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}\n{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}\n\n{ts}Organization Name{/ts}: {$onBehalfName}\n{ts}Organization Email{/ts}: {$onBehalfEmail}\n{ts}Organization Contact ID{/ts}: {$onBehalfID}\n\n{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}\n\n{if $receiptMessage}\n###########################################################\n{ts}Copy of Contribution Receipt{/ts}\n\n###########################################################\n{$receiptMessage}\n\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <p>{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}</p>\n    <p>{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <td {$labelStyle}>\n       {ts}Organization Name{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$onBehalfName}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Organization Email{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$onBehalfEmail}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Organization Contact ID{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$onBehalfID}\n      </td>\n     </tr>\n    </table>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <p>{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}</p>\n   </td>\n  </tr>\n  {if $receiptMessage}\n   <tr>\n    <td>\n     <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n      <tr>\n       <th {$headerStyle}>\n        {ts}Copy of Contribution Receipt{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {* FIXME: the below is most probably not HTML-ised *}\n        {$receiptMessage}\n       </td>\n      </tr>\n     </table>\n    </td>\n   </tr>\n  {/if}\n </table>\n</center>\n\n</body>\n</html>\n',1,824,'contribution_dupalert',1,0,0,NULL),
+ (4,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts} - {contact.display_name}\n','{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}\n{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}\n\n{ts}Organization Name{/ts}: {$onBehalfName}\n{ts}Organization Email{/ts}: {$onBehalfEmail}\n{ts}Organization Contact ID{/ts}: {$onBehalfID}\n\n{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}\n\n{if $receiptMessage}\n###########################################################\n{ts}Copy of Contribution Receipt{/ts}\n\n###########################################################\n{$receiptMessage}\n\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <p>{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}</p>\n    <p>{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <td {$labelStyle}>\n       {ts}Organization Name{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$onBehalfName}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Organization Email{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$onBehalfEmail}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Organization Contact ID{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$onBehalfID}\n      </td>\n     </tr>\n    </table>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <p>{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}</p>\n   </td>\n  </tr>\n  {if $receiptMessage}\n   <tr>\n    <td>\n     <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n      <tr>\n       <th {$headerStyle}>\n        {ts}Copy of Contribution Receipt{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {* FIXME: the below is most probably not HTML-ised *}\n        {$receiptMessage}\n       </td>\n      </tr>\n     </table>\n    </td>\n   </tr>\n  {/if}\n </table>\n</center>\n\n</body>\n</html>\n',1,824,'contribution_dupalert',0,1,0,NULL),
+ (5,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if !empty($formValues.receipt_text)}\n{$formValues.receipt_text}\n{else}{ts}Below you will find a receipt for this contribution.{/ts}{/if}\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Contributor{/ts}: {contact.display_name}\n{if !empty($formValues.contributionType_name)}\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{/if}\n{if $lineItem}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($getTaxDetails)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($getTaxDetails)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($getTaxDetails)}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")} {$line.tax_rate|string_format:\"%.2f\"} %   {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if} {/if}   {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($getTaxDetails) && !empty($dataArray)}\n{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset ||  $priceset == 0 || $value != \'\'}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}% : {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if} : {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n{ts}Total Tax Amount{/ts} : {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{ts}Total Amount{/ts} : {$formValues.total_amount|crmMoney:$currency}\n{if !empty($receive_date)}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if !empty($receipt_date)}\n{ts}Receipt Date{/ts}: {$receipt_date|truncate:10:\'\'|crmDate}\n{/if}\n{if !empty($formValues.paidBy) and empty($formValues.hidden_CreditCard)}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if !empty($formValues.check_number)}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{if !empty($formValues.trxn_id)}\n{ts}Transaction ID{/ts}: {$formValues.trxn_id}\n{/if}\n\n{if !empty($ccContribution)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($formValues.product_name)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$formValues.product_name}\n{if $formValues.product_option}\n{ts}Option{/ts}: {$formValues.product_option}\n{/if}\n{if $formValues.product_sku}\n{ts}SKU{/ts}: {$formValues.product_sku}\n{/if}\n{if !empty($fulfilled_date)}\n{ts}Sent{/ts}: {$fulfilled_date|crmDate}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if !empty($formValues.receipt_text)}\n     <p>{$formValues.receipt_text|htmlize}</p>\n    {else}\n     <p>{ts}Below you will find a receipt for this contribution.{/ts}</p>\n    {/if}\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Contribution Information{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Contributor Name{/ts}\n      </td>\n      <td {$valueStyle}>\n       {contact.display_name}\n      </td>\n     </tr>\n     <tr>\n      {if !empty($formValues.contributionType_name)}\n        <td {$labelStyle}>\n         {ts}Financial Type{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.contributionType_name}\n        </td>\n      {/if}\n     </tr>\n\n     {if !empty($lineItem) and empty($is_quick_config)}\n      {foreach from=$lineItem item=value key=priceset}\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n          <tr>\n           <th>{ts}Item{/ts}</th>\n           <th>{ts}Qty{/ts}</th>\n           <th>{ts}Each{/ts}</th>\n           {if !empty($getTaxDetails)}\n             <th>{ts}Subtotal{/ts}</th>\n             <th>{ts}Tax Rate{/ts}</th>\n             <th>{ts}Tax Amount{/ts}</th>\n           {/if}\n           <th>{ts}Total{/ts}</th>\n          </tr>\n          {foreach from=$value item=line}\n           <tr>\n            <td>\n            {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n            </td>\n            <td>\n             {$line.qty}\n            </td>\n            <td>\n             {$line.unit_price|crmMoney:$currency}\n            </td>\n            {if !empty($getTaxDetails)}\n              <td>\n                {$line.unit_price*$line.qty|crmMoney:$currency}\n              </td>\n              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                <td>\n                  {$line.tax_rate|string_format:\"%.2f\"}%\n                </td>\n                <td>\n                  {$line.tax_amount|crmMoney:$currency}\n                </td>\n              {else}\n                <td></td>\n                <td></td>\n              {/if}\n            {/if}\n            <td>\n             {$line.line_total+$line.tax_amount|crmMoney:$currency}\n            </td>\n           </tr>\n          {/foreach}\n         </table>\n        </td>\n       </tr>\n      {/foreach}\n     {/if}\n     {if !empty($getTaxDetails) && !empty($dataArray)}\n       <tr>\n         <td {$labelStyle}>\n           {ts} Amount before Tax : {/ts}\n         </td>\n         <td {$valueStyle}>\n           {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n         </td>\n       </tr>\n\n      {foreach from=$dataArray item=value key=priceset}\n        <tr>\n        {if $priceset ||  $priceset == 0 || $value != \'\'}\n          <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n          <td>&nbsp;{$value|crmMoney:$currency}</td>\n        {else}\n          <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n          <td>&nbsp;{$value|crmMoney:$currency}</td>\n        {/if}\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n      <tr>\n        <td {$labelStyle}>\n          {ts}Total Tax Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n          {$totalTaxAmount|crmMoney:$currency}\n        </td>\n      </tr>\n     {/if}\n\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Amount{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$formValues.total_amount|crmMoney:$currency}\n      </td>\n     </tr>\n\n     {if !empty($receive_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Date Received{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receive_date|truncate:10:\'\'|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n      {if !empty($receipt_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Receipt Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receipt_date|truncate:10:\'\'|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($formValues.paidBy) and empty($formValues.hidden_CreditCard)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Paid By{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$formValues.paidBy}\n       </td>\n      </tr>\n      {if !empty($formValues.check_number)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Check Number{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.check_number}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n     {if !empty($formValues.trxn_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Transaction ID{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$formValues.trxn_id}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($ccContribution)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Billing Name and Address{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$billingName}<br />\n        {$address|nl2br}\n       </td>\n      </tr>\n      <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($softCreditTypes) and !empty($softCredits)}\n      {foreach from=$softCreditTypes item=softCreditType key=n}\n       <tr>\n        <th {$headerStyle}>\n         {$softCreditType}\n        </th>\n       </tr>\n       {foreach from=$softCredits.$n item=value key=label}\n         <tr>\n          <td {$labelStyle}>\n           {$label}\n          </td>\n          <td {$valueStyle}>\n           {$value}\n          </td>\n         </tr>\n        {/foreach}\n       {/foreach}\n     {/if}\n\n     {if !empty($customGroup)}\n      {foreach from=$customGroup item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {$customName}\n        </th>\n       </tr>\n       {foreach from=$value item=v key=n}\n        <tr>\n         <td {$labelStyle}>\n          {$n}\n         </td>\n         <td {$valueStyle}>\n          {$v}\n         </td>\n        </tr>\n       {/foreach}\n      {/foreach}\n     {/if}\n\n     {if !empty($formValues.product_name)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Premium Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {$formValues.product_name}\n       </td>\n      </tr>\n      {if $formValues.product_option}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Option{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.product_option}\n        </td>\n       </tr>\n      {/if}\n      {if $formValues.product_sku}\n       <tr>\n        <td {$labelStyle}>\n         {ts}SKU{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.product_sku}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($fulfilled_date)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Sent{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$fulfilled_date|truncate:10:\'\'|crmDate}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,825,'contribution_offline_receipt',1,0,0,NULL),
+ (6,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if !empty($formValues.receipt_text)}\n{$formValues.receipt_text}\n{else}{ts}Below you will find a receipt for this contribution.{/ts}{/if}\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Contributor{/ts}: {contact.display_name}\n{if !empty($formValues.contributionType_name)}\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{/if}\n{if $lineItem}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($getTaxDetails)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($getTaxDetails)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($getTaxDetails)}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")} {$line.tax_rate|string_format:\"%.2f\"} %   {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if} {/if}   {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($getTaxDetails) && !empty($dataArray)}\n{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset ||  $priceset == 0 || $value != \'\'}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}% : {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if} : {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n{ts}Total Tax Amount{/ts} : {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{ts}Total Amount{/ts} : {$formValues.total_amount|crmMoney:$currency}\n{if !empty($receive_date)}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if !empty($receipt_date)}\n{ts}Receipt Date{/ts}: {$receipt_date|truncate:10:\'\'|crmDate}\n{/if}\n{if !empty($formValues.paidBy) and empty($formValues.hidden_CreditCard)}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if !empty($formValues.check_number)}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{if !empty($formValues.trxn_id)}\n{ts}Transaction ID{/ts}: {$formValues.trxn_id}\n{/if}\n\n{if !empty($ccContribution)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($formValues.product_name)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$formValues.product_name}\n{if $formValues.product_option}\n{ts}Option{/ts}: {$formValues.product_option}\n{/if}\n{if $formValues.product_sku}\n{ts}SKU{/ts}: {$formValues.product_sku}\n{/if}\n{if !empty($fulfilled_date)}\n{ts}Sent{/ts}: {$fulfilled_date|crmDate}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if !empty($formValues.receipt_text)}\n     <p>{$formValues.receipt_text|htmlize}</p>\n    {else}\n     <p>{ts}Below you will find a receipt for this contribution.{/ts}</p>\n    {/if}\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Contribution Information{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Contributor Name{/ts}\n      </td>\n      <td {$valueStyle}>\n       {contact.display_name}\n      </td>\n     </tr>\n     <tr>\n      {if !empty($formValues.contributionType_name)}\n        <td {$labelStyle}>\n         {ts}Financial Type{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.contributionType_name}\n        </td>\n      {/if}\n     </tr>\n\n     {if !empty($lineItem) and empty($is_quick_config)}\n      {foreach from=$lineItem item=value key=priceset}\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n          <tr>\n           <th>{ts}Item{/ts}</th>\n           <th>{ts}Qty{/ts}</th>\n           <th>{ts}Each{/ts}</th>\n           {if !empty($getTaxDetails)}\n             <th>{ts}Subtotal{/ts}</th>\n             <th>{ts}Tax Rate{/ts}</th>\n             <th>{ts}Tax Amount{/ts}</th>\n           {/if}\n           <th>{ts}Total{/ts}</th>\n          </tr>\n          {foreach from=$value item=line}\n           <tr>\n            <td>\n            {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n            </td>\n            <td>\n             {$line.qty}\n            </td>\n            <td>\n             {$line.unit_price|crmMoney:$currency}\n            </td>\n            {if !empty($getTaxDetails)}\n              <td>\n                {$line.unit_price*$line.qty|crmMoney:$currency}\n              </td>\n              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                <td>\n                  {$line.tax_rate|string_format:\"%.2f\"}%\n                </td>\n                <td>\n                  {$line.tax_amount|crmMoney:$currency}\n                </td>\n              {else}\n                <td></td>\n                <td></td>\n              {/if}\n            {/if}\n            <td>\n             {$line.line_total+$line.tax_amount|crmMoney:$currency}\n            </td>\n           </tr>\n          {/foreach}\n         </table>\n        </td>\n       </tr>\n      {/foreach}\n     {/if}\n     {if !empty($getTaxDetails) && !empty($dataArray)}\n       <tr>\n         <td {$labelStyle}>\n           {ts} Amount before Tax : {/ts}\n         </td>\n         <td {$valueStyle}>\n           {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n         </td>\n       </tr>\n\n      {foreach from=$dataArray item=value key=priceset}\n        <tr>\n        {if $priceset ||  $priceset == 0 || $value != \'\'}\n          <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n          <td>&nbsp;{$value|crmMoney:$currency}</td>\n        {else}\n          <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n          <td>&nbsp;{$value|crmMoney:$currency}</td>\n        {/if}\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n      <tr>\n        <td {$labelStyle}>\n          {ts}Total Tax Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n          {$totalTaxAmount|crmMoney:$currency}\n        </td>\n      </tr>\n     {/if}\n\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Amount{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$formValues.total_amount|crmMoney:$currency}\n      </td>\n     </tr>\n\n     {if !empty($receive_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Date Received{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receive_date|truncate:10:\'\'|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n      {if !empty($receipt_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Receipt Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receipt_date|truncate:10:\'\'|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($formValues.paidBy) and empty($formValues.hidden_CreditCard)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Paid By{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$formValues.paidBy}\n       </td>\n      </tr>\n      {if !empty($formValues.check_number)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Check Number{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.check_number}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n     {if !empty($formValues.trxn_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Transaction ID{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$formValues.trxn_id}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($ccContribution)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Billing Name and Address{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$billingName}<br />\n        {$address|nl2br}\n       </td>\n      </tr>\n      <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($softCreditTypes) and !empty($softCredits)}\n      {foreach from=$softCreditTypes item=softCreditType key=n}\n       <tr>\n        <th {$headerStyle}>\n         {$softCreditType}\n        </th>\n       </tr>\n       {foreach from=$softCredits.$n item=value key=label}\n         <tr>\n          <td {$labelStyle}>\n           {$label}\n          </td>\n          <td {$valueStyle}>\n           {$value}\n          </td>\n         </tr>\n        {/foreach}\n       {/foreach}\n     {/if}\n\n     {if !empty($customGroup)}\n      {foreach from=$customGroup item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {$customName}\n        </th>\n       </tr>\n       {foreach from=$value item=v key=n}\n        <tr>\n         <td {$labelStyle}>\n          {$n}\n         </td>\n         <td {$valueStyle}>\n          {$v}\n         </td>\n        </tr>\n       {/foreach}\n      {/foreach}\n     {/if}\n\n     {if !empty($formValues.product_name)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Premium Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {$formValues.product_name}\n       </td>\n      </tr>\n      {if $formValues.product_option}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Option{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.product_option}\n        </td>\n       </tr>\n      {/if}\n      {if $formValues.product_sku}\n       <tr>\n        <td {$labelStyle}>\n         {ts}SKU{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$formValues.product_sku}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($fulfilled_date)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Sent{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$fulfilled_date|truncate:10:\'\'|crmDate}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,825,'contribution_offline_receipt',0,1,0,NULL),
+ (7,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n===========================================================\n{/if}\n\n{if $amount}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $lineItem and $priceSetID and empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($dataArray)}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}  {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney:$currency}\n{else}\n{ts}Amount{/ts}: {$amount|crmMoney:$currency} {if isset($amount_level) } - {$amount_level} {/if}\n{/if}\n{/if}\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if !empty($is_recur)}\n{ts}This is a recurring contribution.{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts}You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}\n\n{$updateSubscriptionUrl}\n\n{/if}\n{/if}\n\n{if $honor_block_is_active}\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n{elseif !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or Email*}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium )}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n  {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n  {$contact_phone}\n{/if}\n{/if}\n{if !empty($is_deductible) AND !empty($price)}\n\n{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n     {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if !empty($receipt_text)}\n     <p>{$receipt_text|htmlize}</p>\n    {/if}\n\n    {if $is_pay_later}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  </table>\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n     {if $amount}\n\n\n      <tr>\n       <th {$headerStyle}>\n        {ts}Contribution Information{/ts}\n       </th>\n      </tr>\n\n      {if !empty($lineItem) and !empty($priceSetID) and empty($is_quick_config)}\n\n       {foreach from=$lineItem item=value key=priceset}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n           <tr>\n            <th>{ts}Item{/ts}</th>\n            <th>{ts}Qty{/ts}</th>\n            <th>{ts}Each{/ts}</th>\n            {if !empty($dataArray)}\n             <th>{ts}Subtotal{/ts}</th>\n             <th>{ts}Tax Rate{/ts}</th>\n             <th>{ts}Tax Amount{/ts}</th>\n            {/if}\n            <th>{ts}Total{/ts}</th>\n           </tr>\n           {foreach from=$value item=line}\n            <tr>\n             <td>\n             {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n             </td>\n             <td>\n              {$line.qty}\n             </td>\n             <td>\n              {$line.unit_price|crmMoney:$currency}\n             </td>\n             {if !empty($getTaxDetails)}\n              <td>\n               {$line.unit_price*$line.qty|crmMoney:$currency}\n              </td>\n              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n               <td>\n                {$line.tax_rate|string_format:\"%.2f\"}%\n               </td>\n               <td>\n                {$line.tax_amount|crmMoney:$currency}\n               </td>\n              {else}\n               <td></td>\n               <td></td>\n              {/if}\n             {/if}\n             <td>\n              {$line.line_total+$line.tax_amount|crmMoney:$currency}\n             </td>\n            </tr>\n           {/foreach}\n          </table>\n         </td>\n        </tr>\n       {/foreach}\n       {if !empty($dataArray)}\n        <tr>\n         <td {$labelStyle}>\n          {ts} Amount before Tax : {/ts}\n         </td>\n         <td {$valueStyle}>\n          {$amount-$totalTaxAmount|crmMoney:$currency}\n         </td>\n        </tr>\n\n        {foreach from=$dataArray item=value key=priceset}\n         <tr>\n          {if $priceset || $priceset == 0}\n           <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {else}\n           <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {/if}\n         </tr>\n        {/foreach}\n\n       {/if}\n       {if isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Total Tax{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalTaxAmount|crmMoney:$currency}\n         </td>\n        </tr>\n       {/if}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney:$currency}\n        </td>\n       </tr>\n\n      {else}\n\n      {if !empty($totalTaxAmount)}\n         <tr>\n           <td {$labelStyle}>\n             {ts}Total Tax Amount{/ts}\n           </td>\n           <td {$valueStyle}>\n             {$totalTaxAmount|crmMoney:$currency}\n           </td>\n         </tr>\n       {/if}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney:$currency} {if isset($amount_level)} - {$amount_level}{/if}\n        </td>\n       </tr>\n\n      {/if}\n\n     {/if}\n\n\n     {if !empty($receive_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receive_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($is_monetary) and !empty($trxn_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Transaction #{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$trxn_id}\n       </td>\n      </tr>\n     {/if}\n\n    {if !empty($is_recur)}\n      <tr>\n        <td  colspan=\"2\" {$labelStyle}>\n          {ts}This is a recurring contribution.{/ts}\n          {if $cancelSubscriptionUrl}\n            {ts 1=$cancelSubscriptionUrl}You can cancel future contributions by <a href=\"%1\">visiting this web page</a>.{/ts}\n          {/if}\n        </td>\n      </tr>\n      {if $updateSubscriptionBillingUrl}\n        <tr>\n          <td colspan=\"2\" {$labelStyle}>\n            {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n        </tr>\n      {/if}\n      {if $updateSubscriptionUrl}\n        <tr>\n          <td colspan=\"2\" {$labelStyle}>\n            {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n        </tr>\n      {/if}\n    {/if}\n\n     {if $honor_block_is_active}\n      <tr>\n       <th {$headerStyle}>\n        {$soft_credit_type}\n       </th>\n      </tr>\n      {foreach from=$honoreeProfile item=value key=label}\n        <tr>\n         <td {$labelStyle}>\n          {$label}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n      {/foreach}\n      {elseif !empty($softCreditTypes) and !empty($softCredits)}\n      {foreach from=$softCreditTypes item=softCreditType key=n}\n       <tr>\n        <th {$headerStyle}>\n         {$softCreditType}\n        </th>\n       </tr>\n       {foreach from=$softCredits.$n item=value key=label}\n         <tr>\n          <td {$labelStyle}>\n           {$label}\n          </td>\n          <td {$valueStyle}>\n           {$value}\n          </td>\n         </tr>\n        {/foreach}\n       {/foreach}\n     {/if}\n\n     {if !empty($pcpBlock)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Personal Campaign Page{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Display In Honor Roll{/ts}\n       </td>\n       <td {$valueStyle}>\n        {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n       </td>\n      </tr>\n      {if $pcp_roll_nickname}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Nickname{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_roll_nickname}\n        </td>\n       </tr>\n      {/if}\n      {if $pcp_personal_note}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Personal Note{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_personal_note}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n     {if !empty($onBehalfProfile)}\n      <tr>\n       <th {$headerStyle}>\n        {$onBehalfProfile_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n        <tr>\n         <td {$labelStyle}>\n          {$onBehalfName}\n         </td>\n         <td {$valueStyle}>\n          {$onBehalfValue}\n         </td>\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if !empty($isShare)}\n      <tr>\n        <td colspan=\"2\" {$valueStyle}>\n            {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contributionPageId`\" a=true fe=1 h=1}{/capture}\n            {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}\n        </td>\n      </tr>\n     {/if}\n\n     {if !empty($billingName)}\n       <tr>\n        <th {$headerStyle}>\n         {ts}Billing Name and Address{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$billingName}<br />\n         {$address|nl2br}<br />\n         {$email}\n        </td>\n       </tr>\n     {elseif !empty($email)}\n       <tr>\n        <th {$headerStyle}>\n         {ts}Registered Email{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$email}\n        </td>\n       </tr>\n     {/if}\n\n     {if !empty($credit_card_type)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($selectPremium)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Premium Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {$product_name}\n       </td>\n      </tr>\n      {if $option}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Option{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$option}\n        </td>\n       </tr>\n      {/if}\n      {if $sku}\n       <tr>\n        <td {$labelStyle}>\n         {ts}SKU{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$sku}\n        </td>\n       </tr>\n      {/if}\n      {if $start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($contact_email) OR !empty($contact_phone)}\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <p>{ts}For information about this premium, contact:{/ts}</p>\n         {if !empty($contact_email)}\n          <p>{$contact_email}</p>\n         {/if}\n         {if !empty($contact_phone)}\n          <p>{$contact_phone}</p>\n         {/if}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($is_deductible) AND !empty($price)}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <p>{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n         </td>\n        </tr>\n      {/if}\n     {/if}\n\n     {if !empty($customPre)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPre_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPre item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customPost)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPost_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPost item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,826,'contribution_online_receipt',1,0,0,NULL),
+ (8,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n===========================================================\n{/if}\n\n{if $amount}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $lineItem and $priceSetID and empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($dataArray)}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}  {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney:$currency}\n{else}\n{ts}Amount{/ts}: {$amount|crmMoney:$currency} {if isset($amount_level) } - {$amount_level} {/if}\n{/if}\n{/if}\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if !empty($is_recur)}\n{ts}This is a recurring contribution.{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts}You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}\n\n{$updateSubscriptionUrl}\n\n{/if}\n{/if}\n\n{if $honor_block_is_active}\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n{elseif !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or Email*}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium )}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n  {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n  {$contact_phone}\n{/if}\n{/if}\n{if !empty($is_deductible) AND !empty($price)}\n\n{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n     {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if !empty($receipt_text)}\n     <p>{$receipt_text|htmlize}</p>\n    {/if}\n\n    {if $is_pay_later}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  </table>\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n     {if $amount}\n\n\n      <tr>\n       <th {$headerStyle}>\n        {ts}Contribution Information{/ts}\n       </th>\n      </tr>\n\n      {if !empty($lineItem) and !empty($priceSetID) and empty($is_quick_config)}\n\n       {foreach from=$lineItem item=value key=priceset}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n           <tr>\n            <th>{ts}Item{/ts}</th>\n            <th>{ts}Qty{/ts}</th>\n            <th>{ts}Each{/ts}</th>\n            {if !empty($dataArray)}\n             <th>{ts}Subtotal{/ts}</th>\n             <th>{ts}Tax Rate{/ts}</th>\n             <th>{ts}Tax Amount{/ts}</th>\n            {/if}\n            <th>{ts}Total{/ts}</th>\n           </tr>\n           {foreach from=$value item=line}\n            <tr>\n             <td>\n             {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n             </td>\n             <td>\n              {$line.qty}\n             </td>\n             <td>\n              {$line.unit_price|crmMoney:$currency}\n             </td>\n             {if !empty($getTaxDetails)}\n              <td>\n               {$line.unit_price*$line.qty|crmMoney:$currency}\n              </td>\n              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n               <td>\n                {$line.tax_rate|string_format:\"%.2f\"}%\n               </td>\n               <td>\n                {$line.tax_amount|crmMoney:$currency}\n               </td>\n              {else}\n               <td></td>\n               <td></td>\n              {/if}\n             {/if}\n             <td>\n              {$line.line_total+$line.tax_amount|crmMoney:$currency}\n             </td>\n            </tr>\n           {/foreach}\n          </table>\n         </td>\n        </tr>\n       {/foreach}\n       {if !empty($dataArray)}\n        <tr>\n         <td {$labelStyle}>\n          {ts} Amount before Tax : {/ts}\n         </td>\n         <td {$valueStyle}>\n          {$amount-$totalTaxAmount|crmMoney:$currency}\n         </td>\n        </tr>\n\n        {foreach from=$dataArray item=value key=priceset}\n         <tr>\n          {if $priceset || $priceset == 0}\n           <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {else}\n           <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {/if}\n         </tr>\n        {/foreach}\n\n       {/if}\n       {if isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Total Tax{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalTaxAmount|crmMoney:$currency}\n         </td>\n        </tr>\n       {/if}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney:$currency}\n        </td>\n       </tr>\n\n      {else}\n\n      {if !empty($totalTaxAmount)}\n         <tr>\n           <td {$labelStyle}>\n             {ts}Total Tax Amount{/ts}\n           </td>\n           <td {$valueStyle}>\n             {$totalTaxAmount|crmMoney:$currency}\n           </td>\n         </tr>\n       {/if}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney:$currency} {if isset($amount_level)} - {$amount_level}{/if}\n        </td>\n       </tr>\n\n      {/if}\n\n     {/if}\n\n\n     {if !empty($receive_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receive_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($is_monetary) and !empty($trxn_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Transaction #{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$trxn_id}\n       </td>\n      </tr>\n     {/if}\n\n    {if !empty($is_recur)}\n      <tr>\n        <td  colspan=\"2\" {$labelStyle}>\n          {ts}This is a recurring contribution.{/ts}\n          {if $cancelSubscriptionUrl}\n            {ts 1=$cancelSubscriptionUrl}You can cancel future contributions by <a href=\"%1\">visiting this web page</a>.{/ts}\n          {/if}\n        </td>\n      </tr>\n      {if $updateSubscriptionBillingUrl}\n        <tr>\n          <td colspan=\"2\" {$labelStyle}>\n            {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n        </tr>\n      {/if}\n      {if $updateSubscriptionUrl}\n        <tr>\n          <td colspan=\"2\" {$labelStyle}>\n            {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n        </tr>\n      {/if}\n    {/if}\n\n     {if $honor_block_is_active}\n      <tr>\n       <th {$headerStyle}>\n        {$soft_credit_type}\n       </th>\n      </tr>\n      {foreach from=$honoreeProfile item=value key=label}\n        <tr>\n         <td {$labelStyle}>\n          {$label}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n      {/foreach}\n      {elseif !empty($softCreditTypes) and !empty($softCredits)}\n      {foreach from=$softCreditTypes item=softCreditType key=n}\n       <tr>\n        <th {$headerStyle}>\n         {$softCreditType}\n        </th>\n       </tr>\n       {foreach from=$softCredits.$n item=value key=label}\n         <tr>\n          <td {$labelStyle}>\n           {$label}\n          </td>\n          <td {$valueStyle}>\n           {$value}\n          </td>\n         </tr>\n        {/foreach}\n       {/foreach}\n     {/if}\n\n     {if !empty($pcpBlock)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Personal Campaign Page{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Display In Honor Roll{/ts}\n       </td>\n       <td {$valueStyle}>\n        {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n       </td>\n      </tr>\n      {if $pcp_roll_nickname}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Nickname{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_roll_nickname}\n        </td>\n       </tr>\n      {/if}\n      {if $pcp_personal_note}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Personal Note{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_personal_note}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n     {if !empty($onBehalfProfile)}\n      <tr>\n       <th {$headerStyle}>\n        {$onBehalfProfile_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n        <tr>\n         <td {$labelStyle}>\n          {$onBehalfName}\n         </td>\n         <td {$valueStyle}>\n          {$onBehalfValue}\n         </td>\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if !empty($isShare)}\n      <tr>\n        <td colspan=\"2\" {$valueStyle}>\n            {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contributionPageId`\" a=true fe=1 h=1}{/capture}\n            {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}\n        </td>\n      </tr>\n     {/if}\n\n     {if !empty($billingName)}\n       <tr>\n        <th {$headerStyle}>\n         {ts}Billing Name and Address{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$billingName}<br />\n         {$address|nl2br}<br />\n         {$email}\n        </td>\n       </tr>\n     {elseif !empty($email)}\n       <tr>\n        <th {$headerStyle}>\n         {ts}Registered Email{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$email}\n        </td>\n       </tr>\n     {/if}\n\n     {if !empty($credit_card_type)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($selectPremium)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Premium Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {$product_name}\n       </td>\n      </tr>\n      {if $option}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Option{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$option}\n        </td>\n       </tr>\n      {/if}\n      {if $sku}\n       <tr>\n        <td {$labelStyle}>\n         {ts}SKU{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$sku}\n        </td>\n       </tr>\n      {/if}\n      {if $start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($contact_email) OR !empty($contact_phone)}\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <p>{ts}For information about this premium, contact:{/ts}</p>\n         {if !empty($contact_email)}\n          <p>{$contact_email}</p>\n         {/if}\n         {if !empty($contact_phone)}\n          <p>{$contact_phone}</p>\n         {/if}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($is_deductible) AND !empty($price)}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <p>{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n         </td>\n        </tr>\n      {/if}\n     {/if}\n\n     {if !empty($customPre)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPre_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPre item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customPost)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPost_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPost item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,826,'contribution_online_receipt',0,1,0,NULL),
+ (9,'Contributions - Invoice','{if $title}\n  {if $component}\n    {if $component == \'event\'}\n      {ts 1=$title}Event Registration Invoice: %1{/ts}\n    {else}\n      {ts 1=$title}Contribution Invoice: %1{/ts}\n    {/if}\n  {/if}\n{else}\n  {ts}Invoice{/ts}\n{/if}\n - {contact.display_name}\n','{ts}Contribution Invoice{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n      <title></title>\n  </head>\n  <body>\n  <div style=\"padding-top:100px;margin-right:50px;border-style: none;\">\n    {if $config->empoweredBy}\n      <table style=\"margin-top:5px;padding-bottom:50px;\" cellpadding=\"5\" cellspacing=\"0\">\n        <tr>\n          <td><img src=\"{$resourceBase}/i/civi99.png\" height=\"34px\" width=\"99px\"></td>\n        </tr>\n      </table>\n    {/if}\n      <table style=\"font-family: Arial, Verdana, sans-serif;\" width=\"100%\" height=\"100\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n        <tr>\n          <td width=\"30%\"><b><font size=\"4\" align=\"center\">{ts}INVOICE{/ts}</font></b></td>\n          <td width=\"50%\" valign=\"bottom\"><b><font size=\"1\" align=\"center\">{ts}Invoice Date:{/ts}</font></b></td>\n          <td valign=\"bottom\" style=\"white-space: nowrap\"><b><font size=\"1\" align=\"right\">{$domain_organization}</font></b></td>\n        </tr>\n        <tr>\n          {if $organization_name}\n            <td><font size=\"1\" align=\"center\">{$display_name}  ({$organization_name})</font></td>\n          {else}\n            <td><font size=\"1\" align=\"center\">{$display_name}</font></td>\n          {/if}\n          <td><font size=\"1\" align=\"right\">{$invoice_date}</font></td>\n          <td style=\"white-space: nowrap\">\n            <font size=\"1\" align=\"right\">\n              {if $domain_street_address }{$domain_street_address}{/if}\n              {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"center\">{$street_address} {$supplemental_address_1}</font></td>\n          <td><b><font size=\"1\" align=\"right\">{ts}Invoice Number:{/ts}</font></b></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n              {if $domain_state }{$domain_state}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"center\">{$supplemental_address_2} {$stateProvinceAbbreviation}</font></td>\n          <td><font size=\"1\" align=\"right\">{$invoice_number}</font></td>\n          <td style=\"white-space: nowrap\">\n            <font size=\"1\" align=\"right\">\n              {if $domain_city}{$domain_city}{/if}\n              {if $domain_postal_code }{$domain_postal_code}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"right\">{$city}  {$postal_code}</font></td>\n          <td height=\"10\"><b><font size=\"1\" align=\"right\">{ts}Reference:{/ts}</font></b></td>\n          <td><font size=\"1\" align=\"right\">{if $domain_country}{$domain_country}{/if}</font></td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"right\"> {$country}</font></td>\n          <td><font size=\"1\" align=\"right\">{if !empty($source)}{$source}{/if}</font></td>\n          <td valign=\"top\" style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">{if $domain_email}{$domain_email}{/if}</font> </td>\n        </tr>\n        <tr>\n          <td></td>\n          <td></td>\n          <td valign=\"top\"><font size=\"1\" align=\"right\">{if $domain_phone}{$domain_phone}{/if}</font> </td>\n        </tr>\n      </table>\n\n             <table style=\"padding-top:75px;font-family: Arial, Verdana, sans-serif;\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n              <tr>\n                <th style=\"text-align:left;font-weight:bold;width:100%\"><font size=\"1\">{ts}Description{/ts}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts}Quantity{/ts}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts}Unit Price{/ts}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{if isset($taxTerm)}{$taxTerm}{/if}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts 1=$currency}Amount %1{/ts}</font></th>\n              </tr>\n              {foreach from=$lineItem item=value key=priceset name=taxpricevalue}\n                {if $smarty.foreach.taxpricevalue.index eq 0}\n                {else}\n                {/if}\n                <tr>\n                  <td style=\"text-align:left;nowrap\"><font size=\"1\">\n                    {if $value.html_type eq \'Text\'}\n                      {$value.label}\n                    {else}\n                      {$value.field_title} - {$value.label}\n                    {/if}\n                    {if $value.description}\n                      <div>{$value.description|truncate:30:\"...\"}</div>\n                    {/if}\n                   </font>\n                  </td>\n                  <td style=\"text-align:right;\"><font size=\"1\">{$value.qty}</font></td>\n                  <td style=\"text-align:right;\"><font size=\"1\">{$value.unit_price|crmMoney:$currency}</font></td>\n                  {if $value.tax_amount != \'\'}\n                    <td style=\"text-align:right;\"><font size=\"1\">{if isset($value.tax_rate)}{$value.tax_rate}%{/if}</font></td>\n                  {else}\n                    <td style=\"text-align:right;\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}-{/ts}{/if}</font></td>\n                  {/if}\n                  <td style=\"text-align:right;\"><font size=\"1\">{$value.subTotal|crmMoney:$currency}</font></td>\n                </tr>\n              {/foreach}\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;\"><font size=\"1\">{ts}Sub Total{/ts}</font></td>\n                <td style=\"text-align:right;\"><font size=\"1\">{$subTotal|crmMoney:$currency}</font></td>\n              </tr>\n              {if !empty($dataArray)}\n              {foreach from=$dataArray item=value key=priceset}\n                <tr>\n                  <td colspan=\"3\"></td>\n                    {if $priceset}\n                      <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{/if}</font></td>\n                      <td style=\"text-align:right\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                    {elseif $priceset == 0}\n                      <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}TOTAL %1{/ts}{/if}</font></td>\n                      <td style=\"text-align:right\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                    {/if}\n                </tr>\n              {/foreach}\n              {/if}\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;white-space: nowrap\"><b><font size=\"1\">{ts 1=$currency}TOTAL %1{/ts}</font></b></td>\n                <td style=\"text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">\n                  {if $contribution_status_id == $refundedStatusId}\n                    {ts}Amount Credited{/ts}\n                  {else}\n                    {ts}Amount Paid{/ts}\n                  {/if}\n                 </font>\n                </td>\n                <td style=\"text-align:right;\"><font size=\"1\">{$amountPaid|crmMoney:$currency}</font></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td colspan=\"2\"><hr></hr></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;white-space: nowrap\" ><b><font size=\"1\">{ts}AMOUNT DUE:{/ts}</font></b></td>\n                <td style=\"text-align:right;\"><b><font size=\"1\">{$amountDue|crmMoney:$currency}</font></b></td>\n              </tr>\n\n              <br/><br/><br/>\n              <tr>\n                <td colspan=\"5\"></td>\n              </tr>\n              {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n                <tr>\n                  <td colspan=\"3\"><b><font size=\"1\" align=\"center\">{ts 1=$dueDate}DUE DATE: %1{/ts}</font></b></td>\n                  <td colspan=\"2\"></td>\n                </tr>\n              {/if}\n            </table>\n          </td>\n        </tr>\n      </table>\n\n      {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n        <table style=\"margin-top:5px;\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n          <tr>\n            <td><img src=\"{$resourceBase}/i/contribute/cut_line.png\" height=\"15\"></td>\n          </tr>\n        </table>\n\n        <table style=\"margin-top:5px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\" id=\"desc\">\n          <tr>\n            <td width=\"60%\"><b><font size=\"4\" align=\"right\">{ts}PAYMENT ADVICE{/ts}</font></b><br/><br/><font size=\"1\" align=\"left\"><b>{ts}To:{/ts}</b><div style=\"width:24em;word-wrap:break-word;\">\n              {$domain_organization}<br />\n              {$domain_street_address} {$domain_supplemental_address_1}<br />\n              {$domain_supplemental_address_2} {$domain_state}<br />\n              {$domain_city} {$domain_postal_code}<br />\n              {$domain_country}<br />\n              {$domain_email}</div>\n              {$domain_phone}<br />\n             </font><br/><br/><font size=\"1\" align=\"left\">{$notes}</font>\n            </td>\n            <td width=\"40%\">\n              <table cellpadding=\"5\" cellspacing=\"0\"  width=\"100%\" border=\"0\">\n                <tr>\n                  <td width=\"100%\"><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Customer:{/ts}</font></td>\n                  <td style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">{$display_name}</font></td>\n                </tr>\n                <tr>\n                  <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Invoice Number:{/ts}</font></td>\n                  <td><font size=\"1\" align=\"right\">{$invoice_number}</font></td>\n                </tr>\n                <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></td></tr>\n                {if $is_pay_later == 1}\n                  <tr>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Amount Due:{/ts}</font></td>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amount|crmMoney:$currency}</font></td>\n                  </tr>\n                {else}\n                  <tr>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Amount Due:{/ts}</font></td>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amountDue|crmMoney:$currency}</font></td>\n                  </tr>\n                {/if}\n                <tr>\n                  <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Due Date:{/ts}</font></td>\n                  <td><font size=\"1\" align=\"right\">{$dueDate}</font></td>\n                </tr>\n                <tr>\n                  <td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></td>\n                </tr>\n              </table>\n      {/if}\n\n      {if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}\n      {if $config->empoweredBy}\n        <table style=\"margin-top:2px;padding-left:7px;page-break-before: always;\">\n          <tr>\n            <td><img src=\"{$resourceBase}/i/civi99.png\" height=\"34px\" width=\"99px\"></td>\n          </tr>\n        </table>\n      {/if}\n\n    <center>\n      <table style=\"font-family: Arial, Verdana, sans-serif\" width=\"100%\" height=\"100\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\">\n        <tr>\n          <td style=\"padding-left:15px;\"><b><font size=\"4\" align=\"center\">{ts}CREDIT NOTE{/ts}</font></b></td>\n          <td style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Date:{/ts}</font></b></td>\n          <td><font size=\"1\" align=\"right\">{$domain_organization}</font></td>\n        </tr>\n        <tr>\n          {if $organization_name}\n            <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$display_name}  ({$organization_name})</font></td>\n          {else}\n            <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$display_name}</font></td>\n          {/if}\n          <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$invoice_date}</font></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_street_address }{$domain_street_address}{/if}\n              {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$street_address}   {$supplemental_address_1}</font></td>\n          <td style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Credit Note Number:{/ts}</font></b></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n              {if $domain_state }{$domain_state}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$supplemental_address_2}  {$stateProvinceAbbreviation}</font></td>\n          <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$creditnote_id}</font></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_city}{$domain_city}{/if}\n              {if $domain_postal_code }{$domain_postal_code}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"padding-left:17px;\"><font size=\"1\" align=\"right\">{$city}  {$postal_code}</font></td>\n          <td height=\"10\" style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Reference:{/ts}</font></b></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_country}{$domain_country}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td></td>\n          <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$source}</font></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_email}{$domain_email}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td></td>\n          <td></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_phone}{$domain_phone}{/if}\n           </font>\n          </td>\n        </tr>\n      </table>\n\n      <table style=\"margin-top:75px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\" id=\"desc\">\n        <tr>\n          <td colspan=\"2\" {$valueStyle}>\n            <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n              <tr>\n                <th style=\"padding-right:28px;text-align:left;font-weight:bold;width:200px;\"><font size=\"1\">{ts}Description{/ts}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts}Quantity{/ts}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts}Unit Price{/ts}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{if isset($taxTerm)}{$taxTerm}{/if}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts 1=$currency}Amount %1{/ts}</font></th>\n              </tr>\n              {foreach from=$lineItem item=value key=priceset name=pricevalue}\n                {if $smarty.foreach.pricevalue.index eq 0}\n                  <tr><td colspan=\"5\"><hr size=\"3\" style=\"color:#000;\"></hr></td></tr>\n                {else}\n                  <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n                {/if}\n                <tr>\n                  <td style =\"text-align:left;\"  >\n                    <font size=\"1\">\n                      {if $value.html_type eq \'Text\'}\n                        {$value.label}\n                      {else}\n                        {$value.field_title} - {$value.label}\n                      {/if}\n                      {if $value.description}\n                        <div>{$value.description|truncate:30:\"...\"}</div>\n                      {/if}\n                   </font>\n                  </td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$value.qty}</font></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$value.unit_price|crmMoney:$currency}</font></td>\n                  {if $value.tax_amount != \'\'}\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if isset($value.tax_rate)}{$value.tax_rate}%{/if}</font></td>\n                  {else}\n                    <td style=\"padding-left:28px;text-align:right\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}No %1{/ts}{/if}</font></td>\n                  {/if}\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$value.subTotal|crmMoney:$currency}</font></td>\n                </tr>\n              {/foreach}\n              <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{ts}Sub Total{/ts}</font></td>\n                <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$subTotal|crmMoney:$currency}</font></td>\n              </tr>\n              {if !empty($dataArray)}\n              {foreach from=$dataArray item=value key=priceset}\n                <tr>\n                  <td colspan=\"3\"></td>\n                  {if $priceset}\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{/if}</font></td>\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                  {elseif $priceset == 0}\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}TOTAL NO %1{/ts}{/if}</font></td>\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                  {/if}\n                </tr>\n              {/foreach}\n              {/if}\n              <tr>\n                <td colspan=\"3\"></td>\n                <td colspan=\"2\"><hr></hr></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{ts 1=$currency}TOTAL %1{/ts}</font></b></td>\n                <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n              </tr>\n              {if $is_pay_later == 0}\n                <tr>\n                  <td colspan=\"3\"></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{ts}LESS Credit to invoice(s){/ts}</font></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n                </tr>\n                <tr>\n                  <td colspan=\"3\"></td>\n                  <td colspan=\"2\"><hr></hr></td>\n                </tr>\n                <tr>\n                  <td colspan=\"3\"></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{ts}REMAINING CREDIT{/ts}</font></b></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{$amountDue|crmMoney:$currency}</font></b></td>\n                  <td style=\"padding-left:28px;\"><font size=\"1\" align=\"right\"></font></td>\n                </tr>\n              {/if}\n              <br/><br/><br/>\n              <tr>\n                <td colspan=\"3\"></td>\n              </tr>\n              <tr>\n                <td></td>\n                <td colspan=\"3\"></td>\n              </tr>\n            </table>\n          </td>\n        </tr>\n      </table>\n\n      <table width=\"100%\" style=\"margin-top:5px;padding-right:45px;\">\n        <tr>\n          <td><img src=\"{$resourceBase}/i/contribute/cut_line.png\" height=\"15\" width=\"100%\"></td>\n        </tr>\n      </table>\n\n      <table style=\"margin-top:6px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\" id=\"desc\">\n        <tr>\n          <td width=\"60%\"><font size=\"4\" align=\"right\"><b>{ts}CREDIT ADVICE{/ts}</b><br/><br /><div style=\"font-size:10px;max-width:300px;\">{ts}Please do not pay on this advice. Deduct the amount of this Credit Note from your next payment to us{/ts}</div><br/></font></td>\n          <td width=\"40%\">\n            <table align=\"right\">\n              <tr>\n                <td colspan=\"2\"></td>\n                <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Customer:{/ts}</font></td>\n                <td><font size=\"1\" align=\"right\">{$display_name}</font></td>\n              </tr>\n              <tr>\n                <td colspan=\"2\"></td>\n                <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Credit Note#:{/ts}</font></td>\n                <td><font size=\"1\" align=\"right\">{$creditnote_id}</font></td>\n              </tr>\n              <tr><td colspan=\"5\"style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n              <tr>\n                <td colspan=\"2\"></td>\n                <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Credit Amount:{/ts}</font></td>\n                <td width=\'50px\'><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amount|crmMoney:$currency}</font></td>\n              </tr>\n            </table>\n          </td>\n        </tr>\n      </table>\n    {/if}\n    </center>\n\n  </div>\n  </body>\n</html>\n',1,827,'contribution_invoice_receipt',1,0,0,NULL),
+ (10,'Contributions - Invoice','{if $title}\n  {if $component}\n    {if $component == \'event\'}\n      {ts 1=$title}Event Registration Invoice: %1{/ts}\n    {else}\n      {ts 1=$title}Contribution Invoice: %1{/ts}\n    {/if}\n  {/if}\n{else}\n  {ts}Invoice{/ts}\n{/if}\n - {contact.display_name}\n','{ts}Contribution Invoice{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n      <title></title>\n  </head>\n  <body>\n  <div style=\"padding-top:100px;margin-right:50px;border-style: none;\">\n    {if $config->empoweredBy}\n      <table style=\"margin-top:5px;padding-bottom:50px;\" cellpadding=\"5\" cellspacing=\"0\">\n        <tr>\n          <td><img src=\"{$resourceBase}/i/civi99.png\" height=\"34px\" width=\"99px\"></td>\n        </tr>\n      </table>\n    {/if}\n      <table style=\"font-family: Arial, Verdana, sans-serif;\" width=\"100%\" height=\"100\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n        <tr>\n          <td width=\"30%\"><b><font size=\"4\" align=\"center\">{ts}INVOICE{/ts}</font></b></td>\n          <td width=\"50%\" valign=\"bottom\"><b><font size=\"1\" align=\"center\">{ts}Invoice Date:{/ts}</font></b></td>\n          <td valign=\"bottom\" style=\"white-space: nowrap\"><b><font size=\"1\" align=\"right\">{$domain_organization}</font></b></td>\n        </tr>\n        <tr>\n          {if $organization_name}\n            <td><font size=\"1\" align=\"center\">{$display_name}  ({$organization_name})</font></td>\n          {else}\n            <td><font size=\"1\" align=\"center\">{$display_name}</font></td>\n          {/if}\n          <td><font size=\"1\" align=\"right\">{$invoice_date}</font></td>\n          <td style=\"white-space: nowrap\">\n            <font size=\"1\" align=\"right\">\n              {if $domain_street_address }{$domain_street_address}{/if}\n              {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"center\">{$street_address} {$supplemental_address_1}</font></td>\n          <td><b><font size=\"1\" align=\"right\">{ts}Invoice Number:{/ts}</font></b></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n              {if $domain_state }{$domain_state}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"center\">{$supplemental_address_2} {$stateProvinceAbbreviation}</font></td>\n          <td><font size=\"1\" align=\"right\">{$invoice_number}</font></td>\n          <td style=\"white-space: nowrap\">\n            <font size=\"1\" align=\"right\">\n              {if $domain_city}{$domain_city}{/if}\n              {if $domain_postal_code }{$domain_postal_code}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"right\">{$city}  {$postal_code}</font></td>\n          <td height=\"10\"><b><font size=\"1\" align=\"right\">{ts}Reference:{/ts}</font></b></td>\n          <td><font size=\"1\" align=\"right\">{if $domain_country}{$domain_country}{/if}</font></td>\n        </tr>\n        <tr>\n          <td><font size=\"1\" align=\"right\"> {$country}</font></td>\n          <td><font size=\"1\" align=\"right\">{if !empty($source)}{$source}{/if}</font></td>\n          <td valign=\"top\" style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">{if $domain_email}{$domain_email}{/if}</font> </td>\n        </tr>\n        <tr>\n          <td></td>\n          <td></td>\n          <td valign=\"top\"><font size=\"1\" align=\"right\">{if $domain_phone}{$domain_phone}{/if}</font> </td>\n        </tr>\n      </table>\n\n             <table style=\"padding-top:75px;font-family: Arial, Verdana, sans-serif;\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n              <tr>\n                <th style=\"text-align:left;font-weight:bold;width:100%\"><font size=\"1\">{ts}Description{/ts}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts}Quantity{/ts}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts}Unit Price{/ts}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{if isset($taxTerm)}{$taxTerm}{/if}</font></th>\n                <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts 1=$currency}Amount %1{/ts}</font></th>\n              </tr>\n              {foreach from=$lineItem item=value key=priceset name=taxpricevalue}\n                {if $smarty.foreach.taxpricevalue.index eq 0}\n                {else}\n                {/if}\n                <tr>\n                  <td style=\"text-align:left;nowrap\"><font size=\"1\">\n                    {if $value.html_type eq \'Text\'}\n                      {$value.label}\n                    {else}\n                      {$value.field_title} - {$value.label}\n                    {/if}\n                    {if $value.description}\n                      <div>{$value.description|truncate:30:\"...\"}</div>\n                    {/if}\n                   </font>\n                  </td>\n                  <td style=\"text-align:right;\"><font size=\"1\">{$value.qty}</font></td>\n                  <td style=\"text-align:right;\"><font size=\"1\">{$value.unit_price|crmMoney:$currency}</font></td>\n                  {if $value.tax_amount != \'\'}\n                    <td style=\"text-align:right;\"><font size=\"1\">{if isset($value.tax_rate)}{$value.tax_rate}%{/if}</font></td>\n                  {else}\n                    <td style=\"text-align:right;\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}-{/ts}{/if}</font></td>\n                  {/if}\n                  <td style=\"text-align:right;\"><font size=\"1\">{$value.subTotal|crmMoney:$currency}</font></td>\n                </tr>\n              {/foreach}\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;\"><font size=\"1\">{ts}Sub Total{/ts}</font></td>\n                <td style=\"text-align:right;\"><font size=\"1\">{$subTotal|crmMoney:$currency}</font></td>\n              </tr>\n              {if !empty($dataArray)}\n              {foreach from=$dataArray item=value key=priceset}\n                <tr>\n                  <td colspan=\"3\"></td>\n                    {if $priceset}\n                      <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{/if}</font></td>\n                      <td style=\"text-align:right\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                    {elseif $priceset == 0}\n                      <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}TOTAL %1{/ts}{/if}</font></td>\n                      <td style=\"text-align:right\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                    {/if}\n                </tr>\n              {/foreach}\n              {/if}\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;white-space: nowrap\"><b><font size=\"1\">{ts 1=$currency}TOTAL %1{/ts}</font></b></td>\n                <td style=\"text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">\n                  {if $contribution_status_id == $refundedStatusId}\n                    {ts}Amount Credited{/ts}\n                  {else}\n                    {ts}Amount Paid{/ts}\n                  {/if}\n                 </font>\n                </td>\n                <td style=\"text-align:right;\"><font size=\"1\">{$amountPaid|crmMoney:$currency}</font></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td colspan=\"2\"><hr></hr></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"text-align:right;white-space: nowrap\" ><b><font size=\"1\">{ts}AMOUNT DUE:{/ts}</font></b></td>\n                <td style=\"text-align:right;\"><b><font size=\"1\">{$amountDue|crmMoney:$currency}</font></b></td>\n              </tr>\n\n              <br/><br/><br/>\n              <tr>\n                <td colspan=\"5\"></td>\n              </tr>\n              {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n                <tr>\n                  <td colspan=\"3\"><b><font size=\"1\" align=\"center\">{ts 1=$dueDate}DUE DATE: %1{/ts}</font></b></td>\n                  <td colspan=\"2\"></td>\n                </tr>\n              {/if}\n            </table>\n          </td>\n        </tr>\n      </table>\n\n      {if $contribution_status_id == $pendingStatusId && $is_pay_later == 1}\n        <table style=\"margin-top:5px;\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n          <tr>\n            <td><img src=\"{$resourceBase}/i/contribute/cut_line.png\" height=\"15\"></td>\n          </tr>\n        </table>\n\n        <table style=\"margin-top:5px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\" id=\"desc\">\n          <tr>\n            <td width=\"60%\"><b><font size=\"4\" align=\"right\">{ts}PAYMENT ADVICE{/ts}</font></b><br/><br/><font size=\"1\" align=\"left\"><b>{ts}To:{/ts}</b><div style=\"width:24em;word-wrap:break-word;\">\n              {$domain_organization}<br />\n              {$domain_street_address} {$domain_supplemental_address_1}<br />\n              {$domain_supplemental_address_2} {$domain_state}<br />\n              {$domain_city} {$domain_postal_code}<br />\n              {$domain_country}<br />\n              {$domain_email}</div>\n              {$domain_phone}<br />\n             </font><br/><br/><font size=\"1\" align=\"left\">{$notes}</font>\n            </td>\n            <td width=\"40%\">\n              <table cellpadding=\"5\" cellspacing=\"0\"  width=\"100%\" border=\"0\">\n                <tr>\n                  <td width=\"100%\"><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Customer:{/ts}</font></td>\n                  <td style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">{$display_name}</font></td>\n                </tr>\n                <tr>\n                  <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Invoice Number:{/ts}</font></td>\n                  <td><font size=\"1\" align=\"right\">{$invoice_number}</font></td>\n                </tr>\n                <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></td></tr>\n                {if $is_pay_later == 1}\n                  <tr>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Amount Due:{/ts}</font></td>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amount|crmMoney:$currency}</font></td>\n                  </tr>\n                {else}\n                  <tr>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Amount Due:{/ts}</font></td>\n                    <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amountDue|crmMoney:$currency}</font></td>\n                  </tr>\n                {/if}\n                <tr>\n                  <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Due Date:{/ts}</font></td>\n                  <td><font size=\"1\" align=\"right\">{$dueDate}</font></td>\n                </tr>\n                <tr>\n                  <td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></td>\n                </tr>\n              </table>\n      {/if}\n\n      {if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}\n      {if $config->empoweredBy}\n        <table style=\"margin-top:2px;padding-left:7px;page-break-before: always;\">\n          <tr>\n            <td><img src=\"{$resourceBase}/i/civi99.png\" height=\"34px\" width=\"99px\"></td>\n          </tr>\n        </table>\n      {/if}\n\n    <center>\n      <table style=\"font-family: Arial, Verdana, sans-serif\" width=\"100%\" height=\"100\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\">\n        <tr>\n          <td style=\"padding-left:15px;\"><b><font size=\"4\" align=\"center\">{ts}CREDIT NOTE{/ts}</font></b></td>\n          <td style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Date:{/ts}</font></b></td>\n          <td><font size=\"1\" align=\"right\">{$domain_organization}</font></td>\n        </tr>\n        <tr>\n          {if $organization_name}\n            <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$display_name}  ({$organization_name})</font></td>\n          {else}\n            <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$display_name}</font></td>\n          {/if}\n          <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$invoice_date}</font></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_street_address }{$domain_street_address}{/if}\n              {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$street_address}   {$supplemental_address_1}</font></td>\n          <td style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Credit Note Number:{/ts}</font></b></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n              {if $domain_state }{$domain_state}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$supplemental_address_2}  {$stateProvinceAbbreviation}</font></td>\n          <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$creditnote_id}</font></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_city}{$domain_city}{/if}\n              {if $domain_postal_code }{$domain_postal_code}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"padding-left:17px;\"><font size=\"1\" align=\"right\">{$city}  {$postal_code}</font></td>\n          <td height=\"10\" style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Reference:{/ts}</font></b></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_country}{$domain_country}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td></td>\n          <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$source}</font></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_email}{$domain_email}{/if}\n           </font>\n          </td>\n        </tr>\n        <tr>\n          <td></td>\n          <td></td>\n          <td>\n            <font size=\"1\" align=\"right\">\n              {if $domain_phone}{$domain_phone}{/if}\n           </font>\n          </td>\n        </tr>\n      </table>\n\n      <table style=\"margin-top:75px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\" id=\"desc\">\n        <tr>\n          <td colspan=\"2\" {$valueStyle}>\n            <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n              <tr>\n                <th style=\"padding-right:28px;text-align:left;font-weight:bold;width:200px;\"><font size=\"1\">{ts}Description{/ts}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts}Quantity{/ts}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts}Unit Price{/ts}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{if isset($taxTerm)}{$taxTerm}{/if}</font></th>\n                <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts 1=$currency}Amount %1{/ts}</font></th>\n              </tr>\n              {foreach from=$lineItem item=value key=priceset name=pricevalue}\n                {if $smarty.foreach.pricevalue.index eq 0}\n                  <tr><td colspan=\"5\"><hr size=\"3\" style=\"color:#000;\"></hr></td></tr>\n                {else}\n                  <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n                {/if}\n                <tr>\n                  <td style =\"text-align:left;\"  >\n                    <font size=\"1\">\n                      {if $value.html_type eq \'Text\'}\n                        {$value.label}\n                      {else}\n                        {$value.field_title} - {$value.label}\n                      {/if}\n                      {if $value.description}\n                        <div>{$value.description|truncate:30:\"...\"}</div>\n                      {/if}\n                   </font>\n                  </td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$value.qty}</font></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$value.unit_price|crmMoney:$currency}</font></td>\n                  {if $value.tax_amount != \'\'}\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if isset($value.tax_rate)}{$value.tax_rate}%{/if}</font></td>\n                  {else}\n                    <td style=\"padding-left:28px;text-align:right\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}No %1{/ts}{/if}</font></td>\n                  {/if}\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$value.subTotal|crmMoney:$currency}</font></td>\n                </tr>\n              {/foreach}\n              <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{ts}Sub Total{/ts}</font></td>\n                <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$subTotal|crmMoney:$currency}</font></td>\n              </tr>\n              {if !empty($dataArray)}\n              {foreach from=$dataArray item=value key=priceset}\n                <tr>\n                  <td colspan=\"3\"></td>\n                  {if $priceset}\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{/if}</font></td>\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                  {elseif $priceset == 0}\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if isset($taxTerm)}{ts 1=$taxTerm}TOTAL NO %1{/ts}{/if}</font></td>\n                    <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\" align=\"right\">{$value|crmMoney:$currency}</font> </td>\n                  {/if}\n                </tr>\n              {/foreach}\n              {/if}\n              <tr>\n                <td colspan=\"3\"></td>\n                <td colspan=\"2\"><hr></hr></td>\n              </tr>\n              <tr>\n                <td colspan=\"3\"></td>\n                <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{ts 1=$currency}TOTAL %1{/ts}</font></b></td>\n                <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n              </tr>\n              {if $is_pay_later == 0}\n                <tr>\n                  <td colspan=\"3\"></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{ts}LESS Credit to invoice(s){/ts}</font></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n                </tr>\n                <tr>\n                  <td colspan=\"3\"></td>\n                  <td colspan=\"2\"><hr></hr></td>\n                </tr>\n                <tr>\n                  <td colspan=\"3\"></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{ts}REMAINING CREDIT{/ts}</font></b></td>\n                  <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{$amountDue|crmMoney:$currency}</font></b></td>\n                  <td style=\"padding-left:28px;\"><font size=\"1\" align=\"right\"></font></td>\n                </tr>\n              {/if}\n              <br/><br/><br/>\n              <tr>\n                <td colspan=\"3\"></td>\n              </tr>\n              <tr>\n                <td></td>\n                <td colspan=\"3\"></td>\n              </tr>\n            </table>\n          </td>\n        </tr>\n      </table>\n\n      <table width=\"100%\" style=\"margin-top:5px;padding-right:45px;\">\n        <tr>\n          <td><img src=\"{$resourceBase}/i/contribute/cut_line.png\" height=\"15\" width=\"100%\"></td>\n        </tr>\n      </table>\n\n      <table style=\"margin-top:6px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\" id=\"desc\">\n        <tr>\n          <td width=\"60%\"><font size=\"4\" align=\"right\"><b>{ts}CREDIT ADVICE{/ts}</b><br/><br /><div style=\"font-size:10px;max-width:300px;\">{ts}Please do not pay on this advice. Deduct the amount of this Credit Note from your next payment to us{/ts}</div><br/></font></td>\n          <td width=\"40%\">\n            <table align=\"right\">\n              <tr>\n                <td colspan=\"2\"></td>\n                <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Customer:{/ts}</font></td>\n                <td><font size=\"1\" align=\"right\">{$display_name}</font></td>\n              </tr>\n              <tr>\n                <td colspan=\"2\"></td>\n                <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Credit Note#:{/ts}</font></td>\n                <td><font size=\"1\" align=\"right\">{$creditnote_id}</font></td>\n              </tr>\n              <tr><td colspan=\"5\"style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n              <tr>\n                <td colspan=\"2\"></td>\n                <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Credit Amount:{/ts}</font></td>\n                <td width=\'50px\'><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amount|crmMoney:$currency}</font></td>\n              </tr>\n            </table>\n          </td>\n        </tr>\n      </table>\n    {/if}\n    </center>\n\n  </div>\n  </body>\n</html>\n',1,827,'contribution_invoice_receipt',0,1,0,NULL),
+ (11,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if $recur_txnType eq \'START\'}\n{if $auto_renew_membership}\n{ts}Thanks for your auto renew membership sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s).{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n{else}\n{ts}Thanks for your recurring contribution sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit 3=$recur_installments}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments } {ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.\n\n{ts}Start Date{/ts}:  {$recur_start_date|crmDate}\n\n{if $cancelSubscriptionUrl}\n{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n{/if}\n\n{elseif $recur_txnType eq \'END\'}\n{if $auto_renew_membership}\n{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}\n\n\n{else}\n{ts}Your recurring contribution term has ended.{/ts}\n\n\n{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}\n\n\n==================================================\n{ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n\n==================================================\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts}End Date{/ts}: {$recur_end_date|crmDate}\n\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n   </td>\n  </tr>\n\n  <tr>\n   <td>&nbsp;</td>\n  </tr>\n\n    {if $recur_txnType eq \'START\'}\n     {if $auto_renew_membership}\n       <tr>\n        <td>\n         <p>{ts}Thanks for your auto renew membership sign-up.{/ts}</p>\n         <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}</p>\n        </td>\n       </tr>\n       {if $cancelSubscriptionUrl}\n       <tr>\n         <td {$labelStyle}>\n           {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n         </td>\n       </tr>\n       {/if}\n       {if $updateSubscriptionBillingUrl}\n         <tr>\n          <td {$labelStyle}>\n           {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n         </tr>\n       {/if}\n     {else}\n      <tr>\n       <td>\n        <p>{ts}Thanks for your recurring contribution sign-up.{/ts}</p>\n        <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments }{ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.</p>\n        <p>{ts}Start Date{/ts}: {$recur_start_date|crmDate}</p>\n       </td>\n      </tr>\n      {if $cancelSubscriptionUrl}\n      <tr>\n        <td {$labelStyle}>\n          {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by <a href=\"%1\">visiting this web page</a>.{/ts}\n        </td>\n      </tr>\n      {/if}\n      {if $updateSubscriptionBillingUrl}\n        <tr>\n          <td {$labelStyle}>\n            {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n        </tr>\n      {/if}\n      {if $updateSubscriptionUrl}\n      <tr>\n        <td {$labelStyle}>\n          {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n        </td>\n      </tr>\n      {/if}\n     {/if}\n\n    {elseif $recur_txnType eq \'END\'}\n\n     {if $auto_renew_membership}\n      <tr>\n       <td>\n        <p>{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}</p>\n       </td>\n      </tr>\n     {else}\n      <tr>\n       <td>\n        <p>{ts}Your recurring contribution term has ended.{/ts}</p>\n        <p>{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}</p>\n       </td>\n      </tr>\n      <tr>\n       <td>\n     <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n      <tr>\n       <th {$headerStyle}>\n        {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Start Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$recur_start_date|crmDate}\n       </td>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}End Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$recur_end_date|crmDate}\n       </td>\n      </tr>\n     </table>\n       </td>\n      </tr>\n\n     {/if}\n    {/if}\n\n </table>\n</center>\n\n</body>\n</html>\n',1,828,'contribution_recurring_notify',1,0,0,NULL),
+ (12,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if $recur_txnType eq \'START\'}\n{if $auto_renew_membership}\n{ts}Thanks for your auto renew membership sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s).{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n{else}\n{ts}Thanks for your recurring contribution sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit 3=$recur_installments}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments } {ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.\n\n{ts}Start Date{/ts}:  {$recur_start_date|crmDate}\n\n{if $cancelSubscriptionUrl}\n{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n{/if}\n\n{elseif $recur_txnType eq \'END\'}\n{if $auto_renew_membership}\n{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}\n\n\n{else}\n{ts}Your recurring contribution term has ended.{/ts}\n\n\n{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}\n\n\n==================================================\n{ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n\n==================================================\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts}End Date{/ts}: {$recur_end_date|crmDate}\n\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n   </td>\n  </tr>\n\n  <tr>\n   <td>&nbsp;</td>\n  </tr>\n\n    {if $recur_txnType eq \'START\'}\n     {if $auto_renew_membership}\n       <tr>\n        <td>\n         <p>{ts}Thanks for your auto renew membership sign-up.{/ts}</p>\n         <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}</p>\n        </td>\n       </tr>\n       {if $cancelSubscriptionUrl}\n       <tr>\n         <td {$labelStyle}>\n           {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n         </td>\n       </tr>\n       {/if}\n       {if $updateSubscriptionBillingUrl}\n         <tr>\n          <td {$labelStyle}>\n           {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n         </tr>\n       {/if}\n     {else}\n      <tr>\n       <td>\n        <p>{ts}Thanks for your recurring contribution sign-up.{/ts}</p>\n        <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments }{ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.</p>\n        <p>{ts}Start Date{/ts}: {$recur_start_date|crmDate}</p>\n       </td>\n      </tr>\n      {if $cancelSubscriptionUrl}\n      <tr>\n        <td {$labelStyle}>\n          {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by <a href=\"%1\">visiting this web page</a>.{/ts}\n        </td>\n      </tr>\n      {/if}\n      {if $updateSubscriptionBillingUrl}\n        <tr>\n          <td {$labelStyle}>\n            {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n        </tr>\n      {/if}\n      {if $updateSubscriptionUrl}\n      <tr>\n        <td {$labelStyle}>\n          {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n        </td>\n      </tr>\n      {/if}\n     {/if}\n\n    {elseif $recur_txnType eq \'END\'}\n\n     {if $auto_renew_membership}\n      <tr>\n       <td>\n        <p>{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}</p>\n       </td>\n      </tr>\n     {else}\n      <tr>\n       <td>\n        <p>{ts}Your recurring contribution term has ended.{/ts}</p>\n        <p>{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}</p>\n       </td>\n      </tr>\n      <tr>\n       <td>\n     <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n      <tr>\n       <th {$headerStyle}>\n        {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Start Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$recur_start_date|crmDate}\n       </td>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}End Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$recur_end_date|crmDate}\n       </td>\n      </tr>\n     </table>\n       </td>\n      </tr>\n\n     {/if}\n    {/if}\n\n </table>\n</center>\n\n</body>\n</html>\n',1,828,'contribution_recurring_notify',0,1,0,NULL),
+ (13,'Contributions - Recurring Cancellation Notification','{ts}Recurring Contribution Cancellation Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,829,'contribution_recurring_cancelled',1,0,0,NULL),
+ (14,'Contributions - Recurring Cancellation Notification','{ts}Recurring Contribution Cancellation Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Your recurring contribution of %1, every %2 %3 has been cancelled as requested.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,829,'contribution_recurring_cancelled',0,1,0,NULL),
+ (15,'Contributions - Recurring Billing Updates','{ts}Recurring Contribution Billing Updates{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n    <tr>\n        <th {$headerStyle}>\n         {ts}Billing Name and Address{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$billingName}<br />\n         {$address|nl2br}<br />\n         {$email}\n        </td>\n       </tr>\n        <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n            {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n        </td>\n       </tr>\n  </table>\n</center>\n\n</body>\n</html>\n',1,830,'contribution_recurring_billing',1,0,0,NULL),
+ (16,'Contributions - Recurring Billing Updates','{ts}Recurring Contribution Billing Updates{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n    <tr>\n        <th {$headerStyle}>\n         {ts}Billing Name and Address{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$billingName}<br />\n         {$address|nl2br}<br />\n         {$email}\n        </td>\n       </tr>\n        <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n            {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n        </td>\n       </tr>\n  </table>\n</center>\n\n</body>\n</html>\n',1,830,'contribution_recurring_billing',0,1,0,NULL),
+ (17,'Contributions - Recurring Updates','{ts}Recurring Contribution Update Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}Your recurring contribution has been updated as requested:{/ts}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}\n{if $installments}{ts 1=$installments} for %1 installments.{/ts}{/if}\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}Your recurring contribution has been updated as requested:{/ts}\n    <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}{if $installments}{ts 1=$installments} for %1 installments{/ts}{/if}.</p>\n\n    <p>{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,831,'contribution_recurring_edit',1,0,0,NULL),
+ (18,'Contributions - Recurring Updates','{ts}Recurring Contribution Update Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}Your recurring contribution has been updated as requested:{/ts}\n\n{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}\n{if $installments}{ts 1=$installments} for %1 installments.{/ts}{/if}\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}Your recurring contribution has been updated as requested:{/ts}\n    <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2 %3(s){/ts}{if $installments}{ts 1=$installments} for %1 installments{/ts}{/if}.</p>\n\n    <p>{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,831,'contribution_recurring_edit',0,1,0,NULL),
+ (19,'Personal Campaign Pages - Admin Notification','{ts}Personal Campaign Page Notification{/ts} - {contact.display_name}\n','===========================================================\n{ts}Personal Campaign Page Notification{/ts}\n\n===========================================================\n{ts}Action{/ts}: {if $mode EQ \'Update\'}{ts}Updated personal campaign page{/ts}{else}{ts}New personal campaign page{/ts}{/if}\n{ts}Personal Campaign Page Title{/ts}: {$pcpTitle}\n{ts}Current Status{/ts}: {$pcpStatus}\n{capture assign=pcpURL}{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1 fe=1}{/capture}\n{ts}View Page{/ts}:\n>> {$pcpURL}\n\n{ts}Supporter{/ts}: {$supporterName}\n>> {$supporterUrl}\n\n{ts}Linked to Contribution Page{/ts}: {$contribPageTitle}\n>> {$contribPageUrl}\n\n{ts}Manage Personal Campaign Pages{/ts}:\n>> {$managePCPUrl}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=pcpURL     }{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1 fe=1}{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Personal Campaign Page Notification{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Action{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {if $mode EQ \'Update\'}\n        {ts}Updated personal campaign page{/ts}\n       {else}\n        {ts}New personal campaign page{/ts}\n       {/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Personal Campaign Page Title{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$pcpTitle}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Current Status{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$pcpStatus}\n      </td>\n     </tr>\n\n     <tr>\n      <td {$labelStyle}>\n       <a href=\"{$pcpURL}\">{ts}View Page{/ts}</a>\n      </td>\n      <td></td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Supporter{/ts}\n      </td>\n      <td {$valueStyle}>\n       <a href=\"{$supporterUrl}\">{$supporterName}</a>\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Linked to Contribution Page{/ts}\n      </td>\n      <td {$valueStyle}>\n       <a href=\"{$contribPageUrl}\">{$contribPageTitle}</a>\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       <a href=\"{$managePCPUrl}\">{ts}Manage Personal Campaign Pages{/ts}</a>\n      </td>\n      <td></td>\n     </tr>\n\n    </table>\n   </td>\n  </tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,832,'pcp_notify',1,0,0,NULL),
+ (20,'Personal Campaign Pages - Admin Notification','{ts}Personal Campaign Page Notification{/ts} - {contact.display_name}\n','===========================================================\n{ts}Personal Campaign Page Notification{/ts}\n\n===========================================================\n{ts}Action{/ts}: {if $mode EQ \'Update\'}{ts}Updated personal campaign page{/ts}{else}{ts}New personal campaign page{/ts}{/if}\n{ts}Personal Campaign Page Title{/ts}: {$pcpTitle}\n{ts}Current Status{/ts}: {$pcpStatus}\n{capture assign=pcpURL}{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1 fe=1}{/capture}\n{ts}View Page{/ts}:\n>> {$pcpURL}\n\n{ts}Supporter{/ts}: {$supporterName}\n>> {$supporterUrl}\n\n{ts}Linked to Contribution Page{/ts}: {$contribPageTitle}\n>> {$contribPageUrl}\n\n{ts}Manage Personal Campaign Pages{/ts}:\n>> {$managePCPUrl}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=pcpURL     }{crmURL p=\"civicrm/pcp/info\" q=\"reset=1&id=`$pcpId`\" h=0 a=1 fe=1}{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Personal Campaign Page Notification{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Action{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {if $mode EQ \'Update\'}\n        {ts}Updated personal campaign page{/ts}\n       {else}\n        {ts}New personal campaign page{/ts}\n       {/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Personal Campaign Page Title{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$pcpTitle}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Current Status{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$pcpStatus}\n      </td>\n     </tr>\n\n     <tr>\n      <td {$labelStyle}>\n       <a href=\"{$pcpURL}\">{ts}View Page{/ts}</a>\n      </td>\n      <td></td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Supporter{/ts}\n      </td>\n      <td {$valueStyle}>\n       <a href=\"{$supporterUrl}\">{$supporterName}</a>\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Linked to Contribution Page{/ts}\n      </td>\n      <td {$valueStyle}>\n       <a href=\"{$contribPageUrl}\">{$contribPageTitle}</a>\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       <a href=\"{$managePCPUrl}\">{ts}Manage Personal Campaign Pages{/ts}</a>\n      </td>\n      <td></td>\n     </tr>\n\n    </table>\n   </td>\n  </tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,832,'pcp_notify',0,1,0,NULL),
+ (21,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}\n','{if $pcpStatus eq \'Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been approved and is now live.{/ts}\n\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n{if $isTellFriendEnabled}\n\n{ts}After logging in, you can use this form to promote your fundraising page{/ts}:\n{$pcpTellFriendURL}\n\n{/if}\n\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{* Rejected message *}\n{elseif $pcpStatus eq \'Not Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}\n\n{if $pcpNotifyEmailAddress}\n\n{ts}Please contact our site administrator for more information{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n\n    <h1>{ts}Your Personal Campaign Page{/ts}</h1>\n\n    {if $pcpStatus eq \'Approved\'}\n\n     <p>{ts}Your personal campaign page has been approved and is now live.{/ts}</p>\n     <p>{ts}Whenever you want to preview, update or promote your page{/ts}:</p>\n     <ol>\n      <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n      <li><a href=\"{$pcpInfoURL}\">{ts}Go to your page{/ts}</a></li>\n     </ol>\n     <p>{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}</p>\n\n     {if $isTellFriendEnabled}\n      <p><a href=\"{$pcpTellFriendURL}\">{ts}After logging in, you can use this form to promote your fundraising page{/ts}</a></p>\n     {/if}\n\n     {if $pcpNotifyEmailAddress}\n      <p>{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}</p>\n     {/if}\n\n    {elseif $pcpStatus eq \'Not Approved\'}\n\n     <p>{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}</p>\n     {if $pcpNotifyEmailAddress}\n      <p>{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}</p>\n     {/if}\n\n    {/if}\n\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,833,'pcp_status_change',1,0,0,NULL),
+ (22,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}\n','{if $pcpStatus eq \'Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been approved and is now live.{/ts}\n\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n{if $isTellFriendEnabled}\n\n{ts}After logging in, you can use this form to promote your fundraising page{/ts}:\n{$pcpTellFriendURL}\n\n{/if}\n\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{* Rejected message *}\n{elseif $pcpStatus eq \'Not Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}\n\n{if $pcpNotifyEmailAddress}\n\n{ts}Please contact our site administrator for more information{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n\n    <h1>{ts}Your Personal Campaign Page{/ts}</h1>\n\n    {if $pcpStatus eq \'Approved\'}\n\n     <p>{ts}Your personal campaign page has been approved and is now live.{/ts}</p>\n     <p>{ts}Whenever you want to preview, update or promote your page{/ts}:</p>\n     <ol>\n      <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n      <li><a href=\"{$pcpInfoURL}\">{ts}Go to your page{/ts}</a></li>\n     </ol>\n     <p>{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}</p>\n\n     {if $isTellFriendEnabled}\n      <p><a href=\"{$pcpTellFriendURL}\">{ts}After logging in, you can use this form to promote your fundraising page{/ts}</a></p>\n     {/if}\n\n     {if $pcpNotifyEmailAddress}\n      <p>{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}</p>\n     {/if}\n\n    {elseif $pcpStatus eq \'Not Approved\'}\n\n     <p>{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}</p>\n     {if $pcpNotifyEmailAddress}\n      <p>{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}</p>\n     {/if}\n\n    {/if}\n\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,833,'pcp_status_change',0,1,0,NULL),
+ (23,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}\n\n{if $pcpStatus eq \'Approved\'}\n====================\n{ts}Promoting Your Page{/ts}\n\n====================\n{if $isTellFriendEnabled}\n\n{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:\n\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser and follow the prompts{/ts}:\n{$pcpTellFriendURL}\n{else}\n\n{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts}\n{ts}Include this link to your fundraising page in your emails{/ts}:\n{$pcpInfoURL}\n{/if}\n\n===================\n{ts}Managing Your Page{/ts}\n\n===================\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n\n{elseif $pcpStatus EQ \'Waiting Review\'}\n{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}\n\n\n{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}\n\n\n{ts}You can still preview your page prior to approval{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser{/ts}:\n{$pcpInfoURL}\n\n{/if}\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}</p>\n   </td>\n  </tr>\n\n  {if $pcpStatus eq \'Approved\'}\n\n    <tr>\n     <td>\n      <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n       <tr>\n        <th {$headerStyle}>\n         {ts}Promoting Your Page{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {if $isTellFriendEnabled}\n          <p>{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:</p>\n          <ol>\n           <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n           <li><a href=\"{$pcpTellFriendURL}\">{ts}Click this link and follow the prompts{/ts}</a></li>\n          </ol>\n         {else}\n          <p>{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts} {ts}Include this link to your fundraising page in your emails{/ts}: {$pcpInfoURL}</p>\n         {/if}\n        </td>\n       </tr>\n       <tr>\n        <th {$headerStyle}>\n         {ts}Managing Your Page{/ts}\n        </th>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <p>{ts}Whenever you want to preview, update or promote your page{/ts}:</p>\n         <ol>\n          <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n          <li><a href=\"{$pcpInfoURL}\">{ts}Go to your page{/ts}</a></li>\n         </ol>\n         <p>{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}</p>\n        </td>\n       </tr>\n       </tr>\n      </table>\n     </td>\n    </tr>\n\n   {elseif $pcpStatus EQ \'Waiting Review\'}\n\n    <tr>\n     <td>\n      <p>{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}</p>\n      <p>{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}</p>\n      <p>{ts}You can still preview your page prior to approval{/ts}:</p>\n      <ol>\n       <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n       <li><a href=\"{$pcpInfoURL}\">{ts}Click this link{/ts}</a></li>\n      </ol>\n     </td>\n    </tr>\n\n   {/if}\n\n   {if $pcpNotifyEmailAddress}\n    <tr>\n     <td>\n      <p>{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}</p>\n     </td>\n    </tr>\n   {/if}\n\n </table>\n</center>\n\n</body>\n</html>\n',1,834,'pcp_supporter_notify',1,0,0,NULL),
+ (24,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}\n\n{if $pcpStatus eq \'Approved\'}\n====================\n{ts}Promoting Your Page{/ts}\n\n====================\n{if $isTellFriendEnabled}\n\n{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:\n\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser and follow the prompts{/ts}:\n{$pcpTellFriendURL}\n{else}\n\n{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts}\n{ts}Include this link to your fundraising page in your emails{/ts}:\n{$pcpInfoURL}\n{/if}\n\n===================\n{ts}Managing Your Page{/ts}\n\n===================\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n\n{elseif $pcpStatus EQ \'Waiting Review\'}\n{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}\n\n\n{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}\n\n\n{ts}You can still preview your page prior to approval{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser{/ts}:\n{$pcpInfoURL}\n\n{/if}\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}</p>\n   </td>\n  </tr>\n\n  {if $pcpStatus eq \'Approved\'}\n\n    <tr>\n     <td>\n      <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n       <tr>\n        <th {$headerStyle}>\n         {ts}Promoting Your Page{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {if $isTellFriendEnabled}\n          <p>{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:</p>\n          <ol>\n           <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n           <li><a href=\"{$pcpTellFriendURL}\">{ts}Click this link and follow the prompts{/ts}</a></li>\n          </ol>\n         {else}\n          <p>{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts} {ts}Include this link to your fundraising page in your emails{/ts}: {$pcpInfoURL}</p>\n         {/if}\n        </td>\n       </tr>\n       <tr>\n        <th {$headerStyle}>\n         {ts}Managing Your Page{/ts}\n        </th>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <p>{ts}Whenever you want to preview, update or promote your page{/ts}:</p>\n         <ol>\n          <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n          <li><a href=\"{$pcpInfoURL}\">{ts}Go to your page{/ts}</a></li>\n         </ol>\n         <p>{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}</p>\n        </td>\n       </tr>\n       </tr>\n      </table>\n     </td>\n    </tr>\n\n   {elseif $pcpStatus EQ \'Waiting Review\'}\n\n    <tr>\n     <td>\n      <p>{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}</p>\n      <p>{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}</p>\n      <p>{ts}You can still preview your page prior to approval{/ts}:</p>\n      <ol>\n       <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n       <li><a href=\"{$pcpInfoURL}\">{ts}Click this link{/ts}</a></li>\n      </ol>\n     </td>\n    </tr>\n\n   {/if}\n\n   {if $pcpNotifyEmailAddress}\n    <tr>\n     <td>\n      <p>{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}</p>\n     </td>\n    </tr>\n   {/if}\n\n </table>\n</center>\n\n</body>\n</html>\n',1,834,'pcp_supporter_notify',0,1,0,NULL),
+ (25,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts} - {contact.display_name}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\n===========================================================\n{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}You have received a donation at your personal page{/ts}: {$page_title}\n>> {$pcpInfoURL}\n\n{ts}Your fundraising total has been updated.{/ts}\n{ts}The donor\'s information is listed below.  You can choose to contact them and convey your thanks if you wish.{/ts}\n{if $is_honor_roll_enabled}\n    {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}\n{/if}\n\n{ts}Received{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n  {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n  <p>{ts}You have received a donation at your personal page{/ts}: <a href=\"{$pcpInfoURL}\">{$page_title}</a></p>\n  <p>{ts}Your fundraising total has been updated.{/ts}<br/>\n    {ts}The donor\'s information is listed below.  You can choose to contact them and convey your thanks if you wish.{/ts} <br/>\n    {if $is_honor_roll_enabled}\n      {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}<br/>\n    {/if}\n  </p>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n    <tr><td>{ts}Received{/ts}:</td><td> {$receive_date|crmDate}</td></tr>\n    <tr><td>{ts}Amount{/ts}:</td><td> {$total_amount|crmMoney:$currency}</td></tr>\n    <tr><td>{ts}Name{/ts}:</td><td> {$donors_display_name}</td></tr>\n    <tr><td>{ts}Email{/ts}:</td><td> {$donors_email}</td></tr>\n  </table>\n</body>\n</html>\n',1,835,'pcp_owner_notify',1,0,0,NULL),
+ (26,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts} - {contact.display_name}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\n===========================================================\n{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}You have received a donation at your personal page{/ts}: {$page_title}\n>> {$pcpInfoURL}\n\n{ts}Your fundraising total has been updated.{/ts}\n{ts}The donor\'s information is listed below.  You can choose to contact them and convey your thanks if you wish.{/ts}\n{if $is_honor_roll_enabled}\n    {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}\n{/if}\n\n{ts}Received{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n  {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n  <p>{ts}You have received a donation at your personal page{/ts}: <a href=\"{$pcpInfoURL}\">{$page_title}</a></p>\n  <p>{ts}Your fundraising total has been updated.{/ts}<br/>\n    {ts}The donor\'s information is listed below.  You can choose to contact them and convey your thanks if you wish.{/ts} <br/>\n    {if $is_honor_roll_enabled}\n      {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}<br/>\n    {/if}\n  </p>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n    <tr><td>{ts}Received{/ts}:</td><td> {$receive_date|crmDate}</td></tr>\n    <tr><td>{ts}Amount{/ts}:</td><td> {$total_amount|crmMoney:$currency}</td></tr>\n    <tr><td>{ts}Name{/ts}:</td><td> {$donors_display_name}</td></tr>\n    <tr><td>{ts}Email{/ts}:</td><td> {$donors_email}</td></tr>\n  </table>\n</body>\n</html>\n',1,835,'pcp_owner_notify',0,1,0,NULL),
+ (27,'Additional Payment Receipt or Refund Notification','{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if}{if $component eq \'event\'} - {$event.title}{/if} - {contact.display_name}\n','{if $emailGreeting}{$emailGreeting},\n{/if}\n\n{if $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}Below you will find a receipt for this payment.{/ts}\n{/if}\n{if $paymentsComplete}\n{ts}Thank you for completing this payment.{/ts}\n{/if}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}This Refund Amount{/ts}: {$refundAmount|crmMoney}\n------------------------------------------------------------------------------------\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}\n------------------------------------------------------------------------------------\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n\n===============================================================================\n\n{ts}Contribution Details{/ts}\n\n===============================================================================\n{if isset($totalAmount)}\n{ts}Total Fee{/ts}: {$totalAmount|crmMoney}\n{/if}\n{if isset($totalPaid)}\n{ts}Total Paid{/ts}: {$totalPaid|crmMoney}\n{/if}\n{if isset($amountOwed)}\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}\n{/if}\n\n\n{if !empty($billingName) || !empty($address)}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n{if !empty($billingName)}\n{$billingName}\n{/if}\n{if !empty($address)}\n{$address}\n{/if}\n{/if}\n\n{if !empty($credit_card_number)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===============================================================================\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if $component eq \'event\'}\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=emptyBlockStyle }style=\"padding: 10px; border-bottom: 1px solid #999;background-color: #f7f7f7;\"{/capture}\n{capture assign=emptyBlockValueStyle }style=\"padding: 10px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n  <tr>\n    <td>\n      {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n      {if $isRefund}\n        <p>{ts}A refund has been issued based on changes in your registration selections.{/ts}</p>\n      {else}\n        <p>{ts}Below you will find a receipt for this payment.{/ts}</p>\n        {if $paymentsComplete}\n          <p>{ts}Thank you for completing this contribution.{/ts}</p>\n        {/if}\n      {/if}\n    </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n    {if $isRefund}\n      <tr>\n        <th {$headerStyle}>{ts}Refund Details{/ts}</th>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n        {ts}This Refund Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$refundAmount|crmMoney}\n        </td>\n      </tr>\n    {else}\n      <tr>\n        <th {$headerStyle}>{ts}Payment Details{/ts}</th>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n        {ts}This Payment Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$paymentAmount|crmMoney}\n        </td>\n      </tr>\n    {/if}\n    {if $receive_date}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Transaction Date{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$receive_date|crmDate}\n        </td>\n      </tr>\n    {/if}\n    {if !empty($trxn_id)}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Transaction #{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$trxn_id}\n        </td>\n      </tr>\n    {/if}\n    {if !empty($paidBy)}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Paid By{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$paidBy}\n        </td>\n      </tr>\n    {/if}\n    {if !empty($checkNumber)}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Check Number{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$checkNumber}\n        </td>\n      </tr>\n    {/if}\n\n  <tr>\n    <th {$headerStyle}>{ts}Contribution Details{/ts}</th>\n  </tr>\n  {if isset($totalAmount)}\n  <tr>\n    <td {$labelStyle}>\n      {ts}Total Fee{/ts}\n    </td>\n    <td {$valueStyle}>\n      {$totalAmount|crmMoney}\n    </td>\n  </tr>\n  {/if}\n  {if isset($totalPaid)}\n  <tr>\n    <td {$labelStyle}>\n      {ts}Total Paid{/ts}\n    </td>\n    <td {$valueStyle}>\n      {$totalPaid|crmMoney}\n    </td>\n  </tr>\n  {/if}\n  {if isset($amountOwed)}\n  <tr>\n    <td {$labelStyle}>\n      {ts}Balance Owed{/ts}\n    </td>\n    <td {$valueStyle}>\n      {$amountOwed|crmMoney}\n    </td> {* This will be zero after final payment. *}\n  </tr>\n  {/if}\n  </table>\n\n  </td>\n  </tr>\n    <tr>\n      <td>\n  <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n    {if !empty($billingName) || !empty($address)}\n          <tr>\n            <th {$headerStyle}>\n        {ts}Billing Name and Address{/ts}\n            </th>\n          </tr>\n          <tr>\n            <td colspan=\"2\" {$valueStyle}>\n        {if !empty($billingName)}{$billingName}{/if}<br />\n        {if !empty($address)}{$address|nl2br}{/if}\n            </td>\n          </tr>\n    {/if}\n    {if !empty($credit_card_number)}\n          <tr>\n            <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n            </th>\n          </tr>\n          <tr>\n            <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n            </td>\n          </tr>\n    {/if}\n    {if $component eq \'event\'}\n    <tr>\n      <th {$headerStyle}>\n        {ts}Event Information and Location{/ts}\n      </th>\n    </tr>\n    <tr>\n      <td colspan=\"2\" {$valueStyle}>\n         {$event.event_title}<br />\n        {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n    </tr>\n\n    {if !empty($event.participant_role)}\n    <tr>\n      <td {$labelStyle}>\n        {ts}Participant Role{/ts}\n      </td>\n      <td {$valueStyle}>\n        {$event.participant_role}\n      </td>\n    </tr>\n    {/if}\n\n    {if !empty($isShowLocation)}\n    <tr>\n      <td colspan=\"2\" {$valueStyle}>\n        {$location.address.1.display|nl2br}\n      </td>\n    </tr>\n    {/if}\n\n    {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n    <tr>\n      <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n      </td>\n    </tr>\n    {foreach from=$location.phone item=phone}\n    {if $phone.phone}\n          <tr>\n            <td {$labelStyle}>\n        {if $phone.phone_type}\n        {$phone.phone_type_display}\n        {else}\n        {ts}Phone{/ts}\n        {/if}\n            </td>\n            <td {$valueStyle}>\n        {$phone.phone} {if $phone.phone_ext}&nbsp;{ts}ext.{/ts} {$phone.phone_ext}{/if}\n            </td>\n          </tr>\n    {/if}\n    {/foreach}\n    {foreach from=$location.email item=eventEmail}\n    {if $eventEmail.email}\n          <tr>\n            <td {$labelStyle}>\n        {ts}Email{/ts}\n            </td>\n            <td {$valueStyle}>\n        {$eventEmail.email}\n            </td>\n          </tr>\n    {/if}\n    {/foreach}\n    {/if} {*phone block close*}\n    {/if}\n  </table>\n      </td>\n    </tr>\n\n    </table>\n  </center>\n\n </body>\n</html>\n',1,836,'payment_or_refund_notification',1,0,0,NULL),
+ (28,'Additional Payment Receipt or Refund Notification','{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if}{if $component eq \'event\'} - {$event.title}{/if} - {contact.display_name}\n','{if $emailGreeting}{$emailGreeting},\n{/if}\n\n{if $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}Below you will find a receipt for this payment.{/ts}\n{/if}\n{if $paymentsComplete}\n{ts}Thank you for completing this payment.{/ts}\n{/if}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}This Refund Amount{/ts}: {$refundAmount|crmMoney}\n------------------------------------------------------------------------------------\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}\n------------------------------------------------------------------------------------\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n\n===============================================================================\n\n{ts}Contribution Details{/ts}\n\n===============================================================================\n{if isset($totalAmount)}\n{ts}Total Fee{/ts}: {$totalAmount|crmMoney}\n{/if}\n{if isset($totalPaid)}\n{ts}Total Paid{/ts}: {$totalPaid|crmMoney}\n{/if}\n{if isset($amountOwed)}\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}\n{/if}\n\n\n{if !empty($billingName) || !empty($address)}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n{if !empty($billingName)}\n{$billingName}\n{/if}\n{if !empty($address)}\n{$address}\n{/if}\n{/if}\n\n{if !empty($credit_card_number)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===============================================================================\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if $component eq \'event\'}\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=emptyBlockStyle }style=\"padding: 10px; border-bottom: 1px solid #999;background-color: #f7f7f7;\"{/capture}\n{capture assign=emptyBlockValueStyle }style=\"padding: 10px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n  <tr>\n    <td>\n      {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n      {if $isRefund}\n        <p>{ts}A refund has been issued based on changes in your registration selections.{/ts}</p>\n      {else}\n        <p>{ts}Below you will find a receipt for this payment.{/ts}</p>\n        {if $paymentsComplete}\n          <p>{ts}Thank you for completing this contribution.{/ts}</p>\n        {/if}\n      {/if}\n    </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n    {if $isRefund}\n      <tr>\n        <th {$headerStyle}>{ts}Refund Details{/ts}</th>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n        {ts}This Refund Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$refundAmount|crmMoney}\n        </td>\n      </tr>\n    {else}\n      <tr>\n        <th {$headerStyle}>{ts}Payment Details{/ts}</th>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n        {ts}This Payment Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$paymentAmount|crmMoney}\n        </td>\n      </tr>\n    {/if}\n    {if $receive_date}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Transaction Date{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$receive_date|crmDate}\n        </td>\n      </tr>\n    {/if}\n    {if !empty($trxn_id)}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Transaction #{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$trxn_id}\n        </td>\n      </tr>\n    {/if}\n    {if !empty($paidBy)}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Paid By{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$paidBy}\n        </td>\n      </tr>\n    {/if}\n    {if !empty($checkNumber)}\n      <tr>\n        <td {$labelStyle}>\n        {ts}Check Number{/ts}\n        </td>\n        <td {$valueStyle}>\n        {$checkNumber}\n        </td>\n      </tr>\n    {/if}\n\n  <tr>\n    <th {$headerStyle}>{ts}Contribution Details{/ts}</th>\n  </tr>\n  {if isset($totalAmount)}\n  <tr>\n    <td {$labelStyle}>\n      {ts}Total Fee{/ts}\n    </td>\n    <td {$valueStyle}>\n      {$totalAmount|crmMoney}\n    </td>\n  </tr>\n  {/if}\n  {if isset($totalPaid)}\n  <tr>\n    <td {$labelStyle}>\n      {ts}Total Paid{/ts}\n    </td>\n    <td {$valueStyle}>\n      {$totalPaid|crmMoney}\n    </td>\n  </tr>\n  {/if}\n  {if isset($amountOwed)}\n  <tr>\n    <td {$labelStyle}>\n      {ts}Balance Owed{/ts}\n    </td>\n    <td {$valueStyle}>\n      {$amountOwed|crmMoney}\n    </td> {* This will be zero after final payment. *}\n  </tr>\n  {/if}\n  </table>\n\n  </td>\n  </tr>\n    <tr>\n      <td>\n  <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n    {if !empty($billingName) || !empty($address)}\n          <tr>\n            <th {$headerStyle}>\n        {ts}Billing Name and Address{/ts}\n            </th>\n          </tr>\n          <tr>\n            <td colspan=\"2\" {$valueStyle}>\n        {if !empty($billingName)}{$billingName}{/if}<br />\n        {if !empty($address)}{$address|nl2br}{/if}\n            </td>\n          </tr>\n    {/if}\n    {if !empty($credit_card_number)}\n          <tr>\n            <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n            </th>\n          </tr>\n          <tr>\n            <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n            </td>\n          </tr>\n    {/if}\n    {if $component eq \'event\'}\n    <tr>\n      <th {$headerStyle}>\n        {ts}Event Information and Location{/ts}\n      </th>\n    </tr>\n    <tr>\n      <td colspan=\"2\" {$valueStyle}>\n         {$event.event_title}<br />\n        {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n    </tr>\n\n    {if !empty($event.participant_role)}\n    <tr>\n      <td {$labelStyle}>\n        {ts}Participant Role{/ts}\n      </td>\n      <td {$valueStyle}>\n        {$event.participant_role}\n      </td>\n    </tr>\n    {/if}\n\n    {if !empty($isShowLocation)}\n    <tr>\n      <td colspan=\"2\" {$valueStyle}>\n        {$location.address.1.display|nl2br}\n      </td>\n    </tr>\n    {/if}\n\n    {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n    <tr>\n      <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n      </td>\n    </tr>\n    {foreach from=$location.phone item=phone}\n    {if $phone.phone}\n          <tr>\n            <td {$labelStyle}>\n        {if $phone.phone_type}\n        {$phone.phone_type_display}\n        {else}\n        {ts}Phone{/ts}\n        {/if}\n            </td>\n            <td {$valueStyle}>\n        {$phone.phone} {if $phone.phone_ext}&nbsp;{ts}ext.{/ts} {$phone.phone_ext}{/if}\n            </td>\n          </tr>\n    {/if}\n    {/foreach}\n    {foreach from=$location.email item=eventEmail}\n    {if $eventEmail.email}\n          <tr>\n            <td {$labelStyle}>\n        {ts}Email{/ts}\n            </td>\n            <td {$valueStyle}>\n        {$eventEmail.email}\n            </td>\n          </tr>\n    {/if}\n    {/foreach}\n    {/if} {*phone block close*}\n    {/if}\n  </table>\n      </td>\n    </tr>\n\n    </table>\n  </center>\n\n </body>\n</html>\n',1,836,'payment_or_refund_notification',0,1,0,NULL),
+ (29,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {$event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif !empty($is_pay_later)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar File:{/ts} {$icalFeed}\n{/if}\n\n{if !empty($email)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$email}\n{/if}\n{if !empty($event.is_monetary)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts}\n{/if}\n{/if}\n---------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{capture assign=ts_participant_total}{if !empty($pricesetFieldsCount) }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}  {/if}  {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n{/if}\n{/foreach}\n\n{if !empty($dataArray)}\n{if isset($totalAmount) and isset($totalTaxAmount)}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amount) && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary)}\n\n{if !empty($balanceAmount)}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($balanceAmount)}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if !empty($pricesetFieldsCount) }\n      {assign var=\"count\" value= 0}\n      {foreach from=$lineItem item=pcount}\n      {assign var=\"lineItemCount\" value=0}\n      {if $pcount neq \'skip\'}\n        {foreach from=$pcount item=p_count}\n        {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n        {/foreach}\n        {if $lineItemCount < 1 }\n        {assign var=\"lineItemCount\" value=1}\n        {/if}\n      {assign var=\"count\" value=$count+$lineItemCount}\n      {/if}\n      {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if !empty($is_pay_later) }\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=val key=field}\n{if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\' }\n{if $field eq \'additionalCustomPre\' }\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{/if}\n{foreach from=$val item=v key=f}\n{$f}: {$v}\n{/foreach}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n    {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n     <p>{$event.confirm_email_text|htmlize}</p>\n    {/if}\n\n    {if !empty($isOnWaitlist)}\n     <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n     {if !empty($isPrimary)}\n       <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n     {/if}\n    {elseif !empty($isRequireApproval)}\n     <p>{ts}Your registration has been submitted.{/ts}</p>\n     {if !empty($isPrimary)}\n      <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n     {/if}\n    {elseif !empty($is_pay_later)}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n\n     {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Participant Role{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$event.participant_role}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($isShowLocation)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}\n           {$phone.phone_type_display}\n          {else}\n           {ts}Phone{/ts}\n          {/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone} {if $phone.phone_ext}&nbsp;{ts}ext.{/ts} {$phone.phone_ext}{/if}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($event.is_public)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n        <a href=\"{$icalFeed}\">{ts}Download iCalendar File{/ts}</a>\n       </td>\n      </tr>\n     {/if}\n\n     {if $email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$email}\n       </td>\n      </tr>\n     {/if}\n\n\n     {if !empty($event.is_monetary)}\n\n      <tr>\n       <th {$headerStyle}>\n        {if !empty($event.fee_label)}{$event.fee_label}{/if}\n       </th>\n      </tr>\n\n      {if !empty($lineItem)}\n       {foreach from=$lineItem item=value key=priceset}\n        {if $value neq \'skip\'}\n         {if !empty($isPrimary)}\n          {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n           <tr>\n            <td colspan=\"2\" {$labelStyle}>\n             {ts 1=$priceset+1}Participant %1{/ts}\n            </td>\n           </tr>\n          {/if}\n         {/if}\n         <tr>\n          <td colspan=\"2\" {$valueStyle}>\n           <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n            <tr>\n             <th>{ts}Item{/ts}</th>\n             <th>{ts}Qty{/ts}</th>\n             <th>{ts}Each{/ts}</th>\n             {if !empty($dataArray)}\n              <th>{ts}SubTotal{/ts}</th>\n              <th>{ts}Tax Rate{/ts}</th>\n              <th>{ts}Tax Amount{/ts}</th>\n             {/if}\n             <th>{ts}Total{/ts}</th>\n       {if !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n            </tr>\n            {foreach from=$value item=line}\n             <tr>\n              <td>\n        {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n              </td>\n              <td>\n               {$line.qty}\n              </td>\n              <td>\n               {$line.unit_price|crmMoney}\n              </td>\n              {if !empty($dataArray)}\n               <td>\n                {$line.unit_price*$line.qty|crmMoney}\n               </td>\n               {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                <td>\n                 {$line.tax_rate|string_format:\"%.2f\"}%\n                </td>\n                <td>\n                 {$line.tax_amount|crmMoney}\n                </td>\n               {else}\n                <td></td>\n                <td></td>\n               {/if}\n              {/if}\n              <td>\n               {$line.line_total+$line.tax_amount|crmMoney}\n              </td>\n        {if  !empty($pricesetFieldsCount) }\n        <td>\n    {$line.participant_count}\n              </td>\n        {/if}\n             </tr>\n            {/foreach}\n           </table>\n          </td>\n         </tr>\n        {/if}\n       {/foreach}\n       {if !empty($dataArray)}\n        {if isset($totalAmount) and isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Amount Before Tax:{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalAmount-$totalTaxAmount|crmMoney}\n         </td>\n        </tr>\n        {/if}\n        {foreach from=$dataArray item=value key=priceset}\n          <tr>\n           {if $priceset || $priceset == 0}\n            <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n            <td>&nbsp;{$value|crmMoney:$currency}</td>\n           {else}\n            <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n            <td>&nbsp;{$value|crmMoney:$currency}</td>\n           {/if}\n          </tr>\n        {/foreach}\n       {/if}\n      {/if}\n\n      {if !empty($amount) && !$lineItem}\n       {foreach from=$amount item=amnt key=level}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$amnt.amount|crmMoney} {$amnt.label}\n         </td>\n        </tr>\n       {/foreach}\n      {/if}\n      {if isset($totalTaxAmount)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Tax Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$totalTaxAmount|crmMoney:$currency}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($isPrimary)}\n       <tr>\n        <td {$labelStyle}>\n        {if isset($balanceAmount)}\n           {ts}Total Paid{/ts}\n        {else}\n           {ts}Total Amount{/ts}\n         {/if}\n        </td>\n        <td {$valueStyle}>\n         {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n        </td>\n       </tr>\n      {if isset($balanceAmount)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Balance{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$balanceAmount|crmMoney}\n        </td>\n       </tr>\n      {/if}\n       {if !empty($pricesetFieldsCount) }\n     <tr>\n       <td {$labelStyle}>\n   {ts}Total Participants{/ts}</td>\n       <td {$valueStyle}>\n   {assign var=\"count\" value= 0}\n         {foreach from=$lineItem item=pcount}\n         {assign var=\"lineItemCount\" value=0}\n         {if $pcount neq \'skip\'}\n           {foreach from=$pcount item=p_count}\n           {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n           {/foreach}\n           {if $lineItemCount < 1 }\n           assign var=\"lineItemCount\" value=1}\n           {/if}\n           {assign var=\"count\" value=$count+$lineItemCount}\n         {/if}\n         {/foreach}\n   {$count}\n       </td>\n     </tr>\n     {/if}\n       {if !empty($is_pay_later)}\n        <tr>\n         <td colspan=\"2\" {$labelStyle}>\n          {if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n         </td>\n        </tr>\n       {/if}\n\n       {if $register_date}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Registration Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$register_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($receive_date)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$receive_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($financialTypeName)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Financial Type{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$financialTypeName}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($trxn_id)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction #{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$trxn_id}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($paidBy)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Paid By{/ts}\n         </td>\n         <td {$valueStyle}>\n         {$paidBy}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($checkNumber)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Check Number{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$checkNumber}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($billingName)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Billing Name and Address{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$billingName}<br />\n          {$address|nl2br}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($credit_card_type)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Credit Card Information{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$credit_card_type}<br />\n          {$credit_card_number}<br />\n          {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n      {/if}\n\n     {/if} {* End of conditional section for Paid events *}\n\n     {if !empty($customPre)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPre_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPre item=value key=customName}\n       {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customPost)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPost_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPost item=value key=customName}\n       {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customProfile)}\n      {foreach from=$customProfile item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n        </th>\n       </tr>\n       {foreach from=$value item=val key=field}\n        {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n         <tr>\n          <td colspan=\"2\" {$labelStyle}>\n           {if $field eq \'additionalCustomPre\'}\n            {$additionalCustomPre_grouptitle}\n           {else}\n            {$additionalCustomPost_grouptitle}\n           {/if}\n          </td>\n         </tr>\n         {foreach from=$val item=v key=f}\n          <tr>\n           <td {$labelStyle}>\n            {$f}\n           </td>\n           <td {$valueStyle}>\n            {$v}\n           </td>\n          </tr>\n         {/foreach}\n        {/if}\n       {/foreach}\n      {/foreach}\n     {/if}\n\n     {if !empty($customGroup)}\n      {foreach from=$customGroup item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {$customName}\n        </th>\n       </tr>\n       {foreach from=$value item=v key=n}\n        <tr>\n         <td {$labelStyle}>\n          {$n}\n         </td>\n         <td {$valueStyle}>\n          {$v}\n         </td>\n        </tr>\n       {/foreach}\n      {/foreach}\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,837,'event_offline_receipt',1,0,0,NULL),
+ (30,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {$event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif !empty($is_pay_later)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar File:{/ts} {$icalFeed}\n{/if}\n\n{if !empty($email)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$email}\n{/if}\n{if !empty($event.is_monetary)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts}\n{/if}\n{/if}\n---------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{capture assign=ts_participant_total}{if !empty($pricesetFieldsCount) }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}  {/if}  {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n{/if}\n{/foreach}\n\n{if !empty($dataArray)}\n{if isset($totalAmount) and isset($totalTaxAmount)}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amount) && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary)}\n\n{if !empty($balanceAmount)}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($balanceAmount)}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if !empty($pricesetFieldsCount) }\n      {assign var=\"count\" value= 0}\n      {foreach from=$lineItem item=pcount}\n      {assign var=\"lineItemCount\" value=0}\n      {if $pcount neq \'skip\'}\n        {foreach from=$pcount item=p_count}\n        {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n        {/foreach}\n        {if $lineItemCount < 1 }\n        {assign var=\"lineItemCount\" value=1}\n        {/if}\n      {assign var=\"count\" value=$count+$lineItemCount}\n      {/if}\n      {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if !empty($is_pay_later) }\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=val key=field}\n{if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\' }\n{if $field eq \'additionalCustomPre\' }\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{/if}\n{foreach from=$val item=v key=f}\n{$f}: {$v}\n{/foreach}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n    {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n     <p>{$event.confirm_email_text|htmlize}</p>\n    {/if}\n\n    {if !empty($isOnWaitlist)}\n     <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n     {if !empty($isPrimary)}\n       <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n     {/if}\n    {elseif !empty($isRequireApproval)}\n     <p>{ts}Your registration has been submitted.{/ts}</p>\n     {if !empty($isPrimary)}\n      <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n     {/if}\n    {elseif !empty($is_pay_later)}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n\n     {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Participant Role{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$event.participant_role}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($isShowLocation)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}\n           {$phone.phone_type_display}\n          {else}\n           {ts}Phone{/ts}\n          {/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone} {if $phone.phone_ext}&nbsp;{ts}ext.{/ts} {$phone.phone_ext}{/if}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($event.is_public)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n        <a href=\"{$icalFeed}\">{ts}Download iCalendar File{/ts}</a>\n       </td>\n      </tr>\n     {/if}\n\n     {if $email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$email}\n       </td>\n      </tr>\n     {/if}\n\n\n     {if !empty($event.is_monetary)}\n\n      <tr>\n       <th {$headerStyle}>\n        {if !empty($event.fee_label)}{$event.fee_label}{/if}\n       </th>\n      </tr>\n\n      {if !empty($lineItem)}\n       {foreach from=$lineItem item=value key=priceset}\n        {if $value neq \'skip\'}\n         {if !empty($isPrimary)}\n          {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n           <tr>\n            <td colspan=\"2\" {$labelStyle}>\n             {ts 1=$priceset+1}Participant %1{/ts}\n            </td>\n           </tr>\n          {/if}\n         {/if}\n         <tr>\n          <td colspan=\"2\" {$valueStyle}>\n           <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n            <tr>\n             <th>{ts}Item{/ts}</th>\n             <th>{ts}Qty{/ts}</th>\n             <th>{ts}Each{/ts}</th>\n             {if !empty($dataArray)}\n              <th>{ts}SubTotal{/ts}</th>\n              <th>{ts}Tax Rate{/ts}</th>\n              <th>{ts}Tax Amount{/ts}</th>\n             {/if}\n             <th>{ts}Total{/ts}</th>\n       {if !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n            </tr>\n            {foreach from=$value item=line}\n             <tr>\n              <td>\n        {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n              </td>\n              <td>\n               {$line.qty}\n              </td>\n              <td>\n               {$line.unit_price|crmMoney}\n              </td>\n              {if !empty($dataArray)}\n               <td>\n                {$line.unit_price*$line.qty|crmMoney}\n               </td>\n               {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                <td>\n                 {$line.tax_rate|string_format:\"%.2f\"}%\n                </td>\n                <td>\n                 {$line.tax_amount|crmMoney}\n                </td>\n               {else}\n                <td></td>\n                <td></td>\n               {/if}\n              {/if}\n              <td>\n               {$line.line_total+$line.tax_amount|crmMoney}\n              </td>\n        {if  !empty($pricesetFieldsCount) }\n        <td>\n    {$line.participant_count}\n              </td>\n        {/if}\n             </tr>\n            {/foreach}\n           </table>\n          </td>\n         </tr>\n        {/if}\n       {/foreach}\n       {if !empty($dataArray)}\n        {if isset($totalAmount) and isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Amount Before Tax:{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalAmount-$totalTaxAmount|crmMoney}\n         </td>\n        </tr>\n        {/if}\n        {foreach from=$dataArray item=value key=priceset}\n          <tr>\n           {if $priceset || $priceset == 0}\n            <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n            <td>&nbsp;{$value|crmMoney:$currency}</td>\n           {else}\n            <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n            <td>&nbsp;{$value|crmMoney:$currency}</td>\n           {/if}\n          </tr>\n        {/foreach}\n       {/if}\n      {/if}\n\n      {if !empty($amount) && !$lineItem}\n       {foreach from=$amount item=amnt key=level}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$amnt.amount|crmMoney} {$amnt.label}\n         </td>\n        </tr>\n       {/foreach}\n      {/if}\n      {if isset($totalTaxAmount)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Tax Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$totalTaxAmount|crmMoney:$currency}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($isPrimary)}\n       <tr>\n        <td {$labelStyle}>\n        {if isset($balanceAmount)}\n           {ts}Total Paid{/ts}\n        {else}\n           {ts}Total Amount{/ts}\n         {/if}\n        </td>\n        <td {$valueStyle}>\n         {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n        </td>\n       </tr>\n      {if isset($balanceAmount)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Balance{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$balanceAmount|crmMoney}\n        </td>\n       </tr>\n      {/if}\n       {if !empty($pricesetFieldsCount) }\n     <tr>\n       <td {$labelStyle}>\n   {ts}Total Participants{/ts}</td>\n       <td {$valueStyle}>\n   {assign var=\"count\" value= 0}\n         {foreach from=$lineItem item=pcount}\n         {assign var=\"lineItemCount\" value=0}\n         {if $pcount neq \'skip\'}\n           {foreach from=$pcount item=p_count}\n           {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n           {/foreach}\n           {if $lineItemCount < 1 }\n           assign var=\"lineItemCount\" value=1}\n           {/if}\n           {assign var=\"count\" value=$count+$lineItemCount}\n         {/if}\n         {/foreach}\n   {$count}\n       </td>\n     </tr>\n     {/if}\n       {if !empty($is_pay_later)}\n        <tr>\n         <td colspan=\"2\" {$labelStyle}>\n          {if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n         </td>\n        </tr>\n       {/if}\n\n       {if $register_date}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Registration Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$register_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($receive_date)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$receive_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($financialTypeName)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Financial Type{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$financialTypeName}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($trxn_id)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction #{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$trxn_id}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($paidBy)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Paid By{/ts}\n         </td>\n         <td {$valueStyle}>\n         {$paidBy}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($checkNumber)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Check Number{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$checkNumber}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($billingName)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Billing Name and Address{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$billingName}<br />\n          {$address|nl2br}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($credit_card_type)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Credit Card Information{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$credit_card_type}<br />\n          {$credit_card_number}<br />\n          {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n      {/if}\n\n     {/if} {* End of conditional section for Paid events *}\n\n     {if !empty($customPre)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPre_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPre item=value key=customName}\n       {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customPost)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPost_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPost item=value key=customName}\n       {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customProfile)}\n      {foreach from=$customProfile item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n        </th>\n       </tr>\n       {foreach from=$value item=val key=field}\n        {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n         <tr>\n          <td colspan=\"2\" {$labelStyle}>\n           {if $field eq \'additionalCustomPre\'}\n            {$additionalCustomPre_grouptitle}\n           {else}\n            {$additionalCustomPost_grouptitle}\n           {/if}\n          </td>\n         </tr>\n         {foreach from=$val item=v key=f}\n          <tr>\n           <td {$labelStyle}>\n            {$f}\n           </td>\n           <td {$valueStyle}>\n            {$v}\n           </td>\n          </tr>\n         {/foreach}\n        {/if}\n       {/foreach}\n      {/foreach}\n     {/if}\n\n     {if !empty($customGroup)}\n      {foreach from=$customGroup item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {$customName}\n        </th>\n       </tr>\n       {foreach from=$value item=v key=n}\n        <tr>\n         <td {$labelStyle}>\n          {$n}\n         </td>\n         <td {$valueStyle}>\n          {$v}\n         </td>\n        </tr>\n       {/foreach}\n      {/foreach}\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,837,'event_offline_receipt',0,1,0,NULL),
+ (31,'Events - Registration Confirmation and Receipt (on-line)','{if !empty($isOnWaitlist)}{ts}Wait List Confirmation{/ts}{elseif !empty($isRequireApproval)}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n\n{else}\n  {ts}Thank you for your registration.{/ts}\n  {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n  {else}{if !empty($isOnWaitlist)}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n  {/if}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n{if !empty($conference_sessions)}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location}    {$session.location}{/if}\n{/foreach}\n{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar File:{/ts} {$icalFeed}\n{/if}\n\n{if !empty($payer.name)}\nYou were registered by: {$payer.name}\n{/if}\n{if !empty($event.is_monetary) and empty($isRequireApproval)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty ($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n\n{/if}\n{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}  {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}{if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if !empty($individual)}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%29s\"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%33s\"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:\"%12s\"}{/if}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if !empty($dataArray)}\n{if isset($totalAmount) and isset($totalTaxAmount)}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amounts) && empty($lineItem)}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary) }\n\n{ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($pricesetFieldsCount) }\n      {assign var=\"count\" value= 0}\n      {foreach from=$lineItem item=pcount}\n      {assign var=\"lineItemCount\" value=0}\n      {if $pcount neq \'skip\'}\n        {foreach from=$pcount item=p_count}\n        {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n        {/foreach}\n      {if $lineItemCount < 1 }\n        {assign var=\"lineItemCount\" value=1}\n      {/if}\n      {assign var=\"count\" value=$count+$lineItemCount}\n      {/if}\n      {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if !empty($receive_date)}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{foreach from=$eachProfile item=val key=field}\n{foreach from=$val item=v key=f}\n{$field}: {$v}\n{/foreach}\n{/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($event.allow_selfcancelxfer) }\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}\n   {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotal}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n     {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n    {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n     <p>{$event.confirm_email_text|htmlize}</p>\n\n    {else}\n     <p>{ts}Thank you for your registration.{/ts}\n     {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}\n     {else}{if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}</p>\n\n    {/if}\n\n    <p>\n    {if !empty($isOnWaitlist)}\n     <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n     {if !empty($isPrimary)}\n       <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n     {/if}\n    {elseif !empty($isRequireApproval)}\n     <p>{ts}Your registration has been submitted.{/ts}</p>\n     {if !empty($isPrimary)}\n      <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n     {/if}\n    {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"width:100%; max-width:700px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n\n\n     {if $conference_sessions}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n  {ts}Your schedule:{/ts}\n       </td>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n  {assign var=\'group_by_day\' value=\'NA\'}\n  {foreach from=$conference_sessions item=session}\n   {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n    {assign var=\'group_by_day\' value=$session.start_date}\n          <em>{$group_by_day|date_format:\"%m/%d/%Y\"}</em><br />\n   {/if}\n   {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />\n   {if $session.location}&nbsp;&nbsp;&nbsp;&nbsp;{$session.location}<br />{/if}\n  {/foreach}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Participant Role{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$event.participant_role}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($isShowLocation)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}\n           {$phone.phone_type_display}\n          {else}\n           {ts}Phone{/ts}\n          {/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone} {if $phone.phone_ext}&nbsp;{ts}ext.{/ts} {$phone.phone_ext}{/if}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($event.is_public)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n        <a href=\"{$icalFeed}\">{ts}Download iCalendar File{/ts}</a>\n       </td>\n      </tr>\n     {/if}\n\n    {if !empty($event.is_share)}\n        <tr>\n            <td colspan=\"2\" {$valueStyle}>\n                {capture assign=eventUrl}{crmURL p=\'civicrm/event/info\' q=\"id=`$event.id`&reset=1\" a=true fe=1 h=1}{/capture}\n                {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$eventUrl title=$event.title pageURL=$eventUrl}\n            </td>\n        </tr>\n    {/if}\n    {if !empty($payer.name)}\n     <tr>\n       <th {$headerStyle}>\n         {ts}You were registered by:{/ts}\n       </th>\n     </tr>\n     <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$payer.name}\n       </td>\n     </tr>\n    {/if}\n    {if !empty($event.is_monetary) and empty($isRequireApproval)}\n\n      <tr>\n       <th {$headerStyle}>\n        {if !empty($event.fee_label)}{$event.fee_label}{/if}\n       </th>\n      </tr>\n\n      {if !empty($lineItem)}\n       {foreach from=$lineItem item=value key=priceset}\n        {if $value neq \'skip\'}\n         {if !empty($isPrimary)}\n          {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n           <tr>\n            <td colspan=\"2\" {$labelStyle}>\n             {ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n            </td>\n           </tr>\n          {/if}\n         {/if}\n         <tr>\n          <td colspan=\"2\" {$valueStyle}>\n           <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n            <tr>\n             <th>{ts}Item{/ts}</th>\n             <th>{ts}Qty{/ts}</th>\n             <th>{ts}Each{/ts}</th>\n             {if !empty($dataArray)}\n              <th>{ts}SubTotal{/ts}</th>\n              <th>{ts}Tax Rate{/ts}</th>\n              <th>{ts}Tax Amount{/ts}</th>\n             {/if}\n             <th>{ts}Total{/ts}</th>\n       {if  !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n            </tr>\n            {foreach from=$value item=line}\n             <tr>\n              <td {$tdfirstStyle}>\n              {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n              </td>\n              <td {$tdStyle} align=\"middle\">\n               {$line.qty}\n              </td>\n              <td {$tdStyle}>\n               {$line.unit_price|crmMoney:$currency}\n              </td>\n              {if !empty($dataArray)}\n               <td {$tdStyle}>\n                {$line.unit_price*$line.qty|crmMoney}\n               </td>\n               {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                <td {$tdStyle}>\n                 {$line.tax_rate|string_format:\"%.2f\"}%\n                </td>\n                <td {$tdStyle}>\n                 {$line.tax_amount|crmMoney}\n                </td>\n               {else}\n                <td></td>\n                <td></td>\n               {/if}\n              {/if}\n              <td {$tdStyle}>\n               {$line.line_total+$line.tax_amount|crmMoney:$currency}\n              </td>\n        {if !empty($pricesetFieldsCount) }<td {$tdStyle}>{$line.participant_count}</td> {/if}\n             </tr>\n            {/foreach}\n            {if !empty($individual)}\n              <tr {$participantTotal}>\n                <td colspan=3>{ts}Participant Total{/ts}</td>\n                <td colspan=2>{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}</td>\n                <td colspan=1>{$individual.$priceset.totalTaxAmt|crmMoney}</td>\n                <td colspan=2>{$individual.$priceset.totalAmtWithTax|crmMoney}</td>\n              </tr>\n            {/if}\n           </table>\n          </td>\n         </tr>\n        {/if}\n       {/foreach}\n       {if !empty($dataArray)}\n        {if isset($totalAmount) and isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts} Amount Before Tax: {/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalAmount-$totalTaxAmount|crmMoney}\n         </td>\n        </tr>\n        {/if}\n        {foreach from=$dataArray item=value key=priceset}\n         <tr>\n          {if $priceset || $priceset == 0}\n           <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {else}\n           <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {/if}\n         </tr>\n        {/foreach}\n       {/if}\n      {/if}\n\n      {if !empty($amounts) && empty($lineItem)}\n       {foreach from=$amounts item=amnt key=level}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$amnt.amount|crmMoney:$currency} {$amnt.label}\n         </td>\n        </tr>\n       {/foreach}\n      {/if}\n\n    {if isset($totalTaxAmount)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Tax Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$totalTaxAmount|crmMoney:$currency}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($isPrimary)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n        </td>\n       </tr>\n       {if !empty($pricesetFieldsCount) }\n     <tr>\n       <td {$labelStyle}>\n      {ts}Total Participants{/ts}</td>\n      <td {$valueStyle}>\n      {assign var=\"count\" value= 0}\n      {foreach from=$lineItem item=pcount}\n      {assign var=\"lineItemCount\" value=0}\n      {if $pcount neq \'skip\'}\n        {foreach from=$pcount item=p_count}\n        {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n        {/foreach}\n      {if $lineItemCount < 1 }\n        {assign var=\"lineItemCount\" value=1}\n      {/if}\n      {assign var=\"count\" value=$count+$lineItemCount}\n      {/if}\n      {/foreach}\n     {$count}\n     </td> </tr>\n      {/if}\n\n       {if $register_date}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Registration Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$register_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($receive_date)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$receive_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($financialTypeName)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Financial Type{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$financialTypeName}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($trxn_id)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction #{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$trxn_id}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($paidBy)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Paid By{/ts}\n         </td>\n         <td {$valueStyle}>\n         {$paidBy}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($checkNumber)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Check Number{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$checkNumber}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($billingName)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Billing Name and Address{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$billingName}<br />\n          {$address|nl2br}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($credit_card_type)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Credit Card Information{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$credit_card_type}<br />\n          {$credit_card_number}<br />\n          {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n      {/if}\n\n     {/if} {* End of conditional section for Paid events *}\n\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n   <tr> <th {$headerStyle}>{$customPre_grouptitle.$i}</th></tr>\n   {foreach from=$customPr item=customValue key=customName}\n   {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n     <tr>\n         <td {$labelStyle}>{$customName}</td>\n         <td {$valueStyle}>{$customValue}</td>\n     </tr>\n   {/if}\n   {/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n   <tr> <th {$headerStyle}>{$customPost_grouptitle.$j}</th></tr>\n   {foreach from=$customPos item=customValue key=customName}\n   {if (!empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n     <tr>\n         <td {$labelStyle}>{$customName}</td>\n         <td {$valueStyle}>{$customValue}</td>\n     </tr>\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customProfile)}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n     <tr><th {$headerStyle}>{ts 1=$participantID+2}Participant %1{/ts} </th></tr>\n     {foreach from=$eachParticipant item=eachProfile key=pid}\n     <tr><th {$headerStyle}>{$customProfile.title.$pid}</th></tr>\n     {foreach from=$eachProfile item=val key=field}\n     <tr>{foreach from=$val item=v key=f}\n         <td {$labelStyle}>{$field}</td>\n         <td {$valueStyle}>{$v}</td>\n         {/foreach}\n     </tr>\n     {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n    </table>\n    {if !empty($event.allow_selfcancelxfer) }\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n        {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}<br />\n        {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n        <a href=\"{$selfService}\">{ts}Click here to transfer or cancel your registration.{/ts}</a>\n      </td>\n     </tr>\n    {/if}\n </table>\n</center>\n\n</body>\n</html>\n',1,838,'event_online_receipt',1,0,0,NULL),
+ (32,'Events - Registration Confirmation and Receipt (on-line)','{if !empty($isOnWaitlist)}{ts}Wait List Confirmation{/ts}{elseif !empty($isRequireApproval)}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n\n{else}\n  {ts}Thank you for your registration.{/ts}\n  {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n  {else}{if !empty($isOnWaitlist)}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n  {/if}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$event.event_title}\n{$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n{if !empty($conference_sessions)}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location}    {$session.location}{/if}\n{/foreach}\n{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar File:{/ts} {$icalFeed}\n{/if}\n\n{if !empty($payer.name)}\nYou were registered by: {$payer.name}\n{/if}\n{if !empty($event.is_monetary) and empty($isRequireApproval)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty ($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n\n{/if}\n{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}  {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}{if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if !empty($individual)}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%29s\"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%33s\"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:\"%12s\"}{/if}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if !empty($dataArray)}\n{if isset($totalAmount) and isset($totalTaxAmount)}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amounts) && empty($lineItem)}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary) }\n\n{ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($pricesetFieldsCount) }\n      {assign var=\"count\" value= 0}\n      {foreach from=$lineItem item=pcount}\n      {assign var=\"lineItemCount\" value=0}\n      {if $pcount neq \'skip\'}\n        {foreach from=$pcount item=p_count}\n        {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n        {/foreach}\n      {if $lineItemCount < 1 }\n        {assign var=\"lineItemCount\" value=1}\n      {/if}\n      {assign var=\"count\" value=$count+$lineItemCount}\n      {/if}\n      {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if !empty($receive_date)}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{foreach from=$eachProfile item=val key=field}\n{foreach from=$val item=v key=f}\n{$field}: {$v}\n{/foreach}\n{/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($event.allow_selfcancelxfer) }\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}\n   {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotal}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n     {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n    {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n     <p>{$event.confirm_email_text|htmlize}</p>\n\n    {else}\n     <p>{ts}Thank you for your registration.{/ts}\n     {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}\n     {else}{if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}</p>\n\n    {/if}\n\n    <p>\n    {if !empty($isOnWaitlist)}\n     <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n     {if !empty($isPrimary)}\n       <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n     {/if}\n    {elseif !empty($isRequireApproval)}\n     <p>{ts}Your registration has been submitted.{/ts}</p>\n     {if !empty($isPrimary)}\n      <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n     {/if}\n    {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"width:100%; max-width:700px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|date_format:\"%A\"} {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|date_format:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n\n\n     {if $conference_sessions}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n  {ts}Your schedule:{/ts}\n       </td>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n  {assign var=\'group_by_day\' value=\'NA\'}\n  {foreach from=$conference_sessions item=session}\n   {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n    {assign var=\'group_by_day\' value=$session.start_date}\n          <em>{$group_by_day|date_format:\"%m/%d/%Y\"}</em><br />\n   {/if}\n   {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />\n   {if $session.location}&nbsp;&nbsp;&nbsp;&nbsp;{$session.location}<br />{/if}\n  {/foreach}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Participant Role{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$event.participant_role}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($isShowLocation)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}\n           {$phone.phone_type_display}\n          {else}\n           {ts}Phone{/ts}\n          {/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone} {if $phone.phone_ext}&nbsp;{ts}ext.{/ts} {$phone.phone_ext}{/if}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($event.is_public)}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n        <a href=\"{$icalFeed}\">{ts}Download iCalendar File{/ts}</a>\n       </td>\n      </tr>\n     {/if}\n\n    {if !empty($event.is_share)}\n        <tr>\n            <td colspan=\"2\" {$valueStyle}>\n                {capture assign=eventUrl}{crmURL p=\'civicrm/event/info\' q=\"id=`$event.id`&reset=1\" a=true fe=1 h=1}{/capture}\n                {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$eventUrl title=$event.title pageURL=$eventUrl}\n            </td>\n        </tr>\n    {/if}\n    {if !empty($payer.name)}\n     <tr>\n       <th {$headerStyle}>\n         {ts}You were registered by:{/ts}\n       </th>\n     </tr>\n     <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$payer.name}\n       </td>\n     </tr>\n    {/if}\n    {if !empty($event.is_monetary) and empty($isRequireApproval)}\n\n      <tr>\n       <th {$headerStyle}>\n        {if !empty($event.fee_label)}{$event.fee_label}{/if}\n       </th>\n      </tr>\n\n      {if !empty($lineItem)}\n       {foreach from=$lineItem item=value key=priceset}\n        {if $value neq \'skip\'}\n         {if !empty($isPrimary)}\n          {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n           <tr>\n            <td colspan=\"2\" {$labelStyle}>\n             {ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n            </td>\n           </tr>\n          {/if}\n         {/if}\n         <tr>\n          <td colspan=\"2\" {$valueStyle}>\n           <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n            <tr>\n             <th>{ts}Item{/ts}</th>\n             <th>{ts}Qty{/ts}</th>\n             <th>{ts}Each{/ts}</th>\n             {if !empty($dataArray)}\n              <th>{ts}SubTotal{/ts}</th>\n              <th>{ts}Tax Rate{/ts}</th>\n              <th>{ts}Tax Amount{/ts}</th>\n             {/if}\n             <th>{ts}Total{/ts}</th>\n       {if  !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n            </tr>\n            {foreach from=$value item=line}\n             <tr>\n              <td {$tdfirstStyle}>\n              {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n              </td>\n              <td {$tdStyle} align=\"middle\">\n               {$line.qty}\n              </td>\n              <td {$tdStyle}>\n               {$line.unit_price|crmMoney:$currency}\n              </td>\n              {if !empty($dataArray)}\n               <td {$tdStyle}>\n                {$line.unit_price*$line.qty|crmMoney}\n               </td>\n               {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                <td {$tdStyle}>\n                 {$line.tax_rate|string_format:\"%.2f\"}%\n                </td>\n                <td {$tdStyle}>\n                 {$line.tax_amount|crmMoney}\n                </td>\n               {else}\n                <td></td>\n                <td></td>\n               {/if}\n              {/if}\n              <td {$tdStyle}>\n               {$line.line_total+$line.tax_amount|crmMoney:$currency}\n              </td>\n        {if !empty($pricesetFieldsCount) }<td {$tdStyle}>{$line.participant_count}</td> {/if}\n             </tr>\n            {/foreach}\n            {if !empty($individual)}\n              <tr {$participantTotal}>\n                <td colspan=3>{ts}Participant Total{/ts}</td>\n                <td colspan=2>{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}</td>\n                <td colspan=1>{$individual.$priceset.totalTaxAmt|crmMoney}</td>\n                <td colspan=2>{$individual.$priceset.totalAmtWithTax|crmMoney}</td>\n              </tr>\n            {/if}\n           </table>\n          </td>\n         </tr>\n        {/if}\n       {/foreach}\n       {if !empty($dataArray)}\n        {if isset($totalAmount) and isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts} Amount Before Tax: {/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalAmount-$totalTaxAmount|crmMoney}\n         </td>\n        </tr>\n        {/if}\n        {foreach from=$dataArray item=value key=priceset}\n         <tr>\n          {if $priceset || $priceset == 0}\n           <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {else}\n           <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n          {/if}\n         </tr>\n        {/foreach}\n       {/if}\n      {/if}\n\n      {if !empty($amounts) && empty($lineItem)}\n       {foreach from=$amounts item=amnt key=level}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$amnt.amount|crmMoney:$currency} {$amnt.label}\n         </td>\n        </tr>\n       {/foreach}\n      {/if}\n\n    {if isset($totalTaxAmount)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Tax Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$totalTaxAmount|crmMoney:$currency}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($isPrimary)}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n        </td>\n       </tr>\n       {if !empty($pricesetFieldsCount) }\n     <tr>\n       <td {$labelStyle}>\n      {ts}Total Participants{/ts}</td>\n      <td {$valueStyle}>\n      {assign var=\"count\" value= 0}\n      {foreach from=$lineItem item=pcount}\n      {assign var=\"lineItemCount\" value=0}\n      {if $pcount neq \'skip\'}\n        {foreach from=$pcount item=p_count}\n        {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n        {/foreach}\n      {if $lineItemCount < 1 }\n        {assign var=\"lineItemCount\" value=1}\n      {/if}\n      {assign var=\"count\" value=$count+$lineItemCount}\n      {/if}\n      {/foreach}\n     {$count}\n     </td> </tr>\n      {/if}\n\n       {if $register_date}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Registration Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$register_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($receive_date)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction Date{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$receive_date|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($financialTypeName)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Financial Type{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$financialTypeName}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($trxn_id)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Transaction #{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$trxn_id}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($paidBy)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Paid By{/ts}\n         </td>\n         <td {$valueStyle}>\n         {$paidBy}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($checkNumber)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Check Number{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$checkNumber}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($billingName)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Billing Name and Address{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$billingName}<br />\n          {$address|nl2br}\n         </td>\n        </tr>\n       {/if}\n\n       {if !empty($credit_card_type)}\n        <tr>\n         <th {$headerStyle}>\n          {ts}Credit Card Information{/ts}\n         </th>\n        </tr>\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          {$credit_card_type}<br />\n          {$credit_card_number}<br />\n          {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n         </td>\n        </tr>\n       {/if}\n\n      {/if}\n\n     {/if} {* End of conditional section for Paid events *}\n\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n   <tr> <th {$headerStyle}>{$customPre_grouptitle.$i}</th></tr>\n   {foreach from=$customPr item=customValue key=customName}\n   {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n     <tr>\n         <td {$labelStyle}>{$customName}</td>\n         <td {$valueStyle}>{$customValue}</td>\n     </tr>\n   {/if}\n   {/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n   <tr> <th {$headerStyle}>{$customPost_grouptitle.$j}</th></tr>\n   {foreach from=$customPos item=customValue key=customName}\n   {if (!empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n     <tr>\n         <td {$labelStyle}>{$customName}</td>\n         <td {$valueStyle}>{$customValue}</td>\n     </tr>\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customProfile)}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n     <tr><th {$headerStyle}>{ts 1=$participantID+2}Participant %1{/ts} </th></tr>\n     {foreach from=$eachParticipant item=eachProfile key=pid}\n     <tr><th {$headerStyle}>{$customProfile.title.$pid}</th></tr>\n     {foreach from=$eachProfile item=val key=field}\n     <tr>{foreach from=$val item=v key=f}\n         <td {$labelStyle}>{$field}</td>\n         <td {$valueStyle}>{$v}</td>\n         {/foreach}\n     </tr>\n     {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n    </table>\n    {if !empty($event.allow_selfcancelxfer) }\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n        {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}<br />\n        {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n        <a href=\"{$selfService}\">{ts}Click here to transfer or cancel your registration.{/ts}</a>\n      </td>\n     </tr>\n    {/if}\n </table>\n</center>\n\n</body>\n</html>\n',1,838,'event_online_receipt',0,1,0,NULL),
+ (33,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if $is_pay_later}\n  This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n{else}\n  This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n{/if}\n\n{if $is_pay_later}\n  {if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n{/if}\n\n  Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n Here\'s a summary of your transaction placed on {$transaction_date|date_format:\"%D %I:%M %p %Z\"}:\n\n{if $billing_name}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billing_name}\n\n{$billing_street_address}\n\n{$billing_city}, {$billing_state} {$billing_postal_code}\n\n{$email}\n{/if}\n\n{if !empty($source)}\n{$source}\n{/if}\n\n\n{foreach from=$line_items item=line_item}\n{$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})\n{if $line_item.event->is_show_location}\n  {$line_item.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n{$line_item.event->start_date|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%I:%M %p\"}\n\n  Quantity: {$line_item.num_participants}\n\n{if $line_item.num_participants > 0}\n  {foreach from=$line_item.participants item=participant}\n    {$participant.display_name}\n  {/foreach}\n{/if}\n{if $line_item.num_waiting_participants > 0}\n  Waitlisted:\n    {foreach from=$line_item.waiting_participants item=participant}\n      {$participant.display_name}\n    {/foreach}\n{/if}\nCost: {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\nTotal For This Event: {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n\n{/foreach}\n\n{if $discounts}\nSubtotal: {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n--------------------------------------\nDiscounts\n{foreach from=$discounts key=myId item=i}\n  {$i.title}: -{$i.amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/if}\n======================================\nTotal: {$total|crmMoney:$currency|string_format:\"%10s\"}\n\n{if $credit_card_type}\n===========================================================\n{ts}Payment Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n{/if}\n\n  If you have questions about the status of your registration or purchase please feel free to contact us.\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n    <title></title>\n  </head>\n  <body>\n    {capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n    {capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n    {capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if $is_pay_later}\n      <p>\n        This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n      </p>\n    {else}\n      <p>\n        This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n      </p>\n    {/if}\n\n    {if $is_pay_later}\n      <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p>\n    {/if}\n\n    <p>Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n  Here\'s a summary of your transaction placed on {$transaction_date|date_format:\"%D %I:%M %p %Z\"}:</p>\n\n{if $billing_name}\n  <table class=\"billing-info\">\n      <tr>\n    <th style=\"text-align: left;\">\n      {ts}Billing Name and Address{/ts}\n    </th>\n      </tr>\n      <tr>\n    <td>\n      {$billing_name}<br />\n      {$billing_street_address}<br />\n      {$billing_city}, {$billing_state} {$billing_postal_code}<br/>\n      <br/>\n      {$email}\n    </td>\n    </tr>\n    </table>\n{/if}\n{if $credit_card_type}\n  <p>&nbsp;</p>\n  <table class=\"billing-info\">\n      <tr>\n    <th style=\"text-align: left;\">\n      {ts}Credit Card Information{/ts}\n    </th>\n      </tr>\n      <tr>\n    <td>\n      {$credit_card_type}<br />\n      {$credit_card_number}<br />\n      {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n    </td>\n    </tr>\n    </table>\n{/if}\n{if !empty($source)}\n    <p>&nbsp;</p>\n    {$source}\n{/if}\n    <p>&nbsp;</p>\n    <table width=\"700\">\n      <thead>\n    <tr>\n{if $line_items}\n      <th style=\"text-align: left;\">\n      Event\n      </th>\n      <th style=\"text-align: left;\">\n      Participants\n      </th>\n{/if}\n      <th style=\"text-align: left;\">\n      Price\n      </th>\n      <th style=\"text-align: left;\">\n      Total\n      </th>\n    </tr>\n    </thead>\n      <tbody>\n  {foreach from=$line_items item=line_item}\n  <tr>\n    <td style=\"width: 220px\">\n      {$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})<br />\n      {if $line_item.event->is_show_location}\n        {$line_item.location.address.1.display|nl2br}\n      {/if}{*End of isShowLocation condition*}<br /><br />\n      {$line_item.event->start_date|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%I:%M %p\"}\n    </td>\n    <td style=\"width: 180px\">\n    {$line_item.num_participants}\n      {if $line_item.num_participants > 0}\n      <div class=\"participants\" style=\"padding-left: 10px;\">\n        {foreach from=$line_item.participants item=participant}\n        {$participant.display_name}<br />\n        {/foreach}\n      </div>\n      {/if}\n      {if $line_item.num_waiting_participants > 0}\n      Waitlisted:<br/>\n      <div class=\"participants\" style=\"padding-left: 10px;\">\n        {foreach from=$line_item.waiting_participants item=participant}\n        {$participant.display_name}<br />\n        {/foreach}\n      </div>\n      {/if}\n    </td>\n    <td style=\"width: 100px\">\n      {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\n    </td>\n    <td style=\"width: 100px\">\n      &nbsp;{$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n    </td>\n  </tr>\n  {/foreach}\n      </tbody>\n      <tfoot>\n  {if $discounts}\n  <tr>\n    <td>\n    </td>\n    <td>\n    </td>\n    <td>\n      Subtotal:\n    </td>\n    <td>\n      &nbsp;{$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n    </td>\n  </tr>\n  {foreach from=$discounts key=myId item=i}\n  <tr>\n    <td>\n      {$i.title}\n    </td>\n    <td>\n    </td>\n    <td>\n    </td>\n    <td>\n      -{$i.amount}\n    </td>\n  </tr>\n  {/foreach}\n  {/if}\n  <tr>\n{if $line_items}\n    <td>\n    </td>\n    <td>\n    </td>\n{/if}\n    <td>\n      <strong>Total:</strong>\n    </td>\n    <td>\n      <strong>&nbsp;{$total|crmMoney:$currency|string_format:\"%10s\"}</strong>\n    </td>\n  </tr>\n      </tfoot>\n    </table>\n\n    If you have questions about the status of your registration or purchase please feel free to contact us.\n  </body>\n</html>\n',1,839,'event_registration_receipt',1,0,0,NULL),
+ (34,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if $is_pay_later}\n  This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n{else}\n  This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n{/if}\n\n{if $is_pay_later}\n  {if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n{/if}\n\n  Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n Here\'s a summary of your transaction placed on {$transaction_date|date_format:\"%D %I:%M %p %Z\"}:\n\n{if $billing_name}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billing_name}\n\n{$billing_street_address}\n\n{$billing_city}, {$billing_state} {$billing_postal_code}\n\n{$email}\n{/if}\n\n{if !empty($source)}\n{$source}\n{/if}\n\n\n{foreach from=$line_items item=line_item}\n{$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})\n{if $line_item.event->is_show_location}\n  {$line_item.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n{$line_item.event->start_date|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%I:%M %p\"}\n\n  Quantity: {$line_item.num_participants}\n\n{if $line_item.num_participants > 0}\n  {foreach from=$line_item.participants item=participant}\n    {$participant.display_name}\n  {/foreach}\n{/if}\n{if $line_item.num_waiting_participants > 0}\n  Waitlisted:\n    {foreach from=$line_item.waiting_participants item=participant}\n      {$participant.display_name}\n    {/foreach}\n{/if}\nCost: {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\nTotal For This Event: {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n\n{/foreach}\n\n{if $discounts}\nSubtotal: {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n--------------------------------------\nDiscounts\n{foreach from=$discounts key=myId item=i}\n  {$i.title}: -{$i.amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/if}\n======================================\nTotal: {$total|crmMoney:$currency|string_format:\"%10s\"}\n\n{if $credit_card_type}\n===========================================================\n{ts}Payment Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n{/if}\n\n  If you have questions about the status of your registration or purchase please feel free to contact us.\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n    <title></title>\n  </head>\n  <body>\n    {capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n    {capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n    {capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if $is_pay_later}\n      <p>\n        This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n      </p>\n    {else}\n      <p>\n        This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n      </p>\n    {/if}\n\n    {if $is_pay_later}\n      <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p>\n    {/if}\n\n    <p>Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n  Here\'s a summary of your transaction placed on {$transaction_date|date_format:\"%D %I:%M %p %Z\"}:</p>\n\n{if $billing_name}\n  <table class=\"billing-info\">\n      <tr>\n    <th style=\"text-align: left;\">\n      {ts}Billing Name and Address{/ts}\n    </th>\n      </tr>\n      <tr>\n    <td>\n      {$billing_name}<br />\n      {$billing_street_address}<br />\n      {$billing_city}, {$billing_state} {$billing_postal_code}<br/>\n      <br/>\n      {$email}\n    </td>\n    </tr>\n    </table>\n{/if}\n{if $credit_card_type}\n  <p>&nbsp;</p>\n  <table class=\"billing-info\">\n      <tr>\n    <th style=\"text-align: left;\">\n      {ts}Credit Card Information{/ts}\n    </th>\n      </tr>\n      <tr>\n    <td>\n      {$credit_card_type}<br />\n      {$credit_card_number}<br />\n      {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n    </td>\n    </tr>\n    </table>\n{/if}\n{if !empty($source)}\n    <p>&nbsp;</p>\n    {$source}\n{/if}\n    <p>&nbsp;</p>\n    <table width=\"700\">\n      <thead>\n    <tr>\n{if $line_items}\n      <th style=\"text-align: left;\">\n      Event\n      </th>\n      <th style=\"text-align: left;\">\n      Participants\n      </th>\n{/if}\n      <th style=\"text-align: left;\">\n      Price\n      </th>\n      <th style=\"text-align: left;\">\n      Total\n      </th>\n    </tr>\n    </thead>\n      <tbody>\n  {foreach from=$line_items item=line_item}\n  <tr>\n    <td style=\"width: 220px\">\n      {$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})<br />\n      {if $line_item.event->is_show_location}\n        {$line_item.location.address.1.display|nl2br}\n      {/if}{*End of isShowLocation condition*}<br /><br />\n      {$line_item.event->start_date|date_format:\"%D %I:%M %p\"} - {$line_item.event->end_date|date_format:\"%I:%M %p\"}\n    </td>\n    <td style=\"width: 180px\">\n    {$line_item.num_participants}\n      {if $line_item.num_participants > 0}\n      <div class=\"participants\" style=\"padding-left: 10px;\">\n        {foreach from=$line_item.participants item=participant}\n        {$participant.display_name}<br />\n        {/foreach}\n      </div>\n      {/if}\n      {if $line_item.num_waiting_participants > 0}\n      Waitlisted:<br/>\n      <div class=\"participants\" style=\"padding-left: 10px;\">\n        {foreach from=$line_item.waiting_participants item=participant}\n        {$participant.display_name}<br />\n        {/foreach}\n      </div>\n      {/if}\n    </td>\n    <td style=\"width: 100px\">\n      {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\n    </td>\n    <td style=\"width: 100px\">\n      &nbsp;{$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n    </td>\n  </tr>\n  {/foreach}\n      </tbody>\n      <tfoot>\n  {if $discounts}\n  <tr>\n    <td>\n    </td>\n    <td>\n    </td>\n    <td>\n      Subtotal:\n    </td>\n    <td>\n      &nbsp;{$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n    </td>\n  </tr>\n  {foreach from=$discounts key=myId item=i}\n  <tr>\n    <td>\n      {$i.title}\n    </td>\n    <td>\n    </td>\n    <td>\n    </td>\n    <td>\n      -{$i.amount}\n    </td>\n  </tr>\n  {/foreach}\n  {/if}\n  <tr>\n{if $line_items}\n    <td>\n    </td>\n    <td>\n    </td>\n{/if}\n    <td>\n      <strong>Total:</strong>\n    </td>\n    <td>\n      <strong>&nbsp;{$total|crmMoney:$currency|string_format:\"%10s\"}</strong>\n    </td>\n  </tr>\n      </tfoot>\n    </table>\n\n    If you have questions about the status of your registration or purchase please feel free to contact us.\n  </body>\n</html>\n',1,839,'event_registration_receipt',0,1,0,NULL),
+ (35,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}Your Event Registration has been cancelled.{/ts}\n\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if !empty($register_date)}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}Your Event Registration has been cancelled.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($register_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,840,'participant_cancelled',1,0,0,NULL),
+ (36,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}Your Event Registration has been cancelled.{/ts}\n\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if !empty($register_date)}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}Your Event Registration has been cancelled.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($register_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,840,'participant_cancelled',0,1,0,NULL),
+ (37,'Events - Registration Confirmation Invite','{ts 1=$event.event_title}Confirm your registration for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}\n\n{if !$isAdditional and $participant.id}\n\n===========================================================\n{ts}Confirm Your Registration{/ts}\n\n===========================================================\n{capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\nClick this link to go to a web page where you can confirm your registration online:\n{$confirmUrl}\n{/if}\n{if $event.allow_selfcancelxfer }\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if $totalAmount}{ts}Cancellations are not refundable.{/ts}{/if}\n   {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n{if $conference_sessions}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location}    {$session.location}{/if}\n{/foreach}\n{/if}\n\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar File:{/ts} {$icalFeed}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}</p>\n   </td>\n  </tr>\n  {if !$isAdditional and $participant.id}\n   <tr>\n    <th {$headerStyle}>\n     {ts}Confirm Your Registration{/ts}\n    </th>\n   </tr>\n   <tr>\n    <td colspan=\"2\" {$valueStyle}>\n     {capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\n     <a href=\"{$confirmUrl}\">{ts}Click here to confirm and complete your registration{/ts}</a>\n    </td>\n   </tr>\n  {/if}\n  {if $event.allow_selfcancelxfer }\n  {ts}This event allows for{/ts}\n  {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n       <a href=\"{$selfService}\"> {ts}self service cancel or transfer{/ts}</a>\n  {/if}\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     {if $conference_sessions}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n  {ts}Your schedule:{/ts}\n       </td>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n  {assign var=\'group_by_day\' value=\'NA\'}\n  {foreach from=$conference_sessions item=session}\n   {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n    {assign var=\'group_by_day\' value=$session.start_date}\n          <em>{$group_by_day|date_format:\"%m/%d/%Y\"}</em><br />\n   {/if}\n   {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />\n   {if $session.location}&nbsp;&nbsp;&nbsp;&nbsp;{$session.location}<br />{/if}\n  {/foreach}\n       </td>\n      </tr>\n     {/if}\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if $event.location.phone.1.phone || $event.location.email.1.email}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $event.is_public}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n        <a href=\"{$icalFeed}\">{ts}Download iCalendar File{/ts}</a>\n       </td>\n      </tr>\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n  {if $event.allow_selfcancelxfer }\n   <tr>\n     <td colspan=\"2\" {$valueStyle}>\n       {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if $totalAmount}{ts}Cancellations are not refundable.{/ts}{/if}<br />\n         {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n       <a href=\"{$selfService}\">{ts}Click here to transfer or cancel your registration.{/ts}</a>\n     </td>\n   </tr>\n  {/if}\n  <tr>\n   <td colspan=\"2\" {$valueStyle}>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,841,'participant_confirm',1,0,0,NULL),
+ (38,'Events - Registration Confirmation Invite','{ts 1=$event.event_title}Confirm your registration for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}\n\n{if !$isAdditional and $participant.id}\n\n===========================================================\n{ts}Confirm Your Registration{/ts}\n\n===========================================================\n{capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\nClick this link to go to a web page where you can confirm your registration online:\n{$confirmUrl}\n{/if}\n{if $event.allow_selfcancelxfer }\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if $totalAmount}{ts}Cancellations are not refundable.{/ts}{/if}\n   {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n{if $conference_sessions}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|date_format:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location}    {$session.location}{/if}\n{/foreach}\n{/if}\n\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if $event.location.phone.1.phone || $event.location.email.1.email}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $event.is_public}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar File:{/ts} {$icalFeed}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}</p>\n   </td>\n  </tr>\n  {if !$isAdditional and $participant.id}\n   <tr>\n    <th {$headerStyle}>\n     {ts}Confirm Your Registration{/ts}\n    </th>\n   </tr>\n   <tr>\n    <td colspan=\"2\" {$valueStyle}>\n     {capture assign=confirmUrl}{crmURL p=\'civicrm/event/confirm\' q=\"reset=1&participantId=`$participant.id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\n     <a href=\"{$confirmUrl}\">{ts}Click here to confirm and complete your registration{/ts}</a>\n    </td>\n   </tr>\n  {/if}\n  {if $event.allow_selfcancelxfer }\n  {ts}This event allows for{/ts}\n  {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n       <a href=\"{$selfService}\"> {ts}self service cancel or transfer{/ts}</a>\n  {/if}\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     {if $conference_sessions}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n  {ts}Your schedule:{/ts}\n       </td>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n  {assign var=\'group_by_day\' value=\'NA\'}\n  {foreach from=$conference_sessions item=session}\n   {if $session.start_date|date_format:\"%Y/%m/%d\" != $group_by_day|date_format:\"%Y/%m/%d\"}\n    {assign var=\'group_by_day\' value=$session.start_date}\n          <em>{$group_by_day|date_format:\"%m/%d/%Y\"}</em><br />\n   {/if}\n   {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />\n   {if $session.location}&nbsp;&nbsp;&nbsp;&nbsp;{$session.location}<br />{/if}\n  {/foreach}\n       </td>\n      </tr>\n     {/if}\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if $event.location.phone.1.phone || $event.location.email.1.email}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $event.is_public}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n        <a href=\"{$icalFeed}\">{ts}Download iCalendar File{/ts}</a>\n       </td>\n      </tr>\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n  {if $event.allow_selfcancelxfer }\n   <tr>\n     <td colspan=\"2\" {$valueStyle}>\n       {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if $totalAmount}{ts}Cancellations are not refundable.{/ts}{/if}<br />\n         {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\"  h=0 a=1 fe=1}{/capture}\n       <a href=\"{$selfService}\">{ts}Click here to transfer or cancel your registration.{/ts}</a>\n     </td>\n   </tr>\n  {/if}\n  <tr>\n   <td colspan=\"2\" {$valueStyle}>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,841,'participant_confirm',0,1,0,NULL),
+ (39,'Events - Pending Registration Expiration Notice','{ts 1=$event.event_title}Event registration has expired for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}</p>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,842,'participant_expired',1,0,0,NULL),
+ (40,'Events - Pending Registration Expiration Notice','{ts 1=$event.event_title}Event registration has expired for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}</p>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor want to inquire about reinstating your registration for this event.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,842,'participant_expired',0,1,0,NULL),
+ (41,'Events - Registration Transferred Notice','{ts 1=$event.event_title}Event Registration Transferred for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$to_participant}Your Event Registration has been transferred to %1.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$to_participant}Your Event Registration has been Transferred to %1.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,843,'participant_transferred',1,0,0,NULL),
+ (42,'Events - Registration Transferred Notice','{ts 1=$event.event_title}Event Registration Transferred for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$to_participant}Your Event Registration has been transferred to %1.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if $contact.email}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$to_participant}Your Event Registration has been Transferred to %1.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Event Information and Location{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       {$event.event_title}<br />\n       {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:\"%Y%m%d\" == $event.event_start_date|date_format:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Participant Role{/ts}:\n      </td>\n      <td {$valueStyle}>\n       {$participant.role}\n      </td>\n     </tr>\n\n     {if $isShowLocation}\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$event.location.address.1.display|nl2br}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {ts}Event Contacts:{/ts}\n       </td>\n      </tr>\n      {foreach from=$event.location.phone item=phone}\n       {if $phone.phone}\n        <tr>\n         <td {$labelStyle}>\n          {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n         </td>\n         <td {$valueStyle}>\n          {$phone.phone}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n      {foreach from=$event.location.email item=eventEmail}\n       {if $eventEmail.email}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Email{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$eventEmail.email}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if $contact.email}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Registered Email{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$contact.email}\n       </td>\n      </tr>\n     {/if}\n\n     {if $register_date}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Registration Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$participant.register_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,843,'participant_transferred',0,1,0,NULL),
+ (43,'Tell-a-Friend Email','{ts 1=$senderContactName 2=$title}%1 wants you to know about %2{/ts}\n','{$senderMessage}\n\n{if $generalLink}{ts}For more information, visit:{/ts}\n>> {$generalLink}\n\n{/if}\n{if $contribute}{ts}To make a contribution, go to:{/ts}\n>> {$pageURL}\n\n{/if}\n{if $event}{ts}To find out more about this event, go to:{/ts}\n>> {$pageURL}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <p>{$senderMessage}</p>\n    {if $generalLink}\n     <p><a href=\"{$generalLink}\">{ts}More information{/ts}</a></p>\n    {/if}\n    {if $contribute}\n     <p><a href=\"{$pageURL}\">{ts}Make a contribution{/ts}</a></p>\n    {/if}\n    {if $event}\n     <p><a href=\"{$pageURL}\">{ts}Find out more about this event{/ts}</a></p>\n    {/if}\n   </td>\n  </tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,844,'friend',1,0,0,NULL),
+ (44,'Tell-a-Friend Email','{ts 1=$senderContactName 2=$title}%1 wants you to know about %2{/ts}\n','{$senderMessage}\n\n{if $generalLink}{ts}For more information, visit:{/ts}\n>> {$generalLink}\n\n{/if}\n{if $contribute}{ts}To make a contribution, go to:{/ts}\n>> {$pageURL}\n\n{/if}\n{if $event}{ts}To find out more about this event, go to:{/ts}\n>> {$pageURL}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <p>{$senderMessage}</p>\n    {if $generalLink}\n     <p><a href=\"{$generalLink}\">{ts}More information{/ts}</a></p>\n    {/if}\n    {if $contribute}\n     <p><a href=\"{$pageURL}\">{ts}Make a contribution{/ts}</a></p>\n    {/if}\n    {if $event}\n     <p><a href=\"{$pageURL}\">{ts}Find out more about this event{/ts}</a></p>\n    {/if}\n   </td>\n  </tr>\n </table>\n</center>\n\n</body>\n</html>\n',1,844,'friend',0,1,0,NULL),
+ (45,'Memberships - Signup and Renewal Receipts (off-line)','{if $receiptType EQ \'membership signup\'}\n{ts}Membership Confirmation and Receipt{/ts}\n{elseif $receiptType EQ \'membership renewal\'}\n{ts}Membership Renewal Confirmation and Receipt{/ts}\n{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if !empty($formValues.receipt_text_signup)}\n{$formValues.receipt_text_signup}\n{elseif !empty($formValues.receipt_text_renewal)}\n{$formValues.receipt_text_renewal}\n{else}{ts}Thank you for this contribution.{/ts}{/if}\n\n{if empty($lineItem)}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{/if}\n{if empty($cancelled)}\n{if empty($lineItem)}\n{ts}Membership Start Date{/ts}: {$mem_start_date}\n{ts}Membership End Date{/ts}: {$mem_end_date}\n{/if}\n\n{if $formValues.total_amount OR $formValues.total_amount eq 0 }\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !empty($formValues.contributionType_name)}\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{/if}\n{if !empty($lineItem)}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}  {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}  {else}                  {/if}   {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax{/ts}: {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"} %: {$value|crmMoney:$currency}\n{elseif  $priceset == 0}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$formValues.total_amount|crmMoney}\n{if !empty($receive_date)}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if !empty($formValues.paidBy)}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if !empty($formValues.check_number)}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if !empty($isPrimary) }\n{if !empty($billingName)}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n\n{if !empty($customValues)}\n===========================================================\n{ts}Membership Options{/ts}\n\n===========================================================\n{foreach from=$customValues item=value key=customName}\n {$customName} : {$value}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n        \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n  <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\"\n         style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n    <!-- BEGIN HEADER -->\n    <!-- You can add table row(s) here with logo or other header elements -->\n    <!-- END HEADER -->\n\n    <!-- BEGIN CONTENT -->\n\n    <tr>\n      <td>\n        {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n        {if !empty($formValues.receipt_text_signup)}\n          <p>{$formValues.receipt_text_signup|htmlize}</p>\n        {elseif !empty($formValues.receipt_text_renewal)}\n          <p>{$formValues.receipt_text_renewal|htmlize}</p>\n        {else}\n          <p>{ts}Thank you for this contribution.{/ts}</p>\n        {/if}\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n          {if empty($lineItem)}\n            <tr>\n              <th {$headerStyle}>\n                {ts}Membership Information{/ts}\n              </th>\n            </tr>\n            <tr>\n              <td {$labelStyle}>\n                {ts}Membership Type{/ts}\n              </td>\n              <td {$valueStyle}>\n                {$membership_name}\n              </td>\n            </tr>\n          {/if}\n          {if empty($cancelled)}\n            {if empty($lineItem)}\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Membership Start Date{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$mem_start_date}\n                </td>\n              </tr>\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Membership End Date{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$mem_end_date}\n                </td>\n              </tr>\n            {/if}\n            {if $formValues.total_amount OR $formValues.total_amount eq 0 }\n              <tr>\n                <th {$headerStyle}>\n                  {ts}Membership Fee{/ts}\n                </th>\n              </tr>\n              {if !empty($formValues.contributionType_name)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Financial Type{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$formValues.contributionType_name}\n                  </td>\n                </tr>\n              {/if}\n\n              {if !empty($lineItem)}\n                {foreach from=$lineItem item=value key=priceset}\n                  <tr>\n                    <td colspan=\"2\" {$valueStyle}>\n                      <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n                        <tr>\n                          <th>{ts}Item{/ts}</th>\n                          <th>{ts}Fee{/ts}</th>\n                          {if !empty($dataArray)}\n                            <th>{ts}SubTotal{/ts}</th>\n                            <th>{ts}Tax Rate{/ts}</th>\n                            <th>{ts}Tax Amount{/ts}</th>\n                            <th>{ts}Total{/ts}</th>\n                          {/if}\n                          <th>{ts}Membership Start Date{/ts}</th>\n                          <th>{ts}Membership End Date{/ts}</th>\n                        </tr>\n                        {foreach from=$value item=line}\n                          <tr>\n                            <td>\n                              {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}\n                                <div>{$line.description|truncate:30:\"...\"}</div>{/if}\n                            </td>\n                            <td>\n                              {$line.line_total|crmMoney}\n                            </td>\n                            {if !empty($dataArray)}\n                              <td>\n                                {$line.unit_price*$line.qty|crmMoney}\n                              </td>\n                              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                                <td>\n                                  {$line.tax_rate|string_format:\"%.2f\"}%\n                                </td>\n                                <td>\n                                  {$line.tax_amount|crmMoney}\n                                </td>\n                              {else}\n                                <td></td>\n                                <td></td>\n                              {/if}\n                              <td>\n                                {$line.line_total+$line.tax_amount|crmMoney}\n                              </td>\n                            {/if}\n                            <td>\n                              {$line.start_date}\n                            </td>\n                            <td>\n                              {$line.end_date}\n                            </td>\n                          </tr>\n                        {/foreach}\n                      </table>\n                    </td>\n                  </tr>\n                {/foreach}\n                {if !empty($dataArray)}\n                  {if isset($formValues.total_amount) and isset($totalTaxAmount)}\n                  <tr>\n                    <td {$labelStyle}>\n                      {ts}Amount Before Tax:{/ts}\n                    </td>\n                    <td {$valueStyle}>\n                      {$formValues.total_amount-$totalTaxAmount|crmMoney}\n                    </td>\n                  </tr>\n                  {/if}\n                  {foreach from=$dataArray item=value key=priceset}\n                    <tr>\n                      {if $priceset}\n                        <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n                        <td>&nbsp;{$value|crmMoney:$currency}</td>\n                      {elseif  $priceset == 0}\n                        <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n                        <td>&nbsp;{$value|crmMoney:$currency}</td>\n                      {/if}\n                    </tr>\n                  {/foreach}\n                {/if}\n              {/if}\n              {if isset($totalTaxAmount)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Total Tax Amount{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$totalTaxAmount|crmMoney:$currency}\n                  </td>\n                </tr>\n              {/if}\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Amount{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$formValues.total_amount|crmMoney}\n                </td>\n              </tr>\n              {if !empty($receive_date)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Date Received{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$receive_date|truncate:10:\'\'|crmDate}\n                  </td>\n                </tr>\n              {/if}\n              {if !empty($formValues.paidBy)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Paid By{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$formValues.paidBy}\n                  </td>\n                </tr>\n                {if !empty($formValues.check_number)}\n                  <tr>\n                    <td {$labelStyle}>\n                      {ts}Check Number{/ts}\n                    </td>\n                    <td {$valueStyle}>\n                      {$formValues.check_number}\n                    </td>\n                  </tr>\n                {/if}\n              {/if}\n            {/if}\n          {/if}\n        </table>\n      </td>\n    </tr>\n\n    {if !empty($isPrimary)}\n      <tr>\n        <td>\n          <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n\n            {if !empty($billingName)}\n              <tr>\n                <th {$headerStyle}>\n                  {ts}Billing Name and Address{/ts}\n                </th>\n              </tr>\n              <tr>\n                <td {$labelStyle}>\n                  {$billingName}<br/>\n                  {$address}\n                </td>\n              </tr>\n            {/if}\n\n            {if !empty($credit_card_type)}\n              <tr>\n                <th {$headerStyle}>\n                  {ts}Credit Card Information{/ts}\n                </th>\n              </tr>\n              <tr>\n                <td {$valueStyle}>\n                  {$credit_card_type}<br/>\n                  {$credit_card_number}\n                </td>\n              </tr>\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Expires{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n                </td>\n              </tr>\n            {/if}\n\n          </table>\n        </td>\n      </tr>\n    {/if}\n\n    {if !empty($customValues)}\n      <tr>\n        <td>\n          <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n            <tr>\n              <th {$headerStyle}>\n                {ts}Membership Options{/ts}\n              </th>\n            </tr>\n            {foreach from=$customValues item=value key=customName}\n              <tr>\n                <td {$labelStyle}>\n                  {$customName}\n                </td>\n                <td {$valueStyle}>\n                  {$value}\n                </td>\n              </tr>\n            {/foreach}\n          </table>\n        </td>\n      </tr>\n    {/if}\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,845,'membership_offline_receipt',1,0,0,NULL),
+ (46,'Memberships - Signup and Renewal Receipts (off-line)','{if $receiptType EQ \'membership signup\'}\n{ts}Membership Confirmation and Receipt{/ts}\n{elseif $receiptType EQ \'membership renewal\'}\n{ts}Membership Renewal Confirmation and Receipt{/ts}\n{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{if !empty($formValues.receipt_text_signup)}\n{$formValues.receipt_text_signup}\n{elseif !empty($formValues.receipt_text_renewal)}\n{$formValues.receipt_text_renewal}\n{else}{ts}Thank you for this contribution.{/ts}{/if}\n\n{if empty($lineItem)}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{/if}\n{if empty($cancelled)}\n{if empty($lineItem)}\n{ts}Membership Start Date{/ts}: {$mem_start_date}\n{ts}Membership End Date{/ts}: {$mem_end_date}\n{/if}\n\n{if $formValues.total_amount OR $formValues.total_amount eq 0 }\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !empty($formValues.contributionType_name)}\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\n{/if}\n{if !empty($lineItem)}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}  {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}  {else}                  {/if}   {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax{/ts}: {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"} %: {$value|crmMoney:$currency}\n{elseif  $priceset == 0}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$formValues.total_amount|crmMoney}\n{if !empty($receive_date)}\n{ts}Date Received{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if !empty($formValues.paidBy)}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if !empty($formValues.check_number)}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if !empty($isPrimary) }\n{if !empty($billingName)}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n\n{if !empty($customValues)}\n===========================================================\n{ts}Membership Options{/ts}\n\n===========================================================\n{foreach from=$customValues item=value key=customName}\n {$customName} : {$value}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n        \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n  <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\"\n         style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n    <!-- BEGIN HEADER -->\n    <!-- You can add table row(s) here with logo or other header elements -->\n    <!-- END HEADER -->\n\n    <!-- BEGIN CONTENT -->\n\n    <tr>\n      <td>\n        {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n        {if !empty($formValues.receipt_text_signup)}\n          <p>{$formValues.receipt_text_signup|htmlize}</p>\n        {elseif !empty($formValues.receipt_text_renewal)}\n          <p>{$formValues.receipt_text_renewal|htmlize}</p>\n        {else}\n          <p>{ts}Thank you for this contribution.{/ts}</p>\n        {/if}\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n          {if empty($lineItem)}\n            <tr>\n              <th {$headerStyle}>\n                {ts}Membership Information{/ts}\n              </th>\n            </tr>\n            <tr>\n              <td {$labelStyle}>\n                {ts}Membership Type{/ts}\n              </td>\n              <td {$valueStyle}>\n                {$membership_name}\n              </td>\n            </tr>\n          {/if}\n          {if empty($cancelled)}\n            {if empty($lineItem)}\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Membership Start Date{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$mem_start_date}\n                </td>\n              </tr>\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Membership End Date{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$mem_end_date}\n                </td>\n              </tr>\n            {/if}\n            {if $formValues.total_amount OR $formValues.total_amount eq 0 }\n              <tr>\n                <th {$headerStyle}>\n                  {ts}Membership Fee{/ts}\n                </th>\n              </tr>\n              {if !empty($formValues.contributionType_name)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Financial Type{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$formValues.contributionType_name}\n                  </td>\n                </tr>\n              {/if}\n\n              {if !empty($lineItem)}\n                {foreach from=$lineItem item=value key=priceset}\n                  <tr>\n                    <td colspan=\"2\" {$valueStyle}>\n                      <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n                        <tr>\n                          <th>{ts}Item{/ts}</th>\n                          <th>{ts}Fee{/ts}</th>\n                          {if !empty($dataArray)}\n                            <th>{ts}SubTotal{/ts}</th>\n                            <th>{ts}Tax Rate{/ts}</th>\n                            <th>{ts}Tax Amount{/ts}</th>\n                            <th>{ts}Total{/ts}</th>\n                          {/if}\n                          <th>{ts}Membership Start Date{/ts}</th>\n                          <th>{ts}Membership End Date{/ts}</th>\n                        </tr>\n                        {foreach from=$value item=line}\n                          <tr>\n                            <td>\n                              {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}\n                                <div>{$line.description|truncate:30:\"...\"}</div>{/if}\n                            </td>\n                            <td>\n                              {$line.line_total|crmMoney}\n                            </td>\n                            {if !empty($dataArray)}\n                              <td>\n                                {$line.unit_price*$line.qty|crmMoney}\n                              </td>\n                              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n                                <td>\n                                  {$line.tax_rate|string_format:\"%.2f\"}%\n                                </td>\n                                <td>\n                                  {$line.tax_amount|crmMoney}\n                                </td>\n                              {else}\n                                <td></td>\n                                <td></td>\n                              {/if}\n                              <td>\n                                {$line.line_total+$line.tax_amount|crmMoney}\n                              </td>\n                            {/if}\n                            <td>\n                              {$line.start_date}\n                            </td>\n                            <td>\n                              {$line.end_date}\n                            </td>\n                          </tr>\n                        {/foreach}\n                      </table>\n                    </td>\n                  </tr>\n                {/foreach}\n                {if !empty($dataArray)}\n                  {if isset($formValues.total_amount) and isset($totalTaxAmount)}\n                  <tr>\n                    <td {$labelStyle}>\n                      {ts}Amount Before Tax:{/ts}\n                    </td>\n                    <td {$valueStyle}>\n                      {$formValues.total_amount-$totalTaxAmount|crmMoney}\n                    </td>\n                  </tr>\n                  {/if}\n                  {foreach from=$dataArray item=value key=priceset}\n                    <tr>\n                      {if $priceset}\n                        <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n                        <td>&nbsp;{$value|crmMoney:$currency}</td>\n                      {elseif  $priceset == 0}\n                        <td>&nbsp;{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n                        <td>&nbsp;{$value|crmMoney:$currency}</td>\n                      {/if}\n                    </tr>\n                  {/foreach}\n                {/if}\n              {/if}\n              {if isset($totalTaxAmount)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Total Tax Amount{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$totalTaxAmount|crmMoney:$currency}\n                  </td>\n                </tr>\n              {/if}\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Amount{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$formValues.total_amount|crmMoney}\n                </td>\n              </tr>\n              {if !empty($receive_date)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Date Received{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$receive_date|truncate:10:\'\'|crmDate}\n                  </td>\n                </tr>\n              {/if}\n              {if !empty($formValues.paidBy)}\n                <tr>\n                  <td {$labelStyle}>\n                    {ts}Paid By{/ts}\n                  </td>\n                  <td {$valueStyle}>\n                    {$formValues.paidBy}\n                  </td>\n                </tr>\n                {if !empty($formValues.check_number)}\n                  <tr>\n                    <td {$labelStyle}>\n                      {ts}Check Number{/ts}\n                    </td>\n                    <td {$valueStyle}>\n                      {$formValues.check_number}\n                    </td>\n                  </tr>\n                {/if}\n              {/if}\n            {/if}\n          {/if}\n        </table>\n      </td>\n    </tr>\n\n    {if !empty($isPrimary)}\n      <tr>\n        <td>\n          <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n\n            {if !empty($billingName)}\n              <tr>\n                <th {$headerStyle}>\n                  {ts}Billing Name and Address{/ts}\n                </th>\n              </tr>\n              <tr>\n                <td {$labelStyle}>\n                  {$billingName}<br/>\n                  {$address}\n                </td>\n              </tr>\n            {/if}\n\n            {if !empty($credit_card_type)}\n              <tr>\n                <th {$headerStyle}>\n                  {ts}Credit Card Information{/ts}\n                </th>\n              </tr>\n              <tr>\n                <td {$valueStyle}>\n                  {$credit_card_type}<br/>\n                  {$credit_card_number}\n                </td>\n              </tr>\n              <tr>\n                <td {$labelStyle}>\n                  {ts}Expires{/ts}\n                </td>\n                <td {$valueStyle}>\n                  {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n                </td>\n              </tr>\n            {/if}\n\n          </table>\n        </td>\n      </tr>\n    {/if}\n\n    {if !empty($customValues)}\n      <tr>\n        <td>\n          <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n            <tr>\n              <th {$headerStyle}>\n                {ts}Membership Options{/ts}\n              </th>\n            </tr>\n            {foreach from=$customValues item=value key=customName}\n              <tr>\n                <td {$labelStyle}>\n                  {$customName}\n                </td>\n                <td {$valueStyle}>\n                  {$value}\n                </td>\n              </tr>\n            {/foreach}\n          </table>\n        </td>\n      </tr>\n    {/if}\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,845,'membership_offline_receipt',0,1,0,NULL),
+ (47,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n===========================================================\n{/if}\n\n{if $membership_assign && !$useForMember}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n{/if}\n{if $amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !$useForMember && isset($membership_amount) && !empty($is_quick_config)}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount && !$is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{/if}\n{elseif !$useForMember && !empty($lineItem) and !empty($priceSetID) & empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{$line.description|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney}\n{else}\n{if $useForMember && $lineItem && empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}  {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}   {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if isset($amount_level) } - {$amount_level} {/if}\n{/if}\n{elseif isset($membership_amount)}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{/if}\n\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if !empty($membership_trx_id)}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if !empty($is_recur)}\n{ts}This membership will be renewed automatically.{/ts}\n{if $cancelSubscriptionUrl}\n\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n{/if}\n{/if}\n\n{if $honor_block_is_active }\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or email *}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n  {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n  {$contact_phone}\n{/if}\n{/if}\n{if !empty($is_deductible) AND !empty($price)}\n\n{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n     {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if !empty($receipt_text)}\n     <p>{$receipt_text|htmlize}</p>\n    {/if}\n\n    {if $is_pay_later}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  </table>\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n     {if $membership_assign && !$useForMember}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Membership Type{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_name}\n       </td>\n      </tr>\n      {if $mem_start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$mem_start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $mem_end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n          {$mem_end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n\n     {if $amount}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Fee{/ts}\n       </th>\n      </tr>\n\n      {if !$useForMember and isset($membership_amount) and !empty($is_quick_config)}\n\n       <tr>\n        <td {$labelStyle}>\n         {ts 1=$membership_name}%1 Membership{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$membership_amount|crmMoney}\n        </td>\n       </tr>\n       {if $amount && !$is_separate_payment }\n         <tr>\n          <td {$labelStyle}>\n           {ts}Contribution Amount{/ts}\n          </td>\n          <td {$valueStyle}>\n           {$amount|crmMoney}\n          </td>\n         </tr>\n         <tr>\n           <td {$labelStyle}>\n           {ts}Total{/ts}\n            </td>\n            <td {$valueStyle}>\n            {$amount+$membership_amount|crmMoney}\n           </td>\n         </tr>\n       {/if}\n\n      {elseif empty($useForMember) && !empty($lineItem) and $priceSetID and empty($is_quick_config)}\n\n       {foreach from=$lineItem item=value key=priceset}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n           <tr>\n            <th>{ts}Item{/ts}</th>\n            <th>{ts}Qty{/ts}</th>\n            <th>{ts}Each{/ts}</th>\n            <th>{ts}Total{/ts}</th>\n           </tr>\n           {foreach from=$value item=line}\n            <tr>\n             <td>\n              {$line.description|truncate:30:\"...\"}\n             </td>\n             <td>\n              {$line.qty}\n             </td>\n             <td>\n              {$line.unit_price|crmMoney}\n             </td>\n             <td>\n              {$line.line_total|crmMoney}\n             </td>\n            </tr>\n           {/foreach}\n          </table>\n         </td>\n        </tr>\n       {/foreach}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney}\n        </td>\n       </tr>\n\n      {else}\n       {if $useForMember && $lineItem and empty($is_quick_config)}\n       {foreach from=$lineItem item=value key=priceset}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n           <tr>\n            <th>{ts}Item{/ts}</th>\n            <th>{ts}Fee{/ts}</th>\n            {if !empty($dataArray)}\n              <th>{ts}SubTotal{/ts}</th>\n              <th>{ts}Tax Rate{/ts}</th>\n              <th>{ts}Tax Amount{/ts}</th>\n              <th>{ts}Total{/ts}</th>\n            {/if}\n      <th>{ts}Membership Start Date{/ts}</th>\n      <th>{ts}Membership End Date{/ts}</th>\n           </tr>\n           {foreach from=$value item=line}\n            <tr>\n             <td>\n             {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n             </td>\n             <td>\n              {$line.line_total|crmMoney}\n             </td>\n             {if !empty($dataArray)}\n              <td>\n               {$line.unit_price*$line.qty|crmMoney}\n              </td>\n              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n               <td>\n                {$line.tax_rate|string_format:\"%.2f\"}%\n               </td>\n               <td>\n                {$line.tax_amount|crmMoney}\n               </td>\n              {else}\n               <td></td>\n               <td></td>\n              {/if}\n              <td>\n               {$line.line_total+$line.tax_amount|crmMoney}\n              </td>\n             {/if}\n             <td>\n              {$line.start_date}\n             </td>\n       <td>\n              {$line.end_date}\n             </td>\n            </tr>\n           {/foreach}\n          </table>\n         </td>\n        </tr>\n       {/foreach}\n       {if !empty($dataArray)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Amount Before Tax:{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$amount-$totalTaxAmount|crmMoney}\n         </td>\n        </tr>\n        {foreach from=$dataArray item=value key=priceset}\n         <tr>\n         {if $priceset || $priceset == 0}\n           <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n         {else}\n           <td>&nbsp;{ts}NO{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n         {/if}\n         </tr>\n        {/foreach}\n       {/if}\n       {/if}\n       {if isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Total Tax Amount{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalTaxAmount|crmMoney:$currency}\n         </td>\n        </tr>\n       {/if}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney} {if isset($amount_level)} - {$amount_level}{/if}\n        </td>\n       </tr>\n\n      {/if}\n\n\n     {elseif isset($membership_amount)}\n\n\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Fee{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts 1=$membership_name}%1 Membership{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_amount|crmMoney}\n       </td>\n      </tr>\n\n\n     {/if}\n\n     {if !empty($receive_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receive_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($is_monetary) and !empty($trxn_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Transaction #{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$trxn_id}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($membership_trx_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Membership Transaction #{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_trx_id}\n       </td>\n      </tr>\n     {/if}\n     {if !empty($is_recur)}\n       <tr>\n        <td colspan=\"2\" {$labelStyle}>\n         {ts}This membership will be renewed automatically.{/ts}\n         {if $cancelSubscriptionUrl}\n           {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n         {/if}\n        </td>\n       </tr>\n       {if $updateSubscriptionBillingUrl}\n         <tr>\n          <td colspan=\"2\" {$labelStyle}>\n           {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n         </tr>\n       {/if}\n     {/if}\n\n     {if $honor_block_is_active}\n      <tr>\n       <th {$headerStyle}>\n        {$soft_credit_type}\n       </th>\n      </tr>\n      {foreach from=$honoreeProfile item=value key=label}\n        <tr>\n         <td {$labelStyle}>\n          {$label}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if !empty($pcpBlock)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Personal Campaign Page{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Display In Honor Roll{/ts}\n       </td>\n       <td {$valueStyle}>\n        {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n       </td>\n      </tr>\n      {if $pcp_roll_nickname}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Nickname{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_roll_nickname}\n        </td>\n       </tr>\n      {/if}\n      {if $pcp_personal_note}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Personal Note{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_personal_note}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n     {if !empty($onBehalfProfile)}\n      <tr>\n       <th {$headerStyle}>\n        {$onBehalfProfile_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n        <tr>\n         <td {$labelStyle}>\n          {$onBehalfName}\n         </td>\n         <td {$valueStyle}>\n          {$onBehalfValue}\n         </td>\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if !empty($billingName)}\n       <tr>\n         <th {$headerStyle}>\n           {ts}Billing Name and Address{/ts}\n         </th>\n      </tr>\n      <tr>\n        <td colspan=\"2\" {$valueStyle}>\n          {$billingName}<br />\n          {$address|nl2br}<br />\n          {$email}\n        </td>\n      </tr>\n    {elseif !empty($email)}\n      <tr>\n        <th {$headerStyle}>\n          {ts}Registered Email{/ts}\n        </th>\n      </tr>\n      <tr>\n        <td colspan=\"2\" {$valueStyle}>\n          {$email}\n        </td>\n      </tr>\n    {/if}\n\n     {if !empty($credit_card_type)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($selectPremium)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Premium Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {$product_name}\n       </td>\n      </tr>\n      {if $option}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Option{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$option}\n        </td>\n       </tr>\n      {/if}\n      {if $sku}\n       <tr>\n        <td {$labelStyle}>\n         {ts}SKU{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$sku}\n        </td>\n       </tr>\n      {/if}\n      {if $start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($contact_email) OR !empty($contact_phone)}\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <p>{ts}For information about this premium, contact:{/ts}</p>\n         {if !empty($contact_email)}\n          <p>{$contact_email}</p>\n         {/if}\n         {if !empty($contact_phone)}\n          <p>{$contact_phone}</p>\n         {/if}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($is_deductible) AND !empty($price)}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <p>{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n         </td>\n        </tr>\n      {/if}\n     {/if}\n\n     {if !empty($customPre)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPre_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPre item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customPost)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPost_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPost item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,846,'membership_online_receipt',1,0,0,NULL),
+ (48,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n===========================================================\n{/if}\n\n{if $membership_assign && !$useForMember}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n{/if}\n{if $amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !$useForMember && isset($membership_amount) && !empty($is_quick_config)}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount && !$is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{/if}\n{elseif !$useForMember && !empty($lineItem) and !empty($priceSetID) & empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{$line.description|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney}\n{else}\n{if $useForMember && $lineItem && empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}  {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}  {$line.tax_rate|string_format:\"%.2f\"} %  {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else}                  {/if}   {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {if isset($taxTerm)}{$taxTerm}{/if}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if isset($amount_level) } - {$amount_level} {/if}\n{/if}\n{elseif isset($membership_amount)}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{/if}\n\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if !empty($membership_trx_id)}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if !empty($is_recur)}\n{ts}This membership will be renewed automatically.{/ts}\n{if $cancelSubscriptionUrl}\n\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n{/if}\n{/if}\n\n{if $honor_block_is_active }\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or email *}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n  {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n  {$contact_phone}\n{/if}\n{/if}\n{if !empty($is_deductible) AND !empty($price)}\n\n{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n     {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    {if !empty($receipt_text)}\n     <p>{$receipt_text|htmlize}</p>\n    {/if}\n\n    {if $is_pay_later}\n     <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n    {/if}\n\n   </td>\n  </tr>\n  </table>\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n     {if $membership_assign && !$useForMember}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Membership Type{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_name}\n       </td>\n      </tr>\n      {if $mem_start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$mem_start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $mem_end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n          {$mem_end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n\n     {if $amount}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Fee{/ts}\n       </th>\n      </tr>\n\n      {if !$useForMember and isset($membership_amount) and !empty($is_quick_config)}\n\n       <tr>\n        <td {$labelStyle}>\n         {ts 1=$membership_name}%1 Membership{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$membership_amount|crmMoney}\n        </td>\n       </tr>\n       {if $amount && !$is_separate_payment }\n         <tr>\n          <td {$labelStyle}>\n           {ts}Contribution Amount{/ts}\n          </td>\n          <td {$valueStyle}>\n           {$amount|crmMoney}\n          </td>\n         </tr>\n         <tr>\n           <td {$labelStyle}>\n           {ts}Total{/ts}\n            </td>\n            <td {$valueStyle}>\n            {$amount+$membership_amount|crmMoney}\n           </td>\n         </tr>\n       {/if}\n\n      {elseif empty($useForMember) && !empty($lineItem) and $priceSetID and empty($is_quick_config)}\n\n       {foreach from=$lineItem item=value key=priceset}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n           <tr>\n            <th>{ts}Item{/ts}</th>\n            <th>{ts}Qty{/ts}</th>\n            <th>{ts}Each{/ts}</th>\n            <th>{ts}Total{/ts}</th>\n           </tr>\n           {foreach from=$value item=line}\n            <tr>\n             <td>\n              {$line.description|truncate:30:\"...\"}\n             </td>\n             <td>\n              {$line.qty}\n             </td>\n             <td>\n              {$line.unit_price|crmMoney}\n             </td>\n             <td>\n              {$line.line_total|crmMoney}\n             </td>\n            </tr>\n           {/foreach}\n          </table>\n         </td>\n        </tr>\n       {/foreach}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Total Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney}\n        </td>\n       </tr>\n\n      {else}\n       {if $useForMember && $lineItem and empty($is_quick_config)}\n       {foreach from=$lineItem item=value key=priceset}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n           <tr>\n            <th>{ts}Item{/ts}</th>\n            <th>{ts}Fee{/ts}</th>\n            {if !empty($dataArray)}\n              <th>{ts}SubTotal{/ts}</th>\n              <th>{ts}Tax Rate{/ts}</th>\n              <th>{ts}Tax Amount{/ts}</th>\n              <th>{ts}Total{/ts}</th>\n            {/if}\n      <th>{ts}Membership Start Date{/ts}</th>\n      <th>{ts}Membership End Date{/ts}</th>\n           </tr>\n           {foreach from=$value item=line}\n            <tr>\n             <td>\n             {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n             </td>\n             <td>\n              {$line.line_total|crmMoney}\n             </td>\n             {if !empty($dataArray)}\n              <td>\n               {$line.unit_price*$line.qty|crmMoney}\n              </td>\n              {if isset($line.tax_rate) and ($line.tax_rate != \"\" || $line.tax_amount != \"\")}\n               <td>\n                {$line.tax_rate|string_format:\"%.2f\"}%\n               </td>\n               <td>\n                {$line.tax_amount|crmMoney}\n               </td>\n              {else}\n               <td></td>\n               <td></td>\n              {/if}\n              <td>\n               {$line.line_total+$line.tax_amount|crmMoney}\n              </td>\n             {/if}\n             <td>\n              {$line.start_date}\n             </td>\n       <td>\n              {$line.end_date}\n             </td>\n            </tr>\n           {/foreach}\n          </table>\n         </td>\n        </tr>\n       {/foreach}\n       {if !empty($dataArray)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Amount Before Tax:{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$amount-$totalTaxAmount|crmMoney}\n         </td>\n        </tr>\n        {foreach from=$dataArray item=value key=priceset}\n         <tr>\n         {if $priceset || $priceset == 0}\n           <td>&nbsp;{if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:\"%.2f\"}%</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n         {else}\n           <td>&nbsp;{ts}NO{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>\n           <td>&nbsp;{$value|crmMoney:$currency}</td>\n         {/if}\n         </tr>\n        {/foreach}\n       {/if}\n       {/if}\n       {if isset($totalTaxAmount)}\n        <tr>\n         <td {$labelStyle}>\n          {ts}Total Tax Amount{/ts}\n         </td>\n         <td {$valueStyle}>\n          {$totalTaxAmount|crmMoney:$currency}\n         </td>\n        </tr>\n       {/if}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Amount{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$amount|crmMoney} {if isset($amount_level)} - {$amount_level}{/if}\n        </td>\n       </tr>\n\n      {/if}\n\n\n     {elseif isset($membership_amount)}\n\n\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Fee{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts 1=$membership_name}%1 Membership{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_amount|crmMoney}\n       </td>\n      </tr>\n\n\n     {/if}\n\n     {if !empty($receive_date)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Date{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$receive_date|crmDate}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($is_monetary) and !empty($trxn_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Transaction #{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$trxn_id}\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($membership_trx_id)}\n      <tr>\n       <td {$labelStyle}>\n        {ts}Membership Transaction #{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_trx_id}\n       </td>\n      </tr>\n     {/if}\n     {if !empty($is_recur)}\n       <tr>\n        <td colspan=\"2\" {$labelStyle}>\n         {ts}This membership will be renewed automatically.{/ts}\n         {if $cancelSubscriptionUrl}\n           {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n         {/if}\n        </td>\n       </tr>\n       {if $updateSubscriptionBillingUrl}\n         <tr>\n          <td colspan=\"2\" {$labelStyle}>\n           {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n          </td>\n         </tr>\n       {/if}\n     {/if}\n\n     {if $honor_block_is_active}\n      <tr>\n       <th {$headerStyle}>\n        {$soft_credit_type}\n       </th>\n      </tr>\n      {foreach from=$honoreeProfile item=value key=label}\n        <tr>\n         <td {$labelStyle}>\n          {$label}\n         </td>\n         <td {$valueStyle}>\n          {$value}\n         </td>\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if !empty($pcpBlock)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Personal Campaign Page{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Display In Honor Roll{/ts}\n       </td>\n       <td {$valueStyle}>\n        {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n       </td>\n      </tr>\n      {if $pcp_roll_nickname}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Nickname{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_roll_nickname}\n        </td>\n       </tr>\n      {/if}\n      {if $pcp_personal_note}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Personal Note{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$pcp_personal_note}\n        </td>\n       </tr>\n      {/if}\n     {/if}\n\n     {if !empty($onBehalfProfile)}\n      <tr>\n       <th {$headerStyle}>\n        {$onBehalfProfile_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n        <tr>\n         <td {$labelStyle}>\n          {$onBehalfName}\n         </td>\n         <td {$valueStyle}>\n          {$onBehalfValue}\n         </td>\n        </tr>\n      {/foreach}\n     {/if}\n\n     {if !empty($billingName)}\n       <tr>\n         <th {$headerStyle}>\n           {ts}Billing Name and Address{/ts}\n         </th>\n      </tr>\n      <tr>\n        <td colspan=\"2\" {$valueStyle}>\n          {$billingName}<br />\n          {$address|nl2br}<br />\n          {$email}\n        </td>\n      </tr>\n    {elseif !empty($email)}\n      <tr>\n        <th {$headerStyle}>\n          {ts}Registered Email{/ts}\n        </th>\n      </tr>\n      <tr>\n        <td colspan=\"2\" {$valueStyle}>\n          {$email}\n        </td>\n      </tr>\n    {/if}\n\n     {if !empty($credit_card_type)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n     {/if}\n\n     {if !empty($selectPremium)}\n      <tr>\n       <th {$headerStyle}>\n        {ts}Premium Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$labelStyle}>\n        {$product_name}\n       </td>\n      </tr>\n      {if $option}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Option{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$option}\n        </td>\n       </tr>\n      {/if}\n      {if $sku}\n       <tr>\n        <td {$labelStyle}>\n         {ts}SKU{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$sku}\n        </td>\n       </tr>\n      {/if}\n      {if $start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($contact_email) OR !empty($contact_phone)}\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         <p>{ts}For information about this premium, contact:{/ts}</p>\n         {if !empty($contact_email)}\n          <p>{$contact_email}</p>\n         {/if}\n         {if !empty($contact_phone)}\n          <p>{$contact_phone}</p>\n         {/if}\n        </td>\n       </tr>\n      {/if}\n      {if !empty($is_deductible) AND !empty($price)}\n        <tr>\n         <td colspan=\"2\" {$valueStyle}>\n          <p>{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n         </td>\n        </tr>\n      {/if}\n     {/if}\n\n     {if !empty($customPre)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPre_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPre item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n     {if !empty($customPost)}\n      <tr>\n       <th {$headerStyle}>\n        {$customPost_grouptitle}\n       </th>\n      </tr>\n      {foreach from=$customPost item=customValue key=customName}\n       {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n        <tr>\n         <td {$labelStyle}>\n          {$customName}\n         </td>\n         <td {$valueStyle}>\n          {$customValue}\n         </td>\n        </tr>\n       {/if}\n      {/foreach}\n     {/if}\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,846,'membership_online_receipt',0,1,0,NULL),
+ (49,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}\n\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Status{/ts}: {$membership_status}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}</p>\n\n   </td>\n  </tr>\n </table>\n <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Membership Status{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_status}\n       </td>\n      </tr>\n      {if $mem_start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$mem_start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $mem_end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n          {$mem_end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n\n </table>\n</center>\n\n</body>\n</html>\n',1,847,'membership_autorenew_cancelled',1,0,0,NULL),
+ (50,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}\n\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Status{/ts}: {$membership_status}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership End Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}</p>\n\n   </td>\n  </tr>\n </table>\n <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n      <tr>\n       <th {$headerStyle}>\n        {ts}Membership Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td {$labelStyle}>\n        {ts}Membership Status{/ts}\n       </td>\n       <td {$valueStyle}>\n        {$membership_status}\n       </td>\n      </tr>\n      {if $mem_start_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership Start Date{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$mem_start_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n      {if $mem_end_date}\n       <tr>\n        <td {$labelStyle}>\n         {ts}Membership End Date{/ts}\n        </td>\n        <td {$valueStyle}>\n          {$mem_end_date|crmDate}\n        </td>\n       </tr>\n      {/if}\n\n </table>\n</center>\n\n</body>\n</html>\n',1,847,'membership_autorenew_cancelled',0,1,0,NULL),
+ (51,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n   <tr>\n        <th {$headerStyle}>\n         {ts}Billing Name and Address{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$billingName}<br />\n         {$address|nl2br}<br />\n         {$email}\n        </td>\n       </tr>\n        <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n         {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n        </td>\n      </tr>\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,848,'membership_autorenew_billing',1,0,0,NULL),
+ (52,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n </table>\n\n  <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n   <tr>\n        <th {$headerStyle}>\n         {ts}Billing Name and Address{/ts}\n        </th>\n       </tr>\n       <tr>\n        <td colspan=\"2\" {$valueStyle}>\n         {$billingName}<br />\n         {$address|nl2br}<br />\n         {$email}\n        </td>\n       </tr>\n        <tr>\n       <th {$headerStyle}>\n        {ts}Credit Card Information{/ts}\n       </th>\n      </tr>\n      <tr>\n       <td colspan=\"2\" {$valueStyle}>\n        {$credit_card_type}<br />\n        {$credit_card_number}<br />\n        {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n       </td>\n      </tr>\n      <tr>\n        <td {$labelStyle}>\n         {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n        </td>\n      </tr>\n\n  </table>\n</center>\n\n</body>\n</html>\n',1,848,'membership_autorenew_billing',0,1,0,NULL),
+ (53,'Test-drive - Receipt Header','[TEST]\n','***********************************************************\n\n{ts}Test-drive Email / Receipt{/ts}\n\n{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}\n\n***********************************************************\n','<center>\n <table id=\"crm-event_receipt_test\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n  <tr>\n   <td>\n    <p>{ts}Test-drive Email / Receipt{/ts}</p>\n    <p>{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}</p>\n   </td>\n  </tr>\n </table>\n</center>\n',1,849,'test_preview',1,0,0,NULL),
+ (54,'Test-drive - Receipt Header','[TEST]\n','***********************************************************\n\n{ts}Test-drive Email / Receipt{/ts}\n\n{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}\n\n***********************************************************\n','<center>\n <table id=\"crm-event_receipt_test\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n  <tr>\n   <td>\n    <p>{ts}Test-drive Email / Receipt{/ts}</p>\n    <p>{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}</p>\n   </td>\n  </tr>\n </table>\n</center>\n',1,849,'test_preview',0,1,0,NULL),
+ (55,'Pledges - Acknowledgement','{ts}Thank you for your Pledge{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n{ts}Thank you for your generous pledge.{/ts}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$total_pledge_amount|crmMoney:$currency}\n\n===========================================================\n{ts}Payment Schedule{/ts}\n\n===========================================================\n{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}\n\n{if $frequency_day}\n\n{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}\n{/if}\n\n{if $payments}\n{assign var=\"count\" value=\"1\"}\n{foreach from=$payments item=payment}\n\n{ts 1=$count}Payment %1{/ts}: {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n{assign var=\"count\" value=`$count+1`}\n{/foreach}\n{/if}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}Thank you for your generous pledge.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Pledge Information{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Pledge Received{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$create_date|truncate:10:\'\'|crmDate}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Pledge Amount{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$total_pledge_amount|crmMoney:$currency}\n      </td>\n     </tr>\n     <tr>\n      <th {$headerStyle}>\n       {ts}Payment Schedule{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       <p>{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}</p>\n\n       {if $frequency_day}\n        <p>{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}</p>\n       {/if}\n      </td>\n     </tr>\n\n     {if $payments}\n      {assign var=\"count\" value=\"1\"}\n      {foreach from=$payments item=payment}\n       <tr>\n        <td {$labelStyle}>\n         {ts 1=$count}Payment %1{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n        </td>\n       </tr>\n       {assign var=\"count\" value=`$count+1`}\n      {/foreach}\n     {/if}\n\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}</p>\n      </td>\n     </tr>\n\n     {if $customGroup}\n      {foreach from=$customGroup item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {$customName}\n        </th>\n       </tr>\n       {foreach from=$value item=v key=n}\n        <tr>\n         <td {$labelStyle}>\n          {$n}\n         </td>\n         <td {$valueStyle}>\n          {$v}\n         </td>\n        </tr>\n       {/foreach}\n      {/foreach}\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,850,'pledge_acknowledge',1,0,0,NULL),
+ (56,'Pledges - Acknowledgement','{ts}Thank you for your Pledge{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n{ts}Thank you for your generous pledge.{/ts}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$total_pledge_amount|crmMoney:$currency}\n\n===========================================================\n{ts}Payment Schedule{/ts}\n\n===========================================================\n{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}\n\n{if $frequency_day}\n\n{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}\n{/if}\n\n{if $payments}\n{assign var=\"count\" value=\"1\"}\n{foreach from=$payments item=payment}\n\n{ts 1=$count}Payment %1{/ts}: {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n{assign var=\"count\" value=`$count+1`}\n{/foreach}\n{/if}\n\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts}Thank you for your generous pledge.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Pledge Information{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Pledge Received{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$create_date|truncate:10:\'\'|crmDate}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Pledge Amount{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$total_pledge_amount|crmMoney:$currency}\n      </td>\n     </tr>\n     <tr>\n      <th {$headerStyle}>\n       {ts}Payment Schedule{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       <p>{ts 1=$scheduled_amount|crmMoney:$currency 2=$frequency_interval 3=$frequency_unit 4=$installments}%1 every %2 %3 for %4 installments.{/ts}</p>\n\n       {if $frequency_day}\n        <p>{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}</p>\n       {/if}\n      </td>\n     </tr>\n\n     {if $payments}\n      {assign var=\"count\" value=\"1\"}\n      {foreach from=$payments item=payment}\n       <tr>\n        <td {$labelStyle}>\n         {ts 1=$count}Payment %1{/ts}\n        </td>\n        <td {$valueStyle}>\n         {$payment.amount|crmMoney:$currency} {if $payment.status eq 1}{ts}paid{/ts} {$payment.receive_date|truncate:10:\'\'|crmDate}{else}{ts}due{/ts} {$payment.due_date|truncate:10:\'\'|crmDate}{/if}\n        </td>\n       </tr>\n       {assign var=\"count\" value=`$count+1`}\n      {/foreach}\n     {/if}\n\n     <tr>\n      <td colspan=\"2\" {$valueStyle}>\n       <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}</p>\n      </td>\n     </tr>\n\n     {if $customGroup}\n      {foreach from=$customGroup item=value key=customName}\n       <tr>\n        <th {$headerStyle}>\n         {$customName}\n        </th>\n       </tr>\n       {foreach from=$value item=v key=n}\n        <tr>\n         <td {$labelStyle}>\n          {$n}\n         </td>\n         <td {$valueStyle}>\n          {$v}\n         </td>\n        </tr>\n       {/foreach}\n      {/foreach}\n     {/if}\n\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,850,'pledge_acknowledge',0,1,0,NULL),
+ (57,'Pledges - Payment Reminder','{ts}Pledge Payment Reminder{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}\n\n===========================================================\n{ts}Payment Due{/ts}\n\n===========================================================\n{ts}Amount Due{/ts}: {$amount_due|crmMoney:$currency}\n{ts}Due Date{/ts}: {$scheduled_payment_date|truncate:10:\'\'|crmDate}\n\n{if $contribution_page_id}\n{capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\nClick this link to go to a web page where you can make your payment online:\n{$contributionUrl}\n{else}\n{ts}Please mail your payment to{/ts}:\n{$domain.address}\n{/if}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$amount|crmMoney:$currency}\n{ts}Total Paid{/ts}: {$amount_paid|crmMoney:$currency}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n\n{ts}Thank your for your generous support.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Payment Due{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Amount Due{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$amount_due|crmMoney:$currency}\n      </td>\n     </tr>\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    {if $contribution_page_id}\n     {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\n     <p><a href=\"{$contributionUrl}\">{ts}Go to a web page where you can make your payment online{/ts}</a></p>\n    {else}\n     <p>{ts}Please mail your payment to{/ts}: {$domain.address}</p>\n    {/if}\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Pledge Information{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Pledge Received{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$create_date|truncate:10:\'\'|crmDate}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Pledge Amount{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$amount|crmMoney:$currency}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Paid{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$amount_paid|crmMoney:$currency}\n      </td>\n     </tr>\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}</p>\n    <p>{ts}Thank your for your generous support.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,851,'pledge_reminder',1,0,0,NULL),
+ (58,'Pledges - Payment Reminder','{ts}Pledge Payment Reminder{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}\n\n===========================================================\n{ts}Payment Due{/ts}\n\n===========================================================\n{ts}Amount Due{/ts}: {$amount_due|crmMoney:$currency}\n{ts}Due Date{/ts}: {$scheduled_payment_date|truncate:10:\'\'|crmDate}\n\n{if $contribution_page_id}\n{capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\nClick this link to go to a web page where you can make your payment online:\n{$contributionUrl}\n{else}\n{ts}Please mail your payment to{/ts}:\n{$domain.address}\n{/if}\n\n===========================================================\n{ts}Pledge Information{/ts}\n\n===========================================================\n{ts}Pledge Received{/ts}: {$create_date|truncate:10:\'\'|crmDate}\n{ts}Total Pledge Amount{/ts}: {$amount|crmMoney:$currency}\n{ts}Total Paid{/ts}: {$amount_paid|crmMoney:$currency}\n\n{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}\n\n\n{ts}Thank your for your generous support.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    {assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n    <p>{ts 1=$next_payment|truncate:10:\'\'|crmDate}This is a reminder that the next payment on your pledge is due on %1.{/ts}</p>\n   </td>\n  </tr>\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Payment Due{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Amount Due{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$amount_due|crmMoney:$currency}\n      </td>\n     </tr>\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    {if $contribution_page_id}\n     {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contribution_page_id`&cid=`$contact.contact_id`&pledgeId=`$pledge_id`&cs=`$checksumValue`\" a=true h=0 fe=1}{/capture}\n     <p><a href=\"{$contributionUrl}\">{ts}Go to a web page where you can make your payment online{/ts}</a></p>\n    {else}\n     <p>{ts}Please mail your payment to{/ts}: {$domain.address}</p>\n    {/if}\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <th {$headerStyle}>\n       {ts}Pledge Information{/ts}\n      </th>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Pledge Received{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$create_date|truncate:10:\'\'|crmDate}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Pledge Amount{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$amount|crmMoney:$currency}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Total Paid{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$amount_paid|crmMoney:$currency}\n      </td>\n     </tr>\n    </table>\n   </td>\n  </tr>\n\n  <tr>\n   <td>\n    <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions\nor need to modify your payment schedule.{/ts}</p>\n    <p>{ts}Thank your for your generous support.{/ts}</p>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,851,'pledge_reminder',0,1,0,NULL),
+ (59,'Profiles - Admin Notification','{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts} - {contact.display_name}\n','{ts}Submitted For:{/ts} {$displayName}\n{ts}Date:{/ts} {$currentDate}\n{ts}Contact Summary:{/ts} {$contactLink}\n\n===========================================================\n{$grouptitle}\n\n===========================================================\n{foreach from=$values item=value key=valueName}\n{$valueName}: {$value}\n{/foreach}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <td {$labelStyle}>\n       {ts}Submitted For{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$displayName}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Date{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$currentDate}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Contact Summary{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$contactLink}\n      </td>\n     </tr>\n\n     <tr>\n      <th {$headerStyle}>\n       {$grouptitle}\n      </th>\n     </tr>\n\n     {foreach from=$values item=value key=valueName}\n      <tr>\n       <td {$labelStyle}>\n        {$valueName}\n       </td>\n       <td {$valueStyle}>\n        {$value}\n       </td>\n      </tr>\n     {/foreach}\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,852,'uf_notify',1,0,0,NULL),
+ (60,'Profiles - Admin Notification','{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts} - {contact.display_name}\n','{ts}Submitted For:{/ts} {$displayName}\n{ts}Date:{/ts} {$currentDate}\n{ts}Contact Summary:{/ts} {$contactLink}\n\n===========================================================\n{$grouptitle}\n\n===========================================================\n{foreach from=$values item=value key=valueName}\n{$valueName}: {$value}\n{/foreach}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<center>\n  <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n  <!-- BEGIN HEADER -->\n  <!-- You can add table row(s) here with logo or other header elements -->\n  <!-- END HEADER -->\n\n  <!-- BEGIN CONTENT -->\n\n  <tr>\n   <td>\n    <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n     <tr>\n      <td {$labelStyle}>\n       {ts}Submitted For{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$displayName}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Date{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$currentDate}\n      </td>\n     </tr>\n     <tr>\n      <td {$labelStyle}>\n       {ts}Contact Summary{/ts}\n      </td>\n      <td {$valueStyle}>\n       {$contactLink}\n      </td>\n     </tr>\n\n     <tr>\n      <th {$headerStyle}>\n       {$grouptitle}\n      </th>\n     </tr>\n\n     {foreach from=$values item=value key=valueName}\n      <tr>\n       <td {$labelStyle}>\n        {$valueName}\n       </td>\n       <td {$valueStyle}>\n        {$value}\n       </td>\n      </tr>\n     {/foreach}\n    </table>\n   </td>\n  </tr>\n\n </table>\n</center>\n\n</body>\n</html>\n',1,852,'uf_notify',0,1,0,NULL),
+ (61,'Petition - signature added','Thank you for signing {$petition.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\nThank you for signing {$petition.title}.\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n<p>Thank you for signing {$petition.title}.</p>\n\n{include file=\"CRM/Campaign/Page/Petition/SocialNetwork.tpl\" petition_id=$survey_id noscript=true emailMode=true}\n',1,853,'petition_sign',1,0,0,NULL),
+ (62,'Petition - signature added','Thank you for signing {$petition.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\nThank you for signing {$petition.title}.\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n<p>Thank you for signing {$petition.title}.</p>\n\n{include file=\"CRM/Campaign/Page/Petition/SocialNetwork.tpl\" petition_id=$survey_id noscript=true emailMode=true}\n',1,853,'petition_sign',0,1,0,NULL),
+ (63,'Petition - need verification','Confirmation of signature needed for {$petition.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\nThank you for signing {$petition.title}.\n\nIn order to complete your signature, we must confirm your e-mail.\nPlease do so by visiting the following email confirmation web page:\n\n{$petition.confirmUrlPlainText}\n\nIf you did not sign this petition, please ignore this message.\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n<p>Thank you for signing {$petition.title}.</p>\n\n<p>In order to <b>complete your signature</b>, we must confirm your e-mail.\n<br />\nPlease do so by visiting the following web page by clicking\non the link below or pasting the link into your browser.\n<br /><br />\nEmail confirmation page: <a href=\"{$petition.confirmUrl}\">{$petition.confirmUrl}</a></p>\n\n<p>If you did not sign this petition, please ignore this message.</p>\n',1,854,'petition_confirmation_needed',1,0,0,NULL),
+ (64,'Petition - need verification','Confirmation of signature needed for {$petition.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}{$greeting},{/if}\n\nThank you for signing {$petition.title}.\n\nIn order to complete your signature, we must confirm your e-mail.\nPlease do so by visiting the following email confirmation web page:\n\n{$petition.confirmUrlPlainText}\n\nIf you did not sign this petition, please ignore this message.\n','{assign var=\"greeting\" value=\"{contact.email_greeting}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n<p>Thank you for signing {$petition.title}.</p>\n\n<p>In order to <b>complete your signature</b>, we must confirm your e-mail.\n<br />\nPlease do so by visiting the following web page by clicking\non the link below or pasting the link into your browser.\n<br /><br />\nEmail confirmation page: <a href=\"{$petition.confirmUrl}\">{$petition.confirmUrl}</a></p>\n\n<p>If you did not sign this petition, please ignore this message.</p>\n',1,854,'petition_confirmation_needed',0,1,0,NULL),
  (65,'Sample CiviMail Newsletter Template','Sample CiviMail Newsletter','','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n<table width=612 cellpadding=0 cellspacing=0 bgcolor=\"#ffffff\">\n  <tr>\n    <td colspan=\"2\" bgcolor=\"#ffffff\" valign=\"middle\" >\n      <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" >\n        <tr>\n          <td>\n          <a href=\"https://civicrm.org\"><img src=\"https://civicrm.org/sites/civicrm.org/files/top-logo_2.png\" border=0 alt=\"Replace this logo with the URL to your own\"></a>\n          </td>\n          <td>&nbsp; &nbsp;</td>\n          <td>\n          <a href=\"https://civicrm.org\" style=\"text-decoration: none;\"><font size=5 face=\"Arial, Verdana, sans-serif\" color=\"#8bc539\">Your Newsletter Title</font></a>\n          </td>\n        </tr>\n      </table>\n    </td>\n  </tr>\n  <tr>\n    <td valign=\"top\" width=\"70%\">\n      <!-- left column -->\n      <table cellpadding=\"10\" cellspacing=\"0\" border=\"0\">\n      <tr>\n        <td style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" >\n        <font face=\"Arial, Verdana, sans-serif\" size=\"2\" >\n        Greetings {contact.display_name},\n        <br /><br />\n        This is a sample template designed to help you get started creating and sending your own CiviMail messages. This template uses an HTML layout that is generally compatible with the wide variety of email clients that your recipients might be using (e.g. Gmail, Outlook, Yahoo, etc.).\n        <br /><br />You can select this \"Sample CiviMail Newsletter Template\" from the \"Use Template\" drop-down in Step 3 of creating a mailing, and customize it to your needs. Then check the \"Save as New Template\" box on the bottom the page to save your customized version for use in future mailings.\n        <br /><br />The logo you use must be uploaded to your server.  Copy and paste the URL path to the logo into the &lt;img src= tag in the HTML at the top.  Click \"Source\" or the Image button if you are using the text editor.\n        <br /><br />\n        Edit the color of the links and headers using the color button or by editing the HTML.\n        <br /><br />\n        Your newsletter message and donation appeal can go here.  Click the link button to <a href=\"#\">create links</a> - remember to use a fully qualified URL starting with http:// in all your links!\n        <br /><br />\n        To use CiviMail:\n        <ul>\n          <li><a href=\"http://book.civicrm.org/user/advanced-configuration/email-system-configuration/\">Configure your Email System</a>.</li>\n          <li>Make sure your web hosting provider allows outgoing bulk mail, and see if they have a restriction on quantity.  If they don\'t allow bulk mail, consider <a href=\"https://civicrm.org/providers/hosting\">finding a new host</a>.</li>\n        </ul>\n        Sincerely,\n        <br /><br />\n        Your Team\n        <br /><br />\n        </font>\n        </td>\n      </tr>\n      </table>\n    </td>\n\n    <td valign=\"top\" width=\"30%\" bgcolor=\"#ffffff\" style=\"border: 1px solid #056085;\">\n      <!-- right column -->\n      <table cellpadding=10 cellspacing=0 border=0>\n      <tr>\n        <td bgcolor=\"#056085\"><font face=\"Arial, Verdana, sans-serif\" size=\"4\" color=\"#ffffff\">News and Events</font></td>\n      </tr>\n      <tr>\n        <td style=\"color: #000; font-family: Arial, Verdana, sans-serif; font-size: 12px;\" >\n        <font face=\"Arial, Verdana, sans-serif\" size=\"2\" >\n        <font color=\"#056085\"><strong>Featured Events</strong> </font><br />\n        Fundraising Dinner<br />\n        Training Meeting<br />\n        Board of Directors Annual Meeting<br />\n\n        <br /><br />\n        <font color=\"#056085\"><strong>Community Events</strong></font><br />\n        Bake Sale<br />\n        Charity Auction<br />\n        Art Exhibit<br />\n\n        <br /><br />\n        <font color=\"#056085\"><strong>Important Dates</strong></font><br />\n        Tuesday August 27<br />\n        Wednesday September 8<br />\n        Thursday September 29<br />\n        Saturday October 1<br />\n        Sunday October 20<br />\n        </font>\n        </td>\n      </tr>\n      </table>\n    </td>\n  </tr>\n\n  <tr>\n    <td colspan=\"2\">\n      <table cellpadding=\"10\" cellspacing=\"0\" border=\"0\">\n      <tr>\n        <td>\n        <font face=\"Arial, Verdana, sans-serif\" size=\"2\" >\n        <font color=\"#7dc857\"><strong>Helpful Tips</strong></font>\n        <br /><br />\n        <font color=\"#3b5187\">Tokens</font><br />\n        Click \"Insert Tokens\" to dynamically insert names, addresses, and other contact data of your recipients.\n        <br /><br />\n        <font color=\"#3b5187\">Plain Text Version</font><br />\n        Some people refuse HTML emails altogether.  We recommend sending a plain-text version of your important communications to accommodate them.  Luckily, CiviCRM accommodates for this!  Just click \"Plain Text\" and copy and paste in some text.  Line breaks (carriage returns) and fully qualified URLs like http://www.example.com are all you get, no HTML here!\n        <br /><br />\n        <font color=\"#3b5187\">Play by the Rules</font><br />\n        The address of the sender is required by the Can Spam Act law.  This is an available token called domain.address.  An unsubscribe or opt-out link is also required.  There are several available tokens for this. <em>{action.optOutUrl}</em> creates a link for recipients to click if they want to opt out of receiving  emails from your organization. <em>{action.unsubscribeUrl}</em> creates a link to unsubscribe from the specific mailing list used to send this message. Click on \"Insert Tokens\" to find these and look for tokens named \"Domain\" or \"Unsubscribe\".  This sample template includes both required tokens at the bottom of the message. You can also configure a default Mailing Footer containing these tokens.\n        <br /><br />\n        <font color=\"#3b5187\">Composing Offline</font><br />\n        If you prefer to compose an HTML email offline in your own text editor, you can upload this HTML content into CiviMail or simply click \"Source\" and then copy and paste the HTML in.\n        <br /><br />\n        <font color=\"#3b5187\">Images</font><br />\n        Most email clients these days (Outlook, Gmail, etc) block image loading by default.  This is to protect their users from annoying or harmful email.  Not much we can do about this, so encourage recipients to add you to their contacts or \"whitelist\".  Also use images sparingly, do not rely on images to convey vital information, and always use HTML \"alt\" tags which describe the image content.\n        </td>\n      </tr>\n      </table>\n    </td>\n  </tr>\n  <tr>\n    <td colspan=\"2\" style=\"color: #000; font-family: Arial, Verdana, sans-serif; font-size: 10px;\">\n      <font face=\"Arial, Verdana, sans-serif\" size=\"2\" >\n      <hr />\n      <a href=\"{action.unsubscribeUrl}\" title=\"click to unsubscribe\">Click here</a> to unsubscribe from this mailing list.<br /><br />\n      Our mailing address is:<br />\n      {domain.address}\n    </td>\n  </tr>\n  </table>\n\n</body>\n</html>\n',1,NULL,NULL,1,0,0,NULL),
  (66,'Sample Responsive Design Newsletter - Single Column Template','Sample Responsive Design Newsletter - Single Column','','<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\" />\n  <meta content=\"width=device-width, initial-scale=1.0\" name=\"viewport\" />\n  <title></title>\n\n  <style type=\"text/css\">\n    {literal}\n    /* Client-specific Styles */\n    #outlook a {padding:0;} /* Force Outlook to provide a \"view in browser\" menu link. */\n    body{width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0;}\n\n    /* Prevent Webkit and Windows Mobile platforms from changing default font sizes, while not breaking desktop design. */\n    .ExternalClass {width:100%;} /* Force Hotmail to display emails at full width */\n    .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;} /* Force Hotmail to display normal line spacing. */\n    #backgroundTable {margin:0; padding:0; width:100% !important; line-height: 100% !important;}\n    img {outline:none; text-decoration:none;border:none; -ms-interpolation-mode: bicubic;}\n    a img {border:none;}\n    .image_fix {display:block;}\n    p {margin: 0px 0px !important;}\n    table td {border-collapse: collapse;}\n    table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }\n    a {text-decoration: none;text-decoration:none;}\n\n    /*STYLES*/\n    table[class=full] { width: 100%; clear: both; }\n\n    /*IPAD STYLES*/\n    @media only screen and (max-width: 640px) {\n    a[href^=\"tel\"], a[href^=\"sms\"] {text-decoration: none;color:#136388;pointer-events: none;cursor: default;}\n    .mobile_link a[href^=\"tel\"], .mobile_link a[href^=\"sms\"] {text-decoration: default;color:#136388;pointer-events: auto;cursor: default;}\n    table[class=devicewidth] {width: 440px!important;text-align:center!important;}\n    table[class=devicewidthmob] {width: 416px!important;text-align:center!important;}\n    table[class=devicewidthinner] {width: 416px!important;text-align:center!important;}\n    img[class=banner] {width: 440px!important;auto!important;}\n    img[class=col2img] {width: 440px!important;height:auto!important;}\n    table[class=\"cols3inner\"] {width: 100px!important;}\n    table[class=\"col3img\"] {width: 131px!important;}\n    img[class=\"col3img\"] {width: 131px!important;height: auto!important;}\n    table[class=\"removeMobile\"]{width:10px!important;}\n    img[class=\"blog\"] {width: 440px!important;height: auto!important;}\n    }\n\n    /*IPHONE STYLES*/\n    @media only screen and (max-width: 480px) {\n    a[href^=\"tel\"], a[href^=\"sms\"] {text-decoration: none;color: #136388;pointer-events: none;cursor: default;}\n    .mobile_link a[href^=\"tel\"], .mobile_link a[href^=\"sms\"] {text-decoration: none;color:#136388;pointer-events: auto;cursor: default;}\n\n    table[class=devicewidth] {width: 280px!important;text-align:center!important;}\n    table[class=devicewidthmob] {width: 260px!important;text-align:center!important;}\n    table[class=devicewidthinner] {width: 260px!important;text-align:center!important;}\n    img[class=banner] {width: 280px!important;height:100px!important;}\n    img[class=col2img] {width: 280px!important;height:auto!important;}\n    table[class=\"cols3inner\"] {width: 260px!important;}\n    img[class=\"col3img\"] {width: 280px!important;height: auto!important;}\n    table[class=\"col3img\"] {width: 280px!important;}\n    img[class=\"blog\"] {width: 280px!important;auto!important;}\n    td[class=\"padding-top-right15\"]{padding:15px 15px 0 0 !important;}\n    td[class=\"padding-right15\"]{padding-right:15px !important;}\n    }\n\n    @media only screen and (max-device-width: 800px)\n    {td[class=\"padding-top-right15\"]{padding:15px 15px 0 0 !important;}\n    td[class=\"padding-right15\"]{padding-right:15px !important;}}\n    @media only screen and (max-device-width: 769px) {\n    .devicewidthmob {font-size:16px;}\n    }\n\n    @media only screen and (max-width: 640px) {\n    .desktop-spacer {display:none !important;}\n }\n  {/literal}\n  </style>\n\n<body>\n  <!-- Start of preheader --><!-- Start of preheader -->\n  <table bgcolor=\"#89c66b\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" width=\"100%\">\n  	<tbody>\n  		<tr>\n  			<td>\n  			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  				<tbody>\n  					<tr>\n  						<td width=\"100%\">\n  						<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  							<tbody><!-- Spacing -->\n  								<tr>\n  									<td height=\"20\" width=\"100%\">&nbsp;</td>\n  								</tr>\n  								<!-- Spacing -->\n  								<tr>\n  									<td>\n  									<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidthinner\" width=\"310\">\n  										<tbody>\n  											<tr>\n  												<td align=\"left\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 16px; line-height:120%; color: #f8f8f8;padding-left:15px; padding-bottom:5px;\" valign=\"middle\">Organization or Program Name Here</td>\n  											</tr>\n  										</tbody>\n  									</table>\n\n  									<table align=\"right\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"emhide\" width=\"310\">\n  										<tbody>\n  											<tr>\n                          <td align=\"right\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 16px;color: #f8f8f8;padding-right:15px; text-align:right;\" valign=\"middle\">Month and Year</td>\n  											</tr>\n  										</tbody>\n  									</table>\n  									</td>\n  								</tr>\n  								<!-- Spacing -->\n  								<tr>\n  									<td height=\"20\" width=\"100%\">&nbsp;</td>\n  								</tr>\n  								<!-- Spacing -->\n  							</tbody>\n  						</table>\n  						</td>\n  					</tr>\n  				</tbody>\n  			</table>\n  			</td>\n  		</tr>\n  	</tbody>\n  </table>\n  <!-- End of main-banner-->\n\n  <table bgcolor=\"#d8d8d8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" st-sortable=\"left-image\" width=\"100%\">\n  	<tbody>\n  		<tr>\n  			<td>\n  			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  				<tbody>\n  					<tr>\n  						<td width=\"100%\">\n  						<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  							<tbody><!-- Spacing -->\n  								<tr>\n  									<td height=\"20\" width=\"100%\">\n  									<table align=\"center\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"93%\">\n  										<tbody>\n  											<tr>\n                          <td rowspan=\"2\" style=\"padding-top:10px; padding-bottom:10px;\" width=\"38%\"><img src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/civicrm-logo-transparent.png\" alt=\"Replace with your own logo\" width=\"220\" border=\"0\" /></td>\n  												<td align=\"right\" width=\"62%\">\n  												<h6 class=\"collapse\">&nbsp;</h6>\n  												</td>\n  											</tr>\n  											<tr>\n  												<td align=\"right\">\n  												<h5 style=\"font-family: Gill Sans, Gill Sans MT, Myriad Pro, DejaVu Sans Condensed, Helvetica, Arial, sans-serif; color:#136388;\">&nbsp;</h5>\n  												</td>\n  											</tr>\n  										</tbody>\n  									</table>\n  									</td>\n  								</tr>\n  								<tr>\n  									<td>\n  									<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  										<tbody>\n  											<tr>\n  												<td width=\"100%\">\n  												<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  													<tbody><!-- /Spacing -->\n  														<tr>\n  															<td style=\"font-family: Helvetica, arial, sans-serif; font-size: 23px; color:#f8f8f8; text-align:left; line-height: 32px; padding:5px 15px; background-color:#136388;\">Headline Here</td>\n  														</tr>\n  														<!-- Spacing -->\n  														<tr>\n  															<td>\n  															<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidthinner\" width=\"650\">\n  																<tbody><!-- hero story -->\n  																	<tr>\n  																		<td align=\"center\" class=\"devicewidthinner\" width=\"100%\">\n  																		<div class=\"imgpop\"><a href=\"#\"><img alt=\"\" border=\"0\" class=\"blog\" height=\"auto\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/650x396.png\" style=\"display:block; border:none; outline:none; text-decoration:none; padding:0; line-height:0;\" width=\"650\" /></a></div>\n  																		</td>\n  																	</tr>\n  																	<!-- /hero image --><!-- Spacing -->\n  																	<tr>\n  																		<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n  																	</tr>\n  																	<!-- /Spacing -->\n  																	<tr>\n  																		<td style=\"font-family: Helvetica, arial, sans-serif; font-size: 18px;  text-align:left; line-height: 26px; padding:0 15px; color:#89c66b;\"><a href=\"#\" style=\"color:#89c66b;\">Your Heading Here</a></td>\n  																	</tr>\n  																	<!-- Spacing -->\n  																	<tr>\n  																		<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n  																	</tr>\n  																	<!-- /Spacing --><!-- content -->\n  																	<tr>\n  																		<td style=\"padding:0 15px;\">\n  																		<p style=\"font-family: Helvetica, arial, sans-serif; font-size: 16px; color: #7a6e67; text-align:left; line-height: 26px; padding-bottom:10px;\">{contact.email_greeting},																		</p>\n  																		<p style=\"font-family: Helvetica, arial, sans-serif; font-size: 16px; color: #7a6e67; text-align:left; line-height: 26px; padding-bottom:10px;\"><span class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #7a6e67; text-align:left; line-height: 24px;\">Replace with your text and images, and remember to link the facebook and twitter links in the footer to your pages. Have fun!</span></p>\n  																		</td>\n  																	</tr>\n  																	<tr>\n  																		<td class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 16px; font-weight:bold; color: #333333; text-align:left;line-height: 24px; padding-top:10px; padding-left:15px;\"><a href=\"#\" style=\"color:#136388;text-decoration:none;font-weight:bold;\" target=\"_blank\" title=\"read more\">Read More</a></td>\n  																	</tr>\n  																	<!-- /button --><!-- Spacing -->\n  																	<tr>\n  																		<td height=\"20\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n  																	</tr>\n  																	<!-- Spacing --><!-- end of content -->\n  																</tbody>\n  															</table>\n  															</td>\n  														</tr>\n  													</tbody>\n  												</table>\n  												</td>\n  											</tr>\n  										</tbody>\n  									</table>\n  									</td>\n  								</tr>\n  							</tbody>\n  						</table>\n  						</td>\n  					</tr>\n  				</tbody>\n  			</table>\n  			</td>\n  		</tr>\n  	</tbody>\n  </table>\n  <!-- end of hero image and story --><!-- story 1 -->\n\n  <table bgcolor=\"#d8d8d8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" st-sortable=\"left-image\" width=\"100%\">\n  	<tbody>\n  		<tr>\n  			<td>\n  			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  				<tbody>\n  					<tr>\n  						<td width=\"100%\">\n  						<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  							<tbody><!-- Spacing -->\n  								<tr>\n  									<td>\n  									<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  										<tbody>\n  											<tr>\n  												<td width=\"100%\">\n  												<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  													<tbody>\n  														<tr>\n  															<td>\n  															<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidthinner\" width=\"650\">\n  																<tbody><!-- image -->\n  																	<tr>\n  																		<td align=\"center\" class=\"devicewidthinner\" width=\"100%\">\n  																		<div class=\"imgpop\"><a href=\"#\" target=\"_blank\"><img alt=\"\" border=\"0\" class=\"blog\" height=\"250\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/banner-image-650-250.png\" style=\"display:block; border:none; outline:none; text-decoration:none; padding:0; line-height:0;\" width=\"650\" /></a></div>\n  																		</td>\n  																	</tr>\n  																	<!-- /image --><!-- Spacing -->\n  																	<tr>\n  																		<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n  																	</tr>\n  																	<!-- /Spacing -->\n  																	<tr>\n  																		<td style=\"font-family: Helvetica, arial, sans-serif; font-size: 18px;  text-align:left; line-height: 26px; padding:0 15px;\"><a href=\"#\" style=\"color:#89c66b;\">Your Heading  Here</a></td>\n  																	</tr>\n  																	<!-- Spacing -->\n  																	<tr>\n  																		<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n  																	</tr>\n  																	<!-- /Spacing --><!-- content -->\n  																	<tr>\n  																		<td style=\"padding:0 15px;\">\n  																		<p style=\"font-family: Helvetica, arial, sans-serif; font-size: 16px; color: #7a6e67; text-align:left; line-height: 26px; padding-bottom:10px;\">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna </p>\n  																		</td>\n  																	</tr>\n  																	<tr>\n  																		<td class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 16px; font-weight:bold; color: #333333; text-align:left;line-height: 24px; padding-top:10px; padding-left:15px;\"><a href=\"#\" style=\"color:#136388;text-decoration:none;font-weight:bold;\" target=\"_blank\" title=\"read more\">Read More</a></td>\n  																	</tr>\n  																	<!-- /button --><!-- Spacing -->\n  																	<tr>\n  																		<td height=\"20\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n  																	</tr>\n  																	<!-- Spacing --><!-- end of content -->\n  																</tbody>\n  															</table>\n  															</td>\n  														</tr>\n  													</tbody>\n  												</table>\n  												</td>\n  											</tr>\n  										</tbody>\n  									</table>\n  									</td>\n  								</tr>\n  							</tbody>\n  						</table>\n  						</td>\n  					</tr>\n  				</tbody>\n  			</table>\n  			</td>\n  		</tr>\n  	</tbody>\n  </table>\n  <!-- /story 2--><!-- banner1 -->\n\n  <table bgcolor=\"#d8d8d8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" st-sortable=\"left-image\" width=\"100%\">\n  	<tbody>\n  		<tr>\n  			<td>\n  			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  				<tbody>\n  					<tr>\n  						<td width=\"100%\">\n  						<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  							<tbody><!-- Spacing -->\n  								<tr>\n  									<td>\n  									<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  										<tbody>\n  											<tr>\n  												<td width=\"100%\">\n  												<table align=\"center\" bgcolor=\"#89c66b\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  													<tbody>\n  														<tr>\n  															<td>\n  															<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidthinner\" width=\"650\">\n  																<tbody><!-- image -->\n  																	<tr>\n  																		<td align=\"center\" class=\"devicewidthinner\" width=\"100%\">\n  																		<div class=\"imgpop\"><a href=\"#\" target=\"_blank\"><img alt=\"\" border=\"0\" class=\"blog\" height=\"auto\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/banner-image-650-250.png\" style=\"display:block; border:none; outline:none; text-decoration:none; padding:0; line-height:0;\" width=\"650\" /></a></div>\n  																		</td>\n  																	</tr>\n  																	<!-- /image --><!-- content --><!-- Spacing -->\n  																	<tr>\n  																		<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n  																	</tr>\n  																	<!-- /Spacing -->\n  																	<tr>\n  																		<td style=\"padding:15px;\">\n  																		<p style=\"font-family: Helvetica, arial, sans-serif; font-size: 16px; color: #f0f0f0; text-align:left; line-height: 26px; padding-bottom:10px;\">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna </p>\n  																		</td>\n  																	</tr>\n  																	<!-- /button --><!-- white button -->\n  																	<!-- /button --><!-- Spacing --><!-- end of content -->\n  																</tbody>\n  															</table>\n  															</td>\n  														</tr>\n  													</tbody>\n  												</table>\n  												</td>\n  											</tr>\n  										</tbody>\n  									</table>\n  									</td>\n  								</tr>\n  							</tbody>\n  						</table>\n  						</td>\n  					</tr>\n  				</tbody>\n  			</table>\n  			</td>\n  		</tr>\n  	</tbody>\n  </table>\n  <!-- /banner 1--><!-- banner 2 -->\n\n  <table bgcolor=\"#d8d8d8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" st-sortable=\"left-image\" width=\"100%\">\n  	<tbody>\n  		<tr>\n  			<td>\n  			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  				<tbody>\n  					<tr>\n  						<td width=\"100%\">\n  						<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  							<tbody><!-- Spacing -->\n  								<tr>\n  									<td>\n  									<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  										<tbody>\n  											<tr>\n  												<td width=\"100%\">\n  												<table align=\"center\" bgcolor=\"#136388\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  													<tbody>\n  														<tr>\n  															<td>\n  															<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidthinner\" width=\"650\">\n  																<tbody><!-- image -->\n  																	<tr>\n  																		<td align=\"center\" class=\"devicewidthinner\" width=\"100%\">\n  																		<div class=\"imgpop\"><a href=\"#\" target=\"_blank\"><img alt=\"\" border=\"0\" class=\"blog\" height=\"auto\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/banner-image-650-250.png\" style=\"display:block; border:none; outline:none; text-decoration:none; padding:0; line-height:0;\" width=\"650\" /></a></div>\n  																		</td>\n  																	</tr>\n  																	<!-- /image --><!-- content --><!-- Spacing -->\n  																	<tr>\n  																		<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n  																	</tr>\n  																	<!-- /Spacing -->\n  																	<tr>\n  																		<td style=\"padding: 15px;\">\n  																		<p style=\"font-family: Helvetica, arial, sans-serif; font-size: 16px; color: #f0f0f0; text-align:left; line-height: 26px; padding-bottom:10px;\">Remember to link the facebook and twitter links below to your pages!</p>\n  																		</td>\n  																	</tr>\n  																	<!-- /button --><!-- white button -->\n  																	<tr>\n  																		<td class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 16px; font-weight:bold; color: #333333; text-align:left;line-height: 24px; padding-top:10px; padding-bottom:10px; padding-left:15px;\"><a href=\"#\" style=\"color:#ffffff;text-decoration:none;font-weight:bold;\" target=\"_blank\" title=\"read more\">Read More</a></td>\n  																	</tr>\n  																	<!-- /button --><!-- Spacing --><!-- end of content -->\n  																</tbody>\n  															</table>\n  															</td>\n  														</tr>\n  													</tbody>\n  												</table>\n  												</td>\n  											</tr>\n  										</tbody>\n  									</table>\n  									</td>\n  								</tr>\n  							</tbody>\n  						</table>\n  						</td>\n  					</tr>\n  				</tbody>\n  			</table>\n  			</td>\n  		</tr>\n  	</tbody>\n  </table>\n  <!-- /banner2 --><!-- footer -->\n\n  <table bgcolor=\"#d8d8d8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" st-sortable=\"footer\" width=\"100%\">\n  	<tbody>\n  		<tr>\n  			<td>\n  			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  				<tbody>\n  					<tr>\n  						<td width=\"100%\">\n  						<table align=\"center\" bgcolor=\"#89c66b\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"650\">\n  							<tbody><!-- Spacing -->\n  								<tr>\n  									<td height=\"10\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n  								</tr>\n  								<!-- Spacing -->\n  								<tr>\n  									<td><!-- logo -->\n  									<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"250\">\n  										<tbody>\n  											<tr>\n  												<td width=\"20\">&nbsp;</td>\n  												<td align=\"left\" height=\"40\" width=\"250\"><span style=\"font-family: Helvetica, arial, sans-serif; font-size: 13px; text-align:left; line-height: 26px; padding-bottom:10px;\"><a href=\"{action.unsubscribeUrl}\" style=\"color: #f0f0f0; \">Unsubscribe | </a><a href=\"{action.subscribeUrl}\"  style=\"color: #f0f0f0;\">Subscribe |</a> <a href=\"{action.optOutUrl}\" style=\"color: #f0f0f0;\">Opt out</a></span></td>\n  											</tr>\n  											<tr>\n  												<td width=\"20\">&nbsp;</td>\n  												<td align=\"left\" height=\"40\" width=\"250\"><span style=\"font-family: Helvetica, arial, sans-serif; font-size: 13px; text-align:left; line-height: 26px; padding-bottom:10px; color: #f0f0f0;\">{domain.address}</span></td>\n  											</tr>\n  										</tbody>\n  									</table>\n  									<!-- end of logo --><!-- start of social icons -->\n\n  									<table align=\"right\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"40\" vaalign=\"middle\" width=\"60\">\n  										<tbody>\n  											<tr>\n  												<td align=\"left\" height=\"22\" width=\"22\">\n  												<div class=\"imgpop\"><a href=\"#\" target=\"_blank\"><img alt=\"\" border=\"0\" height=\"22\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/facebook.png\" style=\"display:block; border:none; outline:none; text-decoration:none;\" width=\"22\" /> </a></div>\n  												</td>\n  												<td align=\"left\" style=\"font-size:1px; line-height:1px;\" width=\"10\">&nbsp;</td>\n  												<td align=\"right\" height=\"22\" width=\"22\">\n  												<div class=\"imgpop\"><a href=\"#\" target=\"_blank\"><img alt=\"\" border=\"0\" height=\"22\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/twitter.png\" style=\"display:block; border:none; outline:none; text-decoration:none;\" width=\"22\" /> </a></div>\n  												</td>\n  												<td align=\"left\" style=\"font-size:1px; line-height:1px;\" width=\"20\">&nbsp;</td>\n  											</tr>\n  										</tbody>\n  									</table>\n  									<!-- end of social icons --></td>\n  								</tr>\n  								<!-- Spacing -->\n  								<tr>\n  									<td height=\"10\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n  								</tr>\n  								<!-- Spacing -->\n  							</tbody>\n  						</table>\n  						</td>\n  					</tr>\n  				</tbody>\n  			</table>\n  			</td>\n  		</tr>\n  	</tbody>\n  </table>\n\n</body>\n</html>\n',1,NULL,NULL,1,0,0,NULL),
  (67,'Sample Responsive Design Newsletter - Two Column Template','Sample Responsive Design Newsletter - Two Column','','<html xmlns=\"http://www.w3.org/1999/xhtml\">\n  <meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\" />\n  <meta content=\"width=device-width, initial-scale=1.0\" name=\"viewport\" />\n  <title></title>\n  <style type=\"text/css\">\n     {literal}\n     img {height: auto !important;}\n     /* Client-specific Styles */\n     #outlook a {padding:0;} /* Force Outlook to provide a \"view in browser\" menu link. */\n     body{width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0;}\n\n     /* Prevent Webkit and Windows Mobile platforms from changing default font sizes, while not breaking desktop design. */\n     .ExternalClass {width:100%;} /* Force Hotmail to display emails at full width */\n     .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;} /* Force Hotmail to display normal line spacing. */\n     #backgroundTable {margin:0; padding:0; width:100% !important; line-height: 100% !important;}\n     img {outline:none; text-decoration:none;border:none; -ms-interpolation-mode: bicubic;}\n     a img {border:none;}\n     .image_fix {display:block;}\n     p {margin: 0px 0px !important;}\n     table td {border-collapse: collapse;}\n     table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }\n     a {/*color: #33b9ff;*/text-decoration: none;text-decoration:none!important;}\n\n\n     /*STYLES*/\n     table[class=full] { width: 100%; clear: both; }\n\n     /*IPAD STYLES*/\n     @media only screen and (max-width: 640px) {\n     a[href^=\"tel\"], a[href^=\"sms\"] {text-decoration: none;color: #0a8cce;pointer-events: none;cursor: default;}\n     .mobile_link a[href^=\"tel\"], .mobile_link a[href^=\"sms\"] {text-decoration: default;color: #0a8cce !important;pointer-events: auto;cursor: default;}\n     table[class=devicewidth] {width: 440px!important;text-align:center!important;}\n     table[class=devicewidthmob] {width: 414px!important;text-align:center!important;}\n     table[class=devicewidthinner] {width: 414px!important;text-align:center!important;}\n     img[class=banner] {width: 440px!important;auto!important;}\n     img[class=col2img] {width: 440px!important;height:auto!important;}\n     table[class=\"cols3inner\"] {width: 100px!important;}\n     table[class=\"col3img\"] {width: 131px!important;}\n     img[class=\"col3img\"] {width: 131px!important;height: auto!important;}\n     table[class=\"removeMobile\"]{width:10px!important;}\n     img[class=\"blog\"] {width: 440px!important;height: auto!important;}\n     }\n\n     /*IPHONE STYLES*/\n     @media only screen and (max-width: 480px) {\n     a[href^=\"tel\"], a[href^=\"sms\"] {text-decoration: none;color: #0a8cce;pointer-events: none;cursor: default;}\n     .mobile_link a[href^=\"tel\"], .mobile_link a[href^=\"sms\"] {text-decoration: default;color: #0a8cce !important; pointer-events: auto;cursor: default;}\n     table[class=devicewidth] {width: 280px!important;text-align:center!important;}\n     table[class=devicewidthmob] {width: 260px!important;text-align:center!important;}\n     table[class=devicewidthinner] {width: 260px!important;text-align:center!important;}\n     img[class=banner] {width: 280px!important;height:100px!important;}\n     img[class=col2img] {width: 280px!important;height:auto!important;}\n     table[class=\"cols3inner\"] {width: 260px!important;}\n     img[class=\"col3img\"] {width: 280px!important;height: auto!important;}\n     table[class=\"col3img\"] {width: 280px!important;}\n     img[class=\"blog\"] {width: 280px!important;auto!important;}\n     td[class=\"padding-top-right15\"]{padding:15px 15px 0 0 !important;}\n     td[class=\"padding-right15\"]{padding-right:15px !important;}\n     }\n\n     @media only screen and (max-device-width: 800px)\n     {td[class=\"padding-top-right15\"]{padding:15px 15px 0 0 !important;}\n     td[class=\"padding-right15\"]{padding-right:15px !important;}}\n     @media only screen and (max-device-width: 769px) {.devicewidthmob {font-size:14px;}}\n\n     @media only screen and (max-width: 640px) {.desktop-spacer {display:none !important;}\n	   }\n     {/literal}\n  </style>\n  <body>\n    <!-- Start of preheader --><!-- Start of preheader -->\n    <table bgcolor=\"#0B4151\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" width=\"100%\">\n    	<tbody>\n    		<tr>\n    			<td>\n    			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    				<tbody>\n    					<tr>\n    						<td width=\"100%\">\n    						<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    							<tbody><!-- Spacing -->\n    								<tr>\n    									<td height=\"20\" width=\"100%\">&nbsp;</td>\n    								</tr>\n    								<!-- Spacing -->\n    								<tr>\n    									<td>\n    									<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidthinner\" width=\"360\">\n    										<tbody>\n    											<tr>\n    												<td align=\"left\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; line-height:120%; color: #f8f8f8;padding-left:15px;\" valign=\"middle\">Organization or Program Name Here</td>\n    											</tr>\n    										</tbody>\n    									</table>\n\n    									<table align=\"right\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"emhide\" width=\"320\">\n    										<tbody>\n    											<tr>\n    												<td align=\"right\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 16px;color: #f8f8f8;padding-right:15px;\" valign=\"middle\">Month Year</td>\n    											</tr>\n    										</tbody>\n    									</table>\n    									</td>\n    								</tr>\n    								<!-- Spacing -->\n    								<tr>\n    									<td height=\"20\" width=\"100%\">&nbsp;</td>\n    								</tr>\n    								<!-- Spacing -->\n    							</tbody>\n    						</table>\n    						</td>\n    					</tr>\n    				</tbody>\n    			</table>\n    			</td>\n    		</tr>\n    	</tbody>\n    </table>\n    <!-- End of preheader --><!-- start of logo -->\n\n    <table bgcolor=\"#d8d8d8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" st-sortable=\"left-image\" width=\"100%\">\n    	<tbody>\n    		<tr>\n    			<td>\n    			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidthmob\" width=\"700\">\n    				<tbody>\n    					<tr>\n    						<td width=\"100%\">\n    						<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    							<tbody><!-- Spacing -->\n    								<tr>\n    									<td height=\"20\" width=\"100%\">\n    									<table align=\"center\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"93%\">\n    										<tbody>\n    											<tr>\n                             <td rowspan=\"2\" width=\"330\"><a href=\"#\"> <div class=\"imgpop\"><img src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/civicrm-logo-transparent.png\" alt=\"Replace with your own logo\" width=\"220\" border=\"0\" style=\"display:block;\"/></div></a></td>\n                            <td align=\"right\" >\n    												<h6 class=\"collapse\">&nbsp;</h6>\n    												</td>\n    											</tr>\n    											<tr>\n    												<td align=\"right\">\n\n    												</td>\n    											</tr>\n    										</tbody>\n    									</table>\n    									</td>\n    								</tr>\n\n    							</tbody>\n    						</table>\n    						</td>\n    					</tr>\n    				</tbody>\n    			</table>\n    			</td>\n    		</tr>\n    	</tbody>\n    </table>\n    <!-- end of logo --> <!-- hero story 1 -->\n\n    <table bgcolor=\"#d8d8d8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" st-sortable=\"left-image\" width=\"101%\">\n    	<tbody>\n    		<tr>\n    			<td>\n    			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    				<tbody>\n    					<tr>\n    						<td width=\"100%\">\n    						<table align=\"center\" bgcolor=\"#f8f8f8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    							<tbody>\n    								<tr>\n    									<td>\n    									<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    										<tbody>\n    											<tr>\n    												<td width=\"100%\">\n    												<table align=\"center\" bgcolor=\"#f8f8f8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    													<tbody><!-- /Spacing -->\n    														<tr>\n    															<td style=\"font-family: Helvetica, arial, sans-serif; font-size: 24px; color:#f8f8f8; text-align:left; line-height: 26px; padding:5px 15px; background-color: #80C457\">Hero Story Heading</td>\n    														</tr>\n    														<!-- Spacing -->\n    														<tr>\n    															<td>\n    															<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidthinner\" width=\"700\">\n    																<tbody><!-- image -->\n    																	<tr>\n    																		<td align=\"center\" class=\"devicewidthinner\" width=\"100%\">\n    																		<div class=\"imgpop\"><a href=\"#\" target=\"_blank\"><img alt=\"\" border=\"0\" class=\"blog\" height=\"396\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/700x396.png\" style=\"display:block; border:none; outline:none; text-decoration:none; padding:0; line-height:0;\" width=\"700\" /></a></div>\n    																		</td>\n    																	</tr>\n    																	<!-- /image --><!-- Spacing -->\n    																	<tr>\n    																		<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n    																	</tr>\n    																	<!-- /Spacing --><!-- hero story -->\n    																	<tr>\n    																		<td style=\"font-family: Helvetica, arial, sans-serif; font-size: 18px;  text-align:left; line-height: 26px; padding:0 15px;\"><a href=\"#\" style=\"color:#076187; text-decoration:none; \" target=\"_blank\">Subheading Here</a></td>\n    																	</tr>\n    																	<!-- Spacing -->\n    																	<tr>\n    																		<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n    																	</tr><!-- /Spacing -->\n    																	<tr>\n    																		<td style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #7a6e67; text-align:left; line-height: 26px; padding:0 15px;\"><span class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #7a6e67; text-align:left; line-height: 24px;\">Replace with your text and images, and remember to link the facebook and twitter links in the footer to your pages. Have fun!</span></td>\n    																	</tr>\n\n    <!-- Spacing -->\n    																	<tr>\n    																		<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n    																	</tr><!-- /Spacing -->\n\n              <!-- /Spacing --><!-- /hero story -->\n\n    																	<!-- Spacing -->                                                            <!-- Spacing -->\n\n\n\n    																	<!-- Spacing --><!-- end of content -->\n    																</tbody>\n    															</table>\n    															</td>\n    														</tr>\n    													</tbody>\n    												</table>\n    												</td>\n    											</tr>\n    										</tbody>\n    									</table>\n    									</td>\n    								</tr>\n    								<!-- Section Heading -->\n    								<tr>\n    									<td style=\"font-family: Helvetica, arial, sans-serif; font-size: 24px; color:#f8f8f8; text-align:left; line-height: 26px; padding:5px 15px; background-color: #80C457\">Section Heading Here</td>\n    								</tr>\n    								<!-- /Section Heading -->\n    							</tbody>\n    						</table>\n    						</td>\n    					</tr>\n    				</tbody>\n    			</table>\n    			</td>\n    		</tr>\n    	</tbody>\n    </table>\n    <!-- /hero story 1 --><!-- story one -->\n\n    <table bgcolor=\"#d8d8d8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" st-sortable=\"left-image\" width=\"100%\">\n    	<tbody>\n    		<tr>\n    			<td>\n    			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    				<tbody>\n    					<tr>\n    						<td width=\"100%\">\n    						<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    							<tbody><!-- Spacing -->\n    								<tr>\n    									<td class=\"desktop-spacer\" height=\"20\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n    								</tr>\n    								<!-- Spacing -->\n    								<tr>\n    									<td>\n    									<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"660\">\n    										<tbody>\n    											<tr>\n    												<td><!-- Start of left column -->\n    												<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"330\">\n    													<tbody><!-- image -->\n    														<tr>\n    															<td align=\"center\" class=\"devicewidth\" height=\"150\" valign=\"top\" width=\"330\"><a href=\"#\"><img alt=\"\" border=\"0\" class=\"col2img\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/330x150.png\" style=\"display:block; border:none; outline:none; text-decoration:none; display:block;\" width=\"330\" /></a></td>\n    														</tr>\n    														<!-- /image -->\n    													</tbody>\n    												</table>\n    												<!-- end of left column --><!-- spacing for mobile devices-->\n\n    												<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mobilespacing\">\n    													<tbody>\n    														<tr>\n    															<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n    														</tr>\n    													</tbody>\n    												</table>\n    												<!-- end of for mobile devices--><!-- start of right column -->\n\n    												<table align=\"right\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidthmob\" width=\"310\">\n    													<tbody>\n    														<tr>\n    															<td class=\"padding-top-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 18px; text-align:left; line-height: 24px;\"><a href=\"#\" style=\"color:#076187; text-decoration:none; \" target=\"_blank\">Heading Here</a><a href=\"#\" style=\"color:#076187; text-decoration:none;\" target=\"_blank\" title=\"CiviCRM helps keep the “City Beautiful” Movement”going strong\"></a></td>\n    														</tr>\n    														<!-- end of title --><!-- Spacing -->\n    														<tr>\n    															<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n    														</tr>\n    														<!-- /Spacing --><!-- content -->\n    														<tr>\n    															<td class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #7a6e67; text-align:left; line-height: 24px;\"><span class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #7a6e67; text-align:left; line-height: 24px;\">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n                                                                tempor incididunt ut labore et dolore magna </span></td>\n    														</tr>\n    														<tr>\n    															<td class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; font-weight:bold; color: #333333; text-align:left;line-height: 24px; padding-top:10px;\"><a href=\"#\" style=\"color:#80C457;text-decoration:none;font-weight:bold;\" target=\"_blank\" title=\"CiviCRM helps keep the “City Beautiful” Movement”going strong\">Read More</a></td>\n    														</tr>\n    														<!-- /button --><!-- end of content -->\n    													</tbody>\n    												</table>\n    												<!-- end of right column --></td>\n    											</tr>\n    										</tbody>\n    									</table>\n    									</td>\n    								</tr>\n    								<!-- Spacing -->\n    								<tr>\n    									<td height=\"20\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n    								</tr>\n    							</tbody>\n    						</table>\n    						</td>\n    					</tr>\n    				</tbody>\n    			</table>\n    			</td>\n    		</tr>\n    	</tbody>\n    </table>\n    <!-- /story one -->\n    <!-- story two -->\n\n    <table bgcolor=\"#d8d8d8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" st-sortable=\"left-image\" width=\"100%\">\n    	<tbody>\n    		<tr>\n    			<td>\n    			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    				<tbody>\n    					<tr>\n    						<td width=\"100%\">\n    						<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    							<tbody><!-- Spacing -->\n    								<tr>\n    									<td bgcolor=\"#076187\" height=\"0\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n    								</tr>\n    								<!-- Spacing --><!-- Spacing -->\n    								<tr>\n    									<td class=\"desktop-spacer\" height=\"20\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n    								</tr>\n    								<!-- Spacing -->\n    								<tr>\n    									<td>\n    									<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"660\">\n    										<tbody>\n    											<tr>\n    												<td><!-- Start of left column -->\n    												<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"330\">\n    													<tbody><!-- image -->\n    														<tr>\n    															<td align=\"center\" class=\"devicewidth\" height=\"150\" valign=\"top\" width=\"330\"><a href=\"#\"><img alt=\"\" border=\"0\" class=\"col2img\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/330x150.png\" style=\"display:block; border:none; outline:none; text-decoration:none; display:block;\" width=\"330\" /></a></td>\n    														</tr>\n    														<!-- /image -->\n    													</tbody>\n    												</table>\n    												<!-- end of left column --><!-- spacing for mobile devices-->\n\n    												<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mobilespacing\">\n    													<tbody>\n    														<tr>\n    															<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n    														</tr>\n    													</tbody>\n    												</table>\n    												<!-- end of for mobile devices--><!-- start of right column -->\n\n    												<table align=\"right\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidthmob\" width=\"310\">\n    													<tbody>\n    														<tr>\n    															<td class=\"padding-top-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 18px; text-align:left; line-height: 24px;\"><a href=\"#\" style=\"color:#076187; text-decoration:none; \" target=\"_blank\">Heading Here</a><a href=\"#\" style=\"color:#076187; text-decoration:none;\" target=\"_blank\" title=\"How CiviCRM will take Tribodar Eco Learning Center to another level\"></a></td>\n    														</tr>\n    														<!-- end of title --><!-- Spacing -->\n    														<tr>\n    															<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n    														</tr>\n    														<!-- /Spacing --><!-- content -->\n    														<tr>\n    															<td class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #7a6e67; text-align:left; line-height: 24px;\"><span class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #7a6e67; text-align:left; line-height: 24px;\">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n                                                                tempor incididunt ut labore et dolore magna </span></td>\n    														</tr>\n    														<tr>\n    															<td class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; font-weight:bold; color: #333333; text-align:left;line-height: 24px; padding-top:10px;\"><a href=\"#\" style=\"color:#80C457;text-decoration:none;font-weight:bold;\" target=\"_blank\" title=\"How CiviCRM will take Tribodar Eco Learning Center to another level\">Read More</a></td>\n    														</tr>\n    														<!-- /button --><!-- end of content -->\n    													</tbody>\n    												</table>\n    												<!-- end of right column --></td>\n    											</tr>\n    										</tbody>\n    									</table>\n    									</td>\n    								</tr>\n    								<!-- Spacing -->\n    								<tr>\n    									<td height=\"20\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n    								</tr>\n    							</tbody>\n    						</table>\n    						</td>\n    					</tr>\n    				</tbody>\n    			</table>\n    			</td>\n    		</tr>\n    	</tbody>\n    </table>\n    <!-- /story two --><!-- story three -->\n\n    <table bgcolor=\"#d8d8d8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" st-sortable=\"left-image\" width=\"100%\">\n    	<tbody>\n    		<tr>\n    			<td>\n    			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    				<tbody>\n    					<tr>\n    						<td width=\"100%\">\n    						<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    							<tbody><!-- Spacing -->\n    								<tr>\n    									<td bgcolor=\"#076187\" height=\"0\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n    								</tr>\n    								<!-- Spacing --><!-- Spacing -->\n    								<tr>\n    									<td height=\"20\" class=\"desktop-spacer\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n    								</tr>\n    								<!-- Spacing -->\n    								<tr>\n    									<td>\n    									<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"660\">\n    										<tbody>\n    											<tr>\n    												<td><!-- Start of left column -->\n    												<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"330\">\n    													<tbody><!-- image -->\n    														<tr>\n    															<td align=\"center\" class=\"devicewidth\" height=\"150\" valign=\"top\" width=\"330\"><a href=\"#\"><img alt=\"\" border=\"0\" class=\"col2img\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/330x150.png\" style=\"display:block; border:none; outline:none; text-decoration:none; display:block;\" width=\"330\" /></a></td>\n    														</tr>\n    														<!-- /image -->\n    													</tbody>\n    												</table>\n    												<!-- end of left column --><!-- spacing for mobile devices-->\n\n    												<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mobilespacing\">\n    													<tbody>\n    														<tr>\n    															<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n    														</tr>\n    													</tbody>\n    												</table>\n    												<!-- end of for mobile devices--><!-- start of right column -->\n\n    												<table align=\"right\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidthmob\" width=\"310\">\n    													<tbody>\n    														<tr>\n    															<td class=\"padding-top-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 18px;  text-align:left; line-height: 24px;\"><a href=\"#\" style=\"color:#076187; text-decoration:none; \" target=\"_blank\">Heading Here</a><a href=\"#\" style=\"color:#076187; text-decoration:none;\" target=\"_blank\" title=\"CiviCRM provides a soup-to-nuts open-source solution for Friends of the San Pedro River\"></a></td>\n    														</tr>\n    														<!-- end of title --><!-- Spacing -->\n    														<tr>\n    															<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n    														</tr>\n    														<!-- /Spacing --><!-- content -->\n    														<tr>\n    															<td class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #7a6e67; text-align:left; line-height: 24px;\"><span class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #7a6e67; text-align:left; line-height: 24px;\">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n                                                                tempor incididunt ut labore et dolore magna </span></td>\n    														</tr>\n    														<tr>\n    															<td style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; font-weight:bold; color: #333333; text-align:left;line-height: 24px; padding-top:10px;\"><a href=\"#\" style=\"color:#80C457;text-decoration:none;font-weight:bold;\" target=\"_blank\" title=\"CiviCRM provides a soup-to-nuts open-source solution for Friends of the San Pedro River\">Read More</a></td>\n    														</tr>\n    														<!-- /button --><!-- end of content -->\n    													</tbody>\n    												</table>\n    												<!-- end of right column --></td>\n    											</tr>\n    										</tbody>\n    									</table>\n    									</td>\n    								</tr>\n    								<!-- Spacing -->\n    								<tr>\n    									<td height=\"20\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n    								</tr>\n    								<!-- Spacing -->\n    							</tbody>\n    						</table>\n    						</td>\n    					</tr>\n    				</tbody>\n    			</table>\n    			</td>\n    		</tr>\n    	</tbody>\n    </table>\n    <!-- /story three -->\n\n\n\n\n\n    <!-- story four -->\n    <table bgcolor=\"#d8d8d8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" st-sortable=\"left-image\" width=\"100%\">\n    	<tbody>\n    		<tr>\n    			<td>\n    			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    				<tbody>\n    					<tr>\n    						<td width=\"100%\">\n    						<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    							<tbody>\n                                <!-- Spacing -->\n    								<tr>\n    									<td bgcolor=\"#076187\" height=\"0\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n    								</tr>\n    								<!-- Spacing -->\n                                <!-- Spacing -->\n    								<tr>\n    									<td class=\"desktop-spacer\" height=\"20\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n    								</tr>\n    								<!-- Spacing -->\n    								<tr>\n    									<td>\n    									<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"660\">\n    										<tbody>\n    											<tr>\n    												<td><!-- Start of left column -->\n    												<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"330\">\n    													<tbody><!-- image -->\n    														<tr>\n    															<td align=\"center\" class=\"devicewidth\" height=\"150\" valign=\"top\" width=\"330\"><a href=\"#\"><img alt=\"\" border=\"0\" class=\"col2img\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/330x150.png\" style=\"display:block; border:none; outline:none; text-decoration:none; display:block;\" width=\"330\" /></a></td>\n    														</tr>\n    														<!-- /image -->\n    													</tbody>\n    												</table>\n    												<!-- end of left column --><!-- spacing for mobile devices-->\n\n    												<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mobilespacing\">\n    													<tbody>\n    														<tr>\n    															<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n    														</tr>\n    													</tbody>\n    												</table>\n    												<!-- end of for mobile devices--><!-- start of right column -->\n\n    												<table align=\"right\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidthmob\" width=\"310\">\n    													<tbody>\n    														<tr>\n    															<td class=\"padding-top-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 18px;text-align:left; line-height: 24px;\"><a href=\"#\" style=\"color:#076187; text-decoration:none; \" target=\"_blank\">Heading Here</a><a href=\"#\" style=\"color:#076187; text-decoration:none;\" target=\"_blank\" title=\"Google Summer of Code\"></a></td>\n    														</tr>\n    														<!-- end of title --><!-- Spacing -->\n    														<tr>\n    															<td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n    														</tr>\n    														<!-- /Spacing --><!-- content -->\n    														<tr>\n    															<td class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #7a6e67; text-align:left; line-height: 24px;\"><span class=\"padding-right15\" style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #7a6e67; text-align:left; line-height: 24px;\">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n                                                                tempor incididunt ut labore et dolore magna </span></td>\n    														</tr>\n    														<tr>\n    															<td style=\"font-family: Helvetica, arial, sans-serif; font-size: 14px; font-weight:bold; color: #333333; text-align:left;line-height: 24px; padding-top:10px;\"><a href=\"#\" style=\"color:#80C457;text-decoration:none;font-weight:bold;\" target=\"_blank\" title=\"Google Summer of Code\">Read More</a></td>\n    														</tr>\n    														<!-- /button --><!-- end of content -->\n    													</tbody>\n    												</table>\n    												<!-- end of right column --></td>\n    											</tr>\n    										</tbody>\n    									</table>\n    									</td>\n    								</tr>\n    								<!-- Spacing -->\n    								<tr>\n                       <td height=\"15\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\" width=\"100%\">&nbsp;</td>\n                    </tr>\n                    <!-- /Spacing -->\n                    <tr>\n                      <td style=\"padding: 15px;\">\n                      <p style=\"font-family: Helvetica, arial, sans-serif; font-size: 16px; color:#076187; text-align:left; line-height: 26px; padding-bottom:10px;\">Remember to link the facebook and twitter links below to your pages!</p>\n                      </td>\n    								</tr>\n    								<!-- Spacing -->\n    							</tbody>\n    						</table>\n    						</td>\n    					</tr>\n    				</tbody>\n    			</table>\n    			</td>\n    		</tr>\n    	</tbody>\n    </table>\n    <!-- /story four -->\n\n    <!-- footer -->\n\n    <!-- End of footer --><!-- Start of postfooter -->\n    <table bgcolor=\"#d8d8d8\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"backgroundTable\" st-sortable=\"footer\" width=\"100%\">\n    	<tbody>\n    		<tr>\n    			<td>\n    			<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n            <tbody>\n              <tr>\n                <td width=\"100%\">\n                  <table align=\"center\" bgcolor=\"#89c66b\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"devicewidth\" width=\"700\">\n    				        <tbody><!-- Spacing -->\n    					        <tr>\n                        <td height=\"10\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n    					        </tr>\n    					        <!-- Spacing -->\n    					        <tr>\n                        <td><!-- logo -->\n                        <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"250\">\n            							<tbody>\n            								<tr>\n                               <td width=\"20\">&nbsp;</td>\n                              <td align=\"left\" height=\"40\" width=\"250\"><span style=\"font-family: Helvetica, arial, sans-serif; font-size: 13px; text-align:left; line-height: 26px; padding-bottom:10px;\"><a href=\"{action.unsubscribeUrl}\" style=\"color: #f0f0f0;\">Unsubscribe | </a><a href=\"{action.subscribeUrl}\" style=\"color: #f0f0f0;\">Subscribe |</a> <a href=\"{action.optOutUrl}\" style=\"color: #f0f0f0;\">Opt out</a></span></td>\n                            </tr>\n      											<tr>\n      												<td width=\"20\">&nbsp;</td>\n      												<td align=\"left\" height=\"40\" width=\"250\"><span style=\"font-family: Helvetica, arial, sans-serif; font-size: 13px; text-align:left; line-height: 26px; padding-bottom:10px; color: #f0f0f0;\">{domain.address}</span></td>\n      											</tr>\n                          </tbody>\n                        </table>\n                        <!-- end of logo --><!-- start of social icons -->\n      									<table align=\"right\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"40\" vaalign=\"middle\" width=\"60\">\n      										<tbody>\n      											<tr>\n      												<td align=\"left\" height=\"22\" width=\"22\">\n                                <div class=\"imgpop\"><a href=\"#\" target=\"_blank\"><img alt=\"\" border=\"0\" height=\"22\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/facebook.png\" style=\"display:block; border:none; outline:none; text-decoration:none;\" width=\"22\" /> </a></div>      											  </td>\n      												<td align=\"left\" style=\"font-size:1px; line-height:1px;\" width=\"10\">&nbsp;</td>\n      												<td align=\"right\" height=\"22\" width=\"22\">\n      												<div class=\"imgpop\"><a href=\"#\" target=\"_blank\"><img alt=\"\" border=\"0\" height=\"22\" src=\"https://civicrm.org/sites/default/files/civicrm/custom/images/twitter.png\" style=\"display:block; border:none; outline:none; text-decoration:none;\" width=\"22\" /> </a></div>\n      												</td>\n      												<td align=\"left\" style=\"font-size:1px; line-height:1px;\" width=\"20\">&nbsp;</td>\n      											</tr>\n      										</tbody>\n      									</table>\n    									<!-- end of social icons --></td>\n    								</tr>\n    								<!-- Spacing -->\n    								<tr>\n    									<td height=\"10\" style=\"font-size:1px; line-height:1px; mso-line-height-rule: exactly;\">&nbsp;</td>\n    								</tr>\n    								<!-- Spacing -->\n    								<tr>\n    									<td bgcolor=\"#80C457\" height=\"10\" width=\"100%\">&nbsp;</td>\n    								</tr>\n    								<!-- Spacing -->\n    							</tbody>\n    						</table>\n    						</td>\n    					</tr>\n    				</tbody>\n    			</table>\n    			</td>\n    		</tr>\n    	</tbody>\n    </table>\n    <!-- End of footer -->\n  </body>\n</html>\n',1,NULL,NULL,1,0,0,NULL);
@@ -5195,245 +5196,244 @@ INSERT INTO `civicrm_navigation` (`id`, `domain_id`, `label`, `name`, `url`, `ic
  (23,1,'Import Activities','Import Activities','civicrm/import/activity?reset=1',NULL,'import contacts','',15,1,1,8),
  (24,1,'New Group','New Group','civicrm/group/add?reset=1',NULL,'edit groups','',15,1,NULL,9),
  (25,1,'Manage Groups','Manage Groups','civicrm/group?reset=1',NULL,'access CiviCRM','',15,1,1,10),
- (26,1,'New Tag','New Tag','civicrm/tag?reset=1&action=add',NULL,'manage tags','',15,1,NULL,11),
- (27,1,'Manage Tags (Categories)','Manage Tags (Categories)','civicrm/tag?reset=1',NULL,'manage tags','',15,1,1,12),
- (28,1,'Find and Merge Duplicate Contacts','Find and Merge Duplicate Contacts','civicrm/contact/deduperules?reset=1',NULL,'administer dedupe rules,merge duplicate contacts','OR',15,1,NULL,13),
- (29,1,'Contributions','Contributions',NULL,'crm-i fa-credit-card','access CiviContribute','',NULL,1,NULL,30),
- (30,1,'Dashboard','Dashboard','civicrm/contribute?reset=1',NULL,'access CiviContribute','',29,1,NULL,1),
- (31,1,'New Contribution','New Contribution','civicrm/contribute/add?reset=1&action=add&context=standalone',NULL,'access CiviContribute,edit contributions','AND',29,1,NULL,2),
- (32,1,'Find Contributions','Find Contributions','civicrm/contribute/search?reset=1',NULL,'access CiviContribute','',29,1,NULL,3),
- (33,1,'Contribution Reports','Contribution Reports','civicrm/report/list?compid=2&reset=1',NULL,'access CiviContribute','',29,1,1,4),
- (34,1,'Import Contributions','Import Contributions','civicrm/contribute/import?reset=1',NULL,'access CiviContribute,edit contributions','AND',29,1,1,5),
- (35,1,'Batch Data Entry','Batch Data Entry','civicrm/batch?reset=1',NULL,'access CiviContribute','',29,1,NULL,7),
- (36,1,'Pledges','Pledges',NULL,NULL,'access CiviPledge','',29,1,1,6),
- (37,1,'Accounting Batches','Accounting Batches',NULL,NULL,'view own manual batches,view all manual batches','OR',29,1,1,8),
- (38,1,'Dashboard','Dashboard','civicrm/pledge?reset=1',NULL,'access CiviPledge','',36,1,NULL,1),
- (39,1,'New Pledge','New Pledge','civicrm/pledge/add?reset=1&action=add&context=standalone',NULL,'access CiviPledge,edit pledges','AND',36,1,NULL,2),
- (40,1,'Find Pledges','Find Pledges','civicrm/pledge/search?reset=1',NULL,'access CiviPledge','',36,1,NULL,3),
- (41,1,'Pledge Reports','Pledge Reports','civicrm/report/list?compid=6&reset=1',NULL,'access CiviPledge','',36,1,0,4),
- (42,1,'New Contribution Page','New Contribution Page','civicrm/admin/contribute/add?reset=1&action=add',NULL,'access CiviContribute,administer CiviCRM','AND',29,1,NULL,9),
- (43,1,'Manage Contribution Pages','Manage Contribution Pages','civicrm/admin/contribute?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',29,1,1,10),
- (44,1,'Personal Campaign Pages','Personal Campaign Pages','civicrm/admin/pcp?reset=1&page_type=contribute',NULL,'access CiviContribute,administer CiviCRM','AND',29,1,NULL,11),
- (45,1,'Premiums (Thank-you Gifts)','Premiums','civicrm/admin/contribute/managePremiums?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',29,1,1,12),
- (46,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add',NULL,'access CiviContribute,administer CiviCRM','AND',29,1,NULL,13),
- (47,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',29,1,1,14),
- (48,1,'New Batch','New Batch','civicrm/financial/batch?reset=1&action=add',NULL,'create manual batch','AND',37,1,NULL,1),
- (49,1,'Open Batches','Open Batches','civicrm/financial/financialbatches?reset=1&batchStatus=1',NULL,'view own manual batches,view all manual batches','OR',37,1,NULL,2),
- (50,1,'Closed Batches','Closed Batches','civicrm/financial/financialbatches?reset=1&batchStatus=2',NULL,'view own manual batches,view all manual batches','OR',37,1,NULL,3),
- (51,1,'Exported Batches','Exported Batches','civicrm/financial/financialbatches?reset=1&batchStatus=5',NULL,'view own manual batches,view all manual batches','OR',37,1,NULL,4),
- (52,1,'Events','Events',NULL,'crm-i fa-calendar','access CiviEvent','',NULL,1,NULL,40),
- (53,1,'Dashboard','CiviEvent Dashboard','civicrm/event?reset=1',NULL,'access CiviEvent','',52,1,NULL,1),
- (54,1,'Register Event Participant','Register Event Participant','civicrm/participant/add?reset=1&action=add&context=standalone',NULL,'access CiviEvent,edit event participants','AND',52,1,NULL,2),
- (55,1,'Find Participants','Find Participants','civicrm/event/search?reset=1',NULL,'access CiviEvent','',52,1,NULL,3),
- (56,1,'Event Reports','Event Reports','civicrm/report/list?compid=1&reset=1',NULL,'access CiviEvent','',52,1,1,4),
- (57,1,'Import Participants','Import Participants','civicrm/event/import?reset=1',NULL,'access CiviEvent,edit event participants','AND',52,1,1,5),
- (58,1,'New Event','New Event','civicrm/event/add?reset=1&action=add',NULL,'access CiviEvent,edit all events','AND',52,1,NULL,6),
- (59,1,'Manage Events','Manage Events','civicrm/event/manage?reset=1',NULL,'access CiviEvent,edit all events','AND',52,1,1,7),
- (60,1,'Personal Campaign Pages','Personal Campaign Pages','civicrm/admin/pcp?reset=1&page_type=event',NULL,'access CiviEvent,administer CiviCRM','AND',52,1,1,8),
- (61,1,'Event Templates','Event Templates','civicrm/admin/eventTemplate?reset=1',NULL,'access CiviEvent,edit all events','AND',52,1,1,9),
- (62,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add',NULL,'access CiviEvent,edit all events','AND',52,1,NULL,10),
- (63,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1',NULL,'access CiviEvent,edit all events','AND',52,1,NULL,11),
- (64,1,'Mailings','Mailings',NULL,'crm-i fa-envelope-o','access CiviMail,create mailings,approve mailings,schedule mailings,send SMS','OR',NULL,1,NULL,50),
- (65,1,'New Mailing','New Mailing','civicrm/mailing/send?reset=1',NULL,'access CiviMail,create mailings','OR',64,1,NULL,1),
- (66,1,'Draft and Unscheduled Mailings','Draft and Unscheduled Mailings','civicrm/mailing/browse/unscheduled?reset=1&scheduled=false',NULL,'access CiviMail,create mailings,schedule mailings','OR',64,1,NULL,2),
- (67,1,'Scheduled and Sent Mailings','Scheduled and Sent Mailings','civicrm/mailing/browse/scheduled?reset=1&scheduled=true',NULL,'access CiviMail,approve mailings,create mailings,schedule mailings','OR',64,1,NULL,3),
- (68,1,'Archived Mailings','Archived Mailings','civicrm/mailing/browse/archived?reset=1',NULL,'access CiviMail,create mailings','OR',64,1,NULL,4),
- (69,1,'Mailing Reports','Mailing Reports','civicrm/report/list?compid=4&reset=1',NULL,'access CiviMail','',64,1,1,5),
- (70,1,'Headers, Footers, and Automated Messages','Headers, Footers, and Automated Messages','civicrm/admin/component?reset=1',NULL,'access CiviMail,administer CiviCRM','AND',64,1,NULL,6),
- (71,1,'Message Templates','Message Templates','civicrm/admin/messageTemplates?reset=1',NULL,'edit message templates,edit user-driven message templates,edit system workflow message templates','OR',64,1,NULL,7),
- (72,1,'From Email Addresses','From Email Addresses','civicrm/admin/options/from_email_address?reset=1',NULL,'administer CiviCRM','',64,1,1,8),
- (73,1,'New SMS','New SMS','civicrm/sms/send?reset=1',NULL,'send SMS',NULL,64,1,NULL,9),
- (74,1,'Find Mass SMS','Find Mass SMS','civicrm/mailing/browse?reset=1&sms=1',NULL,'send SMS',NULL,64,1,1,10),
- (75,1,'New A/B Test','New A/B Test','civicrm/a/#/abtest/new',NULL,'access CiviMail','',64,1,NULL,15),
- (76,1,'Manage A/B Tests','Manage A/B Tests','civicrm/a/#/abtest',NULL,'access CiviMail','',64,1,1,16),
- (77,1,'Memberships','Memberships',NULL,'crm-i fa-id-badge','access CiviMember','',NULL,1,NULL,60),
- (78,1,'Dashboard','Dashboard','civicrm/member?reset=1',NULL,'access CiviMember','',77,1,NULL,1),
- (79,1,'New Membership','New Membership','civicrm/member/add?reset=1&action=add&context=standalone',NULL,'access CiviMember,edit memberships','AND',77,1,NULL,2),
- (80,1,'Find Memberships','Find Memberships','civicrm/member/search?reset=1',NULL,'access CiviMember','',77,1,NULL,3),
- (81,1,'Membership Reports','Membership Reports','civicrm/report/list?compid=3&reset=1',NULL,'access CiviMember','',77,1,1,4),
- (82,1,'Batch Data Entry','Batch Data Entry','civicrm/batch?reset=1',NULL,'access CiviContribute','',77,1,NULL,5),
- (83,1,'Import Memberships','Import Members','civicrm/member/import?reset=1',NULL,'access CiviMember,edit memberships','AND',77,1,1,6),
- (84,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add',NULL,'access CiviMember,administer CiviCRM','AND',77,1,NULL,7),
- (85,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1',NULL,'access CiviMember,administer CiviCRM','AND',77,1,NULL,8),
- (86,1,'Campaigns','Campaigns',NULL,'crm-i fa-bullhorn','interview campaign contacts,release campaign contacts,reserve campaign contacts,manage campaign,administer CiviCampaign,gotv campaign contacts','OR',NULL,1,NULL,70),
- (87,1,'Dashboard','Dashboard','civicrm/campaign?reset=1',NULL,'manage campaign,administer CiviCampaign','OR',86,1,NULL,1),
- (88,1,'Surveys','Survey Dashboard','civicrm/campaign?reset=1&subPage=survey',NULL,'manage campaign,administer CiviCampaign','OR',87,1,NULL,1),
- (89,1,'Petitions','Petition Dashboard','civicrm/campaign?reset=1&subPage=petition',NULL,'manage campaign,administer CiviCampaign','OR',87,1,NULL,2),
- (90,1,'Campaigns','Campaign Dashboard','civicrm/campaign?reset=1&subPage=campaign',NULL,'manage campaign,administer CiviCampaign','OR',87,1,NULL,3),
- (91,1,'New Campaign','New Campaign','civicrm/campaign/add?reset=1',NULL,'manage campaign,administer CiviCampaign','OR',86,1,NULL,2),
- (92,1,'New Survey','New Survey','civicrm/survey/add?reset=1',NULL,'manage campaign,administer CiviCampaign','OR',86,1,NULL,3),
- (93,1,'New Petition','New Petition','civicrm/petition/add?reset=1',NULL,'manage campaign,administer CiviCampaign','OR',86,1,NULL,4),
- (94,1,'Reserve Respondents','Reserve Respondents','civicrm/survey/search?reset=1&op=reserve',NULL,'administer CiviCampaign,manage campaign,reserve campaign contacts','OR',86,1,NULL,5),
- (95,1,'Interview Respondents','Interview Respondents','civicrm/survey/search?reset=1&op=interview',NULL,'administer CiviCampaign,manage campaign,interview campaign contacts','OR',86,1,NULL,6),
- (96,1,'Release Respondents','Release Respondents','civicrm/survey/search?reset=1&op=release',NULL,'administer CiviCampaign,manage campaign,release campaign contacts','OR',86,1,NULL,7),
- (97,1,'Campaign Reports','Campaign Reports','civicrm/report/list?compid=9&reset=1',NULL,'interview campaign contacts,release campaign contacts,reserve campaign contacts,manage campaign,administer CiviCampaign,gotv campaign contacts','OR',86,1,1,8),
- (98,1,'Conduct Survey','Conduct Survey','civicrm/campaign/vote?reset=1',NULL,'administer CiviCampaign,manage campaign,reserve campaign contacts,interview campaign contacts','OR',86,1,NULL,9),
- (99,1,'GOTV (Voter Tracking)','Voter Listing','civicrm/campaign/gotv?reset=1',NULL,'administer CiviCampaign,manage campaign,release campaign contacts,gotv campaign contacts','OR',86,1,NULL,10),
- (100,1,'Cases','Cases',NULL,'crm-i fa-folder-open-o','access my cases and activities,access all cases and activities','OR',NULL,1,NULL,80),
- (101,1,'Dashboard','Dashboard','civicrm/case?reset=1',NULL,'access my cases and activities,access all cases and activities','OR',100,1,NULL,1),
- (102,1,'New Case','New Case','civicrm/case/add?reset=1&action=add&atype=13&context=standalone',NULL,'add cases,access all cases and activities','OR',100,1,NULL,2),
- (103,1,'Find Cases','Find Cases','civicrm/case/search?reset=1',NULL,'access my cases and activities,access all cases and activities','OR',100,1,1,3),
- (104,1,'Case Reports','Case Reports','civicrm/report/list?compid=7&reset=1',NULL,'access my cases and activities,access all cases and activities,administer CiviCase','OR',100,1,0,4),
- (105,1,'Grants','Grants',NULL,'crm-i fa-money','access CiviGrant','',NULL,1,NULL,90),
- (106,1,'Dashboard','Dashboard','civicrm/grant?reset=1',NULL,'access CiviGrant','',105,1,NULL,1),
- (107,1,'New Grant','New Grant','civicrm/grant/add?reset=1&action=add&context=standalone',NULL,'access CiviGrant,edit grants','AND',105,1,NULL,2),
- (108,1,'Find Grants','Find Grants','civicrm/grant/search?reset=1',NULL,'access CiviGrant','',105,1,1,3),
- (109,1,'Grant Reports','Grant Reports','civicrm/report/list?compid=5&reset=1',NULL,'access CiviGrant','',105,1,0,4),
- (110,1,'Administer','Administer',NULL,'crm-i fa-gears','administer CiviCRM','',NULL,1,NULL,100),
- (111,1,'Administration Console','Administration Console','civicrm/admin?reset=1',NULL,'administer CiviCRM','',110,1,NULL,1),
- (112,1,'System Status','System Status','civicrm/a/#/status',NULL,'administer CiviCRM','',111,1,NULL,0),
- (113,1,'Configuration Checklist','Configuration Checklist','civicrm/admin/configtask?reset=1',NULL,'administer CiviCRM','',111,1,NULL,1),
- (114,1,'Customize Data and Screens','Customize Data and Screens',NULL,NULL,'administer CiviCRM','',110,1,NULL,3),
- (115,1,'Custom Fields','Custom Fields','civicrm/admin/custom/group?reset=1',NULL,'administer CiviCRM','',114,1,NULL,1),
- (116,1,'Profiles','Profiles','civicrm/admin/uf/group?reset=1',NULL,'administer CiviCRM','',114,1,NULL,2),
- (117,1,'Tags (Categories)','Tags (Categories)','civicrm/tag?reset=1',NULL,'administer CiviCRM','',114,1,NULL,3),
- (118,1,'Activity Types','Activity Types','civicrm/admin/options/activity_type?reset=1',NULL,'administer CiviCRM','',114,1,NULL,4),
- (119,1,'Relationship Types','Relationship Types','civicrm/admin/reltype?reset=1',NULL,'administer CiviCRM','',114,1,NULL,5),
- (120,1,'Contact Types','Contact Types','civicrm/admin/options/subtype?reset=1',NULL,'administer CiviCRM','',114,1,NULL,6),
- (121,1,'Display Preferences','Display Preferences','civicrm/admin/setting/preferences/display?reset=1',NULL,'administer CiviCRM','',114,1,NULL,9),
- (122,1,'Search Preferences','Search Preferences','civicrm/admin/setting/search?reset=1',NULL,'administer CiviCRM','',114,1,NULL,10),
- (123,1,'Date Preferences','Date Preferences','civicrm/admin/setting/preferences/date?reset=1',NULL,'administer CiviCRM','',114,1,NULL,11),
- (124,1,'Navigation Menu','Navigation Menu','civicrm/admin/menu?reset=1',NULL,'administer CiviCRM','',114,1,NULL,12),
- (125,1,'Word Replacements','Word Replacements','civicrm/admin/options/wordreplacements?reset=1',NULL,'administer CiviCRM','',114,1,NULL,13),
- (126,1,'Manage Custom Searches','Manage Custom Searches','civicrm/admin/options/custom_search?reset=1',NULL,'administer CiviCRM','',114,1,NULL,14),
- (127,1,'Dropdown Options','Dropdown Options','civicrm/admin/options?action=browse&reset=1',NULL,'administer CiviCRM','',114,1,NULL,8),
- (128,1,'Gender Options','Gender Options','civicrm/admin/options/gender?reset=1',NULL,'administer CiviCRM','',127,1,NULL,1),
- (129,1,'Individual Prefixes (Ms, Mr...)','Individual Prefixes (Ms, Mr...)','civicrm/admin/options/individual_prefix?reset=1',NULL,'administer CiviCRM','',127,1,NULL,2),
- (130,1,'Individual Suffixes (Jr, Sr...)','Individual Suffixes (Jr, Sr...)','civicrm/admin/options/individual_suffix?reset=1',NULL,'administer CiviCRM','',127,1,NULL,3),
- (131,1,'Instant Messenger Services','Instant Messenger Services','civicrm/admin/options/instant_messenger_service?reset=1',NULL,'administer CiviCRM','',127,1,NULL,4),
- (132,1,'Location Types (Home, Work...)','Location Types (Home, Work...)','civicrm/admin/locationType?reset=1',NULL,'administer CiviCRM','',127,1,NULL,5),
- (133,1,'Mobile Phone Providers','Mobile Phone Providers','civicrm/admin/options/mobile_provider?reset=1',NULL,'administer CiviCRM','',127,1,NULL,6),
- (134,1,'Phone Types','Phone Types','civicrm/admin/options/phone_type?reset=1',NULL,'administer CiviCRM','',127,1,NULL,7),
- (135,1,'Website Types','Website Types','civicrm/admin/options/website_type?reset=1',NULL,'administer CiviCRM','',127,1,NULL,8),
- (136,1,'Communications','Communications',NULL,NULL,'administer CiviCRM','',110,1,NULL,4),
- (137,1,'Organization Address and Contact Info','Organization Address and Contact Info','civicrm/admin/domain?action=update&reset=1',NULL,'administer CiviCRM','',136,1,NULL,1),
- (138,1,'FROM Email Addresses','FROM Email Addresses','civicrm/admin/options/from_email_address?reset=1',NULL,'administer CiviCRM','',136,1,NULL,2),
- (139,1,'Message Templates','Message Templates','civicrm/admin/messageTemplates?reset=1',NULL,'administer CiviCRM','',136,1,NULL,3),
- (140,1,'Schedule Reminders','Schedule Reminders','civicrm/admin/scheduleReminders?reset=1',NULL,'administer CiviCRM','',136,1,NULL,4),
- (141,1,'Preferred Communication Methods','Preferred Communication Methods','civicrm/admin/options/preferred_communication_method?reset=1',NULL,'administer CiviCRM','',136,1,NULL,5),
- (142,1,'Label Formats','Label Formats','civicrm/admin/labelFormats?reset=1',NULL,'administer CiviCRM','',136,1,NULL,6),
- (143,1,'Print Page (PDF) Formats','Print Page (PDF) Formats','civicrm/admin/pdfFormats?reset=1',NULL,'administer CiviCRM','',136,1,NULL,7),
- (144,1,'Communication Style Options','Communication Style Options','civicrm/admin/options/communication_style?reset=1',NULL,'administer CiviCRM','',136,1,NULL,8),
- (145,1,'Email Greeting Formats','Email Greeting Formats','civicrm/admin/options/email_greeting?reset=1',NULL,'administer CiviCRM','',136,1,NULL,9),
- (146,1,'Postal Greeting Formats','Postal Greeting Formats','civicrm/admin/options/postal_greeting?reset=1',NULL,'administer CiviCRM','',136,1,NULL,10),
- (147,1,'Addressee Formats','Addressee Formats','civicrm/admin/options/addressee?reset=1',NULL,'administer CiviCRM','',136,1,NULL,11),
- (148,1,'Localization','Localization',NULL,NULL,'administer CiviCRM','',110,1,NULL,6),
- (149,1,'Languages, Currency, Locations','Languages, Currency, Locations','civicrm/admin/setting/localization?reset=1',NULL,'administer CiviCRM','',148,1,NULL,1),
- (150,1,'Address Settings','Address Settings','civicrm/admin/setting/preferences/address?reset=1',NULL,'administer CiviCRM','',148,1,NULL,2),
- (151,1,'Date Formats','Date Formats','civicrm/admin/setting/date?reset=1',NULL,'administer CiviCRM','',148,1,NULL,3),
- (152,1,'Preferred Language Options','Preferred Language Options','civicrm/admin/options/languages?reset=1',NULL,'administer CiviCRM','',148,1,NULL,4),
- (153,1,'Users and Permissions','Users and Permissions',NULL,NULL,'administer CiviCRM','',110,1,NULL,7),
- (154,1,'Permissions (Access Control)','Permissions (Access Control)','civicrm/admin/access?reset=1',NULL,'administer CiviCRM','',153,1,NULL,1),
- (155,1,'Synchronize Users to Contacts','Synchronize Users to Contacts','civicrm/admin/synchUser?reset=1',NULL,'administer CiviCRM','',153,1,NULL,2),
- (156,1,'System Settings','System Settings',NULL,NULL,'administer CiviCRM','',110,1,NULL,8),
- (157,1,'Components','Enable Components','civicrm/admin/setting/component?reset=1',NULL,'administer CiviCRM','',156,1,NULL,1),
- (158,1,'Connections','Connections','civicrm/a/#/cxn',NULL,'administer CiviCRM','',156,1,NULL,2),
- (159,1,'Extensions','Manage Extensions','civicrm/admin/extensions?reset=1',NULL,'administer CiviCRM','',156,1,1,3),
- (160,1,'Cleanup Caches and Update Paths','Cleanup Caches and Update Paths','civicrm/admin/setting/updateConfigBackend?reset=1',NULL,'administer CiviCRM','',156,1,NULL,4),
- (161,1,'CMS Database Integration','CMS Integration','civicrm/admin/setting/uf?reset=1',NULL,'administer CiviCRM','',156,1,NULL,5),
- (162,1,'Debugging and Error Handling','Debugging and Error Handling','civicrm/admin/setting/debug?reset=1',NULL,'administer CiviCRM','',156,1,NULL,6),
- (163,1,'Directories','Directories','civicrm/admin/setting/path?reset=1',NULL,'administer CiviCRM','',156,1,NULL,7),
- (164,1,'Import/Export Mappings','Import/Export Mappings','civicrm/admin/mapping?reset=1',NULL,'administer CiviCRM','',156,1,NULL,8),
- (165,1,'Mapping and Geocoding','Mapping and Geocoding','civicrm/admin/setting/mapping?reset=1',NULL,'administer CiviCRM','',156,1,NULL,9),
- (166,1,'Misc (Undelete, PDFs, Limits, Logging, etc.)','misc_admin_settings','civicrm/admin/setting/misc?reset=1',NULL,'administer CiviCRM','',156,1,NULL,10),
- (167,1,'Multi Site Settings','Multi Site Settings','civicrm/admin/setting/preferences/multisite?reset=1',NULL,'administer CiviCRM','',156,1,NULL,11),
- (168,1,'Option Groups','Option Groups','civicrm/admin/options?reset=1',NULL,'administer CiviCRM','',156,1,NULL,12),
- (169,1,'Outbound Email (SMTP/Sendmail)','Outbound Email','civicrm/admin/setting/smtp?reset=1',NULL,'administer CiviCRM','',156,1,NULL,13),
- (170,1,'Payment Processors','Payment Processors','civicrm/admin/paymentProcessor?reset=1',NULL,'administer CiviCRM','',156,1,NULL,14),
- (171,1,'Resource URLs','Resource URLs','civicrm/admin/setting/url?reset=1',NULL,'administer CiviCRM','',156,1,NULL,15),
- (172,1,'Safe File Extensions','Safe File Extensions','civicrm/admin/options/safe_file_extension?reset=1',NULL,'administer CiviCRM','',156,1,NULL,16),
- (173,1,'Scheduled Jobs','Scheduled Jobs','civicrm/admin/job?reset=1',NULL,'administer CiviCRM','',156,1,NULL,17),
- (174,1,'SMS Providers','SMS Providers','civicrm/admin/sms/provider?reset=1',NULL,'administer CiviCRM','',156,1,NULL,18),
- (175,1,'CiviCampaign','CiviCampaign',NULL,NULL,'administer CiviCampaign,administer CiviCRM','AND',110,1,NULL,9),
- (176,1,'Survey Types','Survey Types','civicrm/admin/campaign/surveyType?reset=1',NULL,'administer CiviCampaign','',175,1,NULL,1),
- (177,1,'Campaign Types','Campaign Types','civicrm/admin/options/campaign_type?reset=1',NULL,'administer CiviCampaign','',175,1,NULL,2),
- (178,1,'Campaign Status','Campaign Status','civicrm/admin/options/campaign_status?reset=1',NULL,'administer CiviCampaign','',175,1,NULL,3),
- (179,1,'Engagement Index','Engagement Index','civicrm/admin/options/engagement_index?reset=1',NULL,'administer CiviCampaign','',175,1,NULL,4),
- (180,1,'CiviCampaign Component Settings','CiviCampaign Component Settings','civicrm/admin/setting/preferences/campaign?reset=1',NULL,'administer CiviCampaign','',175,1,NULL,5),
- (181,1,'CiviCase','CiviCase',NULL,NULL,'administer CiviCase',NULL,110,1,NULL,10),
- (182,1,'CiviCase Settings','CiviCase Settings','civicrm/admin/setting/case?reset=1',NULL,'administer CiviCase',NULL,181,1,NULL,1),
- (183,1,'Case Types','Case Types','civicrm/a/#/caseType',NULL,'administer CiviCase',NULL,181,1,NULL,2),
- (184,1,'Redaction Rules','Redaction Rules','civicrm/admin/options/redaction_rule?reset=1',NULL,'administer CiviCase',NULL,181,1,NULL,3),
- (185,1,'Case Statuses','Case Statuses','civicrm/admin/options/case_status?reset=1',NULL,'administer CiviCase',NULL,181,1,NULL,4),
- (186,1,'Encounter Medium','Encounter Medium','civicrm/admin/options/encounter_medium?reset=1',NULL,'administer CiviCase',NULL,181,1,NULL,5),
- (187,1,'CiviContribute','CiviContribute',NULL,NULL,'access CiviContribute,administer CiviCRM','AND',110,1,NULL,11),
- (188,1,'New Contribution Page','New Contribution Page','civicrm/admin/contribute?reset=1&action=add',NULL,'access CiviContribute,administer CiviCRM','AND',187,1,NULL,6),
- (189,1,'Manage Contribution Pages','Manage Contribution Pages','civicrm/admin/contribute?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',187,1,1,7),
- (190,1,'Personal Campaign Pages','Personal Campaign Pages','civicrm/admin/pcp?reset=1&page_type=contribute',NULL,'access CiviContribute,administer CiviCRM','AND',187,1,NULL,8),
- (191,1,'Premiums (Thank-you Gifts)','Premiums','civicrm/admin/contribute/managePremiums?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',187,1,1,9),
- (192,1,'Financial Types','Financial Types','civicrm/admin/financial/financialType?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',187,1,NULL,10),
- (193,1,'Financial Accounts','Financial Accounts','civicrm/admin/financial/financialAccount?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',187,1,NULL,11),
- (194,1,'Payment Methods','Payment Instruments','civicrm/admin/options/payment_instrument?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',187,1,NULL,12),
- (195,1,'Accepted Credit Cards','Accepted Credit Cards','civicrm/admin/options/accept_creditcard?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',187,1,NULL,13),
- (196,1,'Soft Credit Types','Soft Credit Types','civicrm/admin/options/soft_credit_type?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',187,1,1,14),
- (197,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add',NULL,'access CiviContribute,administer CiviCRM','AND',187,1,NULL,15),
- (198,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',187,1,NULL,16),
- (199,1,'Payment Processors','Payment Processors','civicrm/admin/paymentProcessor?reset=1',NULL,'administer CiviCRM','',187,1,NULL,17),
- (200,1,'CiviContribute Component Settings','CiviContribute Component Settings','civicrm/admin/setting/preferences/contribute?reset=1',NULL,'administer CiviCRM','',187,1,NULL,18),
- (201,1,'CiviEvent','CiviEvent',NULL,NULL,'access CiviEvent,administer CiviCRM','AND',110,1,NULL,12),
- (202,1,'New Event','New Event','civicrm/event/add?reset=1&action=add',NULL,'access CiviEvent,administer CiviCRM','AND',201,1,NULL,1),
- (203,1,'Manage Events','Manage Events','civicrm/event/manage?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',201,1,1,2),
- (204,1,'Personal Campaign Pages','Personal Campaign Pages','civicrm/admin/pcp?reset=1&page_type=event',NULL,'access CiviEvent,administer CiviCRM','AND',201,1,1,3),
- (205,1,'Event Templates','Event Templates','civicrm/admin/eventTemplate?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',201,1,1,4),
- (206,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add',NULL,'access CiviEvent,administer CiviCRM','AND',201,1,NULL,5),
- (207,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',201,1,1,6),
- (208,1,'Event Types','Event Types','civicrm/admin/options/event_type?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',201,1,NULL,7),
- (209,1,'Participant Statuses','Participant Statuses','civicrm/admin/participant_status?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',201,1,NULL,8),
- (210,1,'Participant Roles','Participant Roles','civicrm/admin/options/participant_role?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',201,1,NULL,9),
- (211,1,'Participant Listing Options','Participant Listing Options','civicrm/admin/options/participant_listing?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',201,1,NULL,10),
- (212,1,'Event Name Badge Layouts','Event Name Badge Layouts','civicrm/admin/badgelayout?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',201,1,NULL,11),
- (213,1,'Payment Processors','Payment Processors','civicrm/admin/paymentProcessor?reset=1',NULL,'administer CiviCRM','',201,1,NULL,12),
- (214,1,'CiviEvent Component Settings','CiviEvent Component Settings','civicrm/admin/setting/preferences/event?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',201,1,NULL,13),
- (215,1,'CiviGrant','CiviGrant',NULL,NULL,'access CiviGrant,administer CiviCRM','AND',110,1,NULL,13),
- (216,1,'Grant Types','Grant Types','civicrm/admin/options/grant_type?reset=1',NULL,'access CiviGrant,administer CiviCRM','AND',215,1,NULL,1),
- (217,1,'Grant Status','Grant Status','civicrm/admin/options/grant_status?reset=1',NULL,'access CiviGrant,administer CiviCRM','AND',215,1,NULL,2),
- (218,1,'CiviMail','CiviMail',NULL,NULL,'access CiviMail,administer CiviCRM','AND',110,1,NULL,14),
- (219,1,'Headers, Footers, and Automated Messages','Headers, Footers, and Automated Messages','civicrm/admin/component?reset=1',NULL,'access CiviMail,administer CiviCRM','AND',218,1,NULL,1),
- (220,1,'Message Templates','Message Templates','civicrm/admin/messageTemplates?reset=1',NULL,'administer CiviCRM','',218,1,NULL,2),
- (221,1,'From Email Addresses','From Email Addresses','civicrm/admin/options/from_email_address?reset=1',NULL,'administer CiviCRM','',218,1,NULL,3),
- (222,1,'Mail Accounts','Mail Accounts','civicrm/admin/mailSettings?reset=1',NULL,'access CiviMail,administer CiviCRM','AND',218,1,NULL,4),
- (223,1,'Mailer Settings','Mailer Settings','civicrm/admin/mail?reset=1',NULL,'access CiviMail,administer CiviCRM','AND',218,1,NULL,5),
- (224,1,'CiviMail Component Settings','CiviMail Component Settings','civicrm/admin/setting/preferences/mailing?reset=1',NULL,'access CiviMail,administer CiviCRM','AND',218,1,NULL,6),
- (225,1,'CiviMember','CiviMember',NULL,NULL,'access CiviMember,administer CiviCRM','AND',110,1,NULL,15),
- (226,1,'Membership Types','Membership Types','civicrm/admin/member/membershipType?reset=1',NULL,'access CiviMember,administer CiviCRM','AND',225,1,NULL,1),
- (227,1,'Membership Status Rules','Membership Status Rules','civicrm/admin/member/membershipStatus?reset=1',NULL,'access CiviMember,administer CiviCRM','AND',225,1,1,2),
- (228,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add',NULL,'access CiviMember,administer CiviCRM','AND',225,1,NULL,3),
- (229,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1',NULL,'access CiviMember,administer CiviCRM','AND',225,1,NULL,4),
- (230,1,'CiviMember Component Settings','CiviMember Component Settings','civicrm/admin/setting/preferences/member?reset=1',NULL,'access CiviMember,administer CiviCRM','AND',225,1,NULL,5),
- (231,1,'CiviReport','CiviReport',NULL,NULL,'access CiviReport,administer CiviCRM','AND',110,1,NULL,16),
- (232,1,'All Reports','All Reports','civicrm/report/list?reset=1',NULL,'access CiviReport','',231,1,NULL,1),
- (233,1,'Create New Report from Template','Create New Report from Template','civicrm/admin/report/template/list?reset=1',NULL,'administer Reports','',231,1,NULL,2),
- (234,1,'Manage Templates','Manage Templates','civicrm/admin/report/options/report_template?reset=1',NULL,'administer Reports','',231,1,NULL,3),
- (235,1,'Register Report','Register Report','civicrm/admin/report/register?reset=1',NULL,'administer Reports','',231,1,NULL,4),
- (236,1,'Support','Support',NULL,'crm-i fa-life-ring',NULL,'',NULL,1,NULL,110),
- (237,1,'Get started','Get started','https://civicrm.org/get-started?src=iam',NULL,NULL,'AND',236,1,NULL,1),
- (238,1,'Documentation','Documentation','https://civicrm.org/documentation?src=iam',NULL,NULL,'AND',236,1,NULL,2),
- (239,1,'Ask a question','Ask a question','https://civicrm.org/ask-a-question?src=iam',NULL,NULL,'AND',236,1,NULL,3),
- (240,1,'Get expert help','Get expert help','https://civicrm.org/experts?src=iam',NULL,NULL,'AND',236,1,NULL,4),
- (241,1,'About CiviCRM','About CiviCRM','https://civicrm.org/about?src=iam',NULL,NULL,'AND',236,1,1,5),
- (242,1,'Register your site','Register your site','https://civicrm.org/register-your-site?src=iam&sid={sid}',NULL,NULL,'AND',236,1,NULL,6),
- (243,1,'Join CiviCRM','Join CiviCRM','https://civicrm.org/become-a-member?src=iam&sid={sid}',NULL,NULL,'AND',236,1,NULL,7),
- (244,1,'Developer','Developer',NULL,NULL,'administer CiviCRM','',236,1,1,8),
- (245,1,'Api Explorer v3','API Explorer','civicrm/api3',NULL,'administer CiviCRM','',244,1,NULL,1),
- (246,1,'Api Explorer v4','Api Explorer v4','civicrm/api4#/explorer',NULL,'administer CiviCRM','',244,1,NULL,2),
- (247,1,'Developer Docs','Developer Docs','https://civicrm.org/developer-documentation?src=iam',NULL,'administer CiviCRM','',244,1,NULL,3),
- (248,1,'Reports','Reports',NULL,'crm-i fa-bar-chart','access CiviReport','',NULL,1,NULL,95),
- (249,1,'Contact Reports','Contact Reports','civicrm/report/list?compid=99&reset=1',NULL,'administer CiviCRM','',248,1,0,1),
- (250,1,'Contribution Reports','Contribution Reports','civicrm/report/list?compid=2&reset=1',NULL,'access CiviContribute','',248,1,0,2),
- (251,1,'Pledge Reports','Pledge Reports','civicrm/report/list?compid=6&reset=1',NULL,'access CiviPledge','',248,1,0,3),
- (252,1,'Event Reports','Event Reports','civicrm/report/list?compid=1&reset=1',NULL,'access CiviEvent','',248,1,0,4),
- (253,1,'Mailing Reports','Mailing Reports','civicrm/report/list?compid=4&reset=1',NULL,'access CiviMail','',248,1,0,5),
- (254,1,'Membership Reports','Membership Reports','civicrm/report/list?compid=3&reset=1',NULL,'access CiviMember','',248,1,0,6),
- (255,1,'Campaign Reports','Campaign Reports','civicrm/report/list?compid=9&reset=1',NULL,'interview campaign contacts,release campaign contacts,reserve campaign contacts,manage campaign,administer CiviCampaign,gotv campaign contacts','OR',248,1,0,7),
- (256,1,'Case Reports','Case Reports','civicrm/report/list?compid=7&reset=1',NULL,'access my cases and activities,access all cases and activities,administer CiviCase','OR',248,1,0,8),
- (257,1,'Grant Reports','Grant Reports','civicrm/report/list?compid=5&reset=1',NULL,'access CiviGrant','',248,1,0,9),
- (258,1,'All Reports','All Reports','civicrm/report/list?reset=1',NULL,'access CiviReport','',248,1,1,10),
- (259,1,'My Reports','My Reports','civicrm/report/list?myreports=1&reset=1',NULL,'access CiviReport','',248,1,1,11),
- (260,1,'New Student','New Student','civicrm/contact/add?ct=Individual&cst=Student&reset=1',NULL,'add contacts','',16,1,NULL,1),
- (261,1,'New Parent','New Parent','civicrm/contact/add?ct=Individual&cst=Parent&reset=1',NULL,'add contacts','',16,1,NULL,2),
- (262,1,'New Staff','New Staff','civicrm/contact/add?ct=Individual&cst=Staff&reset=1',NULL,'add contacts','',16,1,NULL,3),
- (263,1,'New Team','New Team','civicrm/contact/add?ct=Organization&cst=Team&reset=1',NULL,'add contacts','',18,1,NULL,1),
- (264,1,'New Sponsor','New Sponsor','civicrm/contact/add?ct=Organization&cst=Sponsor&reset=1',NULL,'add contacts','',18,1,NULL,2);
+ (26,1,'Manage Tags','Manage Tags (Categories)','civicrm/tag?reset=1',NULL,'manage tags','',15,1,1,12),
+ (27,1,'Find and Merge Duplicate Contacts','Find and Merge Duplicate Contacts','civicrm/contact/deduperules?reset=1',NULL,'administer dedupe rules,merge duplicate contacts','OR',15,1,NULL,13),
+ (28,1,'Contributions','Contributions',NULL,'crm-i fa-credit-card','access CiviContribute','',NULL,1,NULL,30),
+ (29,1,'Dashboard','Dashboard','civicrm/contribute?reset=1',NULL,'access CiviContribute','',28,1,NULL,1),
+ (30,1,'New Contribution','New Contribution','civicrm/contribute/add?reset=1&action=add&context=standalone',NULL,'access CiviContribute,edit contributions','AND',28,1,NULL,2),
+ (31,1,'Find Contributions','Find Contributions','civicrm/contribute/search?reset=1',NULL,'access CiviContribute','',28,1,NULL,3),
+ (32,1,'Contribution Reports','Contribution Reports','civicrm/report/list?compid=2&reset=1',NULL,'access CiviContribute','',28,1,1,4),
+ (33,1,'Import Contributions','Import Contributions','civicrm/contribute/import?reset=1',NULL,'access CiviContribute,edit contributions','AND',28,1,1,5),
+ (34,1,'Batch Data Entry','Batch Data Entry','civicrm/batch?reset=1',NULL,'access CiviContribute','',28,1,NULL,7),
+ (35,1,'Pledges','Pledges',NULL,NULL,'access CiviPledge','',28,1,1,6),
+ (36,1,'Accounting Batches','Accounting Batches',NULL,NULL,'view own manual batches,view all manual batches','OR',28,1,1,8),
+ (37,1,'Dashboard','Dashboard','civicrm/pledge?reset=1',NULL,'access CiviPledge','',35,1,NULL,1),
+ (38,1,'New Pledge','New Pledge','civicrm/pledge/add?reset=1&action=add&context=standalone',NULL,'access CiviPledge,edit pledges','AND',35,1,NULL,2),
+ (39,1,'Find Pledges','Find Pledges','civicrm/pledge/search?reset=1',NULL,'access CiviPledge','',35,1,NULL,3),
+ (40,1,'Pledge Reports','Pledge Reports','civicrm/report/list?compid=6&reset=1',NULL,'access CiviPledge','',35,1,0,4),
+ (41,1,'New Contribution Page','New Contribution Page','civicrm/admin/contribute/add?reset=1&action=add',NULL,'access CiviContribute,administer CiviCRM','AND',28,1,NULL,9),
+ (42,1,'Manage Contribution Pages','Manage Contribution Pages','civicrm/admin/contribute?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',28,1,1,10),
+ (43,1,'Personal Campaign Pages','Personal Campaign Pages','civicrm/admin/pcp?reset=1&page_type=contribute',NULL,'access CiviContribute,administer CiviCRM','AND',28,1,NULL,11),
+ (44,1,'Premiums (Thank-you Gifts)','Premiums','civicrm/admin/contribute/managePremiums?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',28,1,1,12),
+ (45,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add',NULL,'access CiviContribute,administer CiviCRM','AND',28,1,NULL,13),
+ (46,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',28,1,1,14),
+ (47,1,'New Batch','New Batch','civicrm/financial/batch?reset=1&action=add',NULL,'create manual batch','AND',36,1,NULL,1),
+ (48,1,'Open Batches','Open Batches','civicrm/financial/financialbatches?reset=1&batchStatus=1',NULL,'view own manual batches,view all manual batches','OR',36,1,NULL,2),
+ (49,1,'Closed Batches','Closed Batches','civicrm/financial/financialbatches?reset=1&batchStatus=2',NULL,'view own manual batches,view all manual batches','OR',36,1,NULL,3),
+ (50,1,'Exported Batches','Exported Batches','civicrm/financial/financialbatches?reset=1&batchStatus=5',NULL,'view own manual batches,view all manual batches','OR',36,1,NULL,4),
+ (51,1,'Events','Events',NULL,'crm-i fa-calendar','access CiviEvent','',NULL,1,NULL,40),
+ (52,1,'Dashboard','CiviEvent Dashboard','civicrm/event?reset=1',NULL,'access CiviEvent','',51,1,NULL,1),
+ (53,1,'Register Event Participant','Register Event Participant','civicrm/participant/add?reset=1&action=add&context=standalone',NULL,'access CiviEvent,edit event participants','AND',51,1,NULL,2),
+ (54,1,'Find Participants','Find Participants','civicrm/event/search?reset=1',NULL,'access CiviEvent','',51,1,NULL,3),
+ (55,1,'Event Reports','Event Reports','civicrm/report/list?compid=1&reset=1',NULL,'access CiviEvent','',51,1,1,4),
+ (56,1,'Import Participants','Import Participants','civicrm/event/import?reset=1',NULL,'access CiviEvent,edit event participants','AND',51,1,1,5),
+ (57,1,'New Event','New Event','civicrm/event/add?reset=1&action=add',NULL,'access CiviEvent,edit all events','AND',51,1,NULL,6),
+ (58,1,'Manage Events','Manage Events','civicrm/event/manage?reset=1',NULL,'access CiviEvent,edit all events','AND',51,1,1,7),
+ (59,1,'Personal Campaign Pages','Personal Campaign Pages','civicrm/admin/pcp?reset=1&page_type=event',NULL,'access CiviEvent,administer CiviCRM','AND',51,1,1,8),
+ (60,1,'Event Templates','Event Templates','civicrm/admin/eventTemplate?reset=1',NULL,'access CiviEvent,edit all events','AND',51,1,1,9),
+ (61,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add',NULL,'access CiviEvent,edit all events','AND',51,1,NULL,10),
+ (62,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1',NULL,'access CiviEvent,edit all events','AND',51,1,NULL,11),
+ (63,1,'Mailings','Mailings',NULL,'crm-i fa-envelope-o','access CiviMail,create mailings,approve mailings,schedule mailings,send SMS','OR',NULL,1,NULL,50),
+ (64,1,'New Mailing','New Mailing','civicrm/mailing/send?reset=1',NULL,'access CiviMail,create mailings','OR',63,1,NULL,1),
+ (65,1,'Draft and Unscheduled Mailings','Draft and Unscheduled Mailings','civicrm/mailing/browse/unscheduled?reset=1&scheduled=false',NULL,'access CiviMail,create mailings,schedule mailings','OR',63,1,NULL,2),
+ (66,1,'Scheduled and Sent Mailings','Scheduled and Sent Mailings','civicrm/mailing/browse/scheduled?reset=1&scheduled=true',NULL,'access CiviMail,approve mailings,create mailings,schedule mailings','OR',63,1,NULL,3),
+ (67,1,'Archived Mailings','Archived Mailings','civicrm/mailing/browse/archived?reset=1',NULL,'access CiviMail,create mailings','OR',63,1,NULL,4),
+ (68,1,'Mailing Reports','Mailing Reports','civicrm/report/list?compid=4&reset=1',NULL,'access CiviMail','',63,1,1,5),
+ (69,1,'Headers, Footers, and Automated Messages','Headers, Footers, and Automated Messages','civicrm/admin/component?reset=1',NULL,'access CiviMail,administer CiviCRM','AND',63,1,NULL,6),
+ (70,1,'Message Templates','Message Templates','civicrm/admin/messageTemplates?reset=1',NULL,'edit message templates,edit user-driven message templates,edit system workflow message templates','OR',63,1,NULL,7),
+ (71,1,'From Email Addresses','From Email Addresses','civicrm/admin/options/from_email_address?reset=1',NULL,'administer CiviCRM','',63,1,1,8),
+ (72,1,'New SMS','New SMS','civicrm/sms/send?reset=1',NULL,'send SMS',NULL,63,1,NULL,9),
+ (73,1,'Find Mass SMS','Find Mass SMS','civicrm/mailing/browse?reset=1&sms=1',NULL,'send SMS',NULL,63,1,1,10),
+ (74,1,'New A/B Test','New A/B Test','civicrm/a/#/abtest/new',NULL,'access CiviMail','',63,1,NULL,15),
+ (75,1,'Manage A/B Tests','Manage A/B Tests','civicrm/a/#/abtest',NULL,'access CiviMail','',63,1,1,16),
+ (76,1,'Memberships','Memberships',NULL,'crm-i fa-id-badge','access CiviMember','',NULL,1,NULL,60),
+ (77,1,'Dashboard','Dashboard','civicrm/member?reset=1',NULL,'access CiviMember','',76,1,NULL,1),
+ (78,1,'New Membership','New Membership','civicrm/member/add?reset=1&action=add&context=standalone',NULL,'access CiviMember,edit memberships','AND',76,1,NULL,2),
+ (79,1,'Find Memberships','Find Memberships','civicrm/member/search?reset=1',NULL,'access CiviMember','',76,1,NULL,3),
+ (80,1,'Membership Reports','Membership Reports','civicrm/report/list?compid=3&reset=1',NULL,'access CiviMember','',76,1,1,4),
+ (81,1,'Batch Data Entry','Batch Data Entry','civicrm/batch?reset=1',NULL,'access CiviContribute','',76,1,NULL,5),
+ (82,1,'Import Memberships','Import Members','civicrm/member/import?reset=1',NULL,'access CiviMember,edit memberships','AND',76,1,1,6),
+ (83,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add',NULL,'access CiviMember,administer CiviCRM','AND',76,1,NULL,7),
+ (84,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1',NULL,'access CiviMember,administer CiviCRM','AND',76,1,NULL,8),
+ (85,1,'Campaigns','Campaigns',NULL,'crm-i fa-bullhorn','interview campaign contacts,release campaign contacts,reserve campaign contacts,manage campaign,administer CiviCampaign,gotv campaign contacts','OR',NULL,1,NULL,70),
+ (86,1,'Dashboard','Dashboard','civicrm/campaign?reset=1',NULL,'manage campaign,administer CiviCampaign','OR',85,1,NULL,1),
+ (87,1,'Surveys','Survey Dashboard','civicrm/campaign?reset=1&subPage=survey',NULL,'manage campaign,administer CiviCampaign','OR',86,1,NULL,1),
+ (88,1,'Petitions','Petition Dashboard','civicrm/campaign?reset=1&subPage=petition',NULL,'manage campaign,administer CiviCampaign','OR',86,1,NULL,2),
+ (89,1,'Campaigns','Campaign Dashboard','civicrm/campaign?reset=1&subPage=campaign',NULL,'manage campaign,administer CiviCampaign','OR',86,1,NULL,3),
+ (90,1,'New Campaign','New Campaign','civicrm/campaign/add?reset=1',NULL,'manage campaign,administer CiviCampaign','OR',85,1,NULL,2),
+ (91,1,'New Survey','New Survey','civicrm/survey/add?reset=1',NULL,'manage campaign,administer CiviCampaign','OR',85,1,NULL,3),
+ (92,1,'New Petition','New Petition','civicrm/petition/add?reset=1',NULL,'manage campaign,administer CiviCampaign','OR',85,1,NULL,4),
+ (93,1,'Reserve Respondents','Reserve Respondents','civicrm/survey/search?reset=1&op=reserve',NULL,'administer CiviCampaign,manage campaign,reserve campaign contacts','OR',85,1,NULL,5),
+ (94,1,'Interview Respondents','Interview Respondents','civicrm/survey/search?reset=1&op=interview',NULL,'administer CiviCampaign,manage campaign,interview campaign contacts','OR',85,1,NULL,6),
+ (95,1,'Release Respondents','Release Respondents','civicrm/survey/search?reset=1&op=release',NULL,'administer CiviCampaign,manage campaign,release campaign contacts','OR',85,1,NULL,7),
+ (96,1,'Campaign Reports','Campaign Reports','civicrm/report/list?compid=9&reset=1',NULL,'interview campaign contacts,release campaign contacts,reserve campaign contacts,manage campaign,administer CiviCampaign,gotv campaign contacts','OR',85,1,1,8),
+ (97,1,'Conduct Survey','Conduct Survey','civicrm/campaign/vote?reset=1',NULL,'administer CiviCampaign,manage campaign,reserve campaign contacts,interview campaign contacts','OR',85,1,NULL,9),
+ (98,1,'GOTV (Voter Tracking)','Voter Listing','civicrm/campaign/gotv?reset=1',NULL,'administer CiviCampaign,manage campaign,release campaign contacts,gotv campaign contacts','OR',85,1,NULL,10),
+ (99,1,'Cases','Cases',NULL,'crm-i fa-folder-open-o','access my cases and activities,access all cases and activities','OR',NULL,1,NULL,80),
+ (100,1,'Dashboard','Dashboard','civicrm/case?reset=1',NULL,'access my cases and activities,access all cases and activities','OR',99,1,NULL,1),
+ (101,1,'New Case','New Case','civicrm/case/add?reset=1&action=add&atype=13&context=standalone',NULL,'add cases,access all cases and activities','OR',99,1,NULL,2),
+ (102,1,'Find Cases','Find Cases','civicrm/case/search?reset=1',NULL,'access my cases and activities,access all cases and activities','OR',99,1,1,3),
+ (103,1,'Case Reports','Case Reports','civicrm/report/list?compid=7&reset=1',NULL,'access my cases and activities,access all cases and activities,administer CiviCase','OR',99,1,0,4),
+ (104,1,'Grants','Grants',NULL,'crm-i fa-money','access CiviGrant','',NULL,1,NULL,90),
+ (105,1,'Dashboard','Dashboard','civicrm/grant?reset=1',NULL,'access CiviGrant','',104,1,NULL,1),
+ (106,1,'New Grant','New Grant','civicrm/grant/add?reset=1&action=add&context=standalone',NULL,'access CiviGrant,edit grants','AND',104,1,NULL,2),
+ (107,1,'Find Grants','Find Grants','civicrm/grant/search?reset=1',NULL,'access CiviGrant','',104,1,1,3),
+ (108,1,'Grant Reports','Grant Reports','civicrm/report/list?compid=5&reset=1',NULL,'access CiviGrant','',104,1,0,4),
+ (109,1,'Administer','Administer',NULL,'crm-i fa-gears','administer CiviCRM','',NULL,1,NULL,100),
+ (110,1,'Administration Console','Administration Console','civicrm/admin?reset=1',NULL,'administer CiviCRM','',109,1,NULL,1),
+ (111,1,'System Status','System Status','civicrm/a/#/status',NULL,'administer CiviCRM','',110,1,NULL,0),
+ (112,1,'Configuration Checklist','Configuration Checklist','civicrm/admin/configtask?reset=1',NULL,'administer CiviCRM','',110,1,NULL,1),
+ (113,1,'Customize Data and Screens','Customize Data and Screens',NULL,NULL,'administer CiviCRM','',109,1,NULL,3),
+ (114,1,'Custom Fields','Custom Fields','civicrm/admin/custom/group?reset=1',NULL,'administer CiviCRM','',113,1,NULL,1),
+ (115,1,'Profiles','Profiles','civicrm/admin/uf/group?reset=1',NULL,'administer CiviCRM','',113,1,NULL,2),
+ (116,1,'Tags','Tags (Categories)','civicrm/tag?reset=1',NULL,'administer CiviCRM','',113,1,NULL,3),
+ (117,1,'Activity Types','Activity Types','civicrm/admin/options/activity_type?reset=1',NULL,'administer CiviCRM','',113,1,NULL,4),
+ (118,1,'Relationship Types','Relationship Types','civicrm/admin/reltype?reset=1',NULL,'administer CiviCRM','',113,1,NULL,5),
+ (119,1,'Contact Types','Contact Types','civicrm/admin/options/subtype?reset=1',NULL,'administer CiviCRM','',113,1,NULL,6),
+ (120,1,'Display Preferences','Display Preferences','civicrm/admin/setting/preferences/display?reset=1',NULL,'administer CiviCRM','',113,1,NULL,9),
+ (121,1,'Search Preferences','Search Preferences','civicrm/admin/setting/search?reset=1',NULL,'administer CiviCRM','',113,1,NULL,10),
+ (122,1,'Date Preferences','Date Preferences','civicrm/admin/setting/preferences/date?reset=1',NULL,'administer CiviCRM','',113,1,NULL,11),
+ (123,1,'Navigation Menu','Navigation Menu','civicrm/admin/menu?reset=1',NULL,'administer CiviCRM','',113,1,NULL,12),
+ (124,1,'Word Replacements','Word Replacements','civicrm/admin/options/wordreplacements?reset=1',NULL,'administer CiviCRM','',113,1,NULL,13),
+ (125,1,'Manage Custom Searches','Manage Custom Searches','civicrm/admin/options/custom_search?reset=1',NULL,'administer CiviCRM','',113,1,NULL,14),
+ (126,1,'Dropdown Options','Dropdown Options','civicrm/admin/options?action=browse&reset=1',NULL,'administer CiviCRM','',113,1,NULL,8),
+ (127,1,'Gender Options','Gender Options','civicrm/admin/options/gender?reset=1',NULL,'administer CiviCRM','',126,1,NULL,1),
+ (128,1,'Individual Prefixes (Ms, Mr...)','Individual Prefixes (Ms, Mr...)','civicrm/admin/options/individual_prefix?reset=1',NULL,'administer CiviCRM','',126,1,NULL,2),
+ (129,1,'Individual Suffixes (Jr, Sr...)','Individual Suffixes (Jr, Sr...)','civicrm/admin/options/individual_suffix?reset=1',NULL,'administer CiviCRM','',126,1,NULL,3),
+ (130,1,'Instant Messenger Services','Instant Messenger Services','civicrm/admin/options/instant_messenger_service?reset=1',NULL,'administer CiviCRM','',126,1,NULL,4),
+ (131,1,'Location Types (Home, Work...)','Location Types (Home, Work...)','civicrm/admin/locationType?reset=1',NULL,'administer CiviCRM','',126,1,NULL,5),
+ (132,1,'Mobile Phone Providers','Mobile Phone Providers','civicrm/admin/options/mobile_provider?reset=1',NULL,'administer CiviCRM','',126,1,NULL,6),
+ (133,1,'Phone Types','Phone Types','civicrm/admin/options/phone_type?reset=1',NULL,'administer CiviCRM','',126,1,NULL,7),
+ (134,1,'Website Types','Website Types','civicrm/admin/options/website_type?reset=1',NULL,'administer CiviCRM','',126,1,NULL,8),
+ (135,1,'Communications','Communications',NULL,NULL,'administer CiviCRM','',109,1,NULL,4),
+ (136,1,'Organization Address and Contact Info','Organization Address and Contact Info','civicrm/admin/domain?action=update&reset=1',NULL,'administer CiviCRM','',135,1,NULL,1),
+ (137,1,'FROM Email Addresses','FROM Email Addresses','civicrm/admin/options/from_email_address?reset=1',NULL,'administer CiviCRM','',135,1,NULL,2),
+ (138,1,'Message Templates','Message Templates','civicrm/admin/messageTemplates?reset=1',NULL,'administer CiviCRM','',135,1,NULL,3),
+ (139,1,'Schedule Reminders','Schedule Reminders','civicrm/admin/scheduleReminders?reset=1',NULL,'administer CiviCRM','',135,1,NULL,4),
+ (140,1,'Preferred Communication Methods','Preferred Communication Methods','civicrm/admin/options/preferred_communication_method?reset=1',NULL,'administer CiviCRM','',135,1,NULL,5),
+ (141,1,'Label Formats','Label Formats','civicrm/admin/labelFormats?reset=1',NULL,'administer CiviCRM','',135,1,NULL,6),
+ (142,1,'Print Page (PDF) Formats','Print Page (PDF) Formats','civicrm/admin/pdfFormats?reset=1',NULL,'administer CiviCRM','',135,1,NULL,7),
+ (143,1,'Communication Style Options','Communication Style Options','civicrm/admin/options/communication_style?reset=1',NULL,'administer CiviCRM','',135,1,NULL,8),
+ (144,1,'Email Greeting Formats','Email Greeting Formats','civicrm/admin/options/email_greeting?reset=1',NULL,'administer CiviCRM','',135,1,NULL,9),
+ (145,1,'Postal Greeting Formats','Postal Greeting Formats','civicrm/admin/options/postal_greeting?reset=1',NULL,'administer CiviCRM','',135,1,NULL,10),
+ (146,1,'Addressee Formats','Addressee Formats','civicrm/admin/options/addressee?reset=1',NULL,'administer CiviCRM','',135,1,NULL,11),
+ (147,1,'Localization','Localization',NULL,NULL,'administer CiviCRM','',109,1,NULL,6),
+ (148,1,'Languages, Currency, Locations','Languages, Currency, Locations','civicrm/admin/setting/localization?reset=1',NULL,'administer CiviCRM','',147,1,NULL,1),
+ (149,1,'Address Settings','Address Settings','civicrm/admin/setting/preferences/address?reset=1',NULL,'administer CiviCRM','',147,1,NULL,2),
+ (150,1,'Date Formats','Date Formats','civicrm/admin/setting/date?reset=1',NULL,'administer CiviCRM','',147,1,NULL,3),
+ (151,1,'Preferred Language Options','Preferred Language Options','civicrm/admin/options/languages?reset=1',NULL,'administer CiviCRM','',147,1,NULL,4),
+ (152,1,'Users and Permissions','Users and Permissions',NULL,NULL,'administer CiviCRM','',109,1,NULL,7),
+ (153,1,'Permissions (Access Control)','Permissions (Access Control)','civicrm/admin/access?reset=1',NULL,'administer CiviCRM','',152,1,NULL,1),
+ (154,1,'Synchronize Users to Contacts','Synchronize Users to Contacts','civicrm/admin/synchUser?reset=1',NULL,'administer CiviCRM','',152,1,NULL,2),
+ (155,1,'System Settings','System Settings',NULL,NULL,'administer CiviCRM','',109,1,NULL,8),
+ (156,1,'Components','Enable Components','civicrm/admin/setting/component?reset=1',NULL,'administer CiviCRM','',155,1,NULL,1),
+ (157,1,'Connections','Connections','civicrm/a/#/cxn',NULL,'administer CiviCRM','',155,1,NULL,2),
+ (158,1,'Extensions','Manage Extensions','civicrm/admin/extensions?reset=1',NULL,'administer CiviCRM','',155,1,1,3),
+ (159,1,'Cleanup Caches and Update Paths','Cleanup Caches and Update Paths','civicrm/admin/setting/updateConfigBackend?reset=1',NULL,'administer CiviCRM','',155,1,NULL,4),
+ (160,1,'CMS Database Integration','CMS Integration','civicrm/admin/setting/uf?reset=1',NULL,'administer CiviCRM','',155,1,NULL,5),
+ (161,1,'Debugging and Error Handling','Debugging and Error Handling','civicrm/admin/setting/debug?reset=1',NULL,'administer CiviCRM','',155,1,NULL,6),
+ (162,1,'Directories','Directories','civicrm/admin/setting/path?reset=1',NULL,'administer CiviCRM','',155,1,NULL,7),
+ (163,1,'Import/Export Mappings','Import/Export Mappings','civicrm/admin/mapping?reset=1',NULL,'administer CiviCRM','',155,1,NULL,8),
+ (164,1,'Mapping and Geocoding','Mapping and Geocoding','civicrm/admin/setting/mapping?reset=1',NULL,'administer CiviCRM','',155,1,NULL,9),
+ (165,1,'Misc (Undelete, PDFs, Limits, Logging, etc.)','misc_admin_settings','civicrm/admin/setting/misc?reset=1',NULL,'administer CiviCRM','',155,1,NULL,10),
+ (166,1,'Multi Site Settings','Multi Site Settings','civicrm/admin/setting/preferences/multisite?reset=1',NULL,'administer CiviCRM','',155,1,NULL,11),
+ (167,1,'Option Groups','Option Groups','civicrm/admin/options?reset=1',NULL,'administer CiviCRM','',155,1,NULL,12),
+ (168,1,'Outbound Email (SMTP/Sendmail)','Outbound Email','civicrm/admin/setting/smtp?reset=1',NULL,'administer CiviCRM','',155,1,NULL,13),
+ (169,1,'Payment Processors','Payment Processors','civicrm/admin/paymentProcessor?reset=1',NULL,'administer CiviCRM','',155,1,NULL,14),
+ (170,1,'Resource URLs','Resource URLs','civicrm/admin/setting/url?reset=1',NULL,'administer CiviCRM','',155,1,NULL,15),
+ (171,1,'Safe File Extensions','Safe File Extensions','civicrm/admin/options/safe_file_extension?reset=1',NULL,'administer CiviCRM','',155,1,NULL,16),
+ (172,1,'Scheduled Jobs','Scheduled Jobs','civicrm/admin/job?reset=1',NULL,'administer CiviCRM','',155,1,NULL,17),
+ (173,1,'SMS Providers','SMS Providers','civicrm/admin/sms/provider?reset=1',NULL,'administer CiviCRM','',155,1,NULL,18),
+ (174,1,'CiviCampaign','CiviCampaign',NULL,NULL,'administer CiviCampaign,administer CiviCRM','AND',109,1,NULL,9),
+ (175,1,'Survey Types','Survey Types','civicrm/admin/campaign/surveyType?reset=1',NULL,'administer CiviCampaign','',174,1,NULL,1),
+ (176,1,'Campaign Types','Campaign Types','civicrm/admin/options/campaign_type?reset=1',NULL,'administer CiviCampaign','',174,1,NULL,2),
+ (177,1,'Campaign Status','Campaign Status','civicrm/admin/options/campaign_status?reset=1',NULL,'administer CiviCampaign','',174,1,NULL,3),
+ (178,1,'Engagement Index','Engagement Index','civicrm/admin/options/engagement_index?reset=1',NULL,'administer CiviCampaign','',174,1,NULL,4),
+ (179,1,'CiviCampaign Component Settings','CiviCampaign Component Settings','civicrm/admin/setting/preferences/campaign?reset=1',NULL,'administer CiviCampaign','',174,1,NULL,5),
+ (180,1,'CiviCase','CiviCase',NULL,NULL,'administer CiviCase',NULL,109,1,NULL,10),
+ (181,1,'CiviCase Settings','CiviCase Settings','civicrm/admin/setting/case?reset=1',NULL,'administer CiviCase',NULL,180,1,NULL,1),
+ (182,1,'Case Types','Case Types','civicrm/a/#/caseType',NULL,'administer CiviCase',NULL,180,1,NULL,2),
+ (183,1,'Redaction Rules','Redaction Rules','civicrm/admin/options/redaction_rule?reset=1',NULL,'administer CiviCase',NULL,180,1,NULL,3),
+ (184,1,'Case Statuses','Case Statuses','civicrm/admin/options/case_status?reset=1',NULL,'administer CiviCase',NULL,180,1,NULL,4),
+ (185,1,'Encounter Medium','Encounter Medium','civicrm/admin/options/encounter_medium?reset=1',NULL,'administer CiviCase',NULL,180,1,NULL,5),
+ (186,1,'CiviContribute','CiviContribute',NULL,NULL,'access CiviContribute,administer CiviCRM','AND',109,1,NULL,11),
+ (187,1,'New Contribution Page','New Contribution Page','civicrm/admin/contribute?reset=1&action=add',NULL,'access CiviContribute,administer CiviCRM','AND',186,1,NULL,6),
+ (188,1,'Manage Contribution Pages','Manage Contribution Pages','civicrm/admin/contribute?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',186,1,1,7),
+ (189,1,'Personal Campaign Pages','Personal Campaign Pages','civicrm/admin/pcp?reset=1&page_type=contribute',NULL,'access CiviContribute,administer CiviCRM','AND',186,1,NULL,8),
+ (190,1,'Premiums (Thank-you Gifts)','Premiums','civicrm/admin/contribute/managePremiums?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',186,1,1,9),
+ (191,1,'Financial Types','Financial Types','civicrm/admin/financial/financialType?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',186,1,NULL,10),
+ (192,1,'Financial Accounts','Financial Accounts','civicrm/admin/financial/financialAccount?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',186,1,NULL,11),
+ (193,1,'Payment Methods','Payment Instruments','civicrm/admin/options/payment_instrument?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',186,1,NULL,12),
+ (194,1,'Accepted Credit Cards','Accepted Credit Cards','civicrm/admin/options/accept_creditcard?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',186,1,NULL,13),
+ (195,1,'Soft Credit Types','Soft Credit Types','civicrm/admin/options/soft_credit_type?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',186,1,1,14),
+ (196,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add',NULL,'access CiviContribute,administer CiviCRM','AND',186,1,NULL,15),
+ (197,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1',NULL,'access CiviContribute,administer CiviCRM','AND',186,1,NULL,16),
+ (198,1,'Payment Processors','Payment Processors','civicrm/admin/paymentProcessor?reset=1',NULL,'administer CiviCRM','',186,1,NULL,17),
+ (199,1,'CiviContribute Component Settings','CiviContribute Component Settings','civicrm/admin/setting/preferences/contribute?reset=1',NULL,'administer CiviCRM','',186,1,NULL,18),
+ (200,1,'CiviEvent','CiviEvent',NULL,NULL,'access CiviEvent,administer CiviCRM','AND',109,1,NULL,12),
+ (201,1,'New Event','New Event','civicrm/event/add?reset=1&action=add',NULL,'access CiviEvent,administer CiviCRM','AND',200,1,NULL,1),
+ (202,1,'Manage Events','Manage Events','civicrm/event/manage?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',200,1,1,2),
+ (203,1,'Personal Campaign Pages','Personal Campaign Pages','civicrm/admin/pcp?reset=1&page_type=event',NULL,'access CiviEvent,administer CiviCRM','AND',200,1,1,3),
+ (204,1,'Event Templates','Event Templates','civicrm/admin/eventTemplate?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',200,1,1,4),
+ (205,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add',NULL,'access CiviEvent,administer CiviCRM','AND',200,1,NULL,5),
+ (206,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',200,1,1,6),
+ (207,1,'Event Types','Event Types','civicrm/admin/options/event_type?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',200,1,NULL,7),
+ (208,1,'Participant Statuses','Participant Statuses','civicrm/admin/participant_status?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',200,1,NULL,8),
+ (209,1,'Participant Roles','Participant Roles','civicrm/admin/options/participant_role?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',200,1,NULL,9),
+ (210,1,'Participant Listing Options','Participant Listing Options','civicrm/admin/options/participant_listing?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',200,1,NULL,10),
+ (211,1,'Event Name Badge Layouts','Event Name Badge Layouts','civicrm/admin/badgelayout?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',200,1,NULL,11),
+ (212,1,'Payment Processors','Payment Processors','civicrm/admin/paymentProcessor?reset=1',NULL,'administer CiviCRM','',200,1,NULL,12),
+ (213,1,'CiviEvent Component Settings','CiviEvent Component Settings','civicrm/admin/setting/preferences/event?reset=1',NULL,'access CiviEvent,administer CiviCRM','AND',200,1,NULL,13),
+ (214,1,'CiviGrant','CiviGrant',NULL,NULL,'access CiviGrant,administer CiviCRM','AND',109,1,NULL,13),
+ (215,1,'Grant Types','Grant Types','civicrm/admin/options/grant_type?reset=1',NULL,'access CiviGrant,administer CiviCRM','AND',214,1,NULL,1),
+ (216,1,'Grant Status','Grant Status','civicrm/admin/options/grant_status?reset=1',NULL,'access CiviGrant,administer CiviCRM','AND',214,1,NULL,2),
+ (217,1,'CiviMail','CiviMail',NULL,NULL,'access CiviMail,administer CiviCRM','AND',109,1,NULL,14),
+ (218,1,'Headers, Footers, and Automated Messages','Headers, Footers, and Automated Messages','civicrm/admin/component?reset=1',NULL,'access CiviMail,administer CiviCRM','AND',217,1,NULL,1),
+ (219,1,'Message Templates','Message Templates','civicrm/admin/messageTemplates?reset=1',NULL,'administer CiviCRM','',217,1,NULL,2),
+ (220,1,'From Email Addresses','From Email Addresses','civicrm/admin/options/from_email_address?reset=1',NULL,'administer CiviCRM','',217,1,NULL,3),
+ (221,1,'Mail Accounts','Mail Accounts','civicrm/admin/mailSettings?reset=1',NULL,'access CiviMail,administer CiviCRM','AND',217,1,NULL,4),
+ (222,1,'Mailer Settings','Mailer Settings','civicrm/admin/mail?reset=1',NULL,'access CiviMail,administer CiviCRM','AND',217,1,NULL,5),
+ (223,1,'CiviMail Component Settings','CiviMail Component Settings','civicrm/admin/setting/preferences/mailing?reset=1',NULL,'access CiviMail,administer CiviCRM','AND',217,1,NULL,6),
+ (224,1,'CiviMember','CiviMember',NULL,NULL,'access CiviMember,administer CiviCRM','AND',109,1,NULL,15),
+ (225,1,'Membership Types','Membership Types','civicrm/admin/member/membershipType?reset=1',NULL,'access CiviMember,administer CiviCRM','AND',224,1,NULL,1),
+ (226,1,'Membership Status Rules','Membership Status Rules','civicrm/admin/member/membershipStatus?reset=1',NULL,'access CiviMember,administer CiviCRM','AND',224,1,1,2),
+ (227,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add',NULL,'access CiviMember,administer CiviCRM','AND',224,1,NULL,3),
+ (228,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1',NULL,'access CiviMember,administer CiviCRM','AND',224,1,NULL,4),
+ (229,1,'CiviMember Component Settings','CiviMember Component Settings','civicrm/admin/setting/preferences/member?reset=1',NULL,'access CiviMember,administer CiviCRM','AND',224,1,NULL,5),
+ (230,1,'CiviReport','CiviReport',NULL,NULL,'access CiviReport,administer CiviCRM','AND',109,1,NULL,16),
+ (231,1,'All Reports','All Reports','civicrm/report/list?reset=1',NULL,'access CiviReport','',230,1,NULL,1),
+ (232,1,'Create New Report from Template','Create New Report from Template','civicrm/admin/report/template/list?reset=1',NULL,'administer Reports','',230,1,NULL,2),
+ (233,1,'Manage Templates','Manage Templates','civicrm/admin/report/options/report_template?reset=1',NULL,'administer Reports','',230,1,NULL,3),
+ (234,1,'Register Report','Register Report','civicrm/admin/report/register?reset=1',NULL,'administer Reports','',230,1,NULL,4),
+ (235,1,'Support','Support',NULL,'crm-i fa-life-ring',NULL,'',NULL,1,NULL,110),
+ (236,1,'Get started','Get started','https://civicrm.org/get-started?src=iam',NULL,NULL,'AND',235,1,NULL,1),
+ (237,1,'Documentation','Documentation','https://civicrm.org/documentation?src=iam',NULL,NULL,'AND',235,1,NULL,2),
+ (238,1,'Ask a question','Ask a question','https://civicrm.org/ask-a-question?src=iam',NULL,NULL,'AND',235,1,NULL,3),
+ (239,1,'Get expert help','Get expert help','https://civicrm.org/experts?src=iam',NULL,NULL,'AND',235,1,NULL,4),
+ (240,1,'About CiviCRM','About CiviCRM','https://civicrm.org/about?src=iam',NULL,NULL,'AND',235,1,1,5),
+ (241,1,'Register your site','Register your site','https://civicrm.org/register-your-site?src=iam&sid={sid}',NULL,NULL,'AND',235,1,NULL,6),
+ (242,1,'Join CiviCRM','Join CiviCRM','https://civicrm.org/become-a-member?src=iam&sid={sid}',NULL,NULL,'AND',235,1,NULL,7),
+ (243,1,'Developer','Developer',NULL,NULL,'administer CiviCRM','',235,1,1,8),
+ (244,1,'Api Explorer v3','API Explorer','civicrm/api3',NULL,'administer CiviCRM','',243,1,NULL,1),
+ (245,1,'Api Explorer v4','Api Explorer v4','civicrm/api4#/explorer',NULL,'administer CiviCRM','',243,1,NULL,2),
+ (246,1,'Developer Docs','Developer Docs','https://civicrm.org/developer-documentation?src=iam',NULL,'administer CiviCRM','',243,1,NULL,3),
+ (247,1,'Reports','Reports',NULL,'crm-i fa-bar-chart','access CiviReport','',NULL,1,NULL,95),
+ (248,1,'Contact Reports','Contact Reports','civicrm/report/list?compid=99&reset=1',NULL,'administer CiviCRM','',247,1,0,1),
+ (249,1,'Contribution Reports','Contribution Reports','civicrm/report/list?compid=2&reset=1',NULL,'access CiviContribute','',247,1,0,2),
+ (250,1,'Pledge Reports','Pledge Reports','civicrm/report/list?compid=6&reset=1',NULL,'access CiviPledge','',247,1,0,3),
+ (251,1,'Event Reports','Event Reports','civicrm/report/list?compid=1&reset=1',NULL,'access CiviEvent','',247,1,0,4),
+ (252,1,'Mailing Reports','Mailing Reports','civicrm/report/list?compid=4&reset=1',NULL,'access CiviMail','',247,1,0,5),
+ (253,1,'Membership Reports','Membership Reports','civicrm/report/list?compid=3&reset=1',NULL,'access CiviMember','',247,1,0,6),
+ (254,1,'Campaign Reports','Campaign Reports','civicrm/report/list?compid=9&reset=1',NULL,'interview campaign contacts,release campaign contacts,reserve campaign contacts,manage campaign,administer CiviCampaign,gotv campaign contacts','OR',247,1,0,7),
+ (255,1,'Case Reports','Case Reports','civicrm/report/list?compid=7&reset=1',NULL,'access my cases and activities,access all cases and activities,administer CiviCase','OR',247,1,0,8),
+ (256,1,'Grant Reports','Grant Reports','civicrm/report/list?compid=5&reset=1',NULL,'access CiviGrant','',247,1,0,9),
+ (257,1,'All Reports','All Reports','civicrm/report/list?reset=1',NULL,'access CiviReport','',247,1,1,10),
+ (258,1,'My Reports','My Reports','civicrm/report/list?myreports=1&reset=1',NULL,'access CiviReport','',247,1,1,11),
+ (259,1,'New Student','New Student','civicrm/contact/add?ct=Individual&cst=Student&reset=1',NULL,'add contacts','',16,1,NULL,1),
+ (260,1,'New Parent','New Parent','civicrm/contact/add?ct=Individual&cst=Parent&reset=1',NULL,'add contacts','',16,1,NULL,2),
+ (261,1,'New Staff','New Staff','civicrm/contact/add?ct=Individual&cst=Staff&reset=1',NULL,'add contacts','',16,1,NULL,3),
+ (262,1,'New Team','New Team','civicrm/contact/add?ct=Organization&cst=Team&reset=1',NULL,'add contacts','',18,1,NULL,1),
+ (263,1,'New Sponsor','New Sponsor','civicrm/contact/add?ct=Organization&cst=Sponsor&reset=1',NULL,'add contacts','',18,1,NULL,2);
 /*!40000 ALTER TABLE `civicrm_navigation` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -5444,26 +5444,26 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_note` WRITE;
 /*!40000 ALTER TABLE `civicrm_note` DISABLE KEYS */;
 INSERT INTO `civicrm_note` (`id`, `entity_table`, `entity_id`, `note`, `contact_id`, `note_date`, `created_date`, `modified_date`, `subject`, `privacy`) VALUES
- (1,'civicrm_contact',7,'Organize the Terry Fox run',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2020-08-10 23:09:57',NULL,'0'),
- (2,'civicrm_contact',10,'Reminder screening of \"Black\" on next Friday',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2020-11-10 22:26:57',NULL,'0'),
- (3,'civicrm_contact',110,'Get the registration done for NGO status',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2021-03-02 00:03:22',NULL,'0'),
- (4,'civicrm_contact',94,'Send newsletter for April 2005',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2021-04-20 12:59:21',NULL,'0'),
- (5,'civicrm_contact',140,'Send reminder for annual dinner',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2021-01-26 08:55:31',NULL,'0'),
- (6,'civicrm_contact',179,'Chart out route map for next 10k run',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2021-01-22 06:44:14',NULL,'0'),
- (7,'civicrm_contact',5,'Invite members for the Steve Prefontaine 10k dream run',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2020-09-16 18:03:32',NULL,'0'),
- (8,'civicrm_contact',84,'Arrange collection of funds from members',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2020-11-28 21:24:31',NULL,'0'),
- (9,'civicrm_contact',145,'Arrange collection of funds from members',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2021-03-17 22:49:38',NULL,'0'),
- (10,'civicrm_contact',28,'Arrange for cricket match with Sunil Gavaskar',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2020-09-10 01:29:49',NULL,'0'),
- (11,'civicrm_contact',179,'Send reminder for annual dinner',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2020-07-07 09:50:50',NULL,'0'),
- (12,'civicrm_contact',5,'Contact the Commissioner of Charities',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2021-04-01 03:09:31',NULL,'0'),
- (13,'civicrm_contact',172,'Arrange collection of funds from members',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2021-02-08 00:49:40',NULL,'0'),
- (14,'civicrm_contact',86,'Arrange for cricket match with Sunil Gavaskar',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2021-02-10 23:24:39',NULL,'0'),
- (15,'civicrm_contact',3,'Organize the Terry Fox run',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2020-10-17 09:33:05',NULL,'0'),
- (16,'civicrm_contact',74,'Get the registration done for NGO status',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2020-12-15 07:50:13',NULL,'0'),
- (17,'civicrm_contact',54,'Arrange for cricket match with Sunil Gavaskar',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2020-09-13 09:39:13',NULL,'0'),
- (18,'civicrm_contact',183,'Chart out route map for next 10k run',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2021-02-06 03:45:02',NULL,'0'),
- (19,'civicrm_contact',110,'Contact the Commissioner of Charities',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2020-10-08 20:51:18',NULL,'0'),
- (20,'civicrm_contact',106,'Contact the Commissioner of Charities',1,'2021-06-11 00:47:10','2021-06-11 00:47:10','2020-10-04 08:36:18',NULL,'0');
+ (1,'civicrm_contact',91,'Invite members for the Steve Prefontaine 10k dream run',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-05-05 07:38:16',NULL,'0'),
+ (2,'civicrm_contact',42,'Organize the Terry Fox run',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2020-09-30 02:16:37',NULL,'0'),
+ (3,'civicrm_contact',90,'Send newsletter for April 2005',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-02-21 04:21:39',NULL,'0'),
+ (4,'civicrm_contact',41,'Reminder screening of \"Black\" on next Friday',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2020-07-13 19:25:33',NULL,'0'),
+ (5,'civicrm_contact',104,'Send reminder for annual dinner',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2020-09-16 09:14:20',NULL,'0'),
+ (6,'civicrm_contact',3,'Arrange for cricket match with Sunil Gavaskar',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-05-15 08:53:16',NULL,'0'),
+ (7,'civicrm_contact',78,'Get the registration done for NGO status',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-06-16 22:36:04',NULL,'0'),
+ (8,'civicrm_contact',162,'Connect for presentation',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-01-29 16:20:38',NULL,'0'),
+ (9,'civicrm_contact',77,'Organize the Terry Fox run',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-06-14 01:52:17',NULL,'0'),
+ (10,'civicrm_contact',125,'Organize the Terry Fox run',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-04-24 12:32:17',NULL,'0'),
+ (11,'civicrm_contact',152,'Organize the Terry Fox run',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2020-12-24 09:29:17',NULL,'0'),
+ (12,'civicrm_contact',173,'Arrange for cricket match with Sunil Gavaskar',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-03-09 14:31:22',NULL,'0'),
+ (13,'civicrm_contact',103,'Connect for presentation',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-01-22 15:08:43',NULL,'0'),
+ (14,'civicrm_contact',2,'Chart out route map for next 10k run',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2020-11-02 04:13:35',NULL,'0'),
+ (15,'civicrm_contact',115,'Send newsletter for April 2005',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-06-01 10:48:36',NULL,'0'),
+ (16,'civicrm_contact',75,'Send reminder for annual dinner',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-04-06 02:59:49',NULL,'0'),
+ (17,'civicrm_contact',44,'Connect for presentation',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2020-08-07 09:52:33',NULL,'0'),
+ (18,'civicrm_contact',102,'Invite members for the Steve Prefontaine 10k dream run',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-06-11 02:14:31',NULL,'0'),
+ (19,'civicrm_contact',130,'Arrange collection of funds from members',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-03-24 16:29:07',NULL,'0'),
+ (20,'civicrm_contact',160,'Get the registration done for NGO status',1,'2021-07-02 00:09:03','2021-07-02 00:09:03','2021-04-02 13:46:45',NULL,'0');
 /*!40000 ALTER TABLE `civicrm_note` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -5531,53 +5531,54 @@ INSERT INTO `civicrm_option_group` (`id`, `name`, `title`, `description`, `data_
  (46,'contact_reference_options','Contact Reference Autocomplete Options',NULL,NULL,1,1,1),
  (47,'website_type','Website Type',NULL,NULL,1,1,0),
  (48,'tag_used_for','Tag Used For',NULL,NULL,1,1,1),
- (49,'currencies_enabled','Currencies Enabled',NULL,NULL,1,1,0),
- (50,'event_badge','Event Name Badge',NULL,NULL,1,1,0),
- (51,'note_privacy','Privacy levels for notes',NULL,NULL,1,1,0),
- (52,'campaign_type','Campaign Type',NULL,NULL,1,1,0),
- (53,'campaign_status','Campaign Status',NULL,NULL,1,1,0),
- (54,'system_extensions','CiviCRM Extensions',NULL,NULL,1,1,0),
- (55,'mail_approval_status','CiviMail Approval Status',NULL,NULL,1,1,0),
- (56,'engagement_index','Engagement Index',NULL,NULL,1,1,0),
- (57,'cg_extend_objects','Objects a custom group extends to',NULL,NULL,1,1,0),
- (58,'paper_size','Paper Size',NULL,NULL,1,1,0),
- (59,'pdf_format','PDF Page Format',NULL,NULL,1,1,0),
- (60,'label_format','Mailing Label Format',NULL,NULL,1,1,0),
- (61,'activity_contacts','Activity Contacts',NULL,NULL,1,1,1),
- (62,'account_relationship','Account Relationship',NULL,NULL,1,1,0),
- (63,'event_contacts','Event Recipients',NULL,NULL,1,1,0),
- (64,'conference_slot','Conference Slot',NULL,NULL,1,1,0),
- (65,'batch_type','Batch Type',NULL,NULL,1,1,1),
- (66,'batch_mode','Batch Mode',NULL,NULL,1,1,1),
- (67,'batch_status','Batch Status',NULL,NULL,1,1,1),
- (68,'sms_api_type','Api Type',NULL,NULL,1,1,0),
- (69,'sms_provider_name','Sms Provider Internal Name',NULL,NULL,1,1,0),
- (70,'auto_renew_options','Auto Renew Options',NULL,NULL,1,1,1),
- (71,'financial_account_type','Financial Account Type',NULL,NULL,1,1,0),
- (72,'financial_item_status','Financial Item Status',NULL,NULL,1,1,1),
- (73,'label_type','Label Type',NULL,NULL,1,1,0),
- (74,'name_badge','Name Badge Format',NULL,NULL,1,1,0),
- (75,'communication_style','Communication Style',NULL,NULL,1,1,0),
- (76,'msg_mode','Message Mode',NULL,NULL,1,1,0),
- (77,'contact_date_reminder_options','Contact Date Reminder Options',NULL,NULL,1,1,1),
- (78,'wysiwyg_presets','WYSIWYG Editor Presets',NULL,NULL,1,1,0),
- (79,'relative_date_filters','Relative Date Filters',NULL,NULL,1,1,0),
- (80,'pledge_status','Pledge Status',NULL,NULL,1,1,1),
- (81,'contribution_recur_status','Recurring Contribution Status',NULL,NULL,1,1,1),
- (82,'environment','Environment',NULL,NULL,1,1,0),
- (83,'activity_default_assignee','Activity default assignee',NULL,NULL,1,1,0),
- (84,'languages','Languages','List of Languages',NULL,1,1,0),
- (85,'encounter_medium','Encounter Medium','Encounter medium for case activities (e.g. In Person, By Phone, etc.)',NULL,1,1,0),
- (86,'msg_tpl_workflow_case','Message Template Workflow for Cases','Message Template Workflow for Cases',NULL,1,1,0),
- (87,'msg_tpl_workflow_contribution','Message Template Workflow for Contributions','Message Template Workflow for Contributions',NULL,1,1,0),
- (88,'msg_tpl_workflow_event','Message Template Workflow for Events','Message Template Workflow for Events',NULL,1,1,0),
- (89,'msg_tpl_workflow_friend','Message Template Workflow for Tell-a-Friend','Message Template Workflow for Tell-a-Friend',NULL,1,1,0),
- (90,'msg_tpl_workflow_membership','Message Template Workflow for Memberships','Message Template Workflow for Memberships',NULL,1,1,0),
- (91,'msg_tpl_workflow_meta','Message Template Workflow for Meta Templates','Message Template Workflow for Meta Templates',NULL,1,1,0),
- (92,'msg_tpl_workflow_pledge','Message Template Workflow for Pledges','Message Template Workflow for Pledges',NULL,1,1,0),
- (93,'msg_tpl_workflow_uf','Message Template Workflow for Profiles','Message Template Workflow for Profiles',NULL,1,1,0),
- (94,'msg_tpl_workflow_petition','Message Template Workflow for Petition','Message Template Workflow for Petition',NULL,1,1,0),
- (95,'soft_credit_type','Soft Credit Types',NULL,NULL,1,1,0);
+ (49,'note_used_for','Note Used For',NULL,NULL,1,1,1),
+ (50,'currencies_enabled','Currencies Enabled',NULL,NULL,1,1,0),
+ (51,'event_badge','Event Name Badge',NULL,NULL,1,1,0),
+ (52,'note_privacy','Privacy levels for notes',NULL,NULL,1,1,0),
+ (53,'campaign_type','Campaign Type',NULL,NULL,1,1,0),
+ (54,'campaign_status','Campaign Status',NULL,NULL,1,1,0),
+ (55,'system_extensions','CiviCRM Extensions',NULL,NULL,1,1,0),
+ (56,'mail_approval_status','CiviMail Approval Status',NULL,NULL,1,1,0),
+ (57,'engagement_index','Engagement Index',NULL,NULL,1,1,0),
+ (58,'cg_extend_objects','Objects a custom group extends to',NULL,NULL,1,1,0),
+ (59,'paper_size','Paper Size',NULL,NULL,1,1,0),
+ (60,'pdf_format','PDF Page Format',NULL,NULL,1,1,0),
+ (61,'label_format','Mailing Label Format',NULL,NULL,1,1,0),
+ (62,'activity_contacts','Activity Contacts',NULL,NULL,1,1,1),
+ (63,'account_relationship','Account Relationship',NULL,NULL,1,1,0),
+ (64,'event_contacts','Event Recipients',NULL,NULL,1,1,0),
+ (65,'conference_slot','Conference Slot',NULL,NULL,1,1,0),
+ (66,'batch_type','Batch Type',NULL,NULL,1,1,1),
+ (67,'batch_mode','Batch Mode',NULL,NULL,1,1,1),
+ (68,'batch_status','Batch Status',NULL,NULL,1,1,1),
+ (69,'sms_api_type','Api Type',NULL,NULL,1,1,0),
+ (70,'sms_provider_name','Sms Provider Internal Name',NULL,NULL,1,1,0),
+ (71,'auto_renew_options','Auto Renew Options',NULL,NULL,1,1,1),
+ (72,'financial_account_type','Financial Account Type',NULL,NULL,1,1,0),
+ (73,'financial_item_status','Financial Item Status',NULL,NULL,1,1,1),
+ (74,'label_type','Label Type',NULL,NULL,1,1,0),
+ (75,'name_badge','Name Badge Format',NULL,NULL,1,1,0),
+ (76,'communication_style','Communication Style',NULL,NULL,1,1,0),
+ (77,'msg_mode','Message Mode',NULL,NULL,1,1,0),
+ (78,'contact_date_reminder_options','Contact Date Reminder Options',NULL,NULL,1,1,1),
+ (79,'wysiwyg_presets','WYSIWYG Editor Presets',NULL,NULL,1,1,0),
+ (80,'relative_date_filters','Relative Date Filters',NULL,NULL,1,1,0),
+ (81,'pledge_status','Pledge Status',NULL,NULL,1,1,1),
+ (82,'contribution_recur_status','Recurring Contribution Status',NULL,NULL,1,1,1),
+ (83,'environment','Environment',NULL,NULL,1,1,0),
+ (84,'activity_default_assignee','Activity default assignee',NULL,NULL,1,1,0),
+ (85,'languages','Languages','List of Languages',NULL,1,1,0),
+ (86,'encounter_medium','Encounter Medium','Encounter medium for case activities (e.g. In Person, By Phone, etc.)',NULL,1,1,0),
+ (87,'msg_tpl_workflow_case','Message Template Workflow for Cases','Message Template Workflow for Cases',NULL,1,1,0),
+ (88,'msg_tpl_workflow_contribution','Message Template Workflow for Contributions','Message Template Workflow for Contributions',NULL,1,1,0),
+ (89,'msg_tpl_workflow_event','Message Template Workflow for Events','Message Template Workflow for Events',NULL,1,1,0),
+ (90,'msg_tpl_workflow_friend','Message Template Workflow for Tell-a-Friend','Message Template Workflow for Tell-a-Friend',NULL,1,1,0),
+ (91,'msg_tpl_workflow_membership','Message Template Workflow for Memberships','Message Template Workflow for Memberships',NULL,1,1,0),
+ (92,'msg_tpl_workflow_meta','Message Template Workflow for Meta Templates','Message Template Workflow for Meta Templates',NULL,1,1,0),
+ (93,'msg_tpl_workflow_pledge','Message Template Workflow for Pledges','Message Template Workflow for Pledges',NULL,1,1,0),
+ (94,'msg_tpl_workflow_uf','Message Template Workflow for Profiles','Message Template Workflow for Profiles',NULL,1,1,0),
+ (95,'msg_tpl_workflow_petition','Message Template Workflow for Petition','Message Template Workflow for Petition',NULL,1,1,0),
+ (96,'soft_credit_type','Soft Credit Types',NULL,NULL,1,1,0);
 /*!40000 ALTER TABLE `civicrm_option_group` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -5899,7 +5900,7 @@ INSERT INTO `civicrm_option_value` (`id`, `option_group_id`, `label`, `value`, `
  (309,30,'ics','15','ics',NULL,0,0,15,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
  (310,30,'pptx','16','pptx',NULL,0,0,16,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
  (311,33,'Textarea','1','Textarea',NULL,0,NULL,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (312,33,'CKEditor','2','CKEditor',NULL,0,NULL,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (312,33,'CKEditor 4','2','CKEditor',NULL,0,NULL,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
  (313,32,'Search Builder','1','Search Builder',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
  (314,32,'Import Contact','2','Import Contact',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
  (315,32,'Import Activity','3','Import Activity',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
@@ -5962,494 +5963,498 @@ INSERT INTO `civicrm_option_value` (`id`, `option_group_id`, `label`, `value`, `
  (372,47,'Tumblr','10','Tumblr',NULL,0,NULL,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
  (373,47,'Twitter','11','Twitter',NULL,0,NULL,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
  (374,47,'Vine','12','Vine ',NULL,0,NULL,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (375,48,'Contacts','civicrm_contact','Contacts',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (376,48,'Activities','civicrm_activity','Activities',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (377,48,'Cases','civicrm_case','Cases',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (378,48,'Attachments','civicrm_file','Attachements',NULL,0,NULL,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (379,49,'USD ($)','USD','USD',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (380,50,'Name Only','1','CRM_Event_Badge_Simple',NULL,0,0,1,'Simple Event Name Badge',0,1,1,NULL,NULL,NULL,NULL,NULL),
- (381,50,'Name Tent','2','CRM_Event_Badge_NameTent',NULL,0,0,2,'Name Tent',0,1,1,NULL,NULL,NULL,NULL,NULL),
- (382,50,'With Logo','3','CRM_Event_Badge_Logo',NULL,0,0,3,'You can set your own background image',0,1,1,NULL,NULL,NULL,NULL,NULL),
- (383,50,'5395 with Logo','4','CRM_Event_Badge_Logo5395',NULL,0,0,4,'Avery 5395 compatible labels with logo (4 up by 2, 59.2mm x 85.7mm)',0,1,1,NULL,NULL,NULL,NULL,NULL),
- (384,51,'None','0','None',NULL,0,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (385,51,'Author Only','1','Author Only',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (386,52,'Direct Mail','1','Direct Mail',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (387,52,'Referral Program','2','Referral Program',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (388,52,'Constituent Engagement','3','Constituent Engagement',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (389,53,'Planned','1','Planned',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (390,53,'In Progress','2','In Progress',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (391,53,'Completed','3','Completed',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (392,53,'Cancelled','4','Cancelled',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (393,56,'1','1','1',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (394,56,'2','2','2',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (395,56,'3','3','3',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (396,56,'4','4','4',NULL,0,NULL,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (397,56,'5','5','5',NULL,0,NULL,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (398,58,'Letter','{\"metric\":\"in\",\"width\":8.5,\"height\":11}','letter',NULL,NULL,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (399,58,'Legal','{\"metric\":\"in\",\"width\":8.5,\"height\":14}','legal',NULL,NULL,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (400,58,'Ledger','{\"metric\":\"in\",\"width\":17,\"height\":11}','ledger',NULL,NULL,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (401,58,'Tabloid','{\"metric\":\"in\",\"width\":11,\"height\":17}','tabloid',NULL,NULL,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (402,58,'Executive','{\"metric\":\"in\",\"width\":7.25,\"height\":10.5}','executive',NULL,NULL,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (403,58,'Folio','{\"metric\":\"in\",\"width\":8.5,\"height\":13}','folio',NULL,NULL,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (404,58,'Envelope #9','{\"metric\":\"pt\",\"width\":638.93,\"height\":278.93}','envelope-9',NULL,NULL,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (405,58,'Envelope #10','{\"metric\":\"pt\",\"width\":684,\"height\":297}','envelope-10',NULL,NULL,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (406,58,'Envelope #11','{\"metric\":\"pt\",\"width\":747,\"height\":324}','envelope-11',NULL,NULL,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (407,58,'Envelope #12','{\"metric\":\"pt\",\"width\":792,\"height\":342}','envelope-12',NULL,NULL,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (408,58,'Envelope #14','{\"metric\":\"pt\",\"width\":828,\"height\":360}','envelope-14',NULL,NULL,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (409,58,'Envelope ISO B4','{\"metric\":\"pt\",\"width\":1000.63,\"height\":708.66}','envelope-b4',NULL,NULL,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (410,58,'Envelope ISO B5','{\"metric\":\"pt\",\"width\":708.66,\"height\":498.9}','envelope-b5',NULL,NULL,0,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (411,58,'Envelope ISO B6','{\"metric\":\"pt\",\"width\":498.9,\"height\":354.33}','envelope-b6',NULL,NULL,0,14,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (412,58,'Envelope ISO C3','{\"metric\":\"pt\",\"width\":1298.27,\"height\":918.42}','envelope-c3',NULL,NULL,0,15,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (413,58,'Envelope ISO C4','{\"metric\":\"pt\",\"width\":918.42,\"height\":649.13}','envelope-c4',NULL,NULL,0,16,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (414,58,'Envelope ISO C5','{\"metric\":\"pt\",\"width\":649.13,\"height\":459.21}','envelope-c5',NULL,NULL,0,17,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (415,58,'Envelope ISO C6','{\"metric\":\"pt\",\"width\":459.21,\"height\":323.15}','envelope-c6',NULL,NULL,0,18,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (416,58,'Envelope ISO DL','{\"metric\":\"pt\",\"width\":623.622,\"height\":311.811}','envelope-dl',NULL,NULL,0,19,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (417,58,'ISO A0','{\"metric\":\"pt\",\"width\":2383.94,\"height\":3370.39}','a0',NULL,NULL,0,20,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (418,58,'ISO A1','{\"metric\":\"pt\",\"width\":1683.78,\"height\":2383.94}','a1',NULL,NULL,0,21,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (419,58,'ISO A2','{\"metric\":\"pt\",\"width\":1190.55,\"height\":1683.78}','a2',NULL,NULL,0,22,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (420,58,'ISO A3','{\"metric\":\"pt\",\"width\":841.89,\"height\":1190.55}','a3',NULL,NULL,0,23,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (421,58,'ISO A4','{\"metric\":\"pt\",\"width\":595.28,\"height\":841.89}','a4',NULL,NULL,0,24,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (422,58,'ISO A5','{\"metric\":\"pt\",\"width\":419.53,\"height\":595.28}','a5',NULL,NULL,0,25,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (423,58,'ISO A6','{\"metric\":\"pt\",\"width\":297.64,\"height\":419.53}','a6',NULL,NULL,0,26,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (424,58,'ISO A7','{\"metric\":\"pt\",\"width\":209.76,\"height\":297.64}','a7',NULL,NULL,0,27,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (425,58,'ISO A8','{\"metric\":\"pt\",\"width\":147.4,\"height\":209.76}','a8',NULL,NULL,0,28,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (426,58,'ISO A9','{\"metric\":\"pt\",\"width\":104.88,\"height\":147.4}','a9',NULL,NULL,0,29,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (427,58,'ISO A10','{\"metric\":\"pt\",\"width\":73.7,\"height\":104.88}','a10',NULL,NULL,0,30,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (428,58,'ISO B0','{\"metric\":\"pt\",\"width\":2834.65,\"height\":4008.19}','b0',NULL,NULL,0,31,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (429,58,'ISO B1','{\"metric\":\"pt\",\"width\":2004.09,\"height\":2834.65}','b1',NULL,NULL,0,32,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (430,58,'ISO B2','{\"metric\":\"pt\",\"width\":1417.32,\"height\":2004.09}','b2',NULL,NULL,0,33,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (431,58,'ISO B3','{\"metric\":\"pt\",\"width\":1000.63,\"height\":1417.32}','b3',NULL,NULL,0,34,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (432,58,'ISO B4','{\"metric\":\"pt\",\"width\":708.66,\"height\":1000.63}','b4',NULL,NULL,0,35,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (433,58,'ISO B5','{\"metric\":\"pt\",\"width\":498.9,\"height\":708.66}','b5',NULL,NULL,0,36,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (434,58,'ISO B6','{\"metric\":\"pt\",\"width\":354.33,\"height\":498.9}','b6',NULL,NULL,0,37,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (435,58,'ISO B7','{\"metric\":\"pt\",\"width\":249.45,\"height\":354.33}','b7',NULL,NULL,0,38,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (436,58,'ISO B8','{\"metric\":\"pt\",\"width\":175.75,\"height\":249.45}','b8',NULL,NULL,0,39,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (437,58,'ISO B9','{\"metric\":\"pt\",\"width\":124.72,\"height\":175.75}','b9',NULL,NULL,0,40,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (438,58,'ISO B10','{\"metric\":\"pt\",\"width\":87.87,\"height\":124.72}','b10',NULL,NULL,0,41,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (439,58,'ISO C0','{\"metric\":\"pt\",\"width\":2599.37,\"height\":3676.54}','c0',NULL,NULL,0,42,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (440,58,'ISO C1','{\"metric\":\"pt\",\"width\":1836.85,\"height\":2599.37}','c1',NULL,NULL,0,43,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (441,58,'ISO C2','{\"metric\":\"pt\",\"width\":1298.27,\"height\":1836.85}','c2',NULL,NULL,0,44,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (442,58,'ISO C3','{\"metric\":\"pt\",\"width\":918.43,\"height\":1298.27}','c3',NULL,NULL,0,45,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (443,58,'ISO C4','{\"metric\":\"pt\",\"width\":649.13,\"height\":918.43}','c4',NULL,NULL,0,46,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (444,58,'ISO C5','{\"metric\":\"pt\",\"width\":459.21,\"height\":649.13}','c5',NULL,NULL,0,47,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (445,58,'ISO C6','{\"metric\":\"pt\",\"width\":323.15,\"height\":459.21}','c6',NULL,NULL,0,48,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (446,58,'ISO C7','{\"metric\":\"pt\",\"width\":229.61,\"height\":323.15}','c7',NULL,NULL,0,49,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (447,58,'ISO C8','{\"metric\":\"pt\",\"width\":161.57,\"height\":229.61}','c8',NULL,NULL,0,50,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (448,58,'ISO C9','{\"metric\":\"pt\",\"width\":113.39,\"height\":161.57}','c9',NULL,NULL,0,51,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (449,58,'ISO C10','{\"metric\":\"pt\",\"width\":79.37,\"height\":113.39}','c10',NULL,NULL,0,52,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (450,58,'ISO RA0','{\"metric\":\"pt\",\"width\":2437.8,\"height\":3458.27}','ra0',NULL,NULL,0,53,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (451,58,'ISO RA1','{\"metric\":\"pt\",\"width\":1729.13,\"height\":2437.8}','ra1',NULL,NULL,0,54,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (452,58,'ISO RA2','{\"metric\":\"pt\",\"width\":1218.9,\"height\":1729.13}','ra2',NULL,NULL,0,55,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (453,58,'ISO RA3','{\"metric\":\"pt\",\"width\":864.57,\"height\":1218.9}','ra3',NULL,NULL,0,56,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (454,58,'ISO RA4','{\"metric\":\"pt\",\"width\":609.45,\"height\":864.57}','ra4',NULL,NULL,0,57,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (455,58,'ISO SRA0','{\"metric\":\"pt\",\"width\":2551.18,\"height\":3628.35}','sra0',NULL,NULL,0,58,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (456,58,'ISO SRA1','{\"metric\":\"pt\",\"width\":1814.17,\"height\":2551.18}','sra1',NULL,NULL,0,59,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (457,58,'ISO SRA2','{\"metric\":\"pt\",\"width\":1275.59,\"height\":1814.17}','sra2',NULL,NULL,0,60,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (458,58,'ISO SRA3','{\"metric\":\"pt\",\"width\":907.09,\"height\":1275.59}','sra3',NULL,NULL,0,61,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (459,58,'ISO SRA4','{\"metric\":\"pt\",\"width\":637.8,\"height\":907.09}','sra4',NULL,NULL,0,62,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (460,61,'Activity Assignees','1','Activity Assignees',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (461,61,'Activity Source','2','Activity Source',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (462,61,'Activity Targets','3','Activity Targets',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (463,71,'Asset','1','Asset',NULL,0,0,1,'Things you own',0,1,1,2,NULL,NULL,NULL,NULL),
- (464,71,'Liability','2','Liability',NULL,0,0,2,'Things you owe, like a grant still to be disbursed',0,1,1,2,NULL,NULL,NULL,NULL),
- (465,71,'Revenue','3','Revenue',NULL,0,1,3,'Income from contributions and sales of tickets and memberships',0,1,1,2,NULL,NULL,NULL,NULL),
- (466,71,'Cost of Sales','4','Cost of Sales',NULL,0,0,4,'Costs incurred to get revenue, e.g. premiums for donations, dinner for a fundraising dinner ticket',0,1,1,2,NULL,NULL,NULL,NULL),
- (467,71,'Expenses','5','Expenses',NULL,0,0,5,'Things that are paid for that are consumable, e.g. grants disbursed',0,1,1,2,NULL,NULL,NULL,NULL),
- (468,62,'Income Account is','1','Income Account is',NULL,0,1,1,'Income Account is',0,1,1,2,NULL,NULL,NULL,NULL),
- (469,62,'Credit/Contra Revenue Account is','2','Credit/Contra Revenue Account is',NULL,0,0,2,'Credit/Contra Revenue Account is',0,1,1,2,NULL,NULL,NULL,NULL),
- (470,62,'Accounts Receivable Account is','3','Accounts Receivable Account is',NULL,0,0,3,'Accounts Receivable Account is',0,1,1,2,NULL,NULL,NULL,NULL),
- (471,62,'Credit Liability Account is','4','Credit Liability Account is',NULL,0,0,4,'Credit Liability Account is',0,1,0,2,NULL,NULL,NULL,NULL),
- (472,62,'Expense Account is','5','Expense Account is',NULL,0,0,5,'Expense Account is',0,1,1,2,NULL,NULL,NULL,NULL),
- (473,62,'Asset Account is','6','Asset Account is',NULL,0,0,6,'Asset Account is',0,1,1,2,NULL,NULL,NULL,NULL),
- (474,62,'Cost of Sales Account is','7','Cost of Sales Account is',NULL,0,0,7,'Cost of Sales Account is',0,1,1,2,NULL,NULL,NULL,NULL),
- (475,62,'Premiums Inventory Account is','8','Premiums Inventory Account is',NULL,0,0,8,'Premiums Inventory Account is',0,1,1,2,NULL,NULL,NULL,NULL),
- (476,62,'Discounts Account is','9','Discounts Account is',NULL,0,0,9,'Discounts Account is',0,1,1,2,NULL,NULL,NULL,NULL),
- (477,62,'Sales Tax Account is','10','Sales Tax Account is',NULL,0,0,10,'Sales Tax Account is',0,1,1,2,NULL,NULL,NULL,NULL),
- (478,62,'Chargeback Account is','11','Chargeback Account is',NULL,0,0,11,'Chargeback Account is',0,1,1,2,NULL,NULL,NULL,NULL),
- (479,62,'Deferred Revenue Account is','12','Deferred Revenue Account is',NULL,0,0,12,'Deferred Revenue Account is',0,1,1,2,NULL,NULL,NULL,NULL),
- (480,63,'Participant Role','1','participant_role',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (481,64,'Morning Sessions','1','Morning Sessions',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (482,64,'Evening Sessions','2','Evening Sessions',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (483,65,'Contribution','1','Contribution',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (484,65,'Membership','2','Membership',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (485,65,'Pledge Payment','3','Pledge Payment',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (486,67,'Open','1','Open',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (487,67,'Closed','2','Closed',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (488,67,'Data Entry','3','Data Entry',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (489,67,'Reopened','4','Reopened',NULL,0,NULL,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (490,67,'Exported','5','Exported',NULL,0,NULL,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (491,66,'Manual Batch','1','Manual Batch',NULL,0,0,1,'Manual Batch',0,1,1,2,NULL,NULL,NULL,NULL),
- (492,66,'Automatic Batch','2','Automatic Batch',NULL,0,0,2,'Automatic Batch',0,1,1,2,NULL,NULL,NULL,NULL),
- (493,72,'Paid','1','Paid',NULL,0,0,1,'Paid',0,1,1,2,NULL,NULL,NULL,NULL),
- (494,72,'Partially paid','2','Partially paid',NULL,0,0,2,'Partially paid',0,1,1,2,NULL,NULL,NULL,NULL),
- (495,72,'Unpaid','3','Unpaid',NULL,0,0,1,'Unpaid',0,1,1,2,NULL,NULL,NULL,NULL),
- (496,68,'http','1','http',NULL,NULL,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (497,68,'xml','2','xml',NULL,NULL,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (498,68,'smtp','3','smtp',NULL,NULL,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (499,70,'Renewal Reminder (non-auto-renew memberships only)','1','Renewal Reminder (non-auto-renew memberships only)',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (500,70,'Auto-renew Memberships Only','2','Auto-renew Memberships Only',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (501,70,'Reminder for Both','3','Reminder for Both',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (502,73,'Event Badge','1','Event Badge',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (503,74,'Avery 5395','{\"name\":\"Avery 5395\",\"paper-size\":\"a4\",\"metric\":\"mm\",\"lMargin\":15,\"tMargin\":26,\"NX\":2,\"NY\":4,\"SpaceX\":10,\"SpaceY\":5,\"width\":83,\"height\":57,\"font-size\":12,\"orientation\":\"portrait\",\"font-name\":\"helvetica\",\"font-style\":\"\",\"lPadding\":3,\"tPadding\":3}','Avery 5395',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (504,74,'A6 Badge Portrait 150x106','{\"paper-size\":\"a4\",\"orientation\":\"landscape\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":1,\"metric\":\"mm\",\"lMargin\":25,\"tMargin\":27,\"SpaceX\":0,\"SpaceY\":35,\"width\":106,\"height\":150,\"lPadding\":5,\"tPadding\":5}','A6 Badge Portrait 150x106',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (505,74,'Fattorini Name Badge 100x65','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":4,\"metric\":\"mm\",\"lMargin\":6,\"tMargin\":19,\"SpaceX\":0,\"SpaceY\":0,\"width\":100,\"height\":65,\"lPadding\":0,\"tPadding\":0}','Fattorini Name Badge 100x65',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (506,74,'Hanging Badge 3-3/4\" x 4-3\"/4','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":2,\"metric\":\"mm\",\"lMargin\":10,\"tMargin\":28,\"SpaceX\":0,\"SpaceY\":0,\"width\":96,\"height\":121,\"lPadding\":5,\"tPadding\":5}','Hanging Badge 3-3/4\" x 4-3\"/4',NULL,0,NULL,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (507,60,'Avery 3475','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":10,\"font-style\":\"\",\"metric\":\"mm\",\"lMargin\":0,\"tMargin\":5,\"NX\":3,\"NY\":8,\"SpaceX\":0,\"SpaceY\":0,\"width\":70,\"height\":36,\"lPadding\":5.08,\"tPadding\":5.08}','3475','Avery',NULL,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (508,60,'Avery 5160','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.21975,\"tMargin\":0.5,\"NX\":3,\"NY\":10,\"SpaceX\":0.14,\"SpaceY\":0,\"width\":2.5935,\"height\":1,\"lPadding\":0.20,\"tPadding\":0.20}','5160','Avery',NULL,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (509,60,'Avery 5161','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.175,\"tMargin\":0.5,\"NX\":2,\"NY\":10,\"SpaceX\":0.15625,\"SpaceY\":0,\"width\":4,\"height\":1,\"lPadding\":0.20,\"tPadding\":0.20}','5161','Avery',NULL,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (510,60,'Avery 5162','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.1525,\"tMargin\":0.88,\"NX\":2,\"NY\":7,\"SpaceX\":0.195,\"SpaceY\":0,\"width\":4,\"height\":1.33,\"lPadding\":0.20,\"tPadding\":0.20}','5162','Avery',NULL,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (511,60,'Avery 5163','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.5,\"NX\":2,\"NY\":5,\"SpaceX\":0.14,\"SpaceY\":0,\"width\":4,\"height\":2,\"lPadding\":0.20,\"tPadding\":0.20}','5163','Avery',NULL,0,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (512,60,'Avery 5164','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":12,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.156,\"tMargin\":0.5,\"NX\":2,\"NY\":3,\"SpaceX\":0.1875,\"SpaceY\":0,\"width\":4,\"height\":3.33,\"lPadding\":0.20,\"tPadding\":0.20}','5164','Avery',NULL,0,6,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (513,60,'Avery 8600','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"mm\",\"lMargin\":7.1,\"tMargin\":19,\"NX\":3,\"NY\":10,\"SpaceX\":9.5,\"SpaceY\":3.1,\"width\":66.6,\"height\":25.4,\"lPadding\":5.08,\"tPadding\":5.08}','8600','Avery',NULL,0,7,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (514,60,'Avery L7160','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.28,\"tMargin\":0.6,\"NX\":3,\"NY\":7,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":2.5,\"height\":1.5,\"lPadding\":0.20,\"tPadding\":0.20}','L7160','Avery',NULL,0,8,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (515,60,'Avery L7161','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.28,\"tMargin\":0.35,\"NX\":3,\"NY\":6,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":2.5,\"height\":1.83,\"lPadding\":0.20,\"tPadding\":0.20}','L7161','Avery',NULL,0,9,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (516,60,'Avery L7162','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.51,\"NX\":2,\"NY\":8,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":3.9,\"height\":1.33,\"lPadding\":0.20,\"tPadding\":0.20}','L7162','Avery',NULL,0,10,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (517,60,'Avery L7163','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.6,\"NX\":2,\"NY\":7,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":3.9,\"height\":1.5,\"lPadding\":0.20,\"tPadding\":0.20}','L7163','Avery',NULL,0,11,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (518,75,'Formal','1','formal',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (519,75,'Familiar','2','familiar',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (520,76,'Email','Email','Email',NULL,0,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (521,76,'SMS','SMS','SMS',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (522,76,'User Preference','User_Preference','User Preference',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (523,77,'Actual date only','1','Actual date only',NULL,NULL,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (524,77,'Each anniversary','2','Each anniversary',NULL,NULL,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (525,78,'Default','1','default',NULL,NULL,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (526,78,'CiviMail','2','civimail',NULL,NULL,0,2,NULL,0,1,1,4,NULL,NULL,NULL,NULL),
- (527,78,'CiviEvent','3','civievent',NULL,NULL,0,3,NULL,0,1,1,1,NULL,NULL,NULL,NULL),
- (528,82,'Production','Production','Production',NULL,NULL,1,1,'Production Environment',0,1,1,NULL,NULL,NULL,NULL,NULL),
- (529,82,'Staging','Staging','Staging',NULL,NULL,0,2,'Staging Environment',0,1,1,NULL,NULL,NULL,NULL,NULL),
- (530,82,'Development','Development','Development',NULL,NULL,0,3,'Development Environment',0,1,1,NULL,NULL,NULL,NULL,NULL),
- (531,79,'Today','this.day','this.day',NULL,NULL,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (532,79,'This week','this.week','this.week',NULL,NULL,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (533,79,'This calendar month','this.month','this.month',NULL,NULL,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (534,79,'This quarter','this.quarter','this.quarter',NULL,NULL,NULL,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (535,79,'This fiscal year','this.fiscal_year','this.fiscal_year',NULL,NULL,NULL,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (536,79,'This calendar year','this.year','this.year',NULL,NULL,NULL,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (537,79,'Yesterday','previous.day','previous.day',NULL,NULL,NULL,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (538,79,'Previous week','previous.week','previous.week',NULL,NULL,NULL,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (539,79,'Previous calendar month','previous.month','previous.month',NULL,NULL,NULL,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (540,79,'Previous quarter','previous.quarter','previous.quarter',NULL,NULL,NULL,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (541,79,'Previous fiscal year','previous.fiscal_year','previous.fiscal_year',NULL,NULL,NULL,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (542,79,'Previous calendar year','previous.year','previous.year',NULL,NULL,NULL,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (543,79,'Last 7 days including today','ending.week','ending.week',NULL,NULL,NULL,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (544,79,'Last 30 days including today','ending_30.day','ending.month',NULL,NULL,NULL,14,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (545,79,'Last 60 days including today','ending_60.day','ending_2.month',NULL,NULL,NULL,15,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (546,79,'Last 90 days including today','ending_90.day','ending.quarter',NULL,NULL,NULL,16,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (547,79,'Last 12 months including today','ending.year','ending.year',NULL,NULL,NULL,17,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (548,79,'Last 2 years including today','ending_2.year','ending_2.year',NULL,NULL,NULL,18,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (549,79,'Last 3 years including today','ending_3.year','ending_3.year',NULL,NULL,NULL,19,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (550,79,'Tomorrow','starting.day','starting.day',NULL,NULL,NULL,20,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (551,79,'Next week','next.week','next.week',NULL,NULL,NULL,21,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (552,79,'Next calendar month','next.month','next.month',NULL,NULL,NULL,22,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (553,79,'Next quarter','next.quarter','next.quarter',NULL,NULL,NULL,23,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (554,79,'Next fiscal year','next.fiscal_year','next.fiscal_year',NULL,NULL,NULL,24,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (555,79,'Next calendar year','next.year','next.year',NULL,NULL,NULL,25,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (556,79,'Next 7 days including today','starting.week','starting.week',NULL,NULL,NULL,26,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (557,79,'Next 30 days including today','starting.month','starting.month',NULL,NULL,NULL,27,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (558,79,'Next 60 days including today','starting_2.month','starting_2.month',NULL,NULL,NULL,28,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (559,79,'Next 90 days including today','starting.quarter','starting.quarter',NULL,NULL,NULL,29,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (560,79,'Next 12 months including today','starting.year','starting.year',NULL,NULL,NULL,30,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (561,79,'Current week to-date','current.week','current.week',NULL,NULL,NULL,31,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (562,79,'Current calendar month to-date','current.month','current.month',NULL,NULL,NULL,32,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (563,79,'Current quarter to-date','current.quarter','current.quarter',NULL,NULL,NULL,33,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (564,79,'Current calendar year to-date','current.year','current.year',NULL,NULL,NULL,34,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (565,79,'To end of yesterday','earlier.day','earlier.day',NULL,NULL,NULL,35,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (566,79,'To end of previous week','earlier.week','earlier.week',NULL,NULL,NULL,36,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (567,79,'To end of previous calendar month','earlier.month','earlier.month',NULL,NULL,NULL,37,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (568,79,'To end of previous quarter','earlier.quarter','earlier.quarter',NULL,NULL,NULL,38,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (569,79,'To end of previous calendar year','earlier.year','earlier.year',NULL,NULL,NULL,39,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (570,79,'From start of current day','greater.day','greater.day',NULL,NULL,NULL,40,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (571,79,'From start of current week','greater.week','greater.week',NULL,NULL,NULL,41,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (572,79,'From start of current calendar month','greater.month','greater.month',NULL,NULL,NULL,42,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (573,79,'From start of current quarter','greater.quarter','greater.quarter',NULL,NULL,NULL,43,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (574,79,'From start of current calendar year','greater.year','greater.year',NULL,NULL,NULL,44,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (575,79,'To end of current week','less.week','less.week',NULL,NULL,NULL,45,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (576,79,'To end of current calendar month','less.month','less.month',NULL,NULL,NULL,46,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (577,79,'To end of current quarter','less.quarter','less.quarter',NULL,NULL,NULL,47,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (578,79,'To end of current calendar year','less.year','less.year',NULL,NULL,NULL,48,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (579,79,'Previous 2 days','previous_2.day','previous_2.day',NULL,NULL,NULL,49,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (580,79,'Previous 2 weeks','previous_2.week','previous_2.week',NULL,NULL,NULL,50,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (581,79,'Previous 2 calendar months','previous_2.month','previous_2.month',NULL,NULL,NULL,51,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (582,79,'Previous 2 quarters','previous_2.quarter','previous_2.quarter',NULL,NULL,NULL,52,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (583,79,'Previous 2 calendar years','previous_2.year','previous_2.year',NULL,NULL,NULL,53,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (584,79,'Day prior to yesterday','previous_before.day','previous_before.day',NULL,NULL,NULL,54,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (585,79,'Week prior to previous week','previous_before.week','previous_before.week',NULL,NULL,NULL,55,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (586,79,'Month prior to previous calendar month','previous_before.month','previous_before.month',NULL,NULL,NULL,56,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (587,79,'Quarter prior to previous quarter','previous_before.quarter','previous_before.quarter',NULL,NULL,NULL,57,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (588,79,'Year prior to previous calendar year','previous_before.year','previous_before.year',NULL,NULL,NULL,58,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (589,79,'From end of previous week','greater_previous.week','greater_previous.week',NULL,NULL,NULL,59,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (590,79,'From end of previous calendar month','greater_previous.month','greater_previous.month',NULL,NULL,NULL,60,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (591,79,'From end of previous quarter','greater_previous.quarter','greater_previous.quarter',NULL,NULL,NULL,61,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (592,79,'From end of previous calendar year','greater_previous.year','greater_previous.year',NULL,NULL,NULL,62,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (593,80,'Completed','1','Completed',NULL,0,NULL,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (594,80,'Pending','2','Pending',NULL,0,NULL,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (595,80,'Cancelled','3','Cancelled',NULL,0,NULL,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (596,80,'In Progress','5','In Progress',NULL,0,NULL,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (597,80,'Overdue','6','Overdue',NULL,0,NULL,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (598,81,'Completed','1','Completed',NULL,0,NULL,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (599,81,'Pending','2','Pending',NULL,0,NULL,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (600,81,'Cancelled','3','Cancelled',NULL,0,NULL,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (601,81,'Failed','4','Failed',NULL,0,NULL,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (602,81,'In Progress','5','In Progress',NULL,0,NULL,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (603,81,'Overdue','6','Overdue',NULL,0,NULL,6,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (604,81,'Processing','7','Processing',NULL,0,NULL,7,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (605,81,'Failing','8','Failing',NULL,0,NULL,8,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (606,83,'None','1','NONE',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (607,83,'By relationship to case client','2','BY_RELATIONSHIP',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (608,83,'Specific contact','3','SPECIFIC_CONTACT',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (609,83,'User creating the case','4','USER_CREATING_THE_CASE',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (610,31,'\"FIXME\" <info@EXAMPLE.ORG>','1','\"FIXME\" <info@EXAMPLE.ORG>',NULL,0,1,1,'Default domain email address and from name.',0,0,1,NULL,1,NULL,NULL,NULL),
- (611,24,'Emergency','1','Emergency',NULL,0,1,1,NULL,0,0,1,NULL,1,NULL,NULL,NULL),
- (612,24,'Family Support','2','Family Support',NULL,0,NULL,2,NULL,0,0,1,NULL,1,NULL,NULL,NULL),
- (613,24,'General Protection','3','General Protection',NULL,0,NULL,3,NULL,0,0,1,NULL,1,NULL,NULL,NULL),
- (614,24,'Impunity','4','Impunity',NULL,0,NULL,4,NULL,0,0,1,NULL,1,NULL,NULL,NULL),
- (615,55,'Approved','1','Approved',NULL,0,1,1,NULL,0,1,1,4,1,NULL,NULL,NULL),
- (616,55,'Rejected','2','Rejected',NULL,0,0,2,NULL,0,1,1,4,1,NULL,NULL,NULL),
- (617,55,'None','3','None',NULL,0,0,3,NULL,0,1,1,4,1,NULL,NULL,NULL),
- (618,57,'Survey','Survey','civicrm_survey',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (619,57,'Cases','Case','civicrm_case',NULL,0,NULL,2,'CRM_Case_PseudoConstant::caseType;',0,0,1,NULL,NULL,NULL,NULL,NULL),
- (620,84,'Abkhaz','ab','ab_GE',NULL,0,0,1,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (621,84,'Afar','aa','aa_ET',NULL,0,0,2,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (622,84,'Afrikaans','af','af_ZA',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (623,84,'Akan','ak','ak_GH',NULL,0,0,4,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (624,84,'Albanian','sq','sq_AL',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (625,84,'Amharic','am','am_ET',NULL,0,0,6,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (626,84,'Arabic','ar','ar_EG',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (627,84,'Aragonese','an','an_ES',NULL,0,0,8,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (628,84,'Armenian','hy','hy_AM',NULL,0,0,9,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (629,84,'Assamese','as','as_IN',NULL,0,0,10,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (630,84,'Avaric','av','av_RU',NULL,0,0,11,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (631,84,'Avestan','ae','ae_XX',NULL,0,0,12,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (632,84,'Aymara','ay','ay_BO',NULL,0,0,13,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (633,84,'Azerbaijani','az','az_AZ',NULL,0,0,14,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (634,84,'Bambara','bm','bm_ML',NULL,0,0,15,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (635,84,'Bashkir','ba','ba_RU',NULL,0,0,16,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (636,84,'Basque','eu','eu_ES',NULL,0,0,17,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (637,84,'Belarusian','be','be_BY',NULL,0,0,18,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (638,84,'Bengali','bn','bn_BD',NULL,0,0,19,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (639,84,'Bihari','bh','bh_IN',NULL,0,0,20,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (640,84,'Bislama','bi','bi_VU',NULL,0,0,21,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (641,84,'Bosnian','bs','bs_BA',NULL,0,0,22,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (642,84,'Breton','br','br_FR',NULL,0,0,23,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (643,84,'Bulgarian','bg','bg_BG',NULL,0,0,24,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (644,84,'Burmese','my','my_MM',NULL,0,0,25,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (645,84,'Catalan; Valencian','ca','ca_ES',NULL,0,0,26,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (646,84,'Chamorro','ch','ch_GU',NULL,0,0,27,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (647,84,'Chechen','ce','ce_RU',NULL,0,0,28,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (648,84,'Chichewa; Chewa; Nyanja','ny','ny_MW',NULL,0,0,29,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (649,84,'Chinese (China)','zh','zh_CN',NULL,0,0,30,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (650,84,'Chinese (Taiwan)','zh','zh_TW',NULL,0,0,31,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (651,84,'Chuvash','cv','cv_RU',NULL,0,0,32,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (652,84,'Cornish','kw','kw_GB',NULL,0,0,33,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (653,84,'Corsican','co','co_FR',NULL,0,0,34,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (654,84,'Cree','cr','cr_CA',NULL,0,0,35,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (655,84,'Croatian','hr','hr_HR',NULL,0,0,36,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (656,84,'Czech','cs','cs_CZ',NULL,0,0,37,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (657,84,'Danish','da','da_DK',NULL,0,0,38,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (658,84,'Divehi; Dhivehi; Maldivian;','dv','dv_MV',NULL,0,0,39,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (659,84,'Dutch (Netherlands)','nl','nl_NL',NULL,0,0,40,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (660,84,'Dutch (Belgium)','nl','nl_BE',NULL,0,0,41,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (661,84,'Dzongkha','dz','dz_BT',NULL,0,0,42,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (662,84,'English (Australia)','en','en_AU',NULL,0,0,43,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (663,84,'English (Canada)','en','en_CA',NULL,0,0,44,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (664,84,'English (United Kingdom)','en','en_GB',NULL,0,0,45,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (665,84,'English (United States)','en','en_US',NULL,0,1,46,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (666,84,'Esperanto','eo','eo_XX',NULL,0,0,47,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (667,84,'Estonian','et','et_EE',NULL,0,0,48,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (668,84,'Ewe','ee','ee_GH',NULL,0,0,49,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (669,84,'Faroese','fo','fo_FO',NULL,0,0,50,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (670,84,'Fijian','fj','fj_FJ',NULL,0,0,51,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (671,84,'Finnish','fi','fi_FI',NULL,0,0,52,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (672,84,'French (Canada)','fr','fr_CA',NULL,0,0,53,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (673,84,'French (France)','fr','fr_FR',NULL,0,0,54,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (674,84,'Fula; Fulah; Pulaar; Pular','ff','ff_SN',NULL,0,0,55,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (675,84,'Galician','gl','gl_ES',NULL,0,0,56,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (676,84,'Georgian','ka','ka_GE',NULL,0,0,57,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (677,84,'German','de','de_DE',NULL,0,0,58,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (678,84,'German (Swiss)','de','de_CH',NULL,0,0,59,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (679,84,'Greek, Modern','el','el_GR',NULL,0,0,60,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (680,84,'Guarani­','gn','gn_PY',NULL,0,0,61,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (681,84,'Gujarati','gu','gu_IN',NULL,0,0,62,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (682,84,'Haitian; Haitian Creole','ht','ht_HT',NULL,0,0,63,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (683,84,'Hausa','ha','ha_NG',NULL,0,0,64,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (684,84,'Hebrew (modern)','he','he_IL',NULL,0,0,65,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (685,84,'Herero','hz','hz_NA',NULL,0,0,66,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (686,84,'Hindi','hi','hi_IN',NULL,0,0,67,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (687,84,'Hiri Motu','ho','ho_PG',NULL,0,0,68,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (688,84,'Hungarian','hu','hu_HU',NULL,0,0,69,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (689,84,'Interlingua','ia','ia_XX',NULL,0,0,70,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (690,84,'Indonesian','id','id_ID',NULL,0,0,71,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (691,84,'Interlingue','ie','ie_XX',NULL,0,0,72,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (692,84,'Irish','ga','ga_IE',NULL,0,0,73,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (693,84,'Igbo','ig','ig_NG',NULL,0,0,74,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (694,84,'Inupiaq','ik','ik_US',NULL,0,0,75,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (695,84,'Ido','io','io_XX',NULL,0,0,76,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (696,84,'Icelandic','is','is_IS',NULL,0,0,77,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (697,84,'Italian','it','it_IT',NULL,0,0,78,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (698,84,'Inuktitut','iu','iu_CA',NULL,0,0,79,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (699,84,'Japanese','ja','ja_JP',NULL,0,0,80,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (700,84,'Javanese','jv','jv_ID',NULL,0,0,81,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (701,84,'Kalaallisut, Greenlandic','kl','kl_GL',NULL,0,0,82,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (702,84,'Kannada','kn','kn_IN',NULL,0,0,83,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (703,84,'Kanuri','kr','kr_NE',NULL,0,0,84,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (704,84,'Kashmiri','ks','ks_IN',NULL,0,0,85,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (705,84,'Kazakh','kk','kk_KZ',NULL,0,0,86,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (706,84,'Khmer','km','km_KH',NULL,0,0,87,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (707,84,'Kikuyu, Gikuyu','ki','ki_KE',NULL,0,0,88,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (708,84,'Kinyarwanda','rw','rw_RW',NULL,0,0,89,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (709,84,'Kirghiz, Kyrgyz','ky','ky_KG',NULL,0,0,90,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (710,84,'Komi','kv','kv_RU',NULL,0,0,91,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (711,84,'Kongo','kg','kg_CD',NULL,0,0,92,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (712,84,'Korean','ko','ko_KR',NULL,0,0,93,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (713,84,'Kurdish','ku','ku_IQ',NULL,0,0,94,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (714,84,'Kwanyama, Kuanyama','kj','kj_NA',NULL,0,0,95,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (715,84,'Latin','la','la_VA',NULL,0,0,96,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (716,84,'Luxembourgish, Letzeburgesch','lb','lb_LU',NULL,0,0,97,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (717,84,'Luganda','lg','lg_UG',NULL,0,0,98,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (718,84,'Limburgish, Limburgan, Limburger','li','li_NL',NULL,0,0,99,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (719,84,'Lingala','ln','ln_CD',NULL,0,0,100,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (720,84,'Lao','lo','lo_LA',NULL,0,0,101,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (721,84,'Lithuanian','lt','lt_LT',NULL,0,0,102,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (722,84,'Luba-Katanga','lu','lu_CD',NULL,0,0,103,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (723,84,'Latvian','lv','lv_LV',NULL,0,0,104,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (724,84,'Manx','gv','gv_IM',NULL,0,0,105,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (725,84,'Macedonian','mk','mk_MK',NULL,0,0,106,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (726,84,'Malagasy','mg','mg_MG',NULL,0,0,107,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (727,84,'Malay','ms','ms_MY',NULL,0,0,108,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (728,84,'Malayalam','ml','ml_IN',NULL,0,0,109,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (729,84,'Maltese','mt','mt_MT',NULL,0,0,110,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (730,84,'Māori','mi','mi_NZ',NULL,0,0,111,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (731,84,'Marathi','mr','mr_IN',NULL,0,0,112,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (732,84,'Marshallese','mh','mh_MH',NULL,0,0,113,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (733,84,'Mongolian','mn','mn_MN',NULL,0,0,114,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (734,84,'Nauru','na','na_NR',NULL,0,0,115,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (735,84,'Navajo, Navaho','nv','nv_US',NULL,0,0,116,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (736,84,'Norwegian Bokmål','nb','nb_NO',NULL,0,0,117,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (737,84,'North Ndebele','nd','nd_ZW',NULL,0,0,118,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (738,84,'Nepali','ne','ne_NP',NULL,0,0,119,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (739,84,'Ndonga','ng','ng_NA',NULL,0,0,120,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (740,84,'Norwegian Nynorsk','nn','nn_NO',NULL,0,0,121,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (741,84,'Norwegian','no','no_NO',NULL,0,0,122,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (742,84,'Nuosu','ii','ii_CN',NULL,0,0,123,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (743,84,'South Ndebele','nr','nr_ZA',NULL,0,0,124,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (744,84,'Occitan (after 1500)','oc','oc_FR',NULL,0,0,125,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (745,84,'Ojibwa','oj','oj_CA',NULL,0,0,126,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (746,84,'Old Church Slavonic, Church Slavic, Church Slavonic, Old Bulgarian, Old Slavonic','cu','cu_BG',NULL,0,0,127,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (747,84,'Oromo','om','om_ET',NULL,0,0,128,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (748,84,'Oriya','or','or_IN',NULL,0,0,129,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (749,84,'Ossetian, Ossetic','os','os_GE',NULL,0,0,130,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (750,84,'Panjabi, Punjabi','pa','pa_IN',NULL,0,0,131,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (751,84,'Pali','pi','pi_KH',NULL,0,0,132,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (752,84,'Persian (Iran)','fa','fa_IR',NULL,0,0,133,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (753,84,'Polish','pl','pl_PL',NULL,0,0,134,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (754,84,'Pashto, Pushto','ps','ps_AF',NULL,0,0,135,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (755,84,'Portuguese (Brazil)','pt','pt_BR',NULL,0,0,136,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (756,84,'Portuguese (Portugal)','pt','pt_PT',NULL,0,0,137,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (757,84,'Quechua','qu','qu_PE',NULL,0,0,138,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (758,84,'Romansh','rm','rm_CH',NULL,0,0,139,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (759,84,'Kirundi','rn','rn_BI',NULL,0,0,140,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (760,84,'Romanian, Moldavian, Moldovan','ro','ro_RO',NULL,0,0,141,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (761,84,'Russian','ru','ru_RU',NULL,0,0,142,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (762,84,'Sanskrit','sa','sa_IN',NULL,0,0,143,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (763,84,'Sardinian','sc','sc_IT',NULL,0,0,144,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (764,84,'Sindhi','sd','sd_IN',NULL,0,0,145,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (765,84,'Northern Sami','se','se_NO',NULL,0,0,146,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (766,84,'Samoan','sm','sm_WS',NULL,0,0,147,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (767,84,'Sango','sg','sg_CF',NULL,0,0,148,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (768,84,'Serbian','sr','sr_RS',NULL,0,0,149,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (769,84,'Scottish Gaelic; Gaelic','gd','gd_GB',NULL,0,0,150,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (770,84,'Shona','sn','sn_ZW',NULL,0,0,151,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (771,84,'Sinhala, Sinhalese','si','si_LK',NULL,0,0,152,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (772,84,'Slovak','sk','sk_SK',NULL,0,0,153,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (773,84,'Slovene','sl','sl_SI',NULL,0,0,154,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (774,84,'Somali','so','so_SO',NULL,0,0,155,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (775,84,'Southern Sotho','st','st_ZA',NULL,0,0,156,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (776,84,'Spanish; Castilian (Spain)','es','es_ES',NULL,0,0,157,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (777,84,'Spanish; Castilian (Mexico)','es','es_MX',NULL,0,0,158,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (778,84,'Spanish; Castilian (Puerto Rico)','es','es_PR',NULL,0,0,159,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (779,84,'Sundanese','su','su_ID',NULL,0,0,160,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (780,84,'Swahili','sw','sw_TZ',NULL,0,0,161,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (781,84,'Swati','ss','ss_ZA',NULL,0,0,162,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (782,84,'Swedish','sv','sv_SE',NULL,0,0,163,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (783,84,'Tamil','ta','ta_IN',NULL,0,0,164,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (784,84,'Telugu','te','te_IN',NULL,0,0,165,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (785,84,'Tajik','tg','tg_TJ',NULL,0,0,166,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (786,84,'Thai','th','th_TH',NULL,0,0,167,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (787,84,'Tigrinya','ti','ti_ET',NULL,0,0,168,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (788,84,'Tibetan Standard, Tibetan, Central','bo','bo_CN',NULL,0,0,169,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (789,84,'Turkmen','tk','tk_TM',NULL,0,0,170,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (790,84,'Tagalog','tl','tl_PH',NULL,0,0,171,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (791,84,'Tswana','tn','tn_ZA',NULL,0,0,172,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (792,84,'Tonga (Tonga Islands)','to','to_TO',NULL,0,0,173,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (793,84,'Turkish','tr','tr_TR',NULL,0,0,174,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (794,84,'Tsonga','ts','ts_ZA',NULL,0,0,175,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (795,84,'Tatar','tt','tt_RU',NULL,0,0,176,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (796,84,'Twi','tw','tw_GH',NULL,0,0,177,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (797,84,'Tahitian','ty','ty_PF',NULL,0,0,178,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (798,84,'Uighur, Uyghur','ug','ug_CN',NULL,0,0,179,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (799,84,'Ukrainian','uk','uk_UA',NULL,0,0,180,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (800,84,'Urdu','ur','ur_PK',NULL,0,0,181,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (801,84,'Uzbek','uz','uz_UZ',NULL,0,0,182,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (802,84,'Venda','ve','ve_ZA',NULL,0,0,183,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (803,84,'Vietnamese','vi','vi_VN',NULL,0,0,184,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (804,84,'Volapük','vo','vo_XX',NULL,0,0,185,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (805,84,'Walloon','wa','wa_BE',NULL,0,0,186,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (806,84,'Welsh','cy','cy_GB',NULL,0,0,187,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (807,84,'Wolof','wo','wo_SN',NULL,0,0,188,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (808,84,'Western Frisian','fy','fy_NL',NULL,0,0,189,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (809,84,'Xhosa','xh','xh_ZA',NULL,0,0,190,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (810,84,'Yiddish','yi','yi_US',NULL,0,0,191,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (811,84,'Yoruba','yo','yo_NG',NULL,0,0,192,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (812,84,'Zhuang, Chuang','za','za_CN',NULL,0,0,193,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (813,84,'Zulu','zu','zu_ZA',NULL,0,0,194,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
- (814,85,'In Person','1','in_person',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (815,85,'Phone','2','phone',NULL,0,1,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (816,85,'Email','3','email',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (817,85,'Fax','4','fax',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (818,85,'Letter Mail','5','letter_mail',NULL,0,0,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (819,86,'Cases - Send Copy of an Activity','1','case_activity',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (820,87,'Contributions - Duplicate Organization Alert','1','contribution_dupalert',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (821,87,'Contributions - Receipt (off-line)','2','contribution_offline_receipt',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (822,87,'Contributions - Receipt (on-line)','3','contribution_online_receipt',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (823,87,'Contributions - Invoice','4','contribution_invoice_receipt',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (824,87,'Contributions - Recurring Start and End Notification','5','contribution_recurring_notify',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (825,87,'Contributions - Recurring Cancellation Notification','6','contribution_recurring_cancelled',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (826,87,'Contributions - Recurring Billing Updates','7','contribution_recurring_billing',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (827,87,'Contributions - Recurring Updates','8','contribution_recurring_edit',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (828,87,'Personal Campaign Pages - Admin Notification','9','pcp_notify',NULL,0,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (829,87,'Personal Campaign Pages - Supporter Status Change Notification','10','pcp_status_change',NULL,0,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (830,87,'Personal Campaign Pages - Supporter Welcome','11','pcp_supporter_notify',NULL,0,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (831,87,'Personal Campaign Pages - Owner Notification','12','pcp_owner_notify',NULL,0,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (832,87,'Additional Payment Receipt or Refund Notification','13','payment_or_refund_notification',NULL,0,0,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (833,88,'Events - Registration Confirmation and Receipt (off-line)','1','event_offline_receipt',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (834,88,'Events - Registration Confirmation and Receipt (on-line)','2','event_online_receipt',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (835,88,'Events - Receipt only','3','event_registration_receipt',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (836,88,'Events - Registration Cancellation Notice','4','participant_cancelled',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (837,88,'Events - Registration Confirmation Invite','5','participant_confirm',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (838,88,'Events - Pending Registration Expiration Notice','6','participant_expired',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (839,88,'Events - Registration Transferred Notice','7','participant_transferred',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (840,89,'Tell-a-Friend Email','1','friend',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (841,90,'Memberships - Signup and Renewal Receipts (off-line)','1','membership_offline_receipt',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (842,90,'Memberships - Receipt (on-line)','2','membership_online_receipt',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (843,90,'Memberships - Auto-renew Cancellation Notification','3','membership_autorenew_cancelled',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (844,90,'Memberships - Auto-renew Billing Updates','4','membership_autorenew_billing',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (845,91,'Test-drive - Receipt Header','1','test_preview',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (846,92,'Pledges - Acknowledgement','1','pledge_acknowledge',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (847,92,'Pledges - Payment Reminder','2','pledge_reminder',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (848,93,'Profiles - Admin Notification','1','uf_notify',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (849,94,'Petition - signature added','1','petition_sign',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (850,94,'Petition - need verification','2','petition_confirmation_needed',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (851,95,'In Honor of','1','in_honor_of',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (852,95,'In Memory of','2','in_memory_of',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (853,95,'Solicited','3','solicited',NULL,0,1,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (854,95,'Household','4','household',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (855,95,'Workplace Giving','5','workplace',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (856,95,'Foundation Affiliate','6','foundation_affiliate',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (857,95,'3rd-party Service','7','3rd-party_service',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (858,95,'Donor-advised Fund','8','donor-advised_fund',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (859,95,'Matched Gift','9','matched_gift',NULL,0,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
- (860,95,'Personal Campaign Page','10','pcp',NULL,0,0,10,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (861,95,'Gift','11','gift',NULL,0,0,11,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
- (862,2,'Interview','55','Interview',NULL,0,NULL,55,'Conduct a phone or in person interview.',0,0,1,NULL,NULL,NULL,'fa-comment-o',NULL);
+ (375,48,'Contacts','civicrm_contact','Contact',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (376,48,'Activities','civicrm_activity','Activity',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (377,48,'Cases','civicrm_case','Case',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (378,48,'Attachments','civicrm_file','File',NULL,0,NULL,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (379,49,'Contacts','civicrm_contact','Contact',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (380,49,'Relationships','civicrm_relationship','Relationship',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (381,49,'Participants','civicrm_participant','Participant',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (382,49,'Contributions','civicrm_contribution','Contribution',NULL,0,NULL,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (383,50,'USD ($)','USD','USD',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (384,51,'Name Only','1','CRM_Event_Badge_Simple',NULL,0,0,1,'Simple Event Name Badge',0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (385,51,'Name Tent','2','CRM_Event_Badge_NameTent',NULL,0,0,2,'Name Tent',0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (386,51,'With Logo','3','CRM_Event_Badge_Logo',NULL,0,0,3,'You can set your own background image',0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (387,51,'5395 with Logo','4','CRM_Event_Badge_Logo5395',NULL,0,0,4,'Avery 5395 compatible labels with logo (4 up by 2, 59.2mm x 85.7mm)',0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (388,52,'None','0','None',NULL,0,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (389,52,'Author Only','1','Author Only',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (390,53,'Direct Mail','1','Direct Mail',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (391,53,'Referral Program','2','Referral Program',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (392,53,'Constituent Engagement','3','Constituent Engagement',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (393,54,'Planned','1','Planned',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (394,54,'In Progress','2','In Progress',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (395,54,'Completed','3','Completed',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (396,54,'Cancelled','4','Cancelled',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (397,57,'1','1','1',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (398,57,'2','2','2',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (399,57,'3','3','3',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (400,57,'4','4','4',NULL,0,NULL,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (401,57,'5','5','5',NULL,0,NULL,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (402,59,'Letter','{\"metric\":\"in\",\"width\":8.5,\"height\":11}','letter',NULL,NULL,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (403,59,'Legal','{\"metric\":\"in\",\"width\":8.5,\"height\":14}','legal',NULL,NULL,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (404,59,'Ledger','{\"metric\":\"in\",\"width\":17,\"height\":11}','ledger',NULL,NULL,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (405,59,'Tabloid','{\"metric\":\"in\",\"width\":11,\"height\":17}','tabloid',NULL,NULL,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (406,59,'Executive','{\"metric\":\"in\",\"width\":7.25,\"height\":10.5}','executive',NULL,NULL,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (407,59,'Folio','{\"metric\":\"in\",\"width\":8.5,\"height\":13}','folio',NULL,NULL,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (408,59,'Envelope #9','{\"metric\":\"pt\",\"width\":638.93,\"height\":278.93}','envelope-9',NULL,NULL,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (409,59,'Envelope #10','{\"metric\":\"pt\",\"width\":684,\"height\":297}','envelope-10',NULL,NULL,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (410,59,'Envelope #11','{\"metric\":\"pt\",\"width\":747,\"height\":324}','envelope-11',NULL,NULL,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (411,59,'Envelope #12','{\"metric\":\"pt\",\"width\":792,\"height\":342}','envelope-12',NULL,NULL,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (412,59,'Envelope #14','{\"metric\":\"pt\",\"width\":828,\"height\":360}','envelope-14',NULL,NULL,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (413,59,'Envelope ISO B4','{\"metric\":\"pt\",\"width\":1000.63,\"height\":708.66}','envelope-b4',NULL,NULL,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (414,59,'Envelope ISO B5','{\"metric\":\"pt\",\"width\":708.66,\"height\":498.9}','envelope-b5',NULL,NULL,0,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (415,59,'Envelope ISO B6','{\"metric\":\"pt\",\"width\":498.9,\"height\":354.33}','envelope-b6',NULL,NULL,0,14,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (416,59,'Envelope ISO C3','{\"metric\":\"pt\",\"width\":1298.27,\"height\":918.42}','envelope-c3',NULL,NULL,0,15,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (417,59,'Envelope ISO C4','{\"metric\":\"pt\",\"width\":918.42,\"height\":649.13}','envelope-c4',NULL,NULL,0,16,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (418,59,'Envelope ISO C5','{\"metric\":\"pt\",\"width\":649.13,\"height\":459.21}','envelope-c5',NULL,NULL,0,17,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (419,59,'Envelope ISO C6','{\"metric\":\"pt\",\"width\":459.21,\"height\":323.15}','envelope-c6',NULL,NULL,0,18,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (420,59,'Envelope ISO DL','{\"metric\":\"pt\",\"width\":623.622,\"height\":311.811}','envelope-dl',NULL,NULL,0,19,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (421,59,'ISO A0','{\"metric\":\"pt\",\"width\":2383.94,\"height\":3370.39}','a0',NULL,NULL,0,20,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (422,59,'ISO A1','{\"metric\":\"pt\",\"width\":1683.78,\"height\":2383.94}','a1',NULL,NULL,0,21,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (423,59,'ISO A2','{\"metric\":\"pt\",\"width\":1190.55,\"height\":1683.78}','a2',NULL,NULL,0,22,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (424,59,'ISO A3','{\"metric\":\"pt\",\"width\":841.89,\"height\":1190.55}','a3',NULL,NULL,0,23,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (425,59,'ISO A4','{\"metric\":\"pt\",\"width\":595.28,\"height\":841.89}','a4',NULL,NULL,0,24,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (426,59,'ISO A5','{\"metric\":\"pt\",\"width\":419.53,\"height\":595.28}','a5',NULL,NULL,0,25,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (427,59,'ISO A6','{\"metric\":\"pt\",\"width\":297.64,\"height\":419.53}','a6',NULL,NULL,0,26,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (428,59,'ISO A7','{\"metric\":\"pt\",\"width\":209.76,\"height\":297.64}','a7',NULL,NULL,0,27,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (429,59,'ISO A8','{\"metric\":\"pt\",\"width\":147.4,\"height\":209.76}','a8',NULL,NULL,0,28,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (430,59,'ISO A9','{\"metric\":\"pt\",\"width\":104.88,\"height\":147.4}','a9',NULL,NULL,0,29,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (431,59,'ISO A10','{\"metric\":\"pt\",\"width\":73.7,\"height\":104.88}','a10',NULL,NULL,0,30,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (432,59,'ISO B0','{\"metric\":\"pt\",\"width\":2834.65,\"height\":4008.19}','b0',NULL,NULL,0,31,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (433,59,'ISO B1','{\"metric\":\"pt\",\"width\":2004.09,\"height\":2834.65}','b1',NULL,NULL,0,32,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (434,59,'ISO B2','{\"metric\":\"pt\",\"width\":1417.32,\"height\":2004.09}','b2',NULL,NULL,0,33,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (435,59,'ISO B3','{\"metric\":\"pt\",\"width\":1000.63,\"height\":1417.32}','b3',NULL,NULL,0,34,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (436,59,'ISO B4','{\"metric\":\"pt\",\"width\":708.66,\"height\":1000.63}','b4',NULL,NULL,0,35,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (437,59,'ISO B5','{\"metric\":\"pt\",\"width\":498.9,\"height\":708.66}','b5',NULL,NULL,0,36,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (438,59,'ISO B6','{\"metric\":\"pt\",\"width\":354.33,\"height\":498.9}','b6',NULL,NULL,0,37,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (439,59,'ISO B7','{\"metric\":\"pt\",\"width\":249.45,\"height\":354.33}','b7',NULL,NULL,0,38,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (440,59,'ISO B8','{\"metric\":\"pt\",\"width\":175.75,\"height\":249.45}','b8',NULL,NULL,0,39,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (441,59,'ISO B9','{\"metric\":\"pt\",\"width\":124.72,\"height\":175.75}','b9',NULL,NULL,0,40,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (442,59,'ISO B10','{\"metric\":\"pt\",\"width\":87.87,\"height\":124.72}','b10',NULL,NULL,0,41,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (443,59,'ISO C0','{\"metric\":\"pt\",\"width\":2599.37,\"height\":3676.54}','c0',NULL,NULL,0,42,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (444,59,'ISO C1','{\"metric\":\"pt\",\"width\":1836.85,\"height\":2599.37}','c1',NULL,NULL,0,43,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (445,59,'ISO C2','{\"metric\":\"pt\",\"width\":1298.27,\"height\":1836.85}','c2',NULL,NULL,0,44,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (446,59,'ISO C3','{\"metric\":\"pt\",\"width\":918.43,\"height\":1298.27}','c3',NULL,NULL,0,45,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (447,59,'ISO C4','{\"metric\":\"pt\",\"width\":649.13,\"height\":918.43}','c4',NULL,NULL,0,46,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (448,59,'ISO C5','{\"metric\":\"pt\",\"width\":459.21,\"height\":649.13}','c5',NULL,NULL,0,47,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (449,59,'ISO C6','{\"metric\":\"pt\",\"width\":323.15,\"height\":459.21}','c6',NULL,NULL,0,48,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (450,59,'ISO C7','{\"metric\":\"pt\",\"width\":229.61,\"height\":323.15}','c7',NULL,NULL,0,49,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (451,59,'ISO C8','{\"metric\":\"pt\",\"width\":161.57,\"height\":229.61}','c8',NULL,NULL,0,50,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (452,59,'ISO C9','{\"metric\":\"pt\",\"width\":113.39,\"height\":161.57}','c9',NULL,NULL,0,51,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (453,59,'ISO C10','{\"metric\":\"pt\",\"width\":79.37,\"height\":113.39}','c10',NULL,NULL,0,52,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (454,59,'ISO RA0','{\"metric\":\"pt\",\"width\":2437.8,\"height\":3458.27}','ra0',NULL,NULL,0,53,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (455,59,'ISO RA1','{\"metric\":\"pt\",\"width\":1729.13,\"height\":2437.8}','ra1',NULL,NULL,0,54,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (456,59,'ISO RA2','{\"metric\":\"pt\",\"width\":1218.9,\"height\":1729.13}','ra2',NULL,NULL,0,55,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (457,59,'ISO RA3','{\"metric\":\"pt\",\"width\":864.57,\"height\":1218.9}','ra3',NULL,NULL,0,56,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (458,59,'ISO RA4','{\"metric\":\"pt\",\"width\":609.45,\"height\":864.57}','ra4',NULL,NULL,0,57,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (459,59,'ISO SRA0','{\"metric\":\"pt\",\"width\":2551.18,\"height\":3628.35}','sra0',NULL,NULL,0,58,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (460,59,'ISO SRA1','{\"metric\":\"pt\",\"width\":1814.17,\"height\":2551.18}','sra1',NULL,NULL,0,59,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (461,59,'ISO SRA2','{\"metric\":\"pt\",\"width\":1275.59,\"height\":1814.17}','sra2',NULL,NULL,0,60,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (462,59,'ISO SRA3','{\"metric\":\"pt\",\"width\":907.09,\"height\":1275.59}','sra3',NULL,NULL,0,61,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (463,59,'ISO SRA4','{\"metric\":\"pt\",\"width\":637.8,\"height\":907.09}','sra4',NULL,NULL,0,62,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (464,62,'Activity Assignees','1','Activity Assignees',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (465,62,'Activity Source','2','Activity Source',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (466,62,'Activity Targets','3','Activity Targets',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (467,72,'Asset','1','Asset',NULL,0,0,1,'Things you own',0,1,1,2,NULL,NULL,NULL,NULL),
+ (468,72,'Liability','2','Liability',NULL,0,0,2,'Things you owe, like a grant still to be disbursed',0,1,1,2,NULL,NULL,NULL,NULL),
+ (469,72,'Revenue','3','Revenue',NULL,0,1,3,'Income from contributions and sales of tickets and memberships',0,1,1,2,NULL,NULL,NULL,NULL),
+ (470,72,'Cost of Sales','4','Cost of Sales',NULL,0,0,4,'Costs incurred to get revenue, e.g. premiums for donations, dinner for a fundraising dinner ticket',0,1,1,2,NULL,NULL,NULL,NULL),
+ (471,72,'Expenses','5','Expenses',NULL,0,0,5,'Things that are paid for that are consumable, e.g. grants disbursed',0,1,1,2,NULL,NULL,NULL,NULL),
+ (472,63,'Income Account is','1','Income Account is',NULL,0,1,1,'Income Account is',0,1,1,2,NULL,NULL,NULL,NULL),
+ (473,63,'Credit/Contra Revenue Account is','2','Credit/Contra Revenue Account is',NULL,0,0,2,'Credit/Contra Revenue Account is',0,1,1,2,NULL,NULL,NULL,NULL),
+ (474,63,'Accounts Receivable Account is','3','Accounts Receivable Account is',NULL,0,0,3,'Accounts Receivable Account is',0,1,1,2,NULL,NULL,NULL,NULL),
+ (475,63,'Credit Liability Account is','4','Credit Liability Account is',NULL,0,0,4,'Credit Liability Account is',0,1,0,2,NULL,NULL,NULL,NULL),
+ (476,63,'Expense Account is','5','Expense Account is',NULL,0,0,5,'Expense Account is',0,1,1,2,NULL,NULL,NULL,NULL),
+ (477,63,'Asset Account is','6','Asset Account is',NULL,0,0,6,'Asset Account is',0,1,1,2,NULL,NULL,NULL,NULL),
+ (478,63,'Cost of Sales Account is','7','Cost of Sales Account is',NULL,0,0,7,'Cost of Sales Account is',0,1,1,2,NULL,NULL,NULL,NULL),
+ (479,63,'Premiums Inventory Account is','8','Premiums Inventory Account is',NULL,0,0,8,'Premiums Inventory Account is',0,1,1,2,NULL,NULL,NULL,NULL),
+ (480,63,'Discounts Account is','9','Discounts Account is',NULL,0,0,9,'Discounts Account is',0,1,1,2,NULL,NULL,NULL,NULL),
+ (481,63,'Sales Tax Account is','10','Sales Tax Account is',NULL,0,0,10,'Sales Tax Account is',0,1,1,2,NULL,NULL,NULL,NULL),
+ (482,63,'Chargeback Account is','11','Chargeback Account is',NULL,0,0,11,'Chargeback Account is',0,1,1,2,NULL,NULL,NULL,NULL),
+ (483,63,'Deferred Revenue Account is','12','Deferred Revenue Account is',NULL,0,0,12,'Deferred Revenue Account is',0,1,1,2,NULL,NULL,NULL,NULL),
+ (484,64,'Participant Role','1','participant_role',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (485,65,'Morning Sessions','1','Morning Sessions',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (486,65,'Evening Sessions','2','Evening Sessions',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (487,66,'Contribution','1','Contribution',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (488,66,'Membership','2','Membership',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (489,66,'Pledge Payment','3','Pledge Payment',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (490,68,'Open','1','Open',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (491,68,'Closed','2','Closed',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (492,68,'Data Entry','3','Data Entry',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (493,68,'Reopened','4','Reopened',NULL,0,NULL,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (494,68,'Exported','5','Exported',NULL,0,NULL,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (495,67,'Manual Batch','1','Manual Batch',NULL,0,0,1,'Manual Batch',0,1,1,2,NULL,NULL,NULL,NULL),
+ (496,67,'Automatic Batch','2','Automatic Batch',NULL,0,0,2,'Automatic Batch',0,1,1,2,NULL,NULL,NULL,NULL),
+ (497,73,'Paid','1','Paid',NULL,0,0,1,'Paid',0,1,1,2,NULL,NULL,NULL,NULL),
+ (498,73,'Partially paid','2','Partially paid',NULL,0,0,2,'Partially paid',0,1,1,2,NULL,NULL,NULL,NULL),
+ (499,73,'Unpaid','3','Unpaid',NULL,0,0,1,'Unpaid',0,1,1,2,NULL,NULL,NULL,NULL),
+ (500,69,'http','1','http',NULL,NULL,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (501,69,'xml','2','xml',NULL,NULL,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (502,69,'smtp','3','smtp',NULL,NULL,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (503,71,'Renewal Reminder (non-auto-renew memberships only)','1','Renewal Reminder (non-auto-renew memberships only)',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (504,71,'Auto-renew Memberships Only','2','Auto-renew Memberships Only',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (505,71,'Reminder for Both','3','Reminder for Both',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (506,74,'Event Badge','1','Event Badge',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (507,75,'Avery 5395','{\"name\":\"Avery 5395\",\"paper-size\":\"a4\",\"metric\":\"mm\",\"lMargin\":15,\"tMargin\":26,\"NX\":2,\"NY\":4,\"SpaceX\":10,\"SpaceY\":5,\"width\":83,\"height\":57,\"font-size\":12,\"orientation\":\"portrait\",\"font-name\":\"helvetica\",\"font-style\":\"\",\"lPadding\":3,\"tPadding\":3}','Avery 5395',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (508,75,'A6 Badge Portrait 150x106','{\"paper-size\":\"a4\",\"orientation\":\"landscape\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":1,\"metric\":\"mm\",\"lMargin\":25,\"tMargin\":27,\"SpaceX\":0,\"SpaceY\":35,\"width\":106,\"height\":150,\"lPadding\":5,\"tPadding\":5}','A6 Badge Portrait 150x106',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (509,75,'Fattorini Name Badge 100x65','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":4,\"metric\":\"mm\",\"lMargin\":6,\"tMargin\":19,\"SpaceX\":0,\"SpaceY\":0,\"width\":100,\"height\":65,\"lPadding\":0,\"tPadding\":0}','Fattorini Name Badge 100x65',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (510,75,'Hanging Badge 3-3/4\" x 4-3\"/4','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":2,\"metric\":\"mm\",\"lMargin\":10,\"tMargin\":28,\"SpaceX\":0,\"SpaceY\":0,\"width\":96,\"height\":121,\"lPadding\":5,\"tPadding\":5}','Hanging Badge 3-3/4\" x 4-3\"/4',NULL,0,NULL,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (511,61,'Avery 3475','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":10,\"font-style\":\"\",\"metric\":\"mm\",\"lMargin\":0,\"tMargin\":5,\"NX\":3,\"NY\":8,\"SpaceX\":0,\"SpaceY\":0,\"width\":70,\"height\":36,\"lPadding\":5.08,\"tPadding\":5.08}','3475','Avery',NULL,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (512,61,'Avery 5160','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.21975,\"tMargin\":0.5,\"NX\":3,\"NY\":10,\"SpaceX\":0.14,\"SpaceY\":0,\"width\":2.5935,\"height\":1,\"lPadding\":0.20,\"tPadding\":0.20}','5160','Avery',NULL,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (513,61,'Avery 5161','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.175,\"tMargin\":0.5,\"NX\":2,\"NY\":10,\"SpaceX\":0.15625,\"SpaceY\":0,\"width\":4,\"height\":1,\"lPadding\":0.20,\"tPadding\":0.20}','5161','Avery',NULL,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (514,61,'Avery 5162','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.1525,\"tMargin\":0.88,\"NX\":2,\"NY\":7,\"SpaceX\":0.195,\"SpaceY\":0,\"width\":4,\"height\":1.33,\"lPadding\":0.20,\"tPadding\":0.20}','5162','Avery',NULL,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (515,61,'Avery 5163','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.5,\"NX\":2,\"NY\":5,\"SpaceX\":0.14,\"SpaceY\":0,\"width\":4,\"height\":2,\"lPadding\":0.20,\"tPadding\":0.20}','5163','Avery',NULL,0,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (516,61,'Avery 5164','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":12,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.156,\"tMargin\":0.5,\"NX\":2,\"NY\":3,\"SpaceX\":0.1875,\"SpaceY\":0,\"width\":4,\"height\":3.33,\"lPadding\":0.20,\"tPadding\":0.20}','5164','Avery',NULL,0,6,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (517,61,'Avery 8600','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"mm\",\"lMargin\":7.1,\"tMargin\":19,\"NX\":3,\"NY\":10,\"SpaceX\":9.5,\"SpaceY\":3.1,\"width\":66.6,\"height\":25.4,\"lPadding\":5.08,\"tPadding\":5.08}','8600','Avery',NULL,0,7,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (518,61,'Avery L7160','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.28,\"tMargin\":0.6,\"NX\":3,\"NY\":7,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":2.5,\"height\":1.5,\"lPadding\":0.20,\"tPadding\":0.20}','L7160','Avery',NULL,0,8,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (519,61,'Avery L7161','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.28,\"tMargin\":0.35,\"NX\":3,\"NY\":6,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":2.5,\"height\":1.83,\"lPadding\":0.20,\"tPadding\":0.20}','L7161','Avery',NULL,0,9,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (520,61,'Avery L7162','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.51,\"NX\":2,\"NY\":8,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":3.9,\"height\":1.33,\"lPadding\":0.20,\"tPadding\":0.20}','L7162','Avery',NULL,0,10,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (521,61,'Avery L7163','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.6,\"NX\":2,\"NY\":7,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":3.9,\"height\":1.5,\"lPadding\":0.20,\"tPadding\":0.20}','L7163','Avery',NULL,0,11,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (522,76,'Formal','1','formal',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (523,76,'Familiar','2','familiar',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (524,77,'Email','Email','Email',NULL,0,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (525,77,'SMS','SMS','SMS',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (526,77,'User Preference','User_Preference','User Preference',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (527,78,'Actual date only','1','Actual date only',NULL,NULL,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (528,78,'Each anniversary','2','Each anniversary',NULL,NULL,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (529,79,'Default','1','default',NULL,NULL,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (530,79,'CiviMail','2','civimail',NULL,NULL,0,2,NULL,0,1,1,4,NULL,NULL,NULL,NULL),
+ (531,79,'CiviEvent','3','civievent',NULL,NULL,0,3,NULL,0,1,1,1,NULL,NULL,NULL,NULL),
+ (532,83,'Production','Production','Production',NULL,NULL,1,1,'Production Environment',0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (533,83,'Staging','Staging','Staging',NULL,NULL,0,2,'Staging Environment',0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (534,83,'Development','Development','Development',NULL,NULL,0,3,'Development Environment',0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (535,80,'Today','this.day','this.day',NULL,NULL,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (536,80,'This week','this.week','this.week',NULL,NULL,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (537,80,'This calendar month','this.month','this.month',NULL,NULL,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (538,80,'This quarter','this.quarter','this.quarter',NULL,NULL,NULL,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (539,80,'This fiscal year','this.fiscal_year','this.fiscal_year',NULL,NULL,NULL,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (540,80,'This calendar year','this.year','this.year',NULL,NULL,NULL,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (541,80,'Yesterday','previous.day','previous.day',NULL,NULL,NULL,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (542,80,'Previous week','previous.week','previous.week',NULL,NULL,NULL,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (543,80,'Previous calendar month','previous.month','previous.month',NULL,NULL,NULL,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (544,80,'Previous quarter','previous.quarter','previous.quarter',NULL,NULL,NULL,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (545,80,'Previous fiscal year','previous.fiscal_year','previous.fiscal_year',NULL,NULL,NULL,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (546,80,'Previous calendar year','previous.year','previous.year',NULL,NULL,NULL,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (547,80,'Last 7 days including today','ending.week','ending.week',NULL,NULL,NULL,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (548,80,'Last 30 days including today','ending_30.day','ending.month',NULL,NULL,NULL,14,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (549,80,'Last 60 days including today','ending_60.day','ending_2.month',NULL,NULL,NULL,15,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (550,80,'Last 90 days including today','ending_90.day','ending.quarter',NULL,NULL,NULL,16,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (551,80,'Last 12 months including today','ending.year','ending.year',NULL,NULL,NULL,17,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (552,80,'Last 2 years including today','ending_2.year','ending_2.year',NULL,NULL,NULL,18,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (553,80,'Last 3 years including today','ending_3.year','ending_3.year',NULL,NULL,NULL,19,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (554,80,'Tomorrow','starting.day','starting.day',NULL,NULL,NULL,20,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (555,80,'Next week','next.week','next.week',NULL,NULL,NULL,21,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (556,80,'Next calendar month','next.month','next.month',NULL,NULL,NULL,22,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (557,80,'Next quarter','next.quarter','next.quarter',NULL,NULL,NULL,23,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (558,80,'Next fiscal year','next.fiscal_year','next.fiscal_year',NULL,NULL,NULL,24,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (559,80,'Next calendar year','next.year','next.year',NULL,NULL,NULL,25,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (560,80,'Next 7 days including today','starting.week','starting.week',NULL,NULL,NULL,26,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (561,80,'Next 30 days including today','starting.month','starting.month',NULL,NULL,NULL,27,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (562,80,'Next 60 days including today','starting_2.month','starting_2.month',NULL,NULL,NULL,28,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (563,80,'Next 90 days including today','starting.quarter','starting.quarter',NULL,NULL,NULL,29,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (564,80,'Next 12 months including today','starting.year','starting.year',NULL,NULL,NULL,30,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (565,80,'Current week to-date','current.week','current.week',NULL,NULL,NULL,31,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (566,80,'Current calendar month to-date','current.month','current.month',NULL,NULL,NULL,32,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (567,80,'Current quarter to-date','current.quarter','current.quarter',NULL,NULL,NULL,33,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (568,80,'Current calendar year to-date','current.year','current.year',NULL,NULL,NULL,34,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (569,80,'To end of yesterday','earlier.day','earlier.day',NULL,NULL,NULL,35,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (570,80,'To end of previous week','earlier.week','earlier.week',NULL,NULL,NULL,36,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (571,80,'To end of previous calendar month','earlier.month','earlier.month',NULL,NULL,NULL,37,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (572,80,'To end of previous quarter','earlier.quarter','earlier.quarter',NULL,NULL,NULL,38,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (573,80,'To end of previous calendar year','earlier.year','earlier.year',NULL,NULL,NULL,39,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (574,80,'From start of current day','greater.day','greater.day',NULL,NULL,NULL,40,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (575,80,'From start of current week','greater.week','greater.week',NULL,NULL,NULL,41,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (576,80,'From start of current calendar month','greater.month','greater.month',NULL,NULL,NULL,42,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (577,80,'From start of current quarter','greater.quarter','greater.quarter',NULL,NULL,NULL,43,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (578,80,'From start of current calendar year','greater.year','greater.year',NULL,NULL,NULL,44,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (579,80,'To end of current week','less.week','less.week',NULL,NULL,NULL,45,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (580,80,'To end of current calendar month','less.month','less.month',NULL,NULL,NULL,46,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (581,80,'To end of current quarter','less.quarter','less.quarter',NULL,NULL,NULL,47,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (582,80,'To end of current calendar year','less.year','less.year',NULL,NULL,NULL,48,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (583,80,'Previous 2 days','previous_2.day','previous_2.day',NULL,NULL,NULL,49,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (584,80,'Previous 2 weeks','previous_2.week','previous_2.week',NULL,NULL,NULL,50,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (585,80,'Previous 2 calendar months','previous_2.month','previous_2.month',NULL,NULL,NULL,51,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (586,80,'Previous 2 quarters','previous_2.quarter','previous_2.quarter',NULL,NULL,NULL,52,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (587,80,'Previous 2 calendar years','previous_2.year','previous_2.year',NULL,NULL,NULL,53,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (588,80,'Day prior to yesterday','previous_before.day','previous_before.day',NULL,NULL,NULL,54,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (589,80,'Week prior to previous week','previous_before.week','previous_before.week',NULL,NULL,NULL,55,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (590,80,'Month prior to previous calendar month','previous_before.month','previous_before.month',NULL,NULL,NULL,56,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (591,80,'Quarter prior to previous quarter','previous_before.quarter','previous_before.quarter',NULL,NULL,NULL,57,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (592,80,'Year prior to previous calendar year','previous_before.year','previous_before.year',NULL,NULL,NULL,58,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (593,80,'From end of previous week','greater_previous.week','greater_previous.week',NULL,NULL,NULL,59,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (594,80,'From end of previous calendar month','greater_previous.month','greater_previous.month',NULL,NULL,NULL,60,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (595,80,'From end of previous quarter','greater_previous.quarter','greater_previous.quarter',NULL,NULL,NULL,61,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (596,80,'From end of previous calendar year','greater_previous.year','greater_previous.year',NULL,NULL,NULL,62,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (597,81,'Completed','1','Completed',NULL,0,NULL,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (598,81,'Pending','2','Pending',NULL,0,NULL,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (599,81,'Cancelled','3','Cancelled',NULL,0,NULL,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (600,81,'In Progress','5','In Progress',NULL,0,NULL,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (601,81,'Overdue','6','Overdue',NULL,0,NULL,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (602,82,'Completed','1','Completed',NULL,0,NULL,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (603,82,'Pending','2','Pending',NULL,0,NULL,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (604,82,'Cancelled','3','Cancelled',NULL,0,NULL,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (605,82,'Failed','4','Failed',NULL,0,NULL,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (606,82,'In Progress','5','In Progress',NULL,0,NULL,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (607,82,'Overdue','6','Overdue',NULL,0,NULL,6,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (608,82,'Processing','7','Processing',NULL,0,NULL,7,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (609,82,'Failing','8','Failing',NULL,0,NULL,8,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (610,84,'None','1','NONE',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (611,84,'By relationship to case client','2','BY_RELATIONSHIP',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (612,84,'Specific contact','3','SPECIFIC_CONTACT',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (613,84,'User creating the case','4','USER_CREATING_THE_CASE',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (614,31,'\"FIXME\" <info@EXAMPLE.ORG>','1','\"FIXME\" <info@EXAMPLE.ORG>',NULL,0,1,1,'Default domain email address and from name.',0,0,1,NULL,1,NULL,NULL,NULL),
+ (615,24,'Emergency','1','Emergency',NULL,0,1,1,NULL,0,0,1,NULL,1,NULL,NULL,NULL),
+ (616,24,'Family Support','2','Family Support',NULL,0,NULL,2,NULL,0,0,1,NULL,1,NULL,NULL,NULL),
+ (617,24,'General Protection','3','General Protection',NULL,0,NULL,3,NULL,0,0,1,NULL,1,NULL,NULL,NULL),
+ (618,24,'Impunity','4','Impunity',NULL,0,NULL,4,NULL,0,0,1,NULL,1,NULL,NULL,NULL),
+ (619,56,'Approved','1','Approved',NULL,0,1,1,NULL,0,1,1,4,1,NULL,NULL,NULL),
+ (620,56,'Rejected','2','Rejected',NULL,0,0,2,NULL,0,1,1,4,1,NULL,NULL,NULL),
+ (621,56,'None','3','None',NULL,0,0,3,NULL,0,1,1,4,1,NULL,NULL,NULL),
+ (622,58,'Survey','Survey','civicrm_survey',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (623,58,'Cases','Case','civicrm_case',NULL,0,NULL,2,'CRM_Case_PseudoConstant::caseType;',0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (624,85,'Abkhaz','ab','ab_GE',NULL,0,0,1,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (625,85,'Afar','aa','aa_ET',NULL,0,0,2,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (626,85,'Afrikaans','af','af_ZA',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (627,85,'Akan','ak','ak_GH',NULL,0,0,4,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (628,85,'Albanian','sq','sq_AL',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (629,85,'Amharic','am','am_ET',NULL,0,0,6,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (630,85,'Arabic','ar','ar_EG',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (631,85,'Aragonese','an','an_ES',NULL,0,0,8,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (632,85,'Armenian','hy','hy_AM',NULL,0,0,9,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (633,85,'Assamese','as','as_IN',NULL,0,0,10,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (634,85,'Avaric','av','av_RU',NULL,0,0,11,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (635,85,'Avestan','ae','ae_XX',NULL,0,0,12,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (636,85,'Aymara','ay','ay_BO',NULL,0,0,13,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (637,85,'Azerbaijani','az','az_AZ',NULL,0,0,14,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (638,85,'Bambara','bm','bm_ML',NULL,0,0,15,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (639,85,'Bashkir','ba','ba_RU',NULL,0,0,16,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (640,85,'Basque','eu','eu_ES',NULL,0,0,17,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (641,85,'Belarusian','be','be_BY',NULL,0,0,18,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (642,85,'Bengali','bn','bn_BD',NULL,0,0,19,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (643,85,'Bihari','bh','bh_IN',NULL,0,0,20,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (644,85,'Bislama','bi','bi_VU',NULL,0,0,21,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (645,85,'Bosnian','bs','bs_BA',NULL,0,0,22,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (646,85,'Breton','br','br_FR',NULL,0,0,23,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (647,85,'Bulgarian','bg','bg_BG',NULL,0,0,24,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (648,85,'Burmese','my','my_MM',NULL,0,0,25,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (649,85,'Catalan; Valencian','ca','ca_ES',NULL,0,0,26,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (650,85,'Chamorro','ch','ch_GU',NULL,0,0,27,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (651,85,'Chechen','ce','ce_RU',NULL,0,0,28,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (652,85,'Chichewa; Chewa; Nyanja','ny','ny_MW',NULL,0,0,29,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (653,85,'Chinese (China)','zh','zh_CN',NULL,0,0,30,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (654,85,'Chinese (Taiwan)','zh','zh_TW',NULL,0,0,31,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (655,85,'Chuvash','cv','cv_RU',NULL,0,0,32,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (656,85,'Cornish','kw','kw_GB',NULL,0,0,33,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (657,85,'Corsican','co','co_FR',NULL,0,0,34,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (658,85,'Cree','cr','cr_CA',NULL,0,0,35,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (659,85,'Croatian','hr','hr_HR',NULL,0,0,36,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (660,85,'Czech','cs','cs_CZ',NULL,0,0,37,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (661,85,'Danish','da','da_DK',NULL,0,0,38,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (662,85,'Divehi; Dhivehi; Maldivian;','dv','dv_MV',NULL,0,0,39,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (663,85,'Dutch (Netherlands)','nl','nl_NL',NULL,0,0,40,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (664,85,'Dutch (Belgium)','nl','nl_BE',NULL,0,0,41,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (665,85,'Dzongkha','dz','dz_BT',NULL,0,0,42,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (666,85,'English (Australia)','en','en_AU',NULL,0,0,43,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (667,85,'English (Canada)','en','en_CA',NULL,0,0,44,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (668,85,'English (United Kingdom)','en','en_GB',NULL,0,0,45,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (669,85,'English (United States)','en','en_US',NULL,0,1,46,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (670,85,'Esperanto','eo','eo_XX',NULL,0,0,47,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (671,85,'Estonian','et','et_EE',NULL,0,0,48,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (672,85,'Ewe','ee','ee_GH',NULL,0,0,49,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (673,85,'Faroese','fo','fo_FO',NULL,0,0,50,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (674,85,'Fijian','fj','fj_FJ',NULL,0,0,51,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (675,85,'Finnish','fi','fi_FI',NULL,0,0,52,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (676,85,'French (Canada)','fr','fr_CA',NULL,0,0,53,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (677,85,'French (France)','fr','fr_FR',NULL,0,0,54,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (678,85,'Fula; Fulah; Pulaar; Pular','ff','ff_SN',NULL,0,0,55,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (679,85,'Galician','gl','gl_ES',NULL,0,0,56,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (680,85,'Georgian','ka','ka_GE',NULL,0,0,57,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (681,85,'German','de','de_DE',NULL,0,0,58,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (682,85,'German (Swiss)','de','de_CH',NULL,0,0,59,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (683,85,'Greek, Modern','el','el_GR',NULL,0,0,60,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (684,85,'Guarani­','gn','gn_PY',NULL,0,0,61,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (685,85,'Gujarati','gu','gu_IN',NULL,0,0,62,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (686,85,'Haitian; Haitian Creole','ht','ht_HT',NULL,0,0,63,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (687,85,'Hausa','ha','ha_NG',NULL,0,0,64,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (688,85,'Hebrew (modern)','he','he_IL',NULL,0,0,65,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (689,85,'Herero','hz','hz_NA',NULL,0,0,66,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (690,85,'Hindi','hi','hi_IN',NULL,0,0,67,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (691,85,'Hiri Motu','ho','ho_PG',NULL,0,0,68,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (692,85,'Hungarian','hu','hu_HU',NULL,0,0,69,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (693,85,'Interlingua','ia','ia_XX',NULL,0,0,70,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (694,85,'Indonesian','id','id_ID',NULL,0,0,71,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (695,85,'Interlingue','ie','ie_XX',NULL,0,0,72,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (696,85,'Irish','ga','ga_IE',NULL,0,0,73,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (697,85,'Igbo','ig','ig_NG',NULL,0,0,74,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (698,85,'Inupiaq','ik','ik_US',NULL,0,0,75,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (699,85,'Ido','io','io_XX',NULL,0,0,76,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (700,85,'Icelandic','is','is_IS',NULL,0,0,77,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (701,85,'Italian','it','it_IT',NULL,0,0,78,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (702,85,'Inuktitut','iu','iu_CA',NULL,0,0,79,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (703,85,'Japanese','ja','ja_JP',NULL,0,0,80,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (704,85,'Javanese','jv','jv_ID',NULL,0,0,81,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (705,85,'Kalaallisut, Greenlandic','kl','kl_GL',NULL,0,0,82,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (706,85,'Kannada','kn','kn_IN',NULL,0,0,83,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (707,85,'Kanuri','kr','kr_NE',NULL,0,0,84,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (708,85,'Kashmiri','ks','ks_IN',NULL,0,0,85,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (709,85,'Kazakh','kk','kk_KZ',NULL,0,0,86,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (710,85,'Khmer','km','km_KH',NULL,0,0,87,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (711,85,'Kikuyu, Gikuyu','ki','ki_KE',NULL,0,0,88,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (712,85,'Kinyarwanda','rw','rw_RW',NULL,0,0,89,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (713,85,'Kirghiz, Kyrgyz','ky','ky_KG',NULL,0,0,90,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (714,85,'Komi','kv','kv_RU',NULL,0,0,91,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (715,85,'Kongo','kg','kg_CD',NULL,0,0,92,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (716,85,'Korean','ko','ko_KR',NULL,0,0,93,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (717,85,'Kurdish','ku','ku_IQ',NULL,0,0,94,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (718,85,'Kwanyama, Kuanyama','kj','kj_NA',NULL,0,0,95,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (719,85,'Latin','la','la_VA',NULL,0,0,96,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (720,85,'Luxembourgish, Letzeburgesch','lb','lb_LU',NULL,0,0,97,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (721,85,'Luganda','lg','lg_UG',NULL,0,0,98,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (722,85,'Limburgish, Limburgan, Limburger','li','li_NL',NULL,0,0,99,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (723,85,'Lingala','ln','ln_CD',NULL,0,0,100,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (724,85,'Lao','lo','lo_LA',NULL,0,0,101,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (725,85,'Lithuanian','lt','lt_LT',NULL,0,0,102,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (726,85,'Luba-Katanga','lu','lu_CD',NULL,0,0,103,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (727,85,'Latvian','lv','lv_LV',NULL,0,0,104,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (728,85,'Manx','gv','gv_IM',NULL,0,0,105,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (729,85,'Macedonian','mk','mk_MK',NULL,0,0,106,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (730,85,'Malagasy','mg','mg_MG',NULL,0,0,107,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (731,85,'Malay','ms','ms_MY',NULL,0,0,108,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (732,85,'Malayalam','ml','ml_IN',NULL,0,0,109,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (733,85,'Maltese','mt','mt_MT',NULL,0,0,110,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (734,85,'Māori','mi','mi_NZ',NULL,0,0,111,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (735,85,'Marathi','mr','mr_IN',NULL,0,0,112,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (736,85,'Marshallese','mh','mh_MH',NULL,0,0,113,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (737,85,'Mongolian','mn','mn_MN',NULL,0,0,114,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (738,85,'Nauru','na','na_NR',NULL,0,0,115,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (739,85,'Navajo, Navaho','nv','nv_US',NULL,0,0,116,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (740,85,'Norwegian Bokmål','nb','nb_NO',NULL,0,0,117,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (741,85,'North Ndebele','nd','nd_ZW',NULL,0,0,118,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (742,85,'Nepali','ne','ne_NP',NULL,0,0,119,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (743,85,'Ndonga','ng','ng_NA',NULL,0,0,120,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (744,85,'Norwegian Nynorsk','nn','nn_NO',NULL,0,0,121,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (745,85,'Norwegian','no','no_NO',NULL,0,0,122,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (746,85,'Nuosu','ii','ii_CN',NULL,0,0,123,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (747,85,'South Ndebele','nr','nr_ZA',NULL,0,0,124,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (748,85,'Occitan (after 1500)','oc','oc_FR',NULL,0,0,125,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (749,85,'Ojibwa','oj','oj_CA',NULL,0,0,126,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (750,85,'Old Church Slavonic, Church Slavic, Church Slavonic, Old Bulgarian, Old Slavonic','cu','cu_BG',NULL,0,0,127,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (751,85,'Oromo','om','om_ET',NULL,0,0,128,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (752,85,'Oriya','or','or_IN',NULL,0,0,129,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (753,85,'Ossetian, Ossetic','os','os_GE',NULL,0,0,130,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (754,85,'Panjabi, Punjabi','pa','pa_IN',NULL,0,0,131,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (755,85,'Pali','pi','pi_KH',NULL,0,0,132,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (756,85,'Persian (Iran)','fa','fa_IR',NULL,0,0,133,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (757,85,'Polish','pl','pl_PL',NULL,0,0,134,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (758,85,'Pashto, Pushto','ps','ps_AF',NULL,0,0,135,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (759,85,'Portuguese (Brazil)','pt','pt_BR',NULL,0,0,136,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (760,85,'Portuguese (Portugal)','pt','pt_PT',NULL,0,0,137,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (761,85,'Quechua','qu','qu_PE',NULL,0,0,138,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (762,85,'Romansh','rm','rm_CH',NULL,0,0,139,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (763,85,'Kirundi','rn','rn_BI',NULL,0,0,140,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (764,85,'Romanian, Moldavian, Moldovan','ro','ro_RO',NULL,0,0,141,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (765,85,'Russian','ru','ru_RU',NULL,0,0,142,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (766,85,'Sanskrit','sa','sa_IN',NULL,0,0,143,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (767,85,'Sardinian','sc','sc_IT',NULL,0,0,144,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (768,85,'Sindhi','sd','sd_IN',NULL,0,0,145,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (769,85,'Northern Sami','se','se_NO',NULL,0,0,146,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (770,85,'Samoan','sm','sm_WS',NULL,0,0,147,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (771,85,'Sango','sg','sg_CF',NULL,0,0,148,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (772,85,'Serbian','sr','sr_RS',NULL,0,0,149,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (773,85,'Scottish Gaelic; Gaelic','gd','gd_GB',NULL,0,0,150,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (774,85,'Shona','sn','sn_ZW',NULL,0,0,151,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (775,85,'Sinhala, Sinhalese','si','si_LK',NULL,0,0,152,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (776,85,'Slovak','sk','sk_SK',NULL,0,0,153,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (777,85,'Slovene','sl','sl_SI',NULL,0,0,154,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (778,85,'Somali','so','so_SO',NULL,0,0,155,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (779,85,'Southern Sotho','st','st_ZA',NULL,0,0,156,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (780,85,'Spanish; Castilian (Spain)','es','es_ES',NULL,0,0,157,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (781,85,'Spanish; Castilian (Mexico)','es','es_MX',NULL,0,0,158,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (782,85,'Spanish; Castilian (Puerto Rico)','es','es_PR',NULL,0,0,159,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (783,85,'Sundanese','su','su_ID',NULL,0,0,160,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (784,85,'Swahili','sw','sw_TZ',NULL,0,0,161,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (785,85,'Swati','ss','ss_ZA',NULL,0,0,162,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (786,85,'Swedish','sv','sv_SE',NULL,0,0,163,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (787,85,'Tamil','ta','ta_IN',NULL,0,0,164,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (788,85,'Telugu','te','te_IN',NULL,0,0,165,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (789,85,'Tajik','tg','tg_TJ',NULL,0,0,166,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (790,85,'Thai','th','th_TH',NULL,0,0,167,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (791,85,'Tigrinya','ti','ti_ET',NULL,0,0,168,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (792,85,'Tibetan Standard, Tibetan, Central','bo','bo_CN',NULL,0,0,169,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (793,85,'Turkmen','tk','tk_TM',NULL,0,0,170,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (794,85,'Tagalog','tl','tl_PH',NULL,0,0,171,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (795,85,'Tswana','tn','tn_ZA',NULL,0,0,172,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (796,85,'Tonga (Tonga Islands)','to','to_TO',NULL,0,0,173,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (797,85,'Turkish','tr','tr_TR',NULL,0,0,174,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (798,85,'Tsonga','ts','ts_ZA',NULL,0,0,175,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (799,85,'Tatar','tt','tt_RU',NULL,0,0,176,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (800,85,'Twi','tw','tw_GH',NULL,0,0,177,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (801,85,'Tahitian','ty','ty_PF',NULL,0,0,178,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (802,85,'Uighur, Uyghur','ug','ug_CN',NULL,0,0,179,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (803,85,'Ukrainian','uk','uk_UA',NULL,0,0,180,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (804,85,'Urdu','ur','ur_PK',NULL,0,0,181,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (805,85,'Uzbek','uz','uz_UZ',NULL,0,0,182,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (806,85,'Venda','ve','ve_ZA',NULL,0,0,183,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (807,85,'Vietnamese','vi','vi_VN',NULL,0,0,184,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (808,85,'Volapük','vo','vo_XX',NULL,0,0,185,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (809,85,'Walloon','wa','wa_BE',NULL,0,0,186,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (810,85,'Welsh','cy','cy_GB',NULL,0,0,187,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (811,85,'Wolof','wo','wo_SN',NULL,0,0,188,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (812,85,'Western Frisian','fy','fy_NL',NULL,0,0,189,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (813,85,'Xhosa','xh','xh_ZA',NULL,0,0,190,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (814,85,'Yiddish','yi','yi_US',NULL,0,0,191,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (815,85,'Yoruba','yo','yo_NG',NULL,0,0,192,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (816,85,'Zhuang, Chuang','za','za_CN',NULL,0,0,193,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (817,85,'Zulu','zu','zu_ZA',NULL,0,0,194,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL),
+ (818,86,'In Person','1','in_person',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (819,86,'Phone','2','phone',NULL,0,1,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (820,86,'Email','3','email',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (821,86,'Fax','4','fax',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (822,86,'Letter Mail','5','letter_mail',NULL,0,0,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (823,87,'Cases - Send Copy of an Activity','1','case_activity',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (824,88,'Contributions - Duplicate Organization Alert','1','contribution_dupalert',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (825,88,'Contributions - Receipt (off-line)','2','contribution_offline_receipt',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (826,88,'Contributions - Receipt (on-line)','3','contribution_online_receipt',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (827,88,'Contributions - Invoice','4','contribution_invoice_receipt',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (828,88,'Contributions - Recurring Start and End Notification','5','contribution_recurring_notify',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (829,88,'Contributions - Recurring Cancellation Notification','6','contribution_recurring_cancelled',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (830,88,'Contributions - Recurring Billing Updates','7','contribution_recurring_billing',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (831,88,'Contributions - Recurring Updates','8','contribution_recurring_edit',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (832,88,'Personal Campaign Pages - Admin Notification','9','pcp_notify',NULL,0,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (833,88,'Personal Campaign Pages - Supporter Status Change Notification','10','pcp_status_change',NULL,0,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (834,88,'Personal Campaign Pages - Supporter Welcome','11','pcp_supporter_notify',NULL,0,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (835,88,'Personal Campaign Pages - Owner Notification','12','pcp_owner_notify',NULL,0,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (836,88,'Additional Payment Receipt or Refund Notification','13','payment_or_refund_notification',NULL,0,0,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (837,89,'Events - Registration Confirmation and Receipt (off-line)','1','event_offline_receipt',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (838,89,'Events - Registration Confirmation and Receipt (on-line)','2','event_online_receipt',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (839,89,'Events - Receipt only','3','event_registration_receipt',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (840,89,'Events - Registration Cancellation Notice','4','participant_cancelled',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (841,89,'Events - Registration Confirmation Invite','5','participant_confirm',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (842,89,'Events - Pending Registration Expiration Notice','6','participant_expired',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (843,89,'Events - Registration Transferred Notice','7','participant_transferred',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (844,90,'Tell-a-Friend Email','1','friend',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (845,91,'Memberships - Signup and Renewal Receipts (off-line)','1','membership_offline_receipt',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (846,91,'Memberships - Receipt (on-line)','2','membership_online_receipt',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (847,91,'Memberships - Auto-renew Cancellation Notification','3','membership_autorenew_cancelled',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (848,91,'Memberships - Auto-renew Billing Updates','4','membership_autorenew_billing',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (849,92,'Test-drive - Receipt Header','1','test_preview',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (850,93,'Pledges - Acknowledgement','1','pledge_acknowledge',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (851,93,'Pledges - Payment Reminder','2','pledge_reminder',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (852,94,'Profiles - Admin Notification','1','uf_notify',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (853,95,'Petition - signature added','1','petition_sign',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (854,95,'Petition - need verification','2','petition_confirmation_needed',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (855,96,'In Honor of','1','in_honor_of',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (856,96,'In Memory of','2','in_memory_of',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (857,96,'Solicited','3','solicited',NULL,0,1,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (858,96,'Household','4','household',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (859,96,'Workplace Giving','5','workplace',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (860,96,'Foundation Affiliate','6','foundation_affiliate',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (861,96,'3rd-party Service','7','3rd-party_service',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (862,96,'Donor-advised Fund','8','donor-advised_fund',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (863,96,'Matched Gift','9','matched_gift',NULL,0,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),
+ (864,96,'Personal Campaign Page','10','pcp',NULL,0,0,10,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (865,96,'Gift','11','gift',NULL,0,0,11,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL),
+ (866,2,'Interview','55','Interview',NULL,0,NULL,55,'Conduct a phone or in person interview.',0,0,1,NULL,NULL,NULL,'fa-comment-o',NULL);
 /*!40000 ALTER TABLE `civicrm_option_value` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -6460,56 +6465,56 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_participant` WRITE;
 /*!40000 ALTER TABLE `civicrm_participant` DISABLE KEYS */;
 INSERT INTO `civicrm_participant` (`id`, `contact_id`, `event_id`, `status_id`, `role_id`, `register_date`, `source`, `fee_level`, `is_test`, `is_pay_later`, `fee_amount`, `registered_by_id`, `discount_id`, `fee_currency`, `campaign_id`, `discount_amount`, `cart_id`, `must_wait`, `transferred_to_contact_id`) VALUES
- (1,118,1,1,'1','2009-01-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (2,125,2,2,'2','2008-05-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (1,131,1,1,'1','2009-01-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (2,9,2,2,'2','2008-05-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
  (3,201,3,3,'3','2008-05-05 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (4,79,1,4,'4','2008-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (5,101,2,1,'1','2008-01-10 00:00:00','Check','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (6,30,3,2,'2','2008-03-05 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (7,43,1,3,'3','2009-07-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (8,183,2,4,'4','2009-03-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (9,146,3,1,'1','2008-02-05 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (10,172,1,2,'2','2008-02-01 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (11,56,2,3,'3','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (12,148,3,4,'4','2009-03-06 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (13,180,1,1,'2','2008-06-04 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (14,173,2,2,'3','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (15,92,3,4,'1','2008-07-04 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (16,35,1,4,'2','2009-01-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (17,140,2,2,'3','2008-01-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (18,74,3,3,'1','2009-03-05 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (19,181,1,2,'1','2008-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (20,23,2,4,'1','2009-01-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (21,52,3,1,'4','2008-03-25 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (22,20,1,2,'3','2009-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (23,48,2,4,'1','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (24,9,3,3,'1','2008-03-11 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (25,99,3,2,'2','2008-04-05 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (26,106,1,1,'1','2009-01-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (27,40,2,2,'2','2008-05-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (28,161,3,3,'3','2009-12-12 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (29,152,1,4,'4','2009-12-13 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (30,89,2,1,'1','2009-12-14 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (31,86,3,2,'2','2009-12-15 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (32,171,1,3,'3','2009-07-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (33,32,2,4,'4','2009-03-07 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (34,145,3,1,'1','2009-12-15 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (35,170,1,2,'2','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (36,144,2,3,'3','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (37,147,3,4,'4','2009-03-06 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (38,33,1,1,'2','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (39,45,2,2,'3','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (40,127,3,4,'1','2009-12-14 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (41,182,1,4,'2','2009-01-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (42,34,2,2,'3','2009-12-15 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (43,179,3,3,'1','2009-03-05 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (44,96,1,2,'1','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (45,157,2,4,'1','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (46,129,3,1,'4','2009-12-13 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (47,135,1,2,'3','2009-10-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (48,122,2,4,'1','2009-12-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (49,105,3,3,'1','2009-03-11 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
- (50,27,3,2,'2','2009-04-05 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL);
+ (4,68,1,4,'4','2008-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (5,154,2,1,'1','2008-01-10 00:00:00','Check','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (6,179,3,2,'2','2008-03-05 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (7,175,1,3,'3','2009-07-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (8,90,2,4,'4','2009-03-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (9,192,3,1,'1','2008-02-05 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (10,141,1,2,'2','2008-02-01 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (11,195,2,3,'3','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (12,181,3,4,'4','2009-03-06 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (13,156,1,1,'2','2008-06-04 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (14,58,2,2,'3','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (15,165,3,4,'1','2008-07-04 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (16,163,1,4,'2','2009-01-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (17,109,2,2,'3','2008-01-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (18,49,3,3,'1','2009-03-05 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (19,106,1,2,'1','2008-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (20,98,2,4,'1','2009-01-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (21,23,3,1,'4','2008-03-25 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (22,120,1,2,'3','2009-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (23,60,2,4,'1','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (24,57,3,3,'1','2008-03-11 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (25,164,3,2,'2','2008-04-05 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (26,19,1,1,'1','2009-01-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (27,130,2,2,'2','2008-05-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (28,180,3,3,'3','2009-12-12 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (29,47,1,4,'4','2009-12-13 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (30,134,2,1,'1','2009-12-14 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (31,187,3,2,'2','2009-12-15 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (32,86,1,3,'3','2009-07-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (33,169,2,4,'4','2009-03-07 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (34,127,3,1,'1','2009-12-15 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (35,45,1,2,'2','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (36,83,2,3,'3','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (37,190,3,4,'4','2009-03-06 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (38,108,1,1,'2','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (39,177,2,2,'3','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (40,20,3,4,'1','2009-12-14 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (41,199,1,4,'2','2009-01-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (42,121,2,2,'3','2009-12-15 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (43,102,3,3,'1','2009-03-05 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (44,72,1,2,'1','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (45,189,2,4,'1','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (46,24,3,1,'4','2009-12-13 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (47,43,1,2,'3','2009-10-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (48,84,2,4,'1','2009-12-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (49,166,3,3,'1','2009-03-11 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL),
+ (50,151,3,2,'2','2009-04-05 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL);
 /*!40000 ALTER TABLE `civicrm_participant` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -6520,56 +6525,56 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_participant_payment` WRITE;
 /*!40000 ALTER TABLE `civicrm_participant_payment` DISABLE KEYS */;
 INSERT INTO `civicrm_participant_payment` (`id`, `participant_id`, `contribution_id`) VALUES
- (1,24,45),
- (2,22,46),
- (3,20,47),
- (4,50,48),
- (5,6,49),
- (6,33,50),
- (7,38,51),
- (8,42,52),
- (9,16,53),
- (10,27,54),
- (11,7,55),
- (12,39,56),
- (13,23,57),
- (14,21,58),
- (15,11,59),
- (16,18,60),
- (17,4,61),
- (18,31,62),
- (19,30,63),
- (20,15,64),
- (21,44,65),
- (22,25,66),
- (23,5,67),
- (24,49,68),
- (25,26,69),
- (26,1,70),
- (27,48,71),
- (28,2,72),
- (29,40,73),
- (30,46,74),
- (31,47,75),
- (32,17,76),
- (33,36,77),
+ (1,1,45),
+ (2,2,46),
+ (3,3,47),
+ (4,4,48),
+ (5,5,49),
+ (6,6,50),
+ (7,7,51),
+ (8,8,52),
+ (9,9,53),
+ (10,10,54),
+ (11,11,55),
+ (12,12,56),
+ (13,13,57),
+ (14,14,58),
+ (15,15,59),
+ (16,16,60),
+ (17,17,61),
+ (18,18,62),
+ (19,19,63),
+ (20,20,64),
+ (21,21,65),
+ (22,22,66),
+ (23,23,67),
+ (24,24,68),
+ (25,25,69),
+ (26,26,70),
+ (27,27,71),
+ (28,28,72),
+ (29,29,73),
+ (30,30,74),
+ (31,31,75),
+ (32,32,76),
+ (33,33,77),
  (34,34,78),
- (35,9,79),
- (36,37,80),
- (37,12,81),
- (38,29,82),
- (39,45,83),
- (40,28,84),
- (41,35,85),
- (42,32,86),
- (43,10,87),
- (44,14,88),
- (45,43,89),
- (46,13,90),
- (47,19,91),
- (48,41,92),
- (49,8,93),
- (50,3,94);
+ (35,35,79),
+ (36,36,80),
+ (37,37,81),
+ (38,38,82),
+ (39,39,83),
+ (40,40,84),
+ (41,41,85),
+ (42,42,86),
+ (43,43,87),
+ (44,44,88),
+ (45,45,89),
+ (46,46,90),
+ (47,47,91),
+ (48,48,92),
+ (49,49,93),
+ (50,50,94);
 /*!40000 ALTER TABLE `civicrm_participant_payment` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -6643,7 +6648,7 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_pcp` WRITE;
 /*!40000 ALTER TABLE `civicrm_pcp` DISABLE KEYS */;
 INSERT INTO `civicrm_pcp` (`id`, `contact_id`, `status_id`, `title`, `intro_text`, `page_text`, `donate_link_text`, `page_id`, `page_type`, `pcp_block_id`, `is_thermometer`, `is_honor_roll`, `goal_amount`, `currency`, `is_active`, `is_notify`) VALUES
- (1,85,2,'My Personal Civi Fundraiser','I\'m on a mission to get all my friends and family to help support my favorite open-source civic sector CRM.','<p>Friends and family - please help build much needed infrastructure for the civic sector by supporting my personal campaign!</p>\r\n<p><a href=\"https://civicrm.org\">You can learn more about CiviCRM here</a>.</p>\r\n<p>Then click the <strong>Contribute Now</strong> button to go to our easy-to-use online contribution form.</p>','Contribute Now',1,'contribute',1,1,1,5000.00,'USD',1,1);
+ (1,139,2,'My Personal Civi Fundraiser','I\'m on a mission to get all my friends and family to help support my favorite open-source civic sector CRM.','<p>Friends and family - please help build much needed infrastructure for the civic sector by supporting my personal campaign!</p>\r\n<p><a href=\"https://civicrm.org\">You can learn more about CiviCRM here</a>.</p>\r\n<p>Then click the <strong>Contribute Now</strong> button to go to our easy-to-use online contribution form.</p>','Contribute Now',1,'contribute',1,1,1,5000.00,'USD',1,1);
 /*!40000 ALTER TABLE `civicrm_pcp` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -6665,188 +6670,175 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_phone` WRITE;
 /*!40000 ALTER TABLE `civicrm_phone` DISABLE KEYS */;
 INSERT INTO `civicrm_phone` (`id`, `contact_id`, `location_type_id`, `is_primary`, `is_billing`, `mobile_provider_id`, `phone`, `phone_ext`, `phone_numeric`, `phone_type_id`) VALUES
- (1,31,1,1,0,NULL,'(344) 892-1917',NULL,'3448921917',2),
- (2,138,1,1,0,NULL,'(682) 706-8806',NULL,'6827068806',1),
- (3,21,1,1,0,NULL,'(485) 811-7996',NULL,'4858117996',2),
- (4,128,1,1,0,NULL,'(643) 766-7085',NULL,'6437667085',2),
- (5,177,1,1,0,NULL,'599-8579',NULL,'5998579',2),
- (6,46,1,1,0,NULL,'(812) 831-2102',NULL,'8128312102',1),
- (7,53,1,1,0,NULL,'(215) 416-2334',NULL,'2154162334',1),
- (8,89,1,1,0,NULL,'835-5231',NULL,'8355231',1),
- (9,89,1,0,0,NULL,'(726) 629-9649',NULL,'7266299649',1),
- (10,14,1,1,0,NULL,'(697) 769-7741',NULL,'6977697741',1),
- (11,191,1,1,0,NULL,'(459) 453-9486',NULL,'4594539486',1),
- (12,50,1,1,0,NULL,'(762) 212-7611',NULL,'7622127611',2),
- (13,50,1,0,0,NULL,'(203) 524-5787',NULL,'2035245787',1),
- (14,5,1,1,0,NULL,'(847) 510-9163',NULL,'8475109163',1),
- (15,173,1,1,0,NULL,'336-8988',NULL,'3368988',2),
- (16,173,1,0,0,NULL,'438-6336',NULL,'4386336',1),
- (17,190,1,1,0,NULL,'469-8484',NULL,'4698484',1),
- (18,190,1,0,0,NULL,'(564) 641-8915',NULL,'5646418915',1),
- (19,178,1,1,0,NULL,'424-5271',NULL,'4245271',1),
- (20,16,1,1,0,NULL,'754-4779',NULL,'7544779',2),
- (21,16,1,0,0,NULL,'628-9302',NULL,'6289302',1),
- (22,199,1,1,0,NULL,'347-4207',NULL,'3474207',2),
- (23,199,1,0,0,NULL,'(841) 863-2809',NULL,'8418632809',1),
- (24,25,1,1,0,NULL,'(878) 592-3342',NULL,'8785923342',1),
- (25,37,1,1,0,NULL,'869-7120',NULL,'8697120',2),
- (26,37,1,0,0,NULL,'303-7079',NULL,'3037079',2),
- (27,201,1,1,0,NULL,'(870) 427-4113',NULL,'8704274113',1),
- (28,201,1,0,0,NULL,'804-7329',NULL,'8047329',1),
- (29,11,1,1,0,NULL,'(205) 858-3988',NULL,'2058583988',1),
- (30,20,1,1,0,NULL,'(700) 274-6443',NULL,'7002746443',1),
- (31,117,1,1,0,NULL,'571-6764',NULL,'5716764',2),
- (32,117,1,0,0,NULL,'365-6946',NULL,'3656946',2),
- (33,98,1,1,0,NULL,'(437) 789-5250',NULL,'4377895250',2),
- (34,98,1,0,0,NULL,'(763) 896-4932',NULL,'7638964932',2),
- (35,57,1,1,0,NULL,'799-6516',NULL,'7996516',1),
- (36,57,1,0,0,NULL,'863-4864',NULL,'8634864',1),
- (37,125,1,1,0,NULL,'(362) 873-2797',NULL,'3628732797',2),
- (38,125,1,0,0,NULL,'564-3343',NULL,'5643343',2),
- (39,194,1,1,0,NULL,'788-7274',NULL,'7887274',1),
- (40,194,1,0,0,NULL,'470-1581',NULL,'4701581',1),
- (41,44,1,1,0,NULL,'(352) 359-4477',NULL,'3523594477',2),
- (42,44,1,0,0,NULL,'556-7875',NULL,'5567875',1),
- (43,78,1,1,0,NULL,'258-2719',NULL,'2582719',1),
- (44,78,1,0,0,NULL,'(608) 545-3334',NULL,'6085453334',1),
- (45,90,1,1,0,NULL,'(525) 667-7879',NULL,'5256677879',2),
- (46,90,1,0,0,NULL,'(345) 512-7192',NULL,'3455127192',1),
- (47,83,1,1,0,NULL,'(316) 565-5447',NULL,'3165655447',2),
- (48,18,1,1,0,NULL,'(598) 791-1294',NULL,'5987911294',2),
- (49,18,1,0,0,NULL,'694-4995',NULL,'6944995',2),
- (50,154,1,1,0,NULL,'307-2755',NULL,'3072755',2),
- (51,154,1,0,0,NULL,'646-6141',NULL,'6466141',1),
- (52,160,1,1,0,NULL,'(848) 293-7058',NULL,'8482937058',2),
- (53,107,1,1,0,NULL,'244-6164',NULL,'2446164',2),
- (54,144,1,1,0,NULL,'864-8933',NULL,'8648933',1),
- (55,33,1,1,0,NULL,'(447) 302-9909',NULL,'4473029909',2),
- (56,185,1,1,0,NULL,'(508) 288-2611',NULL,'5082882611',1),
- (57,185,1,0,0,NULL,'328-5896',NULL,'3285896',2),
- (58,59,1,1,0,NULL,'(496) 482-3320',NULL,'4964823320',1),
- (59,48,1,1,0,NULL,'715-3391',NULL,'7153391',1),
- (60,81,1,1,0,NULL,'(645) 378-1434',NULL,'6453781434',2),
- (61,2,1,1,0,NULL,'(766) 893-3655',NULL,'7668933655',1),
- (62,26,1,1,0,NULL,'849-1312',NULL,'8491312',2),
- (63,110,1,1,0,NULL,'338-6358',NULL,'3386358',2),
- (64,71,1,1,0,NULL,'230-3320',NULL,'2303320',2),
- (65,163,1,1,0,NULL,'232-9526',NULL,'2329526',1),
- (66,196,1,1,0,NULL,'(444) 876-5578',NULL,'4448765578',1),
- (67,10,1,1,0,NULL,'310-1356',NULL,'3101356',1),
- (68,115,1,1,0,NULL,'585-5380',NULL,'5855380',1),
- (69,38,1,1,0,NULL,'(680) 258-5315',NULL,'6802585315',2),
- (70,38,1,0,0,NULL,'366-7880',NULL,'3667880',1),
- (71,103,1,1,0,NULL,'(432) 777-2020',NULL,'4327772020',2),
- (72,103,1,0,0,NULL,'(320) 610-2259',NULL,'3206102259',2),
- (73,184,1,1,0,NULL,'796-2427',NULL,'7962427',1),
- (74,169,1,1,0,NULL,'(329) 261-6411',NULL,'3292616411',1),
- (75,169,1,0,0,NULL,'513-4286',NULL,'5134286',1),
- (76,127,1,1,0,NULL,'(875) 414-8101',NULL,'8754148101',1),
- (77,96,1,1,0,NULL,'633-1715',NULL,'6331715',1),
- (78,96,1,0,0,NULL,'(399) 438-7056',NULL,'3994387056',1),
- (79,176,1,1,0,NULL,'720-2299',NULL,'7202299',1),
- (80,176,1,0,0,NULL,'704-1758',NULL,'7041758',1),
- (81,49,1,1,0,NULL,'(497) 609-6800',NULL,'4976096800',2),
- (82,49,1,0,0,NULL,'(514) 430-4120',NULL,'5144304120',1),
- (83,162,1,1,0,NULL,'659-4819',NULL,'6594819',1),
- (84,58,1,1,0,NULL,'225-9008',NULL,'2259008',1),
- (85,58,1,0,0,NULL,'(776) 449-9460',NULL,'7764499460',2),
- (86,35,1,1,0,NULL,'(743) 767-4315',NULL,'7437674315',1),
- (87,92,1,1,0,NULL,'(741) 243-3995',NULL,'7412433995',2),
- (88,130,1,1,0,NULL,'475-1931',NULL,'4751931',1),
- (89,130,1,0,0,NULL,'688-8166',NULL,'6888166',2),
- (90,55,1,1,0,NULL,'459-7352',NULL,'4597352',2),
- (91,123,1,1,0,NULL,'(510) 318-2458',NULL,'5103182458',2),
- (92,40,1,1,0,NULL,'(427) 671-2434',NULL,'4276712434',1),
- (93,40,1,0,0,NULL,'326-2967',NULL,'3262967',2),
- (94,118,1,1,0,NULL,'364-9186',NULL,'3649186',1),
- (95,118,1,0,0,NULL,'(563) 557-6227',NULL,'5635576227',1),
- (96,101,1,1,0,NULL,'(294) 734-6557',NULL,'2947346557',1),
- (97,101,1,0,0,NULL,'(751) 829-6565',NULL,'7518296565',1),
- (98,142,1,1,0,NULL,'579-3725',NULL,'5793725',2),
- (99,142,1,0,0,NULL,'891-6076',NULL,'8916076',1),
- (100,135,1,1,0,NULL,'(380) 829-2039',NULL,'3808292039',2),
- (101,135,1,0,0,NULL,'(827) 871-9975',NULL,'8278719975',1),
- (102,111,1,1,0,NULL,'(827) 306-7565',NULL,'8273067565',2),
- (103,111,1,0,0,NULL,'315-2929',NULL,'3152929',2),
- (104,116,1,1,0,NULL,'(529) 899-6295',NULL,'5298996295',2),
- (105,116,1,0,0,NULL,'699-1209',NULL,'6991209',1),
- (106,95,1,1,0,NULL,'584-7297',NULL,'5847297',1),
- (107,195,1,1,0,NULL,'262-8997',NULL,'2628997',2),
- (108,183,1,1,0,NULL,'(618) 877-6176',NULL,'6188776176',1),
- (109,183,1,0,0,NULL,'(214) 431-9125',NULL,'2144319125',1),
- (110,24,1,1,0,NULL,'773-4555',NULL,'7734555',2),
- (111,24,1,0,0,NULL,'(662) 788-3894',NULL,'6627883894',1),
- (112,124,1,1,0,NULL,'506-4442',NULL,'5064442',2),
- (113,124,1,0,0,NULL,'549-1748',NULL,'5491748',1),
- (114,47,1,1,0,NULL,'(356) 385-3554',NULL,'3563853554',1),
- (115,99,1,1,0,NULL,'268-7787',NULL,'2687787',1),
- (116,99,1,0,0,NULL,'(436) 647-1487',NULL,'4366471487',2),
- (117,77,1,1,0,NULL,'298-2145',NULL,'2982145',2),
- (118,77,1,0,0,NULL,'(278) 375-7730',NULL,'2783757730',1),
- (119,175,1,1,0,NULL,'(591) 897-6798',NULL,'5918976798',2),
- (120,175,1,0,0,NULL,'307-4058',NULL,'3074058',2),
- (121,94,1,1,0,NULL,'(683) 624-5304',NULL,'6836245304',2),
- (122,94,1,0,0,NULL,'587-5948',NULL,'5875948',1),
- (123,80,1,1,0,NULL,'(734) 513-9029',NULL,'7345139029',2),
- (124,187,1,1,0,NULL,'(566) 517-9803',NULL,'5665179803',2),
- (125,145,1,1,0,NULL,'(791) 539-9648',NULL,'7915399648',2),
- (126,145,1,0,0,NULL,'771-5922',NULL,'7715922',2),
- (127,105,1,1,0,NULL,'(233) 272-5370',NULL,'2332725370',2),
- (128,105,1,0,0,NULL,'(626) 635-4821',NULL,'6266354821',1),
- (129,22,1,1,0,NULL,'(618) 602-7597',NULL,'6186027597',2),
- (130,22,1,0,0,NULL,'(614) 853-1145',NULL,'6148531145',2),
- (131,43,1,1,0,NULL,'827-2475',NULL,'8272475',2),
- (132,88,1,1,0,NULL,'(358) 811-8480',NULL,'3588118480',1),
- (133,88,1,0,0,NULL,'(203) 863-4661',NULL,'2038634661',1),
- (134,150,1,1,0,NULL,'384-7938',NULL,'3847938',1),
- (135,150,1,0,0,NULL,'774-7681',NULL,'7747681',2),
- (136,106,1,1,0,NULL,'595-3752',NULL,'5953752',1),
- (137,136,1,1,0,NULL,'(653) 376-5753',NULL,'6533765753',2),
- (138,56,1,1,0,NULL,'878-9808',NULL,'8789808',1),
- (139,56,1,0,0,NULL,'733-7854',NULL,'7337854',2),
- (140,200,1,1,0,NULL,'(377) 874-3661',NULL,'3778743661',2),
- (141,114,1,1,0,NULL,'223-6882',NULL,'2236882',2),
- (142,114,1,0,0,NULL,'(207) 321-9561',NULL,'2073219561',1),
- (143,152,1,1,0,NULL,'828-4424',NULL,'8284424',2),
- (144,152,1,0,0,NULL,'(389) 352-5043',NULL,'3893525043',1),
- (145,112,1,1,0,NULL,'(807) 539-3427',NULL,'8075393427',1),
- (146,112,1,0,0,NULL,'429-6464',NULL,'4296464',2),
- (147,197,1,1,0,NULL,'(540) 737-6943',NULL,'5407376943',1),
- (148,170,1,1,0,NULL,'(308) 547-1960',NULL,'3085471960',1),
- (149,170,1,0,0,NULL,'(595) 560-6614',NULL,'5955606614',2),
- (150,166,1,1,0,NULL,'496-6120',NULL,'4966120',2),
- (151,166,1,0,0,NULL,'(592) 567-9419',NULL,'5925679419',1),
- (152,76,1,1,0,NULL,'638-6411',NULL,'6386411',1),
- (153,15,1,1,0,NULL,'758-1977',NULL,'7581977',1),
- (154,15,1,0,0,NULL,'(362) 605-4238',NULL,'3626054238',2),
- (155,7,1,1,0,NULL,'(612) 700-1230',NULL,'6127001230',1),
- (156,158,1,1,0,NULL,'(508) 385-2997',NULL,'5083852997',1),
- (157,158,1,0,0,NULL,'542-7638',NULL,'5427638',2),
- (158,134,1,1,0,NULL,'862-6796',NULL,'8626796',1),
- (159,151,1,1,0,NULL,'373-8943',NULL,'3738943',2),
- (160,129,1,1,0,NULL,'217-2789',NULL,'2172789',1),
- (161,129,1,0,0,NULL,'(432) 685-7857',NULL,'4326857857',2),
- (162,54,1,1,0,NULL,'870-4137',NULL,'8704137',1),
- (163,198,1,1,0,NULL,'(850) 522-9552',NULL,'8505229552',2),
- (164,153,1,1,0,NULL,'(509) 428-5608',NULL,'5094285608',2),
- (165,153,1,0,0,NULL,'(297) 592-3262',NULL,'2975923262',2),
- (166,52,1,1,0,NULL,'(316) 430-2614',NULL,'3164302614',2),
- (167,52,1,0,0,NULL,'282-8405',NULL,'2828405',2),
- (168,120,1,1,0,NULL,'(532) 631-4781',NULL,'5326314781',2),
- (169,120,1,0,0,NULL,'521-9821',NULL,'5219821',2),
- (170,139,1,1,0,NULL,'(248) 719-3941',NULL,'2487193941',2),
- (171,139,1,0,0,NULL,'405-4153',NULL,'4054153',1),
- (172,86,1,1,0,NULL,'(497) 354-1043',NULL,'4973541043',2),
- (173,131,1,1,0,NULL,'(405) 884-1135',NULL,'4058841135',2),
- (174,131,1,0,0,NULL,'303-1932',NULL,'3031932',1),
- (175,66,1,1,0,NULL,'853-2169',NULL,'8532169',1),
- (176,66,1,0,0,NULL,'(675) 342-2869',NULL,'6753422869',1),
- (177,121,1,1,0,NULL,'(863) 204-8182',NULL,'8632048182',1),
- (178,121,1,0,0,NULL,'(443) 355-1000',NULL,'4433551000',2),
- (179,172,1,1,0,NULL,'406-6084',NULL,'4066084',1),
- (180,NULL,1,0,0,NULL,'204 222-1000',NULL,'2042221000',1),
- (181,NULL,1,0,0,NULL,'204 223-1000',NULL,'2042231000',1),
- (182,NULL,1,0,0,NULL,'303 323-1000',NULL,'3033231000',1);
+ (1,72,1,1,0,NULL,'(895) 733-8230',NULL,'8957338230',2),
+ (2,72,1,0,0,NULL,'(388) 617-5500',NULL,'3886175500',2),
+ (3,162,1,1,0,NULL,'(804) 882-3887',NULL,'8048823887',1),
+ (4,30,1,1,0,NULL,'472-4630',NULL,'4724630',1),
+ (5,131,1,1,0,NULL,'452-5379',NULL,'4525379',1),
+ (6,131,1,0,0,NULL,'291-3073',NULL,'2913073',2),
+ (7,100,1,1,0,NULL,'293-6934',NULL,'2936934',1),
+ (8,100,1,0,0,NULL,'(683) 795-9876',NULL,'6837959876',2),
+ (9,170,1,1,0,NULL,'(769) 412-7310',NULL,'7694127310',2),
+ (10,35,1,1,0,NULL,'894-9060',NULL,'8949060',2),
+ (11,35,1,0,0,NULL,'(501) 344-4619',NULL,'5013444619',1),
+ (12,192,1,1,0,NULL,'343-3394',NULL,'3433394',2),
+ (13,85,1,1,0,NULL,'(293) 282-8905',NULL,'2932828905',2),
+ (14,48,1,1,0,NULL,'772-8265',NULL,'7728265',2),
+ (15,48,1,0,0,NULL,'888-8134',NULL,'8888134',1),
+ (16,80,1,1,0,NULL,'(666) 723-6056',NULL,'6667236056',1),
+ (17,50,1,1,0,NULL,'262-4735',NULL,'2624735',2),
+ (18,50,1,0,0,NULL,'212-5705',NULL,'2125705',2),
+ (19,173,1,1,0,NULL,'556-9264',NULL,'5569264',1),
+ (20,105,1,1,0,NULL,'(574) 885-8883',NULL,'5748858883',1),
+ (21,191,1,1,0,NULL,'482-3913',NULL,'4823913',2),
+ (22,142,1,1,0,NULL,'729-9360',NULL,'7299360',1),
+ (23,142,1,0,0,NULL,'(573) 492-8794',NULL,'5734928794',2),
+ (24,145,1,1,0,NULL,'(395) 767-4458',NULL,'3957674458',1),
+ (25,145,1,0,0,NULL,'(629) 867-7666',NULL,'6298677666',1),
+ (26,99,1,1,0,NULL,'(414) 289-2130',NULL,'4142892130',1),
+ (27,99,1,0,0,NULL,'443-2921',NULL,'4432921',1),
+ (28,157,1,1,0,NULL,'(201) 699-6347',NULL,'2016996347',2),
+ (29,95,1,1,0,NULL,'335-1058',NULL,'3351058',2),
+ (30,95,1,0,0,NULL,'813-8885',NULL,'8138885',1),
+ (31,82,1,1,0,NULL,'(329) 284-9113',NULL,'3292849113',1),
+ (32,82,1,0,0,NULL,'774-4835',NULL,'7744835',1),
+ (33,168,1,1,0,NULL,'612-2359',NULL,'6122359',1),
+ (34,176,1,1,0,NULL,'483-8847',NULL,'4838847',2),
+ (35,116,1,1,0,NULL,'(401) 775-6854',NULL,'4017756854',2),
+ (36,114,1,1,0,NULL,'530-9617',NULL,'5309617',1),
+ (37,151,1,1,0,NULL,'(505) 451-7539',NULL,'5054517539',2),
+ (38,151,1,0,0,NULL,'(264) 254-3699',NULL,'2642543699',1),
+ (39,117,1,1,0,NULL,'205-7174',NULL,'2057174',2),
+ (40,55,1,1,0,NULL,'(298) 329-2126',NULL,'2983292126',2),
+ (41,55,1,0,0,NULL,'(571) 380-4804',NULL,'5713804804',1),
+ (42,136,1,1,0,NULL,'657-5030',NULL,'6575030',2),
+ (43,136,1,0,0,NULL,'(774) 696-5574',NULL,'7746965574',2),
+ (44,144,1,1,0,NULL,'(226) 432-9735',NULL,'2264329735',1),
+ (45,119,1,1,0,NULL,'375-4708',NULL,'3754708',2),
+ (46,119,1,0,0,NULL,'(752) 326-7484',NULL,'7523267484',1),
+ (47,2,1,1,0,NULL,'445-3121',NULL,'4453121',1),
+ (48,2,1,0,0,NULL,'308-5741',NULL,'3085741',1),
+ (49,69,1,1,0,NULL,'789-3895',NULL,'7893895',2),
+ (50,84,1,1,0,NULL,'871-2404',NULL,'8712404',2),
+ (51,62,1,1,0,NULL,'(855) 634-8507',NULL,'8556348507',2),
+ (52,115,1,1,0,NULL,'463-7327',NULL,'4637327',2),
+ (53,115,1,0,0,NULL,'698-3173',NULL,'6983173',1),
+ (54,39,1,1,0,NULL,'(649) 440-8428',NULL,'6494408428',2),
+ (55,177,1,1,0,NULL,'725-7084',NULL,'7257084',1),
+ (56,10,1,1,0,NULL,'756-5169',NULL,'7565169',2),
+ (57,184,1,1,0,NULL,'(700) 592-1469',NULL,'7005921469',1),
+ (58,182,1,1,0,NULL,'(705) 348-5810',NULL,'7053485810',1),
+ (59,182,1,0,0,NULL,'581-9150',NULL,'5819150',1),
+ (60,133,1,1,0,NULL,'482-2770',NULL,'4822770',1),
+ (61,133,1,0,0,NULL,'276-2663',NULL,'2762663',2),
+ (62,68,1,1,0,NULL,'(712) 737-1946',NULL,'7127371946',1),
+ (63,92,1,1,0,NULL,'797-5920',NULL,'7975920',2),
+ (64,92,1,0,0,NULL,'557-7200',NULL,'5577200',2),
+ (65,56,1,1,0,NULL,'(602) 599-6375',NULL,'6025996375',2),
+ (66,70,1,1,0,NULL,'(461) 640-6839',NULL,'4616406839',2),
+ (67,70,1,0,0,NULL,'844-8460',NULL,'8448460',1),
+ (68,94,1,1,0,NULL,'(251) 293-6831',NULL,'2512936831',2),
+ (69,174,1,1,0,NULL,'412-8087',NULL,'4128087',2),
+ (70,198,1,1,0,NULL,'281-1090',NULL,'2811090',1),
+ (71,83,1,1,0,NULL,'553-4641',NULL,'5534641',2),
+ (72,60,1,1,0,NULL,'747-1065',NULL,'7471065',1),
+ (73,53,1,1,0,NULL,'832-4834',NULL,'8324834',2),
+ (74,181,1,1,0,NULL,'(853) 639-6870',NULL,'8536396870',2),
+ (75,88,1,1,0,NULL,'(449) 319-5113',NULL,'4493195113',2),
+ (76,199,1,1,0,NULL,'308-3523',NULL,'3083523',1),
+ (77,199,1,0,0,NULL,'653-3282',NULL,'6533282',2),
+ (78,3,1,1,0,NULL,'(567) 575-9720',NULL,'5675759720',1),
+ (79,196,1,1,0,NULL,'761-5980',NULL,'7615980',2),
+ (80,81,1,1,0,NULL,'(625) 808-2420',NULL,'6258082420',2),
+ (81,134,1,1,0,NULL,'(711) 896-7596',NULL,'7118967596',2),
+ (82,167,1,1,0,NULL,'215-5200',NULL,'2155200',2),
+ (83,167,1,0,0,NULL,'579-3081',NULL,'5793081',2),
+ (84,197,1,1,0,NULL,'(769) 228-6796',NULL,'7692286796',1),
+ (85,197,1,0,0,NULL,'(609) 799-5531',NULL,'6097995531',2),
+ (86,59,1,1,0,NULL,'(477) 271-5405',NULL,'4772715405',2),
+ (87,14,1,1,0,NULL,'433-8914',NULL,'4338914',1),
+ (88,14,1,0,0,NULL,'689-8337',NULL,'6898337',2),
+ (89,91,1,1,0,NULL,'717-4470',NULL,'7174470',1),
+ (90,135,1,1,0,NULL,'847-5766',NULL,'8475766',1),
+ (91,135,1,0,0,NULL,'(546) 731-9978',NULL,'5467319978',1),
+ (92,187,1,1,0,NULL,'(775) 270-6763',NULL,'7752706763',1),
+ (93,187,1,0,0,NULL,'(219) 535-9909',NULL,'2195359909',1),
+ (94,89,1,1,0,NULL,'504-6948',NULL,'5046948',1),
+ (95,27,1,1,0,NULL,'478-2138',NULL,'4782138',2),
+ (96,16,1,1,0,NULL,'(361) 784-6354',NULL,'3617846354',1),
+ (97,16,1,0,0,NULL,'(578) 557-1101',NULL,'5785571101',2),
+ (98,75,1,1,0,NULL,'(578) 476-9305',NULL,'5784769305',1),
+ (99,75,1,0,0,NULL,'(291) 248-3263',NULL,'2912483263',2),
+ (100,175,1,1,0,NULL,'714-7609',NULL,'7147609',1),
+ (101,175,1,0,0,NULL,'(582) 617-8450',NULL,'5826178450',1),
+ (102,63,1,1,0,NULL,'818-2965',NULL,'8182965',1),
+ (103,63,1,0,0,NULL,'(655) 798-8237',NULL,'6557988237',1),
+ (104,185,1,1,0,NULL,'278-5114',NULL,'2785114',2),
+ (105,185,1,0,0,NULL,'(573) 505-6712',NULL,'5735056712',1),
+ (106,13,1,1,0,NULL,'(361) 561-5767',NULL,'3615615767',1),
+ (107,183,1,1,0,NULL,'(420) 786-1303',NULL,'4207861303',2),
+ (108,147,1,1,0,NULL,'(769) 379-5937',NULL,'7693795937',2),
+ (109,54,1,1,0,NULL,'(530) 791-4321',NULL,'5307914321',2),
+ (110,26,1,1,0,NULL,'(394) 424-5232',NULL,'3944245232',2),
+ (111,49,1,1,0,NULL,'479-8048',NULL,'4798048',2),
+ (112,121,1,1,0,NULL,'251-3248',NULL,'2513248',1),
+ (113,38,1,1,0,NULL,'(801) 835-6210',NULL,'8018356210',1),
+ (114,110,1,1,0,NULL,'(609) 714-5853',NULL,'6097145853',1),
+ (115,195,1,1,0,NULL,'(639) 803-6388',NULL,'6398036388',2),
+ (116,195,1,0,0,NULL,'250-5860',NULL,'2505860',2),
+ (117,109,1,1,0,NULL,'(283) 795-2298',NULL,'2837952298',2),
+ (118,73,1,1,0,NULL,'614-6777',NULL,'6146777',1),
+ (119,21,1,1,0,NULL,'(752) 236-5039',NULL,'7522365039',2),
+ (120,21,1,0,0,NULL,'(553) 303-6258',NULL,'5533036258',2),
+ (121,102,1,1,0,NULL,'(685) 682-8393',NULL,'6856828393',1),
+ (122,79,1,1,0,NULL,'392-3229',NULL,'3923229',1),
+ (123,150,1,1,0,NULL,'(326) 501-2385',NULL,'3265012385',1),
+ (124,52,1,1,0,NULL,'293-1090',NULL,'2931090',1),
+ (125,52,1,0,0,NULL,'(744) 643-9011',NULL,'7446439011',1),
+ (126,188,1,1,0,NULL,'498-4115',NULL,'4984115',1),
+ (127,188,1,0,0,NULL,'(357) 862-1934',NULL,'3578621934',2),
+ (128,58,1,1,0,NULL,'(870) 397-7564',NULL,'8703977564',2),
+ (129,58,1,0,0,NULL,'675-6405',NULL,'6756405',2),
+ (130,17,1,1,0,NULL,'734-7327',NULL,'7347327',1),
+ (131,57,1,1,0,NULL,'272-5116',NULL,'2725116',2),
+ (132,86,1,1,0,NULL,'(205) 737-1548',NULL,'2057371548',2),
+ (133,86,1,0,0,NULL,'706-2828',NULL,'7062828',1),
+ (134,107,1,1,0,NULL,'303-2632',NULL,'3032632',1),
+ (135,107,1,0,0,NULL,'391-7076',NULL,'3917076',2),
+ (136,34,1,1,0,NULL,'(772) 671-9199',NULL,'7726719199',2),
+ (137,34,1,0,0,NULL,'(207) 378-5243',NULL,'2073785243',2),
+ (138,64,1,1,0,NULL,'(298) 839-3813',NULL,'2988393813',2),
+ (139,64,1,0,0,NULL,'615-6654',NULL,'6156654',1),
+ (140,123,1,1,0,NULL,'(284) 661-5965',NULL,'2846615965',1),
+ (141,123,1,0,0,NULL,'220-9719',NULL,'2209719',2),
+ (142,96,1,1,0,NULL,'305-8436',NULL,'3058436',2),
+ (143,96,1,0,0,NULL,'609-4734',NULL,'6094734',2),
+ (144,159,1,1,0,NULL,'532-8550',NULL,'5328550',2),
+ (145,159,1,0,0,NULL,'(631) 436-1341',NULL,'6314361341',1),
+ (146,132,1,1,0,NULL,'(700) 884-5309',NULL,'7008845309',1),
+ (147,132,1,0,0,NULL,'(287) 276-4170',NULL,'2872764170',1),
+ (148,90,1,1,0,NULL,'502-7916',NULL,'5027916',1),
+ (149,90,1,0,0,NULL,'621-6114',NULL,'6216114',2),
+ (150,137,1,1,0,NULL,'(253) 890-2524',NULL,'2538902524',1),
+ (151,104,1,1,0,NULL,'338-3580',NULL,'3383580',1),
+ (152,31,1,1,0,NULL,'515-2574',NULL,'5152574',2),
+ (153,152,1,1,0,NULL,'888-1977',NULL,'8881977',1),
+ (154,152,1,0,0,NULL,'643-5339',NULL,'6435339',2),
+ (155,155,1,1,0,NULL,'752-6174',NULL,'7526174',2),
+ (156,155,1,0,0,NULL,'627-1514',NULL,'6271514',2),
+ (157,40,1,1,0,NULL,'214-5610',NULL,'2145610',1),
+ (158,40,1,0,0,NULL,'321-4841',NULL,'3214841',2),
+ (159,98,1,1,0,NULL,'(442) 651-7162',NULL,'4426517162',1),
+ (160,98,1,0,0,NULL,'(327) 275-2247',NULL,'3272752247',1),
+ (161,33,1,1,0,NULL,'(671) 556-5275',NULL,'6715565275',1),
+ (162,45,1,1,0,NULL,'(721) 750-5334',NULL,'7217505334',1),
+ (163,9,1,1,0,NULL,'(623) 243-6105',NULL,'6232436105',2),
+ (164,106,1,1,0,NULL,'853-8566',NULL,'8538566',2),
+ (165,164,1,1,0,NULL,'666-8632',NULL,'6668632',2),
+ (166,164,1,0,0,NULL,'(866) 870-9421',NULL,'8668709421',1),
+ (167,NULL,1,0,0,NULL,'204 222-1000',NULL,'2042221000',1),
+ (168,NULL,1,0,0,NULL,'204 223-1000',NULL,'2042231000',1),
+ (169,NULL,1,0,0,NULL,'303 323-1000',NULL,'3033231000',1);
 /*!40000 ALTER TABLE `civicrm_phone` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -7072,220 +7064,221 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_relationship` WRITE;
 /*!40000 ALTER TABLE `civicrm_relationship` DISABLE KEYS */;
 INSERT INTO `civicrm_relationship` (`id`, `contact_id_a`, `contact_id_b`, `relationship_type_id`, `start_date`, `end_date`, `is_active`, `description`, `is_permission_a_b`, `is_permission_b_a`, `case_id`) VALUES
- (1,130,35,1,NULL,NULL,1,NULL,0,0,NULL),
- (2,55,35,1,NULL,NULL,1,NULL,0,0,NULL),
- (3,130,92,1,NULL,NULL,1,NULL,0,0,NULL),
- (4,55,92,1,NULL,NULL,1,NULL,0,0,NULL),
- (5,55,130,4,NULL,NULL,1,NULL,0,0,NULL),
- (6,92,51,8,NULL,NULL,1,NULL,0,0,NULL),
- (7,130,51,8,NULL,NULL,1,NULL,0,0,NULL),
- (8,55,51,8,NULL,NULL,1,NULL,0,0,NULL),
- (9,35,51,7,NULL,NULL,1,NULL,0,0,NULL),
- (10,92,35,2,NULL,NULL,1,NULL,0,0,NULL),
- (11,123,3,1,NULL,NULL,1,NULL,0,0,NULL),
- (12,108,3,1,NULL,NULL,1,NULL,0,0,NULL),
- (13,123,42,1,NULL,NULL,1,NULL,0,0,NULL),
- (14,108,42,1,NULL,NULL,1,NULL,0,0,NULL),
- (15,108,123,4,NULL,NULL,1,NULL,0,0,NULL),
- (16,42,62,8,NULL,NULL,1,NULL,0,0,NULL),
- (17,123,62,8,NULL,NULL,1,NULL,0,0,NULL),
- (18,108,62,8,NULL,NULL,1,NULL,0,0,NULL),
- (19,3,62,7,NULL,NULL,1,NULL,0,0,NULL),
- (20,42,3,2,NULL,NULL,1,NULL,0,0,NULL),
- (21,118,40,1,NULL,NULL,1,NULL,0,0,NULL),
- (22,101,40,1,NULL,NULL,1,NULL,0,0,NULL),
- (23,118,113,1,NULL,NULL,1,NULL,0,0,NULL),
- (24,101,113,1,NULL,NULL,1,NULL,0,0,NULL),
- (25,101,118,4,NULL,NULL,1,NULL,0,0,NULL),
- (26,113,126,8,NULL,NULL,1,NULL,0,0,NULL),
- (27,118,126,8,NULL,NULL,1,NULL,0,0,NULL),
- (28,101,126,8,NULL,NULL,1,NULL,0,0,NULL),
- (29,40,126,7,NULL,NULL,1,NULL,0,0,NULL),
- (30,113,40,2,NULL,NULL,1,NULL,0,0,NULL),
- (31,142,132,1,NULL,NULL,1,NULL,0,0,NULL),
- (32,135,132,1,NULL,NULL,1,NULL,0,0,NULL),
- (33,142,140,1,NULL,NULL,1,NULL,0,0,NULL),
- (34,135,140,1,NULL,NULL,1,NULL,0,0,NULL),
- (35,135,142,4,NULL,NULL,1,NULL,0,0,NULL),
- (36,140,180,8,NULL,NULL,1,NULL,0,0,NULL),
- (37,142,180,8,NULL,NULL,1,NULL,0,0,NULL),
- (38,135,180,8,NULL,NULL,1,NULL,0,0,NULL),
- (39,132,180,7,NULL,NULL,1,NULL,0,0,NULL),
- (40,140,132,2,NULL,NULL,1,NULL,0,0,NULL),
- (41,102,111,1,NULL,NULL,1,NULL,0,0,NULL),
- (42,29,111,1,NULL,NULL,1,NULL,0,0,NULL),
- (43,102,116,1,NULL,NULL,1,NULL,0,0,NULL),
- (44,29,116,1,NULL,NULL,1,NULL,0,0,NULL),
- (45,29,102,4,NULL,NULL,1,NULL,0,0,NULL),
- (46,116,28,8,NULL,NULL,1,NULL,0,0,NULL),
- (47,102,28,8,NULL,NULL,1,NULL,0,0,NULL),
- (48,29,28,8,NULL,NULL,1,NULL,0,0,NULL),
- (49,111,28,7,NULL,NULL,1,NULL,0,0,NULL),
- (50,116,111,2,NULL,NULL,1,NULL,0,0,NULL),
- (51,183,95,1,NULL,NULL,1,NULL,0,0,NULL),
- (52,24,95,1,NULL,NULL,1,NULL,0,0,NULL),
- (53,183,195,1,NULL,NULL,1,NULL,0,0,NULL),
- (54,24,195,1,NULL,NULL,1,NULL,0,0,NULL),
- (55,24,183,4,NULL,NULL,1,NULL,0,0,NULL),
- (56,195,155,8,NULL,NULL,1,NULL,0,0,NULL),
- (57,183,155,8,NULL,NULL,1,NULL,0,0,NULL),
- (58,24,155,8,NULL,NULL,1,NULL,0,0,NULL),
- (59,95,155,7,NULL,NULL,0,NULL,0,0,NULL),
- (60,195,95,2,NULL,NULL,0,NULL,0,0,NULL),
- (61,30,104,1,NULL,NULL,1,NULL,0,0,NULL),
- (62,47,104,1,NULL,NULL,1,NULL,0,0,NULL),
- (63,30,124,1,NULL,NULL,1,NULL,0,0,NULL),
- (64,47,124,1,NULL,NULL,1,NULL,0,0,NULL),
- (65,47,30,4,NULL,NULL,1,NULL,0,0,NULL),
- (66,124,60,8,NULL,NULL,1,NULL,0,0,NULL),
- (67,30,60,8,NULL,NULL,1,NULL,0,0,NULL),
- (68,47,60,8,NULL,NULL,1,NULL,0,0,NULL),
- (69,104,60,7,NULL,NULL,0,NULL,0,0,NULL),
- (70,124,104,2,NULL,NULL,0,NULL,0,0,NULL),
- (71,175,99,1,NULL,NULL,1,NULL,0,0,NULL),
- (72,94,99,1,NULL,NULL,1,NULL,0,0,NULL),
- (73,175,77,1,NULL,NULL,1,NULL,0,0,NULL),
- (74,94,77,1,NULL,NULL,1,NULL,0,0,NULL),
- (75,94,175,4,NULL,NULL,1,NULL,0,0,NULL),
- (76,77,70,8,NULL,NULL,1,NULL,0,0,NULL),
- (77,175,70,8,NULL,NULL,1,NULL,0,0,NULL),
- (78,94,70,8,NULL,NULL,1,NULL,0,0,NULL),
- (79,99,70,7,NULL,NULL,1,NULL,0,0,NULL),
- (80,77,99,2,NULL,NULL,1,NULL,0,0,NULL),
- (81,148,80,1,NULL,NULL,1,NULL,0,0,NULL),
- (82,187,80,1,NULL,NULL,1,NULL,0,0,NULL),
- (83,148,82,1,NULL,NULL,1,NULL,0,0,NULL),
- (84,187,82,1,NULL,NULL,1,NULL,0,0,NULL),
- (85,187,148,4,NULL,NULL,1,NULL,0,0,NULL),
- (86,82,97,8,NULL,NULL,1,NULL,0,0,NULL),
- (87,148,97,8,NULL,NULL,1,NULL,0,0,NULL),
- (88,187,97,8,NULL,NULL,1,NULL,0,0,NULL),
- (89,80,97,7,NULL,NULL,0,NULL,0,0,NULL),
- (90,82,80,2,NULL,NULL,0,NULL,0,0,NULL),
- (91,105,193,1,NULL,NULL,1,NULL,0,0,NULL),
- (92,22,193,1,NULL,NULL,1,NULL,0,0,NULL),
- (93,105,145,1,NULL,NULL,1,NULL,0,0,NULL),
- (94,22,145,1,NULL,NULL,1,NULL,0,0,NULL),
- (95,22,105,4,NULL,NULL,1,NULL,0,0,NULL),
- (96,145,17,8,NULL,NULL,1,NULL,0,0,NULL),
- (97,105,17,8,NULL,NULL,1,NULL,0,0,NULL),
- (98,22,17,8,NULL,NULL,1,NULL,0,0,NULL),
- (99,193,17,7,NULL,NULL,0,NULL,0,0,NULL),
- (100,145,193,2,NULL,NULL,0,NULL,0,0,NULL),
- (101,141,43,1,NULL,NULL,1,NULL,0,0,NULL),
- (102,150,43,1,NULL,NULL,1,NULL,0,0,NULL),
- (103,141,88,1,NULL,NULL,1,NULL,0,0,NULL),
- (104,150,88,1,NULL,NULL,1,NULL,0,0,NULL),
- (105,150,141,4,NULL,NULL,1,NULL,0,0,NULL),
- (106,88,147,8,NULL,NULL,1,NULL,0,0,NULL),
- (107,141,147,8,NULL,NULL,1,NULL,0,0,NULL),
- (108,150,147,8,NULL,NULL,1,NULL,0,0,NULL),
- (109,43,147,7,NULL,NULL,0,NULL,0,0,NULL),
- (110,88,43,2,NULL,NULL,0,NULL,0,0,NULL),
- (111,56,106,1,NULL,NULL,1,NULL,0,0,NULL),
- (112,200,106,1,NULL,NULL,1,NULL,0,0,NULL),
- (113,56,136,1,NULL,NULL,1,NULL,0,0,NULL),
- (114,200,136,1,NULL,NULL,1,NULL,0,0,NULL),
- (115,200,56,4,NULL,NULL,1,NULL,0,0,NULL),
- (116,136,63,8,NULL,NULL,1,NULL,0,0,NULL),
- (117,56,63,8,NULL,NULL,1,NULL,0,0,NULL),
- (118,200,63,8,NULL,NULL,1,NULL,0,0,NULL),
- (119,106,63,7,NULL,NULL,1,NULL,0,0,NULL),
- (120,136,106,2,NULL,NULL,1,NULL,0,0,NULL),
- (121,112,114,1,NULL,NULL,1,NULL,0,0,NULL),
- (122,197,114,1,NULL,NULL,1,NULL,0,0,NULL),
- (123,112,152,1,NULL,NULL,1,NULL,0,0,NULL),
- (124,197,152,1,NULL,NULL,1,NULL,0,0,NULL),
- (125,197,112,4,NULL,NULL,1,NULL,0,0,NULL),
- (126,152,167,8,NULL,NULL,1,NULL,0,0,NULL),
- (127,112,167,8,NULL,NULL,1,NULL,0,0,NULL),
- (128,197,167,8,NULL,NULL,1,NULL,0,0,NULL),
- (129,114,167,7,NULL,NULL,1,NULL,0,0,NULL),
- (130,152,114,2,NULL,NULL,1,NULL,0,0,NULL),
- (131,76,170,1,NULL,NULL,1,NULL,0,0,NULL),
- (132,15,170,1,NULL,NULL,1,NULL,0,0,NULL),
- (133,76,166,1,NULL,NULL,1,NULL,0,0,NULL),
- (134,15,166,1,NULL,NULL,1,NULL,0,0,NULL),
- (135,15,76,4,NULL,NULL,1,NULL,0,0,NULL),
- (136,166,161,8,NULL,NULL,1,NULL,0,0,NULL),
- (137,76,161,8,NULL,NULL,1,NULL,0,0,NULL),
- (138,15,161,8,NULL,NULL,1,NULL,0,0,NULL),
- (139,170,161,7,NULL,NULL,1,NULL,0,0,NULL),
- (140,166,170,2,NULL,NULL,1,NULL,0,0,NULL),
- (141,158,133,1,NULL,NULL,1,NULL,0,0,NULL),
- (142,134,133,1,NULL,NULL,1,NULL,0,0,NULL),
- (143,158,7,1,NULL,NULL,1,NULL,0,0,NULL),
- (144,134,7,1,NULL,NULL,1,NULL,0,0,NULL),
- (145,134,158,4,NULL,NULL,1,NULL,0,0,NULL),
- (146,7,39,8,NULL,NULL,1,NULL,0,0,NULL),
- (147,158,39,8,NULL,NULL,1,NULL,0,0,NULL),
- (148,134,39,8,NULL,NULL,1,NULL,0,0,NULL),
- (149,133,39,7,NULL,NULL,0,NULL,0,0,NULL),
- (150,7,133,2,NULL,NULL,0,NULL,0,0,NULL),
- (151,164,151,1,NULL,NULL,1,NULL,0,0,NULL),
- (152,54,151,1,NULL,NULL,1,NULL,0,0,NULL),
- (153,164,129,1,NULL,NULL,1,NULL,0,0,NULL),
- (154,54,129,1,NULL,NULL,1,NULL,0,0,NULL),
- (155,54,164,4,NULL,NULL,1,NULL,0,0,NULL),
- (156,129,109,8,NULL,NULL,1,NULL,0,0,NULL),
- (157,164,109,8,NULL,NULL,1,NULL,0,0,NULL),
- (158,54,109,8,NULL,NULL,1,NULL,0,0,NULL),
- (159,151,109,7,NULL,NULL,1,NULL,0,0,NULL),
- (160,129,151,2,NULL,NULL,1,NULL,0,0,NULL),
- (161,165,8,1,NULL,NULL,1,NULL,0,0,NULL),
- (162,153,8,1,NULL,NULL,1,NULL,0,0,NULL),
- (163,165,198,1,NULL,NULL,1,NULL,0,0,NULL),
- (164,153,198,1,NULL,NULL,1,NULL,0,0,NULL),
- (165,153,165,4,NULL,NULL,1,NULL,0,0,NULL),
- (166,198,171,8,NULL,NULL,1,NULL,0,0,NULL),
- (167,165,171,8,NULL,NULL,1,NULL,0,0,NULL),
- (168,153,171,8,NULL,NULL,1,NULL,0,0,NULL),
- (169,8,171,7,NULL,NULL,1,NULL,0,0,NULL),
- (170,198,8,2,NULL,NULL,1,NULL,0,0,NULL),
- (171,119,52,1,NULL,NULL,1,NULL,0,0,NULL),
- (172,9,52,1,NULL,NULL,1,NULL,0,0,NULL),
- (173,119,120,1,NULL,NULL,1,NULL,0,0,NULL),
- (174,9,120,1,NULL,NULL,1,NULL,0,0,NULL),
- (175,9,119,4,NULL,NULL,1,NULL,0,0,NULL),
- (176,120,159,8,NULL,NULL,1,NULL,0,0,NULL),
- (177,119,159,8,NULL,NULL,1,NULL,0,0,NULL),
- (178,9,159,8,NULL,NULL,1,NULL,0,0,NULL),
- (179,52,159,7,NULL,NULL,1,NULL,0,0,NULL),
- (180,120,52,2,NULL,NULL,1,NULL,0,0,NULL),
- (181,131,139,1,NULL,NULL,1,NULL,0,0,NULL),
- (182,73,139,1,NULL,NULL,1,NULL,0,0,NULL),
- (183,131,86,1,NULL,NULL,1,NULL,0,0,NULL),
- (184,73,86,1,NULL,NULL,1,NULL,0,0,NULL),
- (185,73,131,4,NULL,NULL,1,NULL,0,0,NULL),
- (186,86,12,8,NULL,NULL,1,NULL,0,0,NULL),
- (187,131,12,8,NULL,NULL,1,NULL,0,0,NULL),
- (188,73,12,8,NULL,NULL,1,NULL,0,0,NULL),
- (189,139,12,7,NULL,NULL,1,NULL,0,0,NULL),
- (190,86,139,2,NULL,NULL,1,NULL,0,0,NULL),
- (191,121,66,1,NULL,NULL,1,NULL,0,0,NULL),
- (192,172,66,1,NULL,NULL,1,NULL,0,0,NULL),
- (193,121,137,1,NULL,NULL,1,NULL,0,0,NULL),
- (194,172,137,1,NULL,NULL,1,NULL,0,0,NULL),
- (195,172,121,4,NULL,NULL,1,NULL,0,0,NULL),
- (196,137,188,8,NULL,NULL,1,NULL,0,0,NULL),
- (197,121,188,8,NULL,NULL,1,NULL,0,0,NULL),
- (198,172,188,8,NULL,NULL,1,NULL,0,0,NULL),
- (199,66,188,7,NULL,NULL,0,NULL,0,0,NULL),
- (200,137,66,2,NULL,NULL,0,NULL,0,0,NULL),
- (201,66,4,5,NULL,NULL,1,NULL,0,0,NULL),
- (202,53,6,5,NULL,NULL,1,NULL,0,0,NULL),
- (203,16,36,5,NULL,NULL,1,NULL,0,0,NULL),
- (204,153,61,5,NULL,NULL,1,NULL,0,0,NULL),
- (205,73,69,5,NULL,NULL,1,NULL,0,0,NULL),
- (206,100,72,5,NULL,NULL,1,NULL,0,0,NULL),
- (207,78,74,5,NULL,NULL,1,NULL,0,0,NULL),
- (208,3,79,5,NULL,NULL,1,NULL,0,0,NULL),
- (209,41,87,5,NULL,NULL,1,NULL,0,0,NULL),
- (210,170,143,5,NULL,NULL,1,NULL,0,0,NULL),
- (211,18,168,5,NULL,NULL,1,NULL,0,0,NULL),
- (212,47,174,5,NULL,NULL,1,NULL,0,0,NULL),
- (213,59,181,5,NULL,NULL,1,NULL,0,0,NULL),
- (214,138,182,5,NULL,NULL,1,NULL,0,0,NULL);
+ (1,130,167,1,NULL,NULL,1,NULL,0,0,NULL),
+ (2,197,167,1,NULL,NULL,1,NULL,0,0,NULL),
+ (3,130,103,1,NULL,NULL,1,NULL,0,0,NULL),
+ (4,197,103,1,NULL,NULL,1,NULL,0,0,NULL),
+ (5,197,130,4,NULL,NULL,1,NULL,0,0,NULL),
+ (6,103,42,8,NULL,NULL,1,NULL,0,0,NULL),
+ (7,130,42,8,NULL,NULL,1,NULL,0,0,NULL),
+ (8,197,42,8,NULL,NULL,1,NULL,0,0,NULL),
+ (9,167,42,7,NULL,NULL,1,NULL,0,0,NULL),
+ (10,103,167,2,NULL,NULL,1,NULL,0,0,NULL),
+ (11,108,59,1,NULL,NULL,1,NULL,0,0,NULL),
+ (12,148,59,1,NULL,NULL,1,NULL,0,0,NULL),
+ (13,108,128,1,NULL,NULL,1,NULL,0,0,NULL),
+ (14,148,128,1,NULL,NULL,1,NULL,0,0,NULL),
+ (15,148,108,4,NULL,NULL,1,NULL,0,0,NULL),
+ (16,128,124,8,NULL,NULL,1,NULL,0,0,NULL),
+ (17,108,124,8,NULL,NULL,1,NULL,0,0,NULL),
+ (18,148,124,8,NULL,NULL,1,NULL,0,0,NULL),
+ (19,59,124,7,NULL,NULL,1,NULL,0,0,NULL),
+ (20,128,59,2,NULL,NULL,1,NULL,0,0,NULL),
+ (21,135,14,1,NULL,NULL,1,NULL,0,0,NULL),
+ (22,187,14,1,NULL,NULL,1,NULL,0,0,NULL),
+ (23,135,91,1,NULL,NULL,1,NULL,0,0,NULL),
+ (24,187,91,1,NULL,NULL,1,NULL,0,0,NULL),
+ (25,187,135,4,NULL,NULL,1,NULL,0,0,NULL),
+ (26,91,71,8,NULL,NULL,1,NULL,0,0,NULL),
+ (27,135,71,8,NULL,NULL,1,NULL,0,0,NULL),
+ (28,187,71,8,NULL,NULL,1,NULL,0,0,NULL),
+ (29,14,71,7,NULL,NULL,1,NULL,0,0,NULL),
+ (30,91,14,2,NULL,NULL,1,NULL,0,0,NULL),
+ (31,16,89,1,NULL,NULL,1,NULL,0,0,NULL),
+ (32,75,89,1,NULL,NULL,1,NULL,0,0,NULL),
+ (33,16,27,1,NULL,NULL,1,NULL,0,0,NULL),
+ (34,75,27,1,NULL,NULL,1,NULL,0,0,NULL),
+ (35,75,16,4,NULL,NULL,1,NULL,0,0,NULL),
+ (36,27,101,8,NULL,NULL,1,NULL,0,0,NULL),
+ (37,16,101,8,NULL,NULL,1,NULL,0,0,NULL),
+ (38,75,101,8,NULL,NULL,1,NULL,0,0,NULL),
+ (39,89,101,7,NULL,NULL,1,NULL,0,0,NULL),
+ (40,27,89,2,NULL,NULL,1,NULL,0,0,NULL),
+ (41,175,149,1,NULL,NULL,1,NULL,0,0,NULL),
+ (42,169,149,1,NULL,NULL,1,NULL,0,0,NULL),
+ (43,175,7,1,NULL,NULL,1,NULL,0,0,NULL),
+ (44,169,7,1,NULL,NULL,1,NULL,0,0,NULL),
+ (45,169,175,4,NULL,NULL,1,NULL,0,0,NULL),
+ (46,7,47,8,NULL,NULL,1,NULL,0,0,NULL),
+ (47,175,47,8,NULL,NULL,1,NULL,0,0,NULL),
+ (48,169,47,8,NULL,NULL,1,NULL,0,0,NULL),
+ (49,149,47,7,NULL,NULL,1,NULL,0,0,NULL),
+ (50,7,149,2,NULL,NULL,1,NULL,0,0,NULL),
+ (51,158,97,1,NULL,NULL,1,NULL,0,0,NULL),
+ (52,185,97,1,NULL,NULL,1,NULL,0,0,NULL),
+ (53,158,63,1,NULL,NULL,1,NULL,0,0,NULL),
+ (54,185,63,1,NULL,NULL,1,NULL,0,0,NULL),
+ (55,185,158,4,NULL,NULL,1,NULL,0,0,NULL),
+ (56,63,28,8,NULL,NULL,1,NULL,0,0,NULL),
+ (57,158,28,8,NULL,NULL,1,NULL,0,0,NULL),
+ (58,185,28,8,NULL,NULL,1,NULL,0,0,NULL),
+ (59,97,28,7,NULL,NULL,1,NULL,0,0,NULL),
+ (60,63,97,2,NULL,NULL,1,NULL,0,0,NULL),
+ (61,183,13,1,NULL,NULL,1,NULL,0,0,NULL),
+ (62,147,13,1,NULL,NULL,1,NULL,0,0,NULL),
+ (63,183,24,1,NULL,NULL,1,NULL,0,0,NULL),
+ (64,147,24,1,NULL,NULL,1,NULL,0,0,NULL),
+ (65,147,183,4,NULL,NULL,1,NULL,0,0,NULL),
+ (66,24,29,8,NULL,NULL,1,NULL,0,0,NULL),
+ (67,183,29,8,NULL,NULL,1,NULL,0,0,NULL),
+ (68,147,29,8,NULL,NULL,1,NULL,0,0,NULL),
+ (69,13,29,7,NULL,NULL,1,NULL,0,0,NULL),
+ (70,24,13,2,NULL,NULL,1,NULL,0,0,NULL),
+ (71,26,54,1,NULL,NULL,1,NULL,0,0,NULL),
+ (72,49,54,1,NULL,NULL,1,NULL,0,0,NULL),
+ (73,26,140,1,NULL,NULL,1,NULL,0,0,NULL),
+ (74,49,140,1,NULL,NULL,1,NULL,0,0,NULL),
+ (75,49,26,4,NULL,NULL,1,NULL,0,0,NULL),
+ (76,140,43,8,NULL,NULL,1,NULL,0,0,NULL),
+ (77,26,43,8,NULL,NULL,1,NULL,0,0,NULL),
+ (78,49,43,8,NULL,NULL,1,NULL,0,0,NULL),
+ (79,54,43,7,NULL,NULL,0,NULL,0,0,NULL),
+ (80,140,54,2,NULL,NULL,0,NULL,0,0,NULL),
+ (81,38,166,1,NULL,NULL,1,NULL,0,0,NULL),
+ (82,110,166,1,NULL,NULL,1,NULL,0,0,NULL),
+ (83,38,121,1,NULL,NULL,1,NULL,0,0,NULL),
+ (84,110,121,1,NULL,NULL,1,NULL,0,0,NULL),
+ (85,110,38,4,NULL,NULL,1,NULL,0,0,NULL),
+ (86,121,65,8,NULL,NULL,1,NULL,0,0,NULL),
+ (87,38,65,8,NULL,NULL,1,NULL,0,0,NULL),
+ (88,110,65,8,NULL,NULL,1,NULL,0,0,NULL),
+ (89,166,65,7,NULL,NULL,0,NULL,0,0,NULL),
+ (90,121,166,2,NULL,NULL,0,NULL,0,0,NULL),
+ (91,61,195,1,NULL,NULL,1,NULL,0,0,NULL),
+ (92,126,195,1,NULL,NULL,1,NULL,0,0,NULL),
+ (93,61,109,1,NULL,NULL,1,NULL,0,0,NULL),
+ (94,126,109,1,NULL,NULL,1,NULL,0,0,NULL),
+ (95,126,61,4,NULL,NULL,1,NULL,0,0,NULL),
+ (96,109,200,8,NULL,NULL,1,NULL,0,0,NULL),
+ (97,61,200,8,NULL,NULL,1,NULL,0,0,NULL),
+ (98,126,200,8,NULL,NULL,1,NULL,0,0,NULL),
+ (99,195,200,7,NULL,NULL,0,NULL,0,0,NULL),
+ (100,109,195,2,NULL,NULL,0,NULL,0,0,NULL),
+ (101,21,73,1,NULL,NULL,1,NULL,0,0,NULL),
+ (102,102,73,1,NULL,NULL,1,NULL,0,0,NULL),
+ (103,21,77,1,NULL,NULL,1,NULL,0,0,NULL),
+ (104,102,77,1,NULL,NULL,1,NULL,0,0,NULL),
+ (105,102,21,4,NULL,NULL,1,NULL,0,0,NULL),
+ (106,77,112,8,NULL,NULL,1,NULL,0,0,NULL),
+ (107,21,112,8,NULL,NULL,1,NULL,0,0,NULL),
+ (108,102,112,8,NULL,NULL,1,NULL,0,0,NULL),
+ (109,73,112,7,NULL,NULL,1,NULL,0,0,NULL),
+ (110,77,73,2,NULL,NULL,1,NULL,0,0,NULL),
+ (111,143,79,1,NULL,NULL,1,NULL,0,0,NULL),
+ (112,122,79,1,NULL,NULL,1,NULL,0,0,NULL),
+ (113,143,150,1,NULL,NULL,1,NULL,0,0,NULL),
+ (114,122,150,1,NULL,NULL,1,NULL,0,0,NULL),
+ (115,122,143,4,NULL,NULL,1,NULL,0,0,NULL),
+ (116,150,15,8,NULL,NULL,1,NULL,0,0,NULL),
+ (117,143,15,8,NULL,NULL,1,NULL,0,0,NULL),
+ (118,122,15,8,NULL,NULL,1,NULL,0,0,NULL),
+ (119,79,15,7,NULL,NULL,1,NULL,0,0,NULL),
+ (120,150,79,2,NULL,NULL,1,NULL,0,0,NULL),
+ (121,188,52,1,NULL,NULL,1,NULL,0,0,NULL),
+ (122,58,52,1,NULL,NULL,1,NULL,0,0,NULL),
+ (123,188,156,1,NULL,NULL,1,NULL,0,0,NULL),
+ (124,58,156,1,NULL,NULL,1,NULL,0,0,NULL),
+ (125,58,188,4,NULL,NULL,1,NULL,0,0,NULL),
+ (126,156,74,8,NULL,NULL,1,NULL,0,0,NULL),
+ (127,188,74,8,NULL,NULL,1,NULL,0,0,NULL),
+ (128,58,74,8,NULL,NULL,1,NULL,0,0,NULL),
+ (129,52,74,7,NULL,NULL,1,NULL,0,0,NULL),
+ (130,156,52,2,NULL,NULL,1,NULL,0,0,NULL),
+ (131,86,17,1,NULL,NULL,1,NULL,0,0,NULL),
+ (132,107,17,1,NULL,NULL,1,NULL,0,0,NULL),
+ (133,86,57,1,NULL,NULL,1,NULL,0,0,NULL),
+ (134,107,57,1,NULL,NULL,1,NULL,0,0,NULL),
+ (135,107,86,4,NULL,NULL,1,NULL,0,0,NULL),
+ (136,57,36,8,NULL,NULL,1,NULL,0,0,NULL),
+ (137,86,36,8,NULL,NULL,1,NULL,0,0,NULL),
+ (138,107,36,8,NULL,NULL,1,NULL,0,0,NULL),
+ (139,17,36,7,NULL,NULL,0,NULL,0,0,NULL),
+ (140,57,17,2,NULL,NULL,0,NULL,0,0,NULL),
+ (141,123,34,1,NULL,NULL,1,NULL,0,0,NULL),
+ (142,96,34,1,NULL,NULL,1,NULL,0,0,NULL),
+ (143,123,64,1,NULL,NULL,1,NULL,0,0,NULL),
+ (144,96,64,1,NULL,NULL,1,NULL,0,0,NULL),
+ (145,96,123,4,NULL,NULL,1,NULL,0,0,NULL),
+ (146,64,165,8,NULL,NULL,1,NULL,0,0,NULL),
+ (147,123,165,8,NULL,NULL,1,NULL,0,0,NULL),
+ (148,96,165,8,NULL,NULL,1,NULL,0,0,NULL),
+ (149,34,165,7,NULL,NULL,1,NULL,0,0,NULL),
+ (150,64,34,2,NULL,NULL,1,NULL,0,0,NULL),
+ (151,90,159,1,NULL,NULL,1,NULL,0,0,NULL),
+ (152,137,159,1,NULL,NULL,1,NULL,0,0,NULL),
+ (153,90,132,1,NULL,NULL,1,NULL,0,0,NULL),
+ (154,137,132,1,NULL,NULL,1,NULL,0,0,NULL),
+ (155,137,90,4,NULL,NULL,1,NULL,0,0,NULL),
+ (156,132,22,8,NULL,NULL,1,NULL,0,0,NULL),
+ (157,90,22,8,NULL,NULL,1,NULL,0,0,NULL),
+ (158,137,22,8,NULL,NULL,1,NULL,0,0,NULL),
+ (159,159,22,7,NULL,NULL,0,NULL,0,0,NULL),
+ (160,132,159,2,NULL,NULL,0,NULL,0,0,NULL),
+ (161,152,104,1,NULL,NULL,1,NULL,0,0,NULL),
+ (162,161,104,1,NULL,NULL,1,NULL,0,0,NULL),
+ (163,152,31,1,NULL,NULL,1,NULL,0,0,NULL),
+ (164,161,31,1,NULL,NULL,1,NULL,0,0,NULL),
+ (165,161,152,4,NULL,NULL,1,NULL,0,0,NULL),
+ (166,31,172,8,NULL,NULL,1,NULL,0,0,NULL),
+ (167,152,172,8,NULL,NULL,1,NULL,0,0,NULL),
+ (168,161,172,8,NULL,NULL,1,NULL,0,0,NULL),
+ (169,104,172,7,NULL,NULL,1,NULL,0,0,NULL),
+ (170,31,104,2,NULL,NULL,1,NULL,0,0,NULL),
+ (171,44,155,1,NULL,NULL,1,NULL,0,0,NULL),
+ (172,98,155,1,NULL,NULL,1,NULL,0,0,NULL),
+ (173,44,40,1,NULL,NULL,1,NULL,0,0,NULL),
+ (174,98,40,1,NULL,NULL,1,NULL,0,0,NULL),
+ (175,98,44,4,NULL,NULL,1,NULL,0,0,NULL),
+ (176,40,125,8,NULL,NULL,1,NULL,0,0,NULL),
+ (177,44,125,8,NULL,NULL,1,NULL,0,0,NULL),
+ (178,98,125,8,NULL,NULL,1,NULL,0,0,NULL),
+ (179,155,125,7,NULL,NULL,1,NULL,0,0,NULL),
+ (180,40,155,2,NULL,NULL,1,NULL,0,0,NULL),
+ (181,33,193,1,NULL,NULL,1,NULL,0,0,NULL),
+ (182,45,193,1,NULL,NULL,1,NULL,0,0,NULL),
+ (183,33,179,1,NULL,NULL,1,NULL,0,0,NULL),
+ (184,45,179,1,NULL,NULL,1,NULL,0,0,NULL),
+ (185,45,33,4,NULL,NULL,1,NULL,0,0,NULL),
+ (186,179,11,8,NULL,NULL,1,NULL,0,0,NULL),
+ (187,33,11,8,NULL,NULL,1,NULL,0,0,NULL),
+ (188,45,11,8,NULL,NULL,1,NULL,0,0,NULL),
+ (189,193,11,7,NULL,NULL,1,NULL,0,0,NULL),
+ (190,179,193,2,NULL,NULL,1,NULL,0,0,NULL),
+ (191,106,9,1,NULL,NULL,1,NULL,0,0,NULL),
+ (192,164,9,1,NULL,NULL,1,NULL,0,0,NULL),
+ (193,106,23,1,NULL,NULL,1,NULL,0,0,NULL),
+ (194,164,23,1,NULL,NULL,1,NULL,0,0,NULL),
+ (195,164,106,4,NULL,NULL,1,NULL,0,0,NULL),
+ (196,23,138,8,NULL,NULL,1,NULL,0,0,NULL),
+ (197,106,138,8,NULL,NULL,1,NULL,0,0,NULL),
+ (198,164,138,8,NULL,NULL,1,NULL,0,0,NULL),
+ (199,9,138,7,NULL,NULL,1,NULL,0,0,NULL),
+ (200,23,9,2,NULL,NULL,1,NULL,0,0,NULL),
+ (201,60,8,5,NULL,NULL,1,NULL,0,0,NULL),
+ (202,113,19,5,NULL,NULL,1,NULL,0,0,NULL),
+ (203,107,37,5,NULL,NULL,1,NULL,0,0,NULL),
+ (204,189,41,5,NULL,NULL,1,NULL,0,0,NULL),
+ (205,77,46,5,NULL,NULL,1,NULL,0,0,NULL),
+ (206,84,51,5,NULL,NULL,1,NULL,0,0,NULL),
+ (207,119,66,5,NULL,NULL,1,NULL,0,0,NULL),
+ (208,90,67,5,NULL,NULL,1,NULL,0,0,NULL),
+ (209,160,78,5,NULL,NULL,1,NULL,0,0,NULL),
+ (210,96,120,5,NULL,NULL,1,NULL,0,0,NULL),
+ (211,61,129,5,NULL,NULL,1,NULL,0,0,NULL),
+ (212,88,146,5,NULL,NULL,1,NULL,0,0,NULL),
+ (213,185,163,5,NULL,NULL,1,NULL,0,0,NULL),
+ (214,44,178,5,NULL,NULL,1,NULL,0,0,NULL),
+ (215,177,190,5,NULL,NULL,1,NULL,0,0,NULL);
 /*!40000 ALTER TABLE `civicrm_relationship` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -7296,434 +7289,436 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_relationship_cache` WRITE;
 /*!40000 ALTER TABLE `civicrm_relationship_cache` DISABLE KEYS */;
 INSERT INTO `civicrm_relationship_cache` (`id`, `relationship_id`, `relationship_type_id`, `orientation`, `near_contact_id`, `near_relation`, `far_contact_id`, `far_relation`, `is_active`, `start_date`, `end_date`) VALUES
- (1,1,1,'a_b',130,'Child of',35,'Parent of',1,NULL,NULL),
- (2,1,1,'b_a',35,'Parent of',130,'Child of',1,NULL,NULL),
- (3,2,1,'a_b',55,'Child of',35,'Parent of',1,NULL,NULL),
- (4,2,1,'b_a',35,'Parent of',55,'Child of',1,NULL,NULL),
- (5,3,1,'a_b',130,'Child of',92,'Parent of',1,NULL,NULL),
- (6,3,1,'b_a',92,'Parent of',130,'Child of',1,NULL,NULL),
- (7,4,1,'a_b',55,'Child of',92,'Parent of',1,NULL,NULL),
- (8,4,1,'b_a',92,'Parent of',55,'Child of',1,NULL,NULL),
- (9,5,4,'a_b',55,'Sibling of',130,'Sibling of',1,NULL,NULL),
- (10,5,4,'b_a',130,'Sibling of',55,'Sibling of',1,NULL,NULL),
- (11,6,8,'a_b',92,'Household Member of',51,'Household Member is',1,NULL,NULL),
- (12,6,8,'b_a',51,'Household Member is',92,'Household Member of',1,NULL,NULL),
- (13,7,8,'a_b',130,'Household Member of',51,'Household Member is',1,NULL,NULL),
- (14,7,8,'b_a',51,'Household Member is',130,'Household Member of',1,NULL,NULL),
- (15,8,8,'a_b',55,'Household Member of',51,'Household Member is',1,NULL,NULL),
- (16,8,8,'b_a',51,'Household Member is',55,'Household Member of',1,NULL,NULL),
- (17,9,7,'a_b',35,'Head of Household for',51,'Head of Household is',1,NULL,NULL),
- (18,9,7,'b_a',51,'Head of Household is',35,'Head of Household for',1,NULL,NULL),
- (19,10,2,'a_b',92,'Spouse of',35,'Spouse of',1,NULL,NULL),
- (20,10,2,'b_a',35,'Spouse of',92,'Spouse of',1,NULL,NULL),
- (21,11,1,'a_b',123,'Child of',3,'Parent of',1,NULL,NULL),
- (22,11,1,'b_a',3,'Parent of',123,'Child of',1,NULL,NULL),
- (23,12,1,'a_b',108,'Child of',3,'Parent of',1,NULL,NULL),
- (24,12,1,'b_a',3,'Parent of',108,'Child of',1,NULL,NULL),
- (25,13,1,'a_b',123,'Child of',42,'Parent of',1,NULL,NULL),
- (26,13,1,'b_a',42,'Parent of',123,'Child of',1,NULL,NULL),
- (27,14,1,'a_b',108,'Child of',42,'Parent of',1,NULL,NULL),
- (28,14,1,'b_a',42,'Parent of',108,'Child of',1,NULL,NULL),
- (29,15,4,'a_b',108,'Sibling of',123,'Sibling of',1,NULL,NULL),
- (30,15,4,'b_a',123,'Sibling of',108,'Sibling of',1,NULL,NULL),
- (31,16,8,'a_b',42,'Household Member of',62,'Household Member is',1,NULL,NULL),
- (32,16,8,'b_a',62,'Household Member is',42,'Household Member of',1,NULL,NULL),
- (33,17,8,'a_b',123,'Household Member of',62,'Household Member is',1,NULL,NULL),
- (34,17,8,'b_a',62,'Household Member is',123,'Household Member of',1,NULL,NULL),
- (35,18,8,'a_b',108,'Household Member of',62,'Household Member is',1,NULL,NULL),
- (36,18,8,'b_a',62,'Household Member is',108,'Household Member of',1,NULL,NULL),
- (37,19,7,'a_b',3,'Head of Household for',62,'Head of Household is',1,NULL,NULL),
- (38,19,7,'b_a',62,'Head of Household is',3,'Head of Household for',1,NULL,NULL),
- (39,20,2,'a_b',42,'Spouse of',3,'Spouse of',1,NULL,NULL),
- (40,20,2,'b_a',3,'Spouse of',42,'Spouse of',1,NULL,NULL),
- (41,21,1,'a_b',118,'Child of',40,'Parent of',1,NULL,NULL),
- (42,21,1,'b_a',40,'Parent of',118,'Child of',1,NULL,NULL),
- (43,22,1,'a_b',101,'Child of',40,'Parent of',1,NULL,NULL),
- (44,22,1,'b_a',40,'Parent of',101,'Child of',1,NULL,NULL),
- (45,23,1,'a_b',118,'Child of',113,'Parent of',1,NULL,NULL),
- (46,23,1,'b_a',113,'Parent of',118,'Child of',1,NULL,NULL),
- (47,24,1,'a_b',101,'Child of',113,'Parent of',1,NULL,NULL),
- (48,24,1,'b_a',113,'Parent of',101,'Child of',1,NULL,NULL),
- (49,25,4,'a_b',101,'Sibling of',118,'Sibling of',1,NULL,NULL),
- (50,25,4,'b_a',118,'Sibling of',101,'Sibling of',1,NULL,NULL),
- (51,26,8,'a_b',113,'Household Member of',126,'Household Member is',1,NULL,NULL),
- (52,26,8,'b_a',126,'Household Member is',113,'Household Member of',1,NULL,NULL),
- (53,27,8,'a_b',118,'Household Member of',126,'Household Member is',1,NULL,NULL),
- (54,27,8,'b_a',126,'Household Member is',118,'Household Member of',1,NULL,NULL),
- (55,28,8,'a_b',101,'Household Member of',126,'Household Member is',1,NULL,NULL),
- (56,28,8,'b_a',126,'Household Member is',101,'Household Member of',1,NULL,NULL),
- (57,29,7,'a_b',40,'Head of Household for',126,'Head of Household is',1,NULL,NULL),
- (58,29,7,'b_a',126,'Head of Household is',40,'Head of Household for',1,NULL,NULL),
- (59,30,2,'a_b',113,'Spouse of',40,'Spouse of',1,NULL,NULL),
- (60,30,2,'b_a',40,'Spouse of',113,'Spouse of',1,NULL,NULL),
- (61,31,1,'a_b',142,'Child of',132,'Parent of',1,NULL,NULL),
- (62,31,1,'b_a',132,'Parent of',142,'Child of',1,NULL,NULL),
- (63,32,1,'a_b',135,'Child of',132,'Parent of',1,NULL,NULL),
- (64,32,1,'b_a',132,'Parent of',135,'Child of',1,NULL,NULL),
- (65,33,1,'a_b',142,'Child of',140,'Parent of',1,NULL,NULL),
- (66,33,1,'b_a',140,'Parent of',142,'Child of',1,NULL,NULL),
- (67,34,1,'a_b',135,'Child of',140,'Parent of',1,NULL,NULL),
- (68,34,1,'b_a',140,'Parent of',135,'Child of',1,NULL,NULL),
- (69,35,4,'a_b',135,'Sibling of',142,'Sibling of',1,NULL,NULL),
- (70,35,4,'b_a',142,'Sibling of',135,'Sibling of',1,NULL,NULL),
- (71,36,8,'a_b',140,'Household Member of',180,'Household Member is',1,NULL,NULL),
- (72,36,8,'b_a',180,'Household Member is',140,'Household Member of',1,NULL,NULL),
- (73,37,8,'a_b',142,'Household Member of',180,'Household Member is',1,NULL,NULL),
- (74,37,8,'b_a',180,'Household Member is',142,'Household Member of',1,NULL,NULL),
- (75,38,8,'a_b',135,'Household Member of',180,'Household Member is',1,NULL,NULL),
- (76,38,8,'b_a',180,'Household Member is',135,'Household Member of',1,NULL,NULL),
- (77,39,7,'a_b',132,'Head of Household for',180,'Head of Household is',1,NULL,NULL),
- (78,39,7,'b_a',180,'Head of Household is',132,'Head of Household for',1,NULL,NULL),
- (79,40,2,'a_b',140,'Spouse of',132,'Spouse of',1,NULL,NULL),
- (80,40,2,'b_a',132,'Spouse of',140,'Spouse of',1,NULL,NULL),
- (81,41,1,'a_b',102,'Child of',111,'Parent of',1,NULL,NULL),
- (82,41,1,'b_a',111,'Parent of',102,'Child of',1,NULL,NULL),
- (83,42,1,'a_b',29,'Child of',111,'Parent of',1,NULL,NULL),
- (84,42,1,'b_a',111,'Parent of',29,'Child of',1,NULL,NULL),
- (85,43,1,'a_b',102,'Child of',116,'Parent of',1,NULL,NULL),
- (86,43,1,'b_a',116,'Parent of',102,'Child of',1,NULL,NULL),
- (87,44,1,'a_b',29,'Child of',116,'Parent of',1,NULL,NULL),
- (88,44,1,'b_a',116,'Parent of',29,'Child of',1,NULL,NULL),
- (89,45,4,'a_b',29,'Sibling of',102,'Sibling of',1,NULL,NULL),
- (90,45,4,'b_a',102,'Sibling of',29,'Sibling of',1,NULL,NULL),
- (91,46,8,'a_b',116,'Household Member of',28,'Household Member is',1,NULL,NULL),
- (92,46,8,'b_a',28,'Household Member is',116,'Household Member of',1,NULL,NULL),
- (93,47,8,'a_b',102,'Household Member of',28,'Household Member is',1,NULL,NULL),
- (94,47,8,'b_a',28,'Household Member is',102,'Household Member of',1,NULL,NULL),
- (95,48,8,'a_b',29,'Household Member of',28,'Household Member is',1,NULL,NULL),
- (96,48,8,'b_a',28,'Household Member is',29,'Household Member of',1,NULL,NULL),
- (97,49,7,'a_b',111,'Head of Household for',28,'Head of Household is',1,NULL,NULL),
- (98,49,7,'b_a',28,'Head of Household is',111,'Head of Household for',1,NULL,NULL),
- (99,50,2,'a_b',116,'Spouse of',111,'Spouse of',1,NULL,NULL),
- (100,50,2,'b_a',111,'Spouse of',116,'Spouse of',1,NULL,NULL),
- (101,51,1,'a_b',183,'Child of',95,'Parent of',1,NULL,NULL),
- (102,51,1,'b_a',95,'Parent of',183,'Child of',1,NULL,NULL),
- (103,52,1,'a_b',24,'Child of',95,'Parent of',1,NULL,NULL),
- (104,52,1,'b_a',95,'Parent of',24,'Child of',1,NULL,NULL),
- (105,53,1,'a_b',183,'Child of',195,'Parent of',1,NULL,NULL),
- (106,53,1,'b_a',195,'Parent of',183,'Child of',1,NULL,NULL),
- (107,54,1,'a_b',24,'Child of',195,'Parent of',1,NULL,NULL),
- (108,54,1,'b_a',195,'Parent of',24,'Child of',1,NULL,NULL),
- (109,55,4,'a_b',24,'Sibling of',183,'Sibling of',1,NULL,NULL),
- (110,55,4,'b_a',183,'Sibling of',24,'Sibling of',1,NULL,NULL),
- (111,56,8,'a_b',195,'Household Member of',155,'Household Member is',1,NULL,NULL),
- (112,56,8,'b_a',155,'Household Member is',195,'Household Member of',1,NULL,NULL),
- (113,57,8,'a_b',183,'Household Member of',155,'Household Member is',1,NULL,NULL),
- (114,57,8,'b_a',155,'Household Member is',183,'Household Member of',1,NULL,NULL),
- (115,58,8,'a_b',24,'Household Member of',155,'Household Member is',1,NULL,NULL),
- (116,58,8,'b_a',155,'Household Member is',24,'Household Member of',1,NULL,NULL),
- (117,59,7,'a_b',95,'Head of Household for',155,'Head of Household is',0,NULL,NULL),
- (118,59,7,'b_a',155,'Head of Household is',95,'Head of Household for',0,NULL,NULL),
- (119,60,2,'a_b',195,'Spouse of',95,'Spouse of',0,NULL,NULL),
- (120,60,2,'b_a',95,'Spouse of',195,'Spouse of',0,NULL,NULL),
- (121,61,1,'a_b',30,'Child of',104,'Parent of',1,NULL,NULL),
- (122,61,1,'b_a',104,'Parent of',30,'Child of',1,NULL,NULL),
- (123,62,1,'a_b',47,'Child of',104,'Parent of',1,NULL,NULL),
- (124,62,1,'b_a',104,'Parent of',47,'Child of',1,NULL,NULL),
- (125,63,1,'a_b',30,'Child of',124,'Parent of',1,NULL,NULL),
- (126,63,1,'b_a',124,'Parent of',30,'Child of',1,NULL,NULL),
- (127,64,1,'a_b',47,'Child of',124,'Parent of',1,NULL,NULL),
- (128,64,1,'b_a',124,'Parent of',47,'Child of',1,NULL,NULL),
- (129,65,4,'a_b',47,'Sibling of',30,'Sibling of',1,NULL,NULL),
- (130,65,4,'b_a',30,'Sibling of',47,'Sibling of',1,NULL,NULL),
- (131,66,8,'a_b',124,'Household Member of',60,'Household Member is',1,NULL,NULL),
- (132,66,8,'b_a',60,'Household Member is',124,'Household Member of',1,NULL,NULL),
- (133,67,8,'a_b',30,'Household Member of',60,'Household Member is',1,NULL,NULL),
- (134,67,8,'b_a',60,'Household Member is',30,'Household Member of',1,NULL,NULL),
- (135,68,8,'a_b',47,'Household Member of',60,'Household Member is',1,NULL,NULL),
- (136,68,8,'b_a',60,'Household Member is',47,'Household Member of',1,NULL,NULL),
- (137,69,7,'a_b',104,'Head of Household for',60,'Head of Household is',0,NULL,NULL),
- (138,69,7,'b_a',60,'Head of Household is',104,'Head of Household for',0,NULL,NULL),
- (139,70,2,'a_b',124,'Spouse of',104,'Spouse of',0,NULL,NULL),
- (140,70,2,'b_a',104,'Spouse of',124,'Spouse of',0,NULL,NULL),
- (141,71,1,'a_b',175,'Child of',99,'Parent of',1,NULL,NULL),
- (142,71,1,'b_a',99,'Parent of',175,'Child of',1,NULL,NULL),
- (143,72,1,'a_b',94,'Child of',99,'Parent of',1,NULL,NULL),
- (144,72,1,'b_a',99,'Parent of',94,'Child of',1,NULL,NULL),
- (145,73,1,'a_b',175,'Child of',77,'Parent of',1,NULL,NULL),
- (146,73,1,'b_a',77,'Parent of',175,'Child of',1,NULL,NULL),
- (147,74,1,'a_b',94,'Child of',77,'Parent of',1,NULL,NULL),
- (148,74,1,'b_a',77,'Parent of',94,'Child of',1,NULL,NULL),
- (149,75,4,'a_b',94,'Sibling of',175,'Sibling of',1,NULL,NULL),
- (150,75,4,'b_a',175,'Sibling of',94,'Sibling of',1,NULL,NULL),
- (151,76,8,'a_b',77,'Household Member of',70,'Household Member is',1,NULL,NULL),
- (152,76,8,'b_a',70,'Household Member is',77,'Household Member of',1,NULL,NULL),
- (153,77,8,'a_b',175,'Household Member of',70,'Household Member is',1,NULL,NULL),
- (154,77,8,'b_a',70,'Household Member is',175,'Household Member of',1,NULL,NULL),
- (155,78,8,'a_b',94,'Household Member of',70,'Household Member is',1,NULL,NULL),
- (156,78,8,'b_a',70,'Household Member is',94,'Household Member of',1,NULL,NULL),
- (157,79,7,'a_b',99,'Head of Household for',70,'Head of Household is',1,NULL,NULL),
- (158,79,7,'b_a',70,'Head of Household is',99,'Head of Household for',1,NULL,NULL),
- (159,80,2,'a_b',77,'Spouse of',99,'Spouse of',1,NULL,NULL),
- (160,80,2,'b_a',99,'Spouse of',77,'Spouse of',1,NULL,NULL),
- (161,81,1,'a_b',148,'Child of',80,'Parent of',1,NULL,NULL),
- (162,81,1,'b_a',80,'Parent of',148,'Child of',1,NULL,NULL),
- (163,82,1,'a_b',187,'Child of',80,'Parent of',1,NULL,NULL),
- (164,82,1,'b_a',80,'Parent of',187,'Child of',1,NULL,NULL),
- (165,83,1,'a_b',148,'Child of',82,'Parent of',1,NULL,NULL),
- (166,83,1,'b_a',82,'Parent of',148,'Child of',1,NULL,NULL),
- (167,84,1,'a_b',187,'Child of',82,'Parent of',1,NULL,NULL),
- (168,84,1,'b_a',82,'Parent of',187,'Child of',1,NULL,NULL),
- (169,85,4,'a_b',187,'Sibling of',148,'Sibling of',1,NULL,NULL),
- (170,85,4,'b_a',148,'Sibling of',187,'Sibling of',1,NULL,NULL),
- (171,86,8,'a_b',82,'Household Member of',97,'Household Member is',1,NULL,NULL),
- (172,86,8,'b_a',97,'Household Member is',82,'Household Member of',1,NULL,NULL),
- (173,87,8,'a_b',148,'Household Member of',97,'Household Member is',1,NULL,NULL),
- (174,87,8,'b_a',97,'Household Member is',148,'Household Member of',1,NULL,NULL),
- (175,88,8,'a_b',187,'Household Member of',97,'Household Member is',1,NULL,NULL),
- (176,88,8,'b_a',97,'Household Member is',187,'Household Member of',1,NULL,NULL),
- (177,89,7,'a_b',80,'Head of Household for',97,'Head of Household is',0,NULL,NULL),
- (178,89,7,'b_a',97,'Head of Household is',80,'Head of Household for',0,NULL,NULL),
- (179,90,2,'a_b',82,'Spouse of',80,'Spouse of',0,NULL,NULL),
- (180,90,2,'b_a',80,'Spouse of',82,'Spouse of',0,NULL,NULL),
- (181,91,1,'a_b',105,'Child of',193,'Parent of',1,NULL,NULL),
- (182,91,1,'b_a',193,'Parent of',105,'Child of',1,NULL,NULL),
- (183,92,1,'a_b',22,'Child of',193,'Parent of',1,NULL,NULL),
- (184,92,1,'b_a',193,'Parent of',22,'Child of',1,NULL,NULL),
- (185,93,1,'a_b',105,'Child of',145,'Parent of',1,NULL,NULL),
- (186,93,1,'b_a',145,'Parent of',105,'Child of',1,NULL,NULL),
- (187,94,1,'a_b',22,'Child of',145,'Parent of',1,NULL,NULL),
- (188,94,1,'b_a',145,'Parent of',22,'Child of',1,NULL,NULL),
- (189,95,4,'a_b',22,'Sibling of',105,'Sibling of',1,NULL,NULL),
- (190,95,4,'b_a',105,'Sibling of',22,'Sibling of',1,NULL,NULL),
- (191,96,8,'a_b',145,'Household Member of',17,'Household Member is',1,NULL,NULL),
- (192,96,8,'b_a',17,'Household Member is',145,'Household Member of',1,NULL,NULL),
- (193,97,8,'a_b',105,'Household Member of',17,'Household Member is',1,NULL,NULL),
- (194,97,8,'b_a',17,'Household Member is',105,'Household Member of',1,NULL,NULL),
- (195,98,8,'a_b',22,'Household Member of',17,'Household Member is',1,NULL,NULL),
- (196,98,8,'b_a',17,'Household Member is',22,'Household Member of',1,NULL,NULL),
- (197,99,7,'a_b',193,'Head of Household for',17,'Head of Household is',0,NULL,NULL),
- (198,99,7,'b_a',17,'Head of Household is',193,'Head of Household for',0,NULL,NULL),
- (199,100,2,'a_b',145,'Spouse of',193,'Spouse of',0,NULL,NULL),
- (200,100,2,'b_a',193,'Spouse of',145,'Spouse of',0,NULL,NULL),
- (201,101,1,'a_b',141,'Child of',43,'Parent of',1,NULL,NULL),
- (202,101,1,'b_a',43,'Parent of',141,'Child of',1,NULL,NULL),
- (203,102,1,'a_b',150,'Child of',43,'Parent of',1,NULL,NULL),
- (204,102,1,'b_a',43,'Parent of',150,'Child of',1,NULL,NULL),
- (205,103,1,'a_b',141,'Child of',88,'Parent of',1,NULL,NULL),
- (206,103,1,'b_a',88,'Parent of',141,'Child of',1,NULL,NULL),
- (207,104,1,'a_b',150,'Child of',88,'Parent of',1,NULL,NULL),
- (208,104,1,'b_a',88,'Parent of',150,'Child of',1,NULL,NULL),
- (209,105,4,'a_b',150,'Sibling of',141,'Sibling of',1,NULL,NULL),
- (210,105,4,'b_a',141,'Sibling of',150,'Sibling of',1,NULL,NULL),
- (211,106,8,'a_b',88,'Household Member of',147,'Household Member is',1,NULL,NULL),
- (212,106,8,'b_a',147,'Household Member is',88,'Household Member of',1,NULL,NULL),
- (213,107,8,'a_b',141,'Household Member of',147,'Household Member is',1,NULL,NULL),
- (214,107,8,'b_a',147,'Household Member is',141,'Household Member of',1,NULL,NULL),
- (215,108,8,'a_b',150,'Household Member of',147,'Household Member is',1,NULL,NULL),
- (216,108,8,'b_a',147,'Household Member is',150,'Household Member of',1,NULL,NULL),
- (217,109,7,'a_b',43,'Head of Household for',147,'Head of Household is',0,NULL,NULL),
- (218,109,7,'b_a',147,'Head of Household is',43,'Head of Household for',0,NULL,NULL),
- (219,110,2,'a_b',88,'Spouse of',43,'Spouse of',0,NULL,NULL),
- (220,110,2,'b_a',43,'Spouse of',88,'Spouse of',0,NULL,NULL),
- (221,111,1,'a_b',56,'Child of',106,'Parent of',1,NULL,NULL),
- (222,111,1,'b_a',106,'Parent of',56,'Child of',1,NULL,NULL),
- (223,112,1,'a_b',200,'Child of',106,'Parent of',1,NULL,NULL),
- (224,112,1,'b_a',106,'Parent of',200,'Child of',1,NULL,NULL),
- (225,113,1,'a_b',56,'Child of',136,'Parent of',1,NULL,NULL),
- (226,113,1,'b_a',136,'Parent of',56,'Child of',1,NULL,NULL),
- (227,114,1,'a_b',200,'Child of',136,'Parent of',1,NULL,NULL),
- (228,114,1,'b_a',136,'Parent of',200,'Child of',1,NULL,NULL),
- (229,115,4,'a_b',200,'Sibling of',56,'Sibling of',1,NULL,NULL),
- (230,115,4,'b_a',56,'Sibling of',200,'Sibling of',1,NULL,NULL),
- (231,116,8,'a_b',136,'Household Member of',63,'Household Member is',1,NULL,NULL),
- (232,116,8,'b_a',63,'Household Member is',136,'Household Member of',1,NULL,NULL),
- (233,117,8,'a_b',56,'Household Member of',63,'Household Member is',1,NULL,NULL),
- (234,117,8,'b_a',63,'Household Member is',56,'Household Member of',1,NULL,NULL),
- (235,118,8,'a_b',200,'Household Member of',63,'Household Member is',1,NULL,NULL),
- (236,118,8,'b_a',63,'Household Member is',200,'Household Member of',1,NULL,NULL),
- (237,119,7,'a_b',106,'Head of Household for',63,'Head of Household is',1,NULL,NULL),
- (238,119,7,'b_a',63,'Head of Household is',106,'Head of Household for',1,NULL,NULL),
- (239,120,2,'a_b',136,'Spouse of',106,'Spouse of',1,NULL,NULL),
- (240,120,2,'b_a',106,'Spouse of',136,'Spouse of',1,NULL,NULL),
- (241,121,1,'a_b',112,'Child of',114,'Parent of',1,NULL,NULL),
- (242,121,1,'b_a',114,'Parent of',112,'Child of',1,NULL,NULL),
- (243,122,1,'a_b',197,'Child of',114,'Parent of',1,NULL,NULL),
- (244,122,1,'b_a',114,'Parent of',197,'Child of',1,NULL,NULL),
- (245,123,1,'a_b',112,'Child of',152,'Parent of',1,NULL,NULL),
- (246,123,1,'b_a',152,'Parent of',112,'Child of',1,NULL,NULL),
- (247,124,1,'a_b',197,'Child of',152,'Parent of',1,NULL,NULL),
- (248,124,1,'b_a',152,'Parent of',197,'Child of',1,NULL,NULL),
- (249,125,4,'a_b',197,'Sibling of',112,'Sibling of',1,NULL,NULL),
- (250,125,4,'b_a',112,'Sibling of',197,'Sibling of',1,NULL,NULL),
- (251,126,8,'a_b',152,'Household Member of',167,'Household Member is',1,NULL,NULL),
- (252,126,8,'b_a',167,'Household Member is',152,'Household Member of',1,NULL,NULL),
- (253,127,8,'a_b',112,'Household Member of',167,'Household Member is',1,NULL,NULL),
- (254,127,8,'b_a',167,'Household Member is',112,'Household Member of',1,NULL,NULL),
- (255,128,8,'a_b',197,'Household Member of',167,'Household Member is',1,NULL,NULL),
- (256,128,8,'b_a',167,'Household Member is',197,'Household Member of',1,NULL,NULL),
- (257,129,7,'a_b',114,'Head of Household for',167,'Head of Household is',1,NULL,NULL),
- (258,129,7,'b_a',167,'Head of Household is',114,'Head of Household for',1,NULL,NULL),
- (259,130,2,'a_b',152,'Spouse of',114,'Spouse of',1,NULL,NULL),
- (260,130,2,'b_a',114,'Spouse of',152,'Spouse of',1,NULL,NULL),
- (261,131,1,'a_b',76,'Child of',170,'Parent of',1,NULL,NULL),
- (262,131,1,'b_a',170,'Parent of',76,'Child of',1,NULL,NULL),
- (263,132,1,'a_b',15,'Child of',170,'Parent of',1,NULL,NULL),
- (264,132,1,'b_a',170,'Parent of',15,'Child of',1,NULL,NULL),
- (265,133,1,'a_b',76,'Child of',166,'Parent of',1,NULL,NULL),
- (266,133,1,'b_a',166,'Parent of',76,'Child of',1,NULL,NULL),
- (267,134,1,'a_b',15,'Child of',166,'Parent of',1,NULL,NULL),
- (268,134,1,'b_a',166,'Parent of',15,'Child of',1,NULL,NULL),
- (269,135,4,'a_b',15,'Sibling of',76,'Sibling of',1,NULL,NULL),
- (270,135,4,'b_a',76,'Sibling of',15,'Sibling of',1,NULL,NULL),
- (271,136,8,'a_b',166,'Household Member of',161,'Household Member is',1,NULL,NULL),
- (272,136,8,'b_a',161,'Household Member is',166,'Household Member of',1,NULL,NULL),
- (273,137,8,'a_b',76,'Household Member of',161,'Household Member is',1,NULL,NULL),
- (274,137,8,'b_a',161,'Household Member is',76,'Household Member of',1,NULL,NULL),
- (275,138,8,'a_b',15,'Household Member of',161,'Household Member is',1,NULL,NULL),
- (276,138,8,'b_a',161,'Household Member is',15,'Household Member of',1,NULL,NULL),
- (277,139,7,'a_b',170,'Head of Household for',161,'Head of Household is',1,NULL,NULL),
- (278,139,7,'b_a',161,'Head of Household is',170,'Head of Household for',1,NULL,NULL),
- (279,140,2,'a_b',166,'Spouse of',170,'Spouse of',1,NULL,NULL),
- (280,140,2,'b_a',170,'Spouse of',166,'Spouse of',1,NULL,NULL),
- (281,141,1,'a_b',158,'Child of',133,'Parent of',1,NULL,NULL),
- (282,141,1,'b_a',133,'Parent of',158,'Child of',1,NULL,NULL),
- (283,142,1,'a_b',134,'Child of',133,'Parent of',1,NULL,NULL),
- (284,142,1,'b_a',133,'Parent of',134,'Child of',1,NULL,NULL),
- (285,143,1,'a_b',158,'Child of',7,'Parent of',1,NULL,NULL),
- (286,143,1,'b_a',7,'Parent of',158,'Child of',1,NULL,NULL),
- (287,144,1,'a_b',134,'Child of',7,'Parent of',1,NULL,NULL),
- (288,144,1,'b_a',7,'Parent of',134,'Child of',1,NULL,NULL),
- (289,145,4,'a_b',134,'Sibling of',158,'Sibling of',1,NULL,NULL),
- (290,145,4,'b_a',158,'Sibling of',134,'Sibling of',1,NULL,NULL),
- (291,146,8,'a_b',7,'Household Member of',39,'Household Member is',1,NULL,NULL),
- (292,146,8,'b_a',39,'Household Member is',7,'Household Member of',1,NULL,NULL),
- (293,147,8,'a_b',158,'Household Member of',39,'Household Member is',1,NULL,NULL),
- (294,147,8,'b_a',39,'Household Member is',158,'Household Member of',1,NULL,NULL),
- (295,148,8,'a_b',134,'Household Member of',39,'Household Member is',1,NULL,NULL),
- (296,148,8,'b_a',39,'Household Member is',134,'Household Member of',1,NULL,NULL),
- (297,149,7,'a_b',133,'Head of Household for',39,'Head of Household is',0,NULL,NULL),
- (298,149,7,'b_a',39,'Head of Household is',133,'Head of Household for',0,NULL,NULL),
- (299,150,2,'a_b',7,'Spouse of',133,'Spouse of',0,NULL,NULL),
- (300,150,2,'b_a',133,'Spouse of',7,'Spouse of',0,NULL,NULL),
- (301,151,1,'a_b',164,'Child of',151,'Parent of',1,NULL,NULL),
- (302,151,1,'b_a',151,'Parent of',164,'Child of',1,NULL,NULL),
- (303,152,1,'a_b',54,'Child of',151,'Parent of',1,NULL,NULL),
- (304,152,1,'b_a',151,'Parent of',54,'Child of',1,NULL,NULL),
- (305,153,1,'a_b',164,'Child of',129,'Parent of',1,NULL,NULL),
- (306,153,1,'b_a',129,'Parent of',164,'Child of',1,NULL,NULL),
- (307,154,1,'a_b',54,'Child of',129,'Parent of',1,NULL,NULL),
- (308,154,1,'b_a',129,'Parent of',54,'Child of',1,NULL,NULL),
- (309,155,4,'a_b',54,'Sibling of',164,'Sibling of',1,NULL,NULL),
- (310,155,4,'b_a',164,'Sibling of',54,'Sibling of',1,NULL,NULL),
- (311,156,8,'a_b',129,'Household Member of',109,'Household Member is',1,NULL,NULL),
- (312,156,8,'b_a',109,'Household Member is',129,'Household Member of',1,NULL,NULL),
- (313,157,8,'a_b',164,'Household Member of',109,'Household Member is',1,NULL,NULL),
- (314,157,8,'b_a',109,'Household Member is',164,'Household Member of',1,NULL,NULL),
- (315,158,8,'a_b',54,'Household Member of',109,'Household Member is',1,NULL,NULL),
- (316,158,8,'b_a',109,'Household Member is',54,'Household Member of',1,NULL,NULL),
- (317,159,7,'a_b',151,'Head of Household for',109,'Head of Household is',1,NULL,NULL),
- (318,159,7,'b_a',109,'Head of Household is',151,'Head of Household for',1,NULL,NULL),
- (319,160,2,'a_b',129,'Spouse of',151,'Spouse of',1,NULL,NULL),
- (320,160,2,'b_a',151,'Spouse of',129,'Spouse of',1,NULL,NULL),
- (321,161,1,'a_b',165,'Child of',8,'Parent of',1,NULL,NULL),
- (322,161,1,'b_a',8,'Parent of',165,'Child of',1,NULL,NULL),
- (323,162,1,'a_b',153,'Child of',8,'Parent of',1,NULL,NULL),
- (324,162,1,'b_a',8,'Parent of',153,'Child of',1,NULL,NULL),
- (325,163,1,'a_b',165,'Child of',198,'Parent of',1,NULL,NULL),
- (326,163,1,'b_a',198,'Parent of',165,'Child of',1,NULL,NULL),
- (327,164,1,'a_b',153,'Child of',198,'Parent of',1,NULL,NULL),
- (328,164,1,'b_a',198,'Parent of',153,'Child of',1,NULL,NULL),
- (329,165,4,'a_b',153,'Sibling of',165,'Sibling of',1,NULL,NULL),
- (330,165,4,'b_a',165,'Sibling of',153,'Sibling of',1,NULL,NULL),
- (331,166,8,'a_b',198,'Household Member of',171,'Household Member is',1,NULL,NULL),
- (332,166,8,'b_a',171,'Household Member is',198,'Household Member of',1,NULL,NULL),
- (333,167,8,'a_b',165,'Household Member of',171,'Household Member is',1,NULL,NULL),
- (334,167,8,'b_a',171,'Household Member is',165,'Household Member of',1,NULL,NULL),
- (335,168,8,'a_b',153,'Household Member of',171,'Household Member is',1,NULL,NULL),
- (336,168,8,'b_a',171,'Household Member is',153,'Household Member of',1,NULL,NULL),
- (337,169,7,'a_b',8,'Head of Household for',171,'Head of Household is',1,NULL,NULL),
- (338,169,7,'b_a',171,'Head of Household is',8,'Head of Household for',1,NULL,NULL),
- (339,170,2,'a_b',198,'Spouse of',8,'Spouse of',1,NULL,NULL),
- (340,170,2,'b_a',8,'Spouse of',198,'Spouse of',1,NULL,NULL),
- (341,171,1,'a_b',119,'Child of',52,'Parent of',1,NULL,NULL),
- (342,171,1,'b_a',52,'Parent of',119,'Child of',1,NULL,NULL),
- (343,172,1,'a_b',9,'Child of',52,'Parent of',1,NULL,NULL),
- (344,172,1,'b_a',52,'Parent of',9,'Child of',1,NULL,NULL),
- (345,173,1,'a_b',119,'Child of',120,'Parent of',1,NULL,NULL),
- (346,173,1,'b_a',120,'Parent of',119,'Child of',1,NULL,NULL),
- (347,174,1,'a_b',9,'Child of',120,'Parent of',1,NULL,NULL),
- (348,174,1,'b_a',120,'Parent of',9,'Child of',1,NULL,NULL),
- (349,175,4,'a_b',9,'Sibling of',119,'Sibling of',1,NULL,NULL),
- (350,175,4,'b_a',119,'Sibling of',9,'Sibling of',1,NULL,NULL),
- (351,176,8,'a_b',120,'Household Member of',159,'Household Member is',1,NULL,NULL),
- (352,176,8,'b_a',159,'Household Member is',120,'Household Member of',1,NULL,NULL),
- (353,177,8,'a_b',119,'Household Member of',159,'Household Member is',1,NULL,NULL),
- (354,177,8,'b_a',159,'Household Member is',119,'Household Member of',1,NULL,NULL),
- (355,178,8,'a_b',9,'Household Member of',159,'Household Member is',1,NULL,NULL),
- (356,178,8,'b_a',159,'Household Member is',9,'Household Member of',1,NULL,NULL),
- (357,179,7,'a_b',52,'Head of Household for',159,'Head of Household is',1,NULL,NULL),
- (358,179,7,'b_a',159,'Head of Household is',52,'Head of Household for',1,NULL,NULL),
- (359,180,2,'a_b',120,'Spouse of',52,'Spouse of',1,NULL,NULL),
- (360,180,2,'b_a',52,'Spouse of',120,'Spouse of',1,NULL,NULL),
- (361,181,1,'a_b',131,'Child of',139,'Parent of',1,NULL,NULL),
- (362,181,1,'b_a',139,'Parent of',131,'Child of',1,NULL,NULL),
- (363,182,1,'a_b',73,'Child of',139,'Parent of',1,NULL,NULL),
- (364,182,1,'b_a',139,'Parent of',73,'Child of',1,NULL,NULL),
- (365,183,1,'a_b',131,'Child of',86,'Parent of',1,NULL,NULL),
- (366,183,1,'b_a',86,'Parent of',131,'Child of',1,NULL,NULL),
- (367,184,1,'a_b',73,'Child of',86,'Parent of',1,NULL,NULL),
- (368,184,1,'b_a',86,'Parent of',73,'Child of',1,NULL,NULL),
- (369,185,4,'a_b',73,'Sibling of',131,'Sibling of',1,NULL,NULL),
- (370,185,4,'b_a',131,'Sibling of',73,'Sibling of',1,NULL,NULL),
- (371,186,8,'a_b',86,'Household Member of',12,'Household Member is',1,NULL,NULL),
- (372,186,8,'b_a',12,'Household Member is',86,'Household Member of',1,NULL,NULL),
- (373,187,8,'a_b',131,'Household Member of',12,'Household Member is',1,NULL,NULL),
- (374,187,8,'b_a',12,'Household Member is',131,'Household Member of',1,NULL,NULL),
- (375,188,8,'a_b',73,'Household Member of',12,'Household Member is',1,NULL,NULL),
- (376,188,8,'b_a',12,'Household Member is',73,'Household Member of',1,NULL,NULL),
- (377,189,7,'a_b',139,'Head of Household for',12,'Head of Household is',1,NULL,NULL),
- (378,189,7,'b_a',12,'Head of Household is',139,'Head of Household for',1,NULL,NULL),
- (379,190,2,'a_b',86,'Spouse of',139,'Spouse of',1,NULL,NULL),
- (380,190,2,'b_a',139,'Spouse of',86,'Spouse of',1,NULL,NULL),
- (381,191,1,'a_b',121,'Child of',66,'Parent of',1,NULL,NULL),
- (382,191,1,'b_a',66,'Parent of',121,'Child of',1,NULL,NULL),
- (383,192,1,'a_b',172,'Child of',66,'Parent of',1,NULL,NULL),
- (384,192,1,'b_a',66,'Parent of',172,'Child of',1,NULL,NULL),
- (385,193,1,'a_b',121,'Child of',137,'Parent of',1,NULL,NULL),
- (386,193,1,'b_a',137,'Parent of',121,'Child of',1,NULL,NULL),
- (387,194,1,'a_b',172,'Child of',137,'Parent of',1,NULL,NULL),
- (388,194,1,'b_a',137,'Parent of',172,'Child of',1,NULL,NULL),
- (389,195,4,'a_b',172,'Sibling of',121,'Sibling of',1,NULL,NULL),
- (390,195,4,'b_a',121,'Sibling of',172,'Sibling of',1,NULL,NULL),
- (391,196,8,'a_b',137,'Household Member of',188,'Household Member is',1,NULL,NULL),
- (392,196,8,'b_a',188,'Household Member is',137,'Household Member of',1,NULL,NULL),
- (393,197,8,'a_b',121,'Household Member of',188,'Household Member is',1,NULL,NULL),
- (394,197,8,'b_a',188,'Household Member is',121,'Household Member of',1,NULL,NULL),
- (395,198,8,'a_b',172,'Household Member of',188,'Household Member is',1,NULL,NULL),
- (396,198,8,'b_a',188,'Household Member is',172,'Household Member of',1,NULL,NULL),
- (397,199,7,'a_b',66,'Head of Household for',188,'Head of Household is',0,NULL,NULL),
- (398,199,7,'b_a',188,'Head of Household is',66,'Head of Household for',0,NULL,NULL),
- (399,200,2,'a_b',137,'Spouse of',66,'Spouse of',0,NULL,NULL),
- (400,200,2,'b_a',66,'Spouse of',137,'Spouse of',0,NULL,NULL),
- (401,201,5,'a_b',66,'Employee of',4,'Employer of',1,NULL,NULL),
- (402,201,5,'b_a',4,'Employer of',66,'Employee of',1,NULL,NULL),
- (403,202,5,'a_b',53,'Employee of',6,'Employer of',1,NULL,NULL),
- (404,202,5,'b_a',6,'Employer of',53,'Employee of',1,NULL,NULL),
- (405,203,5,'a_b',16,'Employee of',36,'Employer of',1,NULL,NULL),
- (406,203,5,'b_a',36,'Employer of',16,'Employee of',1,NULL,NULL),
- (407,204,5,'a_b',153,'Employee of',61,'Employer of',1,NULL,NULL),
- (408,204,5,'b_a',61,'Employer of',153,'Employee of',1,NULL,NULL),
- (409,205,5,'a_b',73,'Employee of',69,'Employer of',1,NULL,NULL),
- (410,205,5,'b_a',69,'Employer of',73,'Employee of',1,NULL,NULL),
- (411,206,5,'a_b',100,'Employee of',72,'Employer of',1,NULL,NULL),
- (412,206,5,'b_a',72,'Employer of',100,'Employee of',1,NULL,NULL),
- (413,207,5,'a_b',78,'Employee of',74,'Employer of',1,NULL,NULL),
- (414,207,5,'b_a',74,'Employer of',78,'Employee of',1,NULL,NULL),
- (415,208,5,'a_b',3,'Employee of',79,'Employer of',1,NULL,NULL),
- (416,208,5,'b_a',79,'Employer of',3,'Employee of',1,NULL,NULL),
- (417,209,5,'a_b',41,'Employee of',87,'Employer of',1,NULL,NULL),
- (418,209,5,'b_a',87,'Employer of',41,'Employee of',1,NULL,NULL),
- (419,210,5,'a_b',170,'Employee of',143,'Employer of',1,NULL,NULL),
- (420,210,5,'b_a',143,'Employer of',170,'Employee of',1,NULL,NULL),
- (421,211,5,'a_b',18,'Employee of',168,'Employer of',1,NULL,NULL),
- (422,211,5,'b_a',168,'Employer of',18,'Employee of',1,NULL,NULL),
- (423,212,5,'a_b',47,'Employee of',174,'Employer of',1,NULL,NULL),
- (424,212,5,'b_a',174,'Employer of',47,'Employee of',1,NULL,NULL),
- (425,213,5,'a_b',59,'Employee of',181,'Employer of',1,NULL,NULL),
- (426,213,5,'b_a',181,'Employer of',59,'Employee of',1,NULL,NULL),
- (427,214,5,'a_b',138,'Employee of',182,'Employer of',1,NULL,NULL),
- (428,214,5,'b_a',182,'Employer of',138,'Employee of',1,NULL,NULL);
+ (1,1,1,'a_b',130,'Child of',167,'Parent of',1,NULL,NULL),
+ (2,1,1,'b_a',167,'Parent of',130,'Child of',1,NULL,NULL),
+ (3,2,1,'a_b',197,'Child of',167,'Parent of',1,NULL,NULL),
+ (4,2,1,'b_a',167,'Parent of',197,'Child of',1,NULL,NULL),
+ (5,3,1,'a_b',130,'Child of',103,'Parent of',1,NULL,NULL),
+ (6,3,1,'b_a',103,'Parent of',130,'Child of',1,NULL,NULL),
+ (7,4,1,'a_b',197,'Child of',103,'Parent of',1,NULL,NULL),
+ (8,4,1,'b_a',103,'Parent of',197,'Child of',1,NULL,NULL),
+ (9,5,4,'a_b',197,'Sibling of',130,'Sibling of',1,NULL,NULL),
+ (10,5,4,'b_a',130,'Sibling of',197,'Sibling of',1,NULL,NULL),
+ (11,6,8,'a_b',103,'Household Member of',42,'Household Member is',1,NULL,NULL),
+ (12,6,8,'b_a',42,'Household Member is',103,'Household Member of',1,NULL,NULL),
+ (13,7,8,'a_b',130,'Household Member of',42,'Household Member is',1,NULL,NULL),
+ (14,7,8,'b_a',42,'Household Member is',130,'Household Member of',1,NULL,NULL),
+ (15,8,8,'a_b',197,'Household Member of',42,'Household Member is',1,NULL,NULL),
+ (16,8,8,'b_a',42,'Household Member is',197,'Household Member of',1,NULL,NULL),
+ (17,9,7,'a_b',167,'Head of Household for',42,'Head of Household is',1,NULL,NULL),
+ (18,9,7,'b_a',42,'Head of Household is',167,'Head of Household for',1,NULL,NULL),
+ (19,10,2,'a_b',103,'Spouse of',167,'Spouse of',1,NULL,NULL),
+ (20,10,2,'b_a',167,'Spouse of',103,'Spouse of',1,NULL,NULL),
+ (21,11,1,'a_b',108,'Child of',59,'Parent of',1,NULL,NULL),
+ (22,11,1,'b_a',59,'Parent of',108,'Child of',1,NULL,NULL),
+ (23,12,1,'a_b',148,'Child of',59,'Parent of',1,NULL,NULL),
+ (24,12,1,'b_a',59,'Parent of',148,'Child of',1,NULL,NULL),
+ (25,13,1,'a_b',108,'Child of',128,'Parent of',1,NULL,NULL),
+ (26,13,1,'b_a',128,'Parent of',108,'Child of',1,NULL,NULL),
+ (27,14,1,'a_b',148,'Child of',128,'Parent of',1,NULL,NULL),
+ (28,14,1,'b_a',128,'Parent of',148,'Child of',1,NULL,NULL),
+ (29,15,4,'a_b',148,'Sibling of',108,'Sibling of',1,NULL,NULL),
+ (30,15,4,'b_a',108,'Sibling of',148,'Sibling of',1,NULL,NULL),
+ (31,16,8,'a_b',128,'Household Member of',124,'Household Member is',1,NULL,NULL),
+ (32,16,8,'b_a',124,'Household Member is',128,'Household Member of',1,NULL,NULL),
+ (33,17,8,'a_b',108,'Household Member of',124,'Household Member is',1,NULL,NULL),
+ (34,17,8,'b_a',124,'Household Member is',108,'Household Member of',1,NULL,NULL),
+ (35,18,8,'a_b',148,'Household Member of',124,'Household Member is',1,NULL,NULL),
+ (36,18,8,'b_a',124,'Household Member is',148,'Household Member of',1,NULL,NULL),
+ (37,19,7,'a_b',59,'Head of Household for',124,'Head of Household is',1,NULL,NULL),
+ (38,19,7,'b_a',124,'Head of Household is',59,'Head of Household for',1,NULL,NULL),
+ (39,20,2,'a_b',128,'Spouse of',59,'Spouse of',1,NULL,NULL),
+ (40,20,2,'b_a',59,'Spouse of',128,'Spouse of',1,NULL,NULL),
+ (41,21,1,'a_b',135,'Child of',14,'Parent of',1,NULL,NULL),
+ (42,21,1,'b_a',14,'Parent of',135,'Child of',1,NULL,NULL),
+ (43,22,1,'a_b',187,'Child of',14,'Parent of',1,NULL,NULL),
+ (44,22,1,'b_a',14,'Parent of',187,'Child of',1,NULL,NULL),
+ (45,23,1,'a_b',135,'Child of',91,'Parent of',1,NULL,NULL),
+ (46,23,1,'b_a',91,'Parent of',135,'Child of',1,NULL,NULL),
+ (47,24,1,'a_b',187,'Child of',91,'Parent of',1,NULL,NULL),
+ (48,24,1,'b_a',91,'Parent of',187,'Child of',1,NULL,NULL),
+ (49,25,4,'a_b',187,'Sibling of',135,'Sibling of',1,NULL,NULL),
+ (50,25,4,'b_a',135,'Sibling of',187,'Sibling of',1,NULL,NULL),
+ (51,26,8,'a_b',91,'Household Member of',71,'Household Member is',1,NULL,NULL),
+ (52,26,8,'b_a',71,'Household Member is',91,'Household Member of',1,NULL,NULL),
+ (53,27,8,'a_b',135,'Household Member of',71,'Household Member is',1,NULL,NULL),
+ (54,27,8,'b_a',71,'Household Member is',135,'Household Member of',1,NULL,NULL),
+ (55,28,8,'a_b',187,'Household Member of',71,'Household Member is',1,NULL,NULL),
+ (56,28,8,'b_a',71,'Household Member is',187,'Household Member of',1,NULL,NULL),
+ (57,29,7,'a_b',14,'Head of Household for',71,'Head of Household is',1,NULL,NULL),
+ (58,29,7,'b_a',71,'Head of Household is',14,'Head of Household for',1,NULL,NULL),
+ (59,30,2,'a_b',91,'Spouse of',14,'Spouse of',1,NULL,NULL),
+ (60,30,2,'b_a',14,'Spouse of',91,'Spouse of',1,NULL,NULL),
+ (61,31,1,'a_b',16,'Child of',89,'Parent of',1,NULL,NULL),
+ (62,31,1,'b_a',89,'Parent of',16,'Child of',1,NULL,NULL),
+ (63,32,1,'a_b',75,'Child of',89,'Parent of',1,NULL,NULL),
+ (64,32,1,'b_a',89,'Parent of',75,'Child of',1,NULL,NULL),
+ (65,33,1,'a_b',16,'Child of',27,'Parent of',1,NULL,NULL),
+ (66,33,1,'b_a',27,'Parent of',16,'Child of',1,NULL,NULL),
+ (67,34,1,'a_b',75,'Child of',27,'Parent of',1,NULL,NULL),
+ (68,34,1,'b_a',27,'Parent of',75,'Child of',1,NULL,NULL),
+ (69,35,4,'a_b',75,'Sibling of',16,'Sibling of',1,NULL,NULL),
+ (70,35,4,'b_a',16,'Sibling of',75,'Sibling of',1,NULL,NULL),
+ (71,36,8,'a_b',27,'Household Member of',101,'Household Member is',1,NULL,NULL),
+ (72,36,8,'b_a',101,'Household Member is',27,'Household Member of',1,NULL,NULL),
+ (73,37,8,'a_b',16,'Household Member of',101,'Household Member is',1,NULL,NULL),
+ (74,37,8,'b_a',101,'Household Member is',16,'Household Member of',1,NULL,NULL),
+ (75,38,8,'a_b',75,'Household Member of',101,'Household Member is',1,NULL,NULL),
+ (76,38,8,'b_a',101,'Household Member is',75,'Household Member of',1,NULL,NULL),
+ (77,39,7,'a_b',89,'Head of Household for',101,'Head of Household is',1,NULL,NULL),
+ (78,39,7,'b_a',101,'Head of Household is',89,'Head of Household for',1,NULL,NULL),
+ (79,40,2,'a_b',27,'Spouse of',89,'Spouse of',1,NULL,NULL),
+ (80,40,2,'b_a',89,'Spouse of',27,'Spouse of',1,NULL,NULL),
+ (81,41,1,'a_b',175,'Child of',149,'Parent of',1,NULL,NULL),
+ (82,41,1,'b_a',149,'Parent of',175,'Child of',1,NULL,NULL),
+ (83,42,1,'a_b',169,'Child of',149,'Parent of',1,NULL,NULL),
+ (84,42,1,'b_a',149,'Parent of',169,'Child of',1,NULL,NULL),
+ (85,43,1,'a_b',175,'Child of',7,'Parent of',1,NULL,NULL),
+ (86,43,1,'b_a',7,'Parent of',175,'Child of',1,NULL,NULL),
+ (87,44,1,'a_b',169,'Child of',7,'Parent of',1,NULL,NULL),
+ (88,44,1,'b_a',7,'Parent of',169,'Child of',1,NULL,NULL),
+ (89,45,4,'a_b',169,'Sibling of',175,'Sibling of',1,NULL,NULL),
+ (90,45,4,'b_a',175,'Sibling of',169,'Sibling of',1,NULL,NULL),
+ (91,46,8,'a_b',7,'Household Member of',47,'Household Member is',1,NULL,NULL),
+ (92,46,8,'b_a',47,'Household Member is',7,'Household Member of',1,NULL,NULL),
+ (93,47,8,'a_b',175,'Household Member of',47,'Household Member is',1,NULL,NULL),
+ (94,47,8,'b_a',47,'Household Member is',175,'Household Member of',1,NULL,NULL),
+ (95,48,8,'a_b',169,'Household Member of',47,'Household Member is',1,NULL,NULL),
+ (96,48,8,'b_a',47,'Household Member is',169,'Household Member of',1,NULL,NULL),
+ (97,49,7,'a_b',149,'Head of Household for',47,'Head of Household is',1,NULL,NULL),
+ (98,49,7,'b_a',47,'Head of Household is',149,'Head of Household for',1,NULL,NULL),
+ (99,50,2,'a_b',7,'Spouse of',149,'Spouse of',1,NULL,NULL),
+ (100,50,2,'b_a',149,'Spouse of',7,'Spouse of',1,NULL,NULL),
+ (101,51,1,'a_b',158,'Child of',97,'Parent of',1,NULL,NULL),
+ (102,51,1,'b_a',97,'Parent of',158,'Child of',1,NULL,NULL),
+ (103,52,1,'a_b',185,'Child of',97,'Parent of',1,NULL,NULL),
+ (104,52,1,'b_a',97,'Parent of',185,'Child of',1,NULL,NULL),
+ (105,53,1,'a_b',158,'Child of',63,'Parent of',1,NULL,NULL),
+ (106,53,1,'b_a',63,'Parent of',158,'Child of',1,NULL,NULL),
+ (107,54,1,'a_b',185,'Child of',63,'Parent of',1,NULL,NULL),
+ (108,54,1,'b_a',63,'Parent of',185,'Child of',1,NULL,NULL),
+ (109,55,4,'a_b',185,'Sibling of',158,'Sibling of',1,NULL,NULL),
+ (110,55,4,'b_a',158,'Sibling of',185,'Sibling of',1,NULL,NULL),
+ (111,56,8,'a_b',63,'Household Member of',28,'Household Member is',1,NULL,NULL),
+ (112,56,8,'b_a',28,'Household Member is',63,'Household Member of',1,NULL,NULL),
+ (113,57,8,'a_b',158,'Household Member of',28,'Household Member is',1,NULL,NULL),
+ (114,57,8,'b_a',28,'Household Member is',158,'Household Member of',1,NULL,NULL),
+ (115,58,8,'a_b',185,'Household Member of',28,'Household Member is',1,NULL,NULL),
+ (116,58,8,'b_a',28,'Household Member is',185,'Household Member of',1,NULL,NULL),
+ (117,59,7,'a_b',97,'Head of Household for',28,'Head of Household is',1,NULL,NULL),
+ (118,59,7,'b_a',28,'Head of Household is',97,'Head of Household for',1,NULL,NULL),
+ (119,60,2,'a_b',63,'Spouse of',97,'Spouse of',1,NULL,NULL),
+ (120,60,2,'b_a',97,'Spouse of',63,'Spouse of',1,NULL,NULL),
+ (121,61,1,'a_b',183,'Child of',13,'Parent of',1,NULL,NULL),
+ (122,61,1,'b_a',13,'Parent of',183,'Child of',1,NULL,NULL),
+ (123,62,1,'a_b',147,'Child of',13,'Parent of',1,NULL,NULL),
+ (124,62,1,'b_a',13,'Parent of',147,'Child of',1,NULL,NULL),
+ (125,63,1,'a_b',183,'Child of',24,'Parent of',1,NULL,NULL),
+ (126,63,1,'b_a',24,'Parent of',183,'Child of',1,NULL,NULL),
+ (127,64,1,'a_b',147,'Child of',24,'Parent of',1,NULL,NULL),
+ (128,64,1,'b_a',24,'Parent of',147,'Child of',1,NULL,NULL),
+ (129,65,4,'a_b',147,'Sibling of',183,'Sibling of',1,NULL,NULL),
+ (130,65,4,'b_a',183,'Sibling of',147,'Sibling of',1,NULL,NULL),
+ (131,66,8,'a_b',24,'Household Member of',29,'Household Member is',1,NULL,NULL),
+ (132,66,8,'b_a',29,'Household Member is',24,'Household Member of',1,NULL,NULL),
+ (133,67,8,'a_b',183,'Household Member of',29,'Household Member is',1,NULL,NULL),
+ (134,67,8,'b_a',29,'Household Member is',183,'Household Member of',1,NULL,NULL),
+ (135,68,8,'a_b',147,'Household Member of',29,'Household Member is',1,NULL,NULL),
+ (136,68,8,'b_a',29,'Household Member is',147,'Household Member of',1,NULL,NULL),
+ (137,69,7,'a_b',13,'Head of Household for',29,'Head of Household is',1,NULL,NULL),
+ (138,69,7,'b_a',29,'Head of Household is',13,'Head of Household for',1,NULL,NULL),
+ (139,70,2,'a_b',24,'Spouse of',13,'Spouse of',1,NULL,NULL),
+ (140,70,2,'b_a',13,'Spouse of',24,'Spouse of',1,NULL,NULL),
+ (141,71,1,'a_b',26,'Child of',54,'Parent of',1,NULL,NULL),
+ (142,71,1,'b_a',54,'Parent of',26,'Child of',1,NULL,NULL),
+ (143,72,1,'a_b',49,'Child of',54,'Parent of',1,NULL,NULL),
+ (144,72,1,'b_a',54,'Parent of',49,'Child of',1,NULL,NULL),
+ (145,73,1,'a_b',26,'Child of',140,'Parent of',1,NULL,NULL),
+ (146,73,1,'b_a',140,'Parent of',26,'Child of',1,NULL,NULL),
+ (147,74,1,'a_b',49,'Child of',140,'Parent of',1,NULL,NULL),
+ (148,74,1,'b_a',140,'Parent of',49,'Child of',1,NULL,NULL),
+ (149,75,4,'a_b',49,'Sibling of',26,'Sibling of',1,NULL,NULL),
+ (150,75,4,'b_a',26,'Sibling of',49,'Sibling of',1,NULL,NULL),
+ (151,76,8,'a_b',140,'Household Member of',43,'Household Member is',1,NULL,NULL),
+ (152,76,8,'b_a',43,'Household Member is',140,'Household Member of',1,NULL,NULL),
+ (153,77,8,'a_b',26,'Household Member of',43,'Household Member is',1,NULL,NULL),
+ (154,77,8,'b_a',43,'Household Member is',26,'Household Member of',1,NULL,NULL),
+ (155,78,8,'a_b',49,'Household Member of',43,'Household Member is',1,NULL,NULL),
+ (156,78,8,'b_a',43,'Household Member is',49,'Household Member of',1,NULL,NULL),
+ (157,79,7,'a_b',54,'Head of Household for',43,'Head of Household is',0,NULL,NULL),
+ (158,79,7,'b_a',43,'Head of Household is',54,'Head of Household for',0,NULL,NULL),
+ (159,80,2,'a_b',140,'Spouse of',54,'Spouse of',0,NULL,NULL),
+ (160,80,2,'b_a',54,'Spouse of',140,'Spouse of',0,NULL,NULL),
+ (161,81,1,'a_b',38,'Child of',166,'Parent of',1,NULL,NULL),
+ (162,81,1,'b_a',166,'Parent of',38,'Child of',1,NULL,NULL),
+ (163,82,1,'a_b',110,'Child of',166,'Parent of',1,NULL,NULL),
+ (164,82,1,'b_a',166,'Parent of',110,'Child of',1,NULL,NULL),
+ (165,83,1,'a_b',38,'Child of',121,'Parent of',1,NULL,NULL),
+ (166,83,1,'b_a',121,'Parent of',38,'Child of',1,NULL,NULL),
+ (167,84,1,'a_b',110,'Child of',121,'Parent of',1,NULL,NULL),
+ (168,84,1,'b_a',121,'Parent of',110,'Child of',1,NULL,NULL),
+ (169,85,4,'a_b',110,'Sibling of',38,'Sibling of',1,NULL,NULL),
+ (170,85,4,'b_a',38,'Sibling of',110,'Sibling of',1,NULL,NULL),
+ (171,86,8,'a_b',121,'Household Member of',65,'Household Member is',1,NULL,NULL),
+ (172,86,8,'b_a',65,'Household Member is',121,'Household Member of',1,NULL,NULL),
+ (173,87,8,'a_b',38,'Household Member of',65,'Household Member is',1,NULL,NULL),
+ (174,87,8,'b_a',65,'Household Member is',38,'Household Member of',1,NULL,NULL),
+ (175,88,8,'a_b',110,'Household Member of',65,'Household Member is',1,NULL,NULL),
+ (176,88,8,'b_a',65,'Household Member is',110,'Household Member of',1,NULL,NULL),
+ (177,89,7,'a_b',166,'Head of Household for',65,'Head of Household is',0,NULL,NULL),
+ (178,89,7,'b_a',65,'Head of Household is',166,'Head of Household for',0,NULL,NULL),
+ (179,90,2,'a_b',121,'Spouse of',166,'Spouse of',0,NULL,NULL),
+ (180,90,2,'b_a',166,'Spouse of',121,'Spouse of',0,NULL,NULL),
+ (181,91,1,'a_b',61,'Child of',195,'Parent of',1,NULL,NULL),
+ (182,91,1,'b_a',195,'Parent of',61,'Child of',1,NULL,NULL),
+ (183,92,1,'a_b',126,'Child of',195,'Parent of',1,NULL,NULL),
+ (184,92,1,'b_a',195,'Parent of',126,'Child of',1,NULL,NULL),
+ (185,93,1,'a_b',61,'Child of',109,'Parent of',1,NULL,NULL),
+ (186,93,1,'b_a',109,'Parent of',61,'Child of',1,NULL,NULL),
+ (187,94,1,'a_b',126,'Child of',109,'Parent of',1,NULL,NULL),
+ (188,94,1,'b_a',109,'Parent of',126,'Child of',1,NULL,NULL),
+ (189,95,4,'a_b',126,'Sibling of',61,'Sibling of',1,NULL,NULL),
+ (190,95,4,'b_a',61,'Sibling of',126,'Sibling of',1,NULL,NULL),
+ (191,96,8,'a_b',109,'Household Member of',200,'Household Member is',1,NULL,NULL),
+ (192,96,8,'b_a',200,'Household Member is',109,'Household Member of',1,NULL,NULL),
+ (193,97,8,'a_b',61,'Household Member of',200,'Household Member is',1,NULL,NULL),
+ (194,97,8,'b_a',200,'Household Member is',61,'Household Member of',1,NULL,NULL),
+ (195,98,8,'a_b',126,'Household Member of',200,'Household Member is',1,NULL,NULL),
+ (196,98,8,'b_a',200,'Household Member is',126,'Household Member of',1,NULL,NULL),
+ (197,99,7,'a_b',195,'Head of Household for',200,'Head of Household is',0,NULL,NULL),
+ (198,99,7,'b_a',200,'Head of Household is',195,'Head of Household for',0,NULL,NULL),
+ (199,100,2,'a_b',109,'Spouse of',195,'Spouse of',0,NULL,NULL),
+ (200,100,2,'b_a',195,'Spouse of',109,'Spouse of',0,NULL,NULL),
+ (201,101,1,'a_b',21,'Child of',73,'Parent of',1,NULL,NULL),
+ (202,101,1,'b_a',73,'Parent of',21,'Child of',1,NULL,NULL),
+ (203,102,1,'a_b',102,'Child of',73,'Parent of',1,NULL,NULL),
+ (204,102,1,'b_a',73,'Parent of',102,'Child of',1,NULL,NULL),
+ (205,103,1,'a_b',21,'Child of',77,'Parent of',1,NULL,NULL),
+ (206,103,1,'b_a',77,'Parent of',21,'Child of',1,NULL,NULL),
+ (207,104,1,'a_b',102,'Child of',77,'Parent of',1,NULL,NULL),
+ (208,104,1,'b_a',77,'Parent of',102,'Child of',1,NULL,NULL),
+ (209,105,4,'a_b',102,'Sibling of',21,'Sibling of',1,NULL,NULL),
+ (210,105,4,'b_a',21,'Sibling of',102,'Sibling of',1,NULL,NULL),
+ (211,106,8,'a_b',77,'Household Member of',112,'Household Member is',1,NULL,NULL),
+ (212,106,8,'b_a',112,'Household Member is',77,'Household Member of',1,NULL,NULL),
+ (213,107,8,'a_b',21,'Household Member of',112,'Household Member is',1,NULL,NULL),
+ (214,107,8,'b_a',112,'Household Member is',21,'Household Member of',1,NULL,NULL),
+ (215,108,8,'a_b',102,'Household Member of',112,'Household Member is',1,NULL,NULL),
+ (216,108,8,'b_a',112,'Household Member is',102,'Household Member of',1,NULL,NULL),
+ (217,109,7,'a_b',73,'Head of Household for',112,'Head of Household is',1,NULL,NULL),
+ (218,109,7,'b_a',112,'Head of Household is',73,'Head of Household for',1,NULL,NULL),
+ (219,110,2,'a_b',77,'Spouse of',73,'Spouse of',1,NULL,NULL),
+ (220,110,2,'b_a',73,'Spouse of',77,'Spouse of',1,NULL,NULL),
+ (221,111,1,'a_b',143,'Child of',79,'Parent of',1,NULL,NULL),
+ (222,111,1,'b_a',79,'Parent of',143,'Child of',1,NULL,NULL),
+ (223,112,1,'a_b',122,'Child of',79,'Parent of',1,NULL,NULL),
+ (224,112,1,'b_a',79,'Parent of',122,'Child of',1,NULL,NULL),
+ (225,113,1,'a_b',143,'Child of',150,'Parent of',1,NULL,NULL),
+ (226,113,1,'b_a',150,'Parent of',143,'Child of',1,NULL,NULL),
+ (227,114,1,'a_b',122,'Child of',150,'Parent of',1,NULL,NULL),
+ (228,114,1,'b_a',150,'Parent of',122,'Child of',1,NULL,NULL),
+ (229,115,4,'a_b',122,'Sibling of',143,'Sibling of',1,NULL,NULL),
+ (230,115,4,'b_a',143,'Sibling of',122,'Sibling of',1,NULL,NULL),
+ (231,116,8,'a_b',150,'Household Member of',15,'Household Member is',1,NULL,NULL),
+ (232,116,8,'b_a',15,'Household Member is',150,'Household Member of',1,NULL,NULL),
+ (233,117,8,'a_b',143,'Household Member of',15,'Household Member is',1,NULL,NULL),
+ (234,117,8,'b_a',15,'Household Member is',143,'Household Member of',1,NULL,NULL),
+ (235,118,8,'a_b',122,'Household Member of',15,'Household Member is',1,NULL,NULL),
+ (236,118,8,'b_a',15,'Household Member is',122,'Household Member of',1,NULL,NULL),
+ (237,119,7,'a_b',79,'Head of Household for',15,'Head of Household is',1,NULL,NULL),
+ (238,119,7,'b_a',15,'Head of Household is',79,'Head of Household for',1,NULL,NULL),
+ (239,120,2,'a_b',150,'Spouse of',79,'Spouse of',1,NULL,NULL),
+ (240,120,2,'b_a',79,'Spouse of',150,'Spouse of',1,NULL,NULL),
+ (241,121,1,'a_b',188,'Child of',52,'Parent of',1,NULL,NULL),
+ (242,121,1,'b_a',52,'Parent of',188,'Child of',1,NULL,NULL),
+ (243,122,1,'a_b',58,'Child of',52,'Parent of',1,NULL,NULL),
+ (244,122,1,'b_a',52,'Parent of',58,'Child of',1,NULL,NULL),
+ (245,123,1,'a_b',188,'Child of',156,'Parent of',1,NULL,NULL),
+ (246,123,1,'b_a',156,'Parent of',188,'Child of',1,NULL,NULL),
+ (247,124,1,'a_b',58,'Child of',156,'Parent of',1,NULL,NULL),
+ (248,124,1,'b_a',156,'Parent of',58,'Child of',1,NULL,NULL),
+ (249,125,4,'a_b',58,'Sibling of',188,'Sibling of',1,NULL,NULL),
+ (250,125,4,'b_a',188,'Sibling of',58,'Sibling of',1,NULL,NULL),
+ (251,126,8,'a_b',156,'Household Member of',74,'Household Member is',1,NULL,NULL),
+ (252,126,8,'b_a',74,'Household Member is',156,'Household Member of',1,NULL,NULL),
+ (253,127,8,'a_b',188,'Household Member of',74,'Household Member is',1,NULL,NULL),
+ (254,127,8,'b_a',74,'Household Member is',188,'Household Member of',1,NULL,NULL),
+ (255,128,8,'a_b',58,'Household Member of',74,'Household Member is',1,NULL,NULL),
+ (256,128,8,'b_a',74,'Household Member is',58,'Household Member of',1,NULL,NULL),
+ (257,129,7,'a_b',52,'Head of Household for',74,'Head of Household is',1,NULL,NULL),
+ (258,129,7,'b_a',74,'Head of Household is',52,'Head of Household for',1,NULL,NULL),
+ (259,130,2,'a_b',156,'Spouse of',52,'Spouse of',1,NULL,NULL),
+ (260,130,2,'b_a',52,'Spouse of',156,'Spouse of',1,NULL,NULL),
+ (261,131,1,'a_b',86,'Child of',17,'Parent of',1,NULL,NULL),
+ (262,131,1,'b_a',17,'Parent of',86,'Child of',1,NULL,NULL),
+ (263,132,1,'a_b',107,'Child of',17,'Parent of',1,NULL,NULL),
+ (264,132,1,'b_a',17,'Parent of',107,'Child of',1,NULL,NULL),
+ (265,133,1,'a_b',86,'Child of',57,'Parent of',1,NULL,NULL),
+ (266,133,1,'b_a',57,'Parent of',86,'Child of',1,NULL,NULL),
+ (267,134,1,'a_b',107,'Child of',57,'Parent of',1,NULL,NULL),
+ (268,134,1,'b_a',57,'Parent of',107,'Child of',1,NULL,NULL),
+ (269,135,4,'a_b',107,'Sibling of',86,'Sibling of',1,NULL,NULL),
+ (270,135,4,'b_a',86,'Sibling of',107,'Sibling of',1,NULL,NULL),
+ (271,136,8,'a_b',57,'Household Member of',36,'Household Member is',1,NULL,NULL),
+ (272,136,8,'b_a',36,'Household Member is',57,'Household Member of',1,NULL,NULL),
+ (273,137,8,'a_b',86,'Household Member of',36,'Household Member is',1,NULL,NULL),
+ (274,137,8,'b_a',36,'Household Member is',86,'Household Member of',1,NULL,NULL),
+ (275,138,8,'a_b',107,'Household Member of',36,'Household Member is',1,NULL,NULL),
+ (276,138,8,'b_a',36,'Household Member is',107,'Household Member of',1,NULL,NULL),
+ (277,139,7,'a_b',17,'Head of Household for',36,'Head of Household is',0,NULL,NULL),
+ (278,139,7,'b_a',36,'Head of Household is',17,'Head of Household for',0,NULL,NULL),
+ (279,140,2,'a_b',57,'Spouse of',17,'Spouse of',0,NULL,NULL),
+ (280,140,2,'b_a',17,'Spouse of',57,'Spouse of',0,NULL,NULL),
+ (281,141,1,'a_b',123,'Child of',34,'Parent of',1,NULL,NULL),
+ (282,141,1,'b_a',34,'Parent of',123,'Child of',1,NULL,NULL),
+ (283,142,1,'a_b',96,'Child of',34,'Parent of',1,NULL,NULL),
+ (284,142,1,'b_a',34,'Parent of',96,'Child of',1,NULL,NULL),
+ (285,143,1,'a_b',123,'Child of',64,'Parent of',1,NULL,NULL),
+ (286,143,1,'b_a',64,'Parent of',123,'Child of',1,NULL,NULL),
+ (287,144,1,'a_b',96,'Child of',64,'Parent of',1,NULL,NULL),
+ (288,144,1,'b_a',64,'Parent of',96,'Child of',1,NULL,NULL),
+ (289,145,4,'a_b',96,'Sibling of',123,'Sibling of',1,NULL,NULL),
+ (290,145,4,'b_a',123,'Sibling of',96,'Sibling of',1,NULL,NULL),
+ (291,146,8,'a_b',64,'Household Member of',165,'Household Member is',1,NULL,NULL),
+ (292,146,8,'b_a',165,'Household Member is',64,'Household Member of',1,NULL,NULL),
+ (293,147,8,'a_b',123,'Household Member of',165,'Household Member is',1,NULL,NULL),
+ (294,147,8,'b_a',165,'Household Member is',123,'Household Member of',1,NULL,NULL),
+ (295,148,8,'a_b',96,'Household Member of',165,'Household Member is',1,NULL,NULL),
+ (296,148,8,'b_a',165,'Household Member is',96,'Household Member of',1,NULL,NULL),
+ (297,149,7,'a_b',34,'Head of Household for',165,'Head of Household is',1,NULL,NULL),
+ (298,149,7,'b_a',165,'Head of Household is',34,'Head of Household for',1,NULL,NULL),
+ (299,150,2,'a_b',64,'Spouse of',34,'Spouse of',1,NULL,NULL),
+ (300,150,2,'b_a',34,'Spouse of',64,'Spouse of',1,NULL,NULL),
+ (301,151,1,'a_b',90,'Child of',159,'Parent of',1,NULL,NULL),
+ (302,151,1,'b_a',159,'Parent of',90,'Child of',1,NULL,NULL),
+ (303,152,1,'a_b',137,'Child of',159,'Parent of',1,NULL,NULL),
+ (304,152,1,'b_a',159,'Parent of',137,'Child of',1,NULL,NULL),
+ (305,153,1,'a_b',90,'Child of',132,'Parent of',1,NULL,NULL),
+ (306,153,1,'b_a',132,'Parent of',90,'Child of',1,NULL,NULL),
+ (307,154,1,'a_b',137,'Child of',132,'Parent of',1,NULL,NULL),
+ (308,154,1,'b_a',132,'Parent of',137,'Child of',1,NULL,NULL),
+ (309,155,4,'a_b',137,'Sibling of',90,'Sibling of',1,NULL,NULL),
+ (310,155,4,'b_a',90,'Sibling of',137,'Sibling of',1,NULL,NULL),
+ (311,156,8,'a_b',132,'Household Member of',22,'Household Member is',1,NULL,NULL),
+ (312,156,8,'b_a',22,'Household Member is',132,'Household Member of',1,NULL,NULL),
+ (313,157,8,'a_b',90,'Household Member of',22,'Household Member is',1,NULL,NULL),
+ (314,157,8,'b_a',22,'Household Member is',90,'Household Member of',1,NULL,NULL),
+ (315,158,8,'a_b',137,'Household Member of',22,'Household Member is',1,NULL,NULL),
+ (316,158,8,'b_a',22,'Household Member is',137,'Household Member of',1,NULL,NULL),
+ (317,159,7,'a_b',159,'Head of Household for',22,'Head of Household is',0,NULL,NULL),
+ (318,159,7,'b_a',22,'Head of Household is',159,'Head of Household for',0,NULL,NULL),
+ (319,160,2,'a_b',132,'Spouse of',159,'Spouse of',0,NULL,NULL),
+ (320,160,2,'b_a',159,'Spouse of',132,'Spouse of',0,NULL,NULL),
+ (321,161,1,'a_b',152,'Child of',104,'Parent of',1,NULL,NULL),
+ (322,161,1,'b_a',104,'Parent of',152,'Child of',1,NULL,NULL),
+ (323,162,1,'a_b',161,'Child of',104,'Parent of',1,NULL,NULL),
+ (324,162,1,'b_a',104,'Parent of',161,'Child of',1,NULL,NULL),
+ (325,163,1,'a_b',152,'Child of',31,'Parent of',1,NULL,NULL),
+ (326,163,1,'b_a',31,'Parent of',152,'Child of',1,NULL,NULL),
+ (327,164,1,'a_b',161,'Child of',31,'Parent of',1,NULL,NULL),
+ (328,164,1,'b_a',31,'Parent of',161,'Child of',1,NULL,NULL),
+ (329,165,4,'a_b',161,'Sibling of',152,'Sibling of',1,NULL,NULL),
+ (330,165,4,'b_a',152,'Sibling of',161,'Sibling of',1,NULL,NULL),
+ (331,166,8,'a_b',31,'Household Member of',172,'Household Member is',1,NULL,NULL),
+ (332,166,8,'b_a',172,'Household Member is',31,'Household Member of',1,NULL,NULL),
+ (333,167,8,'a_b',152,'Household Member of',172,'Household Member is',1,NULL,NULL),
+ (334,167,8,'b_a',172,'Household Member is',152,'Household Member of',1,NULL,NULL),
+ (335,168,8,'a_b',161,'Household Member of',172,'Household Member is',1,NULL,NULL),
+ (336,168,8,'b_a',172,'Household Member is',161,'Household Member of',1,NULL,NULL),
+ (337,169,7,'a_b',104,'Head of Household for',172,'Head of Household is',1,NULL,NULL),
+ (338,169,7,'b_a',172,'Head of Household is',104,'Head of Household for',1,NULL,NULL),
+ (339,170,2,'a_b',31,'Spouse of',104,'Spouse of',1,NULL,NULL),
+ (340,170,2,'b_a',104,'Spouse of',31,'Spouse of',1,NULL,NULL),
+ (341,171,1,'a_b',44,'Child of',155,'Parent of',1,NULL,NULL),
+ (342,171,1,'b_a',155,'Parent of',44,'Child of',1,NULL,NULL),
+ (343,172,1,'a_b',98,'Child of',155,'Parent of',1,NULL,NULL),
+ (344,172,1,'b_a',155,'Parent of',98,'Child of',1,NULL,NULL),
+ (345,173,1,'a_b',44,'Child of',40,'Parent of',1,NULL,NULL),
+ (346,173,1,'b_a',40,'Parent of',44,'Child of',1,NULL,NULL),
+ (347,174,1,'a_b',98,'Child of',40,'Parent of',1,NULL,NULL),
+ (348,174,1,'b_a',40,'Parent of',98,'Child of',1,NULL,NULL),
+ (349,175,4,'a_b',98,'Sibling of',44,'Sibling of',1,NULL,NULL),
+ (350,175,4,'b_a',44,'Sibling of',98,'Sibling of',1,NULL,NULL),
+ (351,176,8,'a_b',40,'Household Member of',125,'Household Member is',1,NULL,NULL),
+ (352,176,8,'b_a',125,'Household Member is',40,'Household Member of',1,NULL,NULL),
+ (353,177,8,'a_b',44,'Household Member of',125,'Household Member is',1,NULL,NULL),
+ (354,177,8,'b_a',125,'Household Member is',44,'Household Member of',1,NULL,NULL),
+ (355,178,8,'a_b',98,'Household Member of',125,'Household Member is',1,NULL,NULL),
+ (356,178,8,'b_a',125,'Household Member is',98,'Household Member of',1,NULL,NULL),
+ (357,179,7,'a_b',155,'Head of Household for',125,'Head of Household is',1,NULL,NULL),
+ (358,179,7,'b_a',125,'Head of Household is',155,'Head of Household for',1,NULL,NULL),
+ (359,180,2,'a_b',40,'Spouse of',155,'Spouse of',1,NULL,NULL),
+ (360,180,2,'b_a',155,'Spouse of',40,'Spouse of',1,NULL,NULL),
+ (361,181,1,'a_b',33,'Child of',193,'Parent of',1,NULL,NULL),
+ (362,181,1,'b_a',193,'Parent of',33,'Child of',1,NULL,NULL),
+ (363,182,1,'a_b',45,'Child of',193,'Parent of',1,NULL,NULL),
+ (364,182,1,'b_a',193,'Parent of',45,'Child of',1,NULL,NULL),
+ (365,183,1,'a_b',33,'Child of',179,'Parent of',1,NULL,NULL),
+ (366,183,1,'b_a',179,'Parent of',33,'Child of',1,NULL,NULL),
+ (367,184,1,'a_b',45,'Child of',179,'Parent of',1,NULL,NULL),
+ (368,184,1,'b_a',179,'Parent of',45,'Child of',1,NULL,NULL),
+ (369,185,4,'a_b',45,'Sibling of',33,'Sibling of',1,NULL,NULL),
+ (370,185,4,'b_a',33,'Sibling of',45,'Sibling of',1,NULL,NULL),
+ (371,186,8,'a_b',179,'Household Member of',11,'Household Member is',1,NULL,NULL),
+ (372,186,8,'b_a',11,'Household Member is',179,'Household Member of',1,NULL,NULL),
+ (373,187,8,'a_b',33,'Household Member of',11,'Household Member is',1,NULL,NULL),
+ (374,187,8,'b_a',11,'Household Member is',33,'Household Member of',1,NULL,NULL),
+ (375,188,8,'a_b',45,'Household Member of',11,'Household Member is',1,NULL,NULL),
+ (376,188,8,'b_a',11,'Household Member is',45,'Household Member of',1,NULL,NULL),
+ (377,189,7,'a_b',193,'Head of Household for',11,'Head of Household is',1,NULL,NULL),
+ (378,189,7,'b_a',11,'Head of Household is',193,'Head of Household for',1,NULL,NULL),
+ (379,190,2,'a_b',179,'Spouse of',193,'Spouse of',1,NULL,NULL),
+ (380,190,2,'b_a',193,'Spouse of',179,'Spouse of',1,NULL,NULL),
+ (381,191,1,'a_b',106,'Child of',9,'Parent of',1,NULL,NULL),
+ (382,191,1,'b_a',9,'Parent of',106,'Child of',1,NULL,NULL),
+ (383,192,1,'a_b',164,'Child of',9,'Parent of',1,NULL,NULL),
+ (384,192,1,'b_a',9,'Parent of',164,'Child of',1,NULL,NULL),
+ (385,193,1,'a_b',106,'Child of',23,'Parent of',1,NULL,NULL),
+ (386,193,1,'b_a',23,'Parent of',106,'Child of',1,NULL,NULL),
+ (387,194,1,'a_b',164,'Child of',23,'Parent of',1,NULL,NULL),
+ (388,194,1,'b_a',23,'Parent of',164,'Child of',1,NULL,NULL),
+ (389,195,4,'a_b',164,'Sibling of',106,'Sibling of',1,NULL,NULL),
+ (390,195,4,'b_a',106,'Sibling of',164,'Sibling of',1,NULL,NULL),
+ (391,196,8,'a_b',23,'Household Member of',138,'Household Member is',1,NULL,NULL),
+ (392,196,8,'b_a',138,'Household Member is',23,'Household Member of',1,NULL,NULL),
+ (393,197,8,'a_b',106,'Household Member of',138,'Household Member is',1,NULL,NULL),
+ (394,197,8,'b_a',138,'Household Member is',106,'Household Member of',1,NULL,NULL),
+ (395,198,8,'a_b',164,'Household Member of',138,'Household Member is',1,NULL,NULL),
+ (396,198,8,'b_a',138,'Household Member is',164,'Household Member of',1,NULL,NULL),
+ (397,199,7,'a_b',9,'Head of Household for',138,'Head of Household is',1,NULL,NULL),
+ (398,199,7,'b_a',138,'Head of Household is',9,'Head of Household for',1,NULL,NULL),
+ (399,200,2,'a_b',23,'Spouse of',9,'Spouse of',1,NULL,NULL),
+ (400,200,2,'b_a',9,'Spouse of',23,'Spouse of',1,NULL,NULL),
+ (401,201,5,'a_b',60,'Employee of',8,'Employer of',1,NULL,NULL),
+ (402,201,5,'b_a',8,'Employer of',60,'Employee of',1,NULL,NULL),
+ (403,202,5,'a_b',113,'Employee of',19,'Employer of',1,NULL,NULL),
+ (404,202,5,'b_a',19,'Employer of',113,'Employee of',1,NULL,NULL),
+ (405,203,5,'a_b',107,'Employee of',37,'Employer of',1,NULL,NULL),
+ (406,203,5,'b_a',37,'Employer of',107,'Employee of',1,NULL,NULL),
+ (407,204,5,'a_b',189,'Employee of',41,'Employer of',1,NULL,NULL),
+ (408,204,5,'b_a',41,'Employer of',189,'Employee of',1,NULL,NULL),
+ (409,205,5,'a_b',77,'Employee of',46,'Employer of',1,NULL,NULL),
+ (410,205,5,'b_a',46,'Employer of',77,'Employee of',1,NULL,NULL),
+ (411,206,5,'a_b',84,'Employee of',51,'Employer of',1,NULL,NULL),
+ (412,206,5,'b_a',51,'Employer of',84,'Employee of',1,NULL,NULL),
+ (413,207,5,'a_b',119,'Employee of',66,'Employer of',1,NULL,NULL),
+ (414,207,5,'b_a',66,'Employer of',119,'Employee of',1,NULL,NULL),
+ (415,208,5,'a_b',90,'Employee of',67,'Employer of',1,NULL,NULL),
+ (416,208,5,'b_a',67,'Employer of',90,'Employee of',1,NULL,NULL),
+ (417,209,5,'a_b',160,'Employee of',78,'Employer of',1,NULL,NULL),
+ (418,209,5,'b_a',78,'Employer of',160,'Employee of',1,NULL,NULL),
+ (419,210,5,'a_b',96,'Employee of',120,'Employer of',1,NULL,NULL),
+ (420,210,5,'b_a',120,'Employer of',96,'Employee of',1,NULL,NULL),
+ (421,211,5,'a_b',61,'Employee of',129,'Employer of',1,NULL,NULL),
+ (422,211,5,'b_a',129,'Employer of',61,'Employee of',1,NULL,NULL),
+ (423,212,5,'a_b',88,'Employee of',146,'Employer of',1,NULL,NULL),
+ (424,212,5,'b_a',146,'Employer of',88,'Employee of',1,NULL,NULL),
+ (425,213,5,'a_b',185,'Employee of',163,'Employer of',1,NULL,NULL),
+ (426,213,5,'b_a',163,'Employer of',185,'Employee of',1,NULL,NULL),
+ (427,214,5,'a_b',44,'Employee of',178,'Employer of',1,NULL,NULL),
+ (428,214,5,'b_a',178,'Employer of',44,'Employee of',1,NULL,NULL),
+ (429,215,5,'a_b',177,'Employee of',190,'Employer of',1,NULL,NULL),
+ (430,215,5,'b_a',190,'Employer of',177,'Employee of',1,NULL,NULL);
 /*!40000 ALTER TABLE `civicrm_relationship_cache` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -11880,89 +11875,89 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_subscription_history` WRITE;
 /*!40000 ALTER TABLE `civicrm_subscription_history` DISABLE KEYS */;
 INSERT INTO `civicrm_subscription_history` (`id`, `contact_id`, `group_id`, `date`, `method`, `status`, `tracking`) VALUES
- (1,31,2,'2021-03-14 03:37:35','Admin','Added',NULL),
- (2,138,2,'2020-12-03 20:05:38','Email','Added',NULL),
- (3,21,2,'2020-12-30 10:21:23','Email','Added',NULL),
- (4,85,2,'2020-12-31 08:06:28','Email','Added',NULL),
- (5,128,2,'2021-02-05 02:31:41','Email','Added',NULL),
- (6,177,2,'2021-03-22 14:36:54','Admin','Added',NULL),
- (7,93,2,'2020-10-14 17:16:25','Admin','Added',NULL),
- (8,46,2,'2020-12-05 23:00:26','Admin','Added',NULL),
- (9,53,2,'2020-07-04 13:13:25','Email','Added',NULL),
- (10,84,2,'2020-09-02 05:49:20','Email','Added',NULL),
- (11,89,2,'2020-07-23 00:53:10','Admin','Added',NULL),
- (12,14,2,'2021-01-04 06:35:21','Admin','Added',NULL),
- (13,191,2,'2021-04-07 23:42:30','Admin','Added',NULL),
- (14,50,2,'2020-10-03 15:18:58','Admin','Added',NULL),
- (15,5,2,'2021-04-14 17:49:56','Email','Added',NULL),
- (16,173,2,'2020-12-05 14:14:37','Email','Added',NULL),
- (17,190,2,'2020-09-27 06:48:38','Email','Added',NULL),
- (18,178,2,'2021-03-20 23:13:32','Email','Added',NULL),
- (19,16,2,'2020-12-24 22:01:52','Email','Added',NULL),
- (20,23,2,'2020-08-18 12:12:11','Email','Added',NULL),
- (21,199,2,'2021-05-01 03:56:03','Email','Added',NULL),
- (22,25,2,'2021-05-19 03:59:07','Admin','Added',NULL),
- (23,37,2,'2021-05-20 23:17:42','Admin','Added',NULL),
- (24,201,2,'2020-08-22 05:15:41','Admin','Added',NULL),
- (25,179,2,'2021-03-06 15:22:52','Email','Added',NULL),
- (26,11,2,'2021-05-09 15:25:15','Email','Added',NULL),
- (27,20,2,'2020-08-25 04:47:49','Email','Added',NULL),
- (28,117,2,'2020-09-03 12:15:23','Email','Added',NULL),
- (29,98,2,'2020-09-26 03:18:28','Email','Added',NULL),
- (30,57,2,'2021-06-01 22:05:03','Admin','Added',NULL),
- (31,125,2,'2020-08-20 00:43:29','Email','Added',NULL),
- (32,194,2,'2020-11-28 17:47:44','Email','Added',NULL),
- (33,44,2,'2021-04-30 17:23:56','Admin','Added',NULL),
- (34,27,2,'2020-09-11 04:33:43','Admin','Added',NULL),
- (35,78,2,'2020-06-19 06:28:23','Email','Added',NULL),
- (36,146,2,'2020-07-03 13:21:26','Admin','Added',NULL),
- (37,90,2,'2020-09-06 19:53:54','Admin','Added',NULL),
- (38,45,2,'2020-12-15 13:20:36','Email','Added',NULL),
- (39,34,2,'2020-07-29 11:08:30','Email','Added',NULL),
- (40,41,2,'2021-05-18 22:04:17','Admin','Added',NULL),
- (41,83,2,'2020-11-11 21:47:16','Email','Added',NULL),
- (42,18,2,'2021-05-12 10:55:18','Email','Added',NULL),
- (43,154,2,'2020-10-06 01:11:27','Email','Added',NULL),
- (44,160,2,'2020-07-31 09:14:43','Admin','Added',NULL),
- (45,107,2,'2020-08-09 20:46:27','Admin','Added',NULL),
- (46,192,2,'2020-11-18 00:46:32','Admin','Added',NULL),
- (47,122,2,'2020-11-24 02:25:36','Email','Added',NULL),
- (48,144,2,'2021-04-25 10:44:38','Email','Added',NULL),
- (49,67,2,'2020-10-13 03:08:51','Admin','Added',NULL),
- (50,33,2,'2020-11-14 17:30:17','Admin','Added',NULL),
- (51,185,2,'2020-09-04 03:26:13','Admin','Added',NULL),
- (52,59,2,'2020-08-13 01:59:00','Email','Added',NULL),
- (53,48,2,'2021-03-04 11:11:50','Email','Added',NULL),
- (54,81,2,'2020-12-05 03:29:05','Admin','Added',NULL),
- (55,149,2,'2020-09-18 14:10:21','Email','Added',NULL),
- (56,100,2,'2020-11-30 15:28:43','Email','Added',NULL),
- (57,2,2,'2021-02-23 23:46:17','Admin','Added',NULL),
- (58,26,2,'2020-08-22 14:30:34','Admin','Added',NULL),
- (59,186,2,'2020-08-26 10:38:50','Admin','Added',NULL),
- (60,110,2,'2020-11-09 12:51:12','Email','Added',NULL),
- (61,71,3,'2020-12-12 11:20:19','Admin','Added',NULL),
- (62,163,3,'2020-09-19 17:10:00','Email','Added',NULL),
- (63,189,3,'2021-01-12 07:04:55','Admin','Added',NULL),
- (64,196,3,'2020-08-26 19:24:21','Admin','Added',NULL),
- (65,10,3,'2021-05-02 10:21:25','Email','Added',NULL),
- (66,115,3,'2020-06-15 05:12:52','Admin','Added',NULL),
- (67,38,3,'2020-09-21 07:11:03','Email','Added',NULL),
- (68,156,3,'2020-11-28 20:11:38','Admin','Added',NULL),
- (69,103,3,'2021-02-24 13:39:16','Admin','Added',NULL),
- (70,68,3,'2020-07-01 21:56:45','Email','Added',NULL),
- (71,184,3,'2020-10-08 20:24:10','Email','Added',NULL),
- (72,169,3,'2020-07-12 12:52:22','Admin','Added',NULL),
- (73,127,3,'2020-10-06 23:57:36','Admin','Added',NULL),
- (74,96,3,'2021-03-10 12:20:26','Admin','Added',NULL),
- (75,176,3,'2021-05-16 10:02:05','Email','Added',NULL),
- (76,31,4,'2020-08-07 18:44:22','Admin','Added',NULL),
- (77,46,4,'2020-08-26 09:48:51','Email','Added',NULL),
- (78,5,4,'2021-04-01 20:29:06','Email','Added',NULL),
- (79,25,4,'2021-04-09 08:25:45','Admin','Added',NULL),
- (80,98,4,'2020-09-01 01:45:47','Admin','Added',NULL),
- (81,146,4,'2021-02-25 01:48:11','Email','Added',NULL),
- (82,154,4,'2020-07-22 08:31:14','Admin','Added',NULL),
- (83,33,4,'2020-12-20 20:22:13','Admin','Added',NULL);
+ (1,72,2,'2021-03-10 20:54:56','Admin','Added',NULL),
+ (2,162,2,'2020-10-23 20:21:27','Email','Added',NULL),
+ (3,30,2,'2020-10-21 10:31:35','Email','Added',NULL),
+ (4,139,2,'2021-06-16 10:38:34','Admin','Added',NULL),
+ (5,131,2,'2021-05-01 09:25:54','Admin','Added',NULL),
+ (6,6,2,'2020-07-30 17:26:56','Admin','Added',NULL),
+ (7,100,2,'2020-11-06 02:52:19','Email','Added',NULL),
+ (8,170,2,'2020-11-26 19:52:29','Email','Added',NULL),
+ (9,35,2,'2020-09-13 14:57:22','Email','Added',NULL),
+ (10,192,2,'2020-07-08 23:58:39','Email','Added',NULL),
+ (11,85,2,'2021-06-21 03:16:46','Email','Added',NULL),
+ (12,48,2,'2020-10-12 10:23:56','Admin','Added',NULL),
+ (13,80,2,'2020-12-14 16:58:04','Admin','Added',NULL),
+ (14,50,2,'2021-01-31 13:48:12','Email','Added',NULL),
+ (15,173,2,'2021-02-01 10:56:18','Admin','Added',NULL),
+ (16,105,2,'2020-10-20 01:49:23','Email','Added',NULL),
+ (17,191,2,'2021-05-09 05:39:27','Email','Added',NULL),
+ (18,142,2,'2020-07-14 14:59:33','Admin','Added',NULL),
+ (19,145,2,'2021-04-23 02:09:19','Email','Added',NULL),
+ (20,99,2,'2020-08-07 16:03:28','Admin','Added',NULL),
+ (21,157,2,'2020-12-12 03:56:17','Email','Added',NULL),
+ (22,12,2,'2021-06-22 01:48:28','Email','Added',NULL),
+ (23,95,2,'2021-04-03 09:53:11','Email','Added',NULL),
+ (24,82,2,'2021-05-27 21:45:14','Admin','Added',NULL),
+ (25,87,2,'2021-02-18 01:37:24','Email','Added',NULL),
+ (26,168,2,'2020-10-17 04:04:26','Admin','Added',NULL),
+ (27,176,2,'2020-12-31 17:30:27','Email','Added',NULL),
+ (28,116,2,'2021-01-01 13:22:22','Admin','Added',NULL),
+ (29,114,2,'2020-11-17 02:37:08','Admin','Added',NULL),
+ (30,151,2,'2020-11-14 13:37:38','Email','Added',NULL),
+ (31,93,2,'2020-10-11 23:38:48','Email','Added',NULL),
+ (32,117,2,'2020-07-25 21:17:52','Admin','Added',NULL),
+ (33,55,2,'2021-05-12 05:54:33','Admin','Added',NULL),
+ (34,136,2,'2020-11-19 13:28:04','Email','Added',NULL),
+ (35,144,2,'2020-10-25 06:09:09','Email','Added',NULL),
+ (36,119,2,'2020-09-24 22:52:25','Email','Added',NULL),
+ (37,2,2,'2020-07-08 21:55:46','Admin','Added',NULL),
+ (38,69,2,'2020-11-18 13:08:02','Admin','Added',NULL),
+ (39,18,2,'2021-01-21 13:40:02','Admin','Added',NULL),
+ (40,153,2,'2021-04-19 23:05:19','Email','Added',NULL),
+ (41,118,2,'2021-01-24 08:18:11','Admin','Added',NULL),
+ (42,84,2,'2021-04-05 18:23:21','Email','Added',NULL),
+ (43,20,2,'2020-09-12 12:31:03','Admin','Added',NULL),
+ (44,62,2,'2021-03-08 12:11:04','Admin','Added',NULL),
+ (45,115,2,'2021-05-13 11:31:11','Admin','Added',NULL),
+ (46,39,2,'2021-02-13 20:25:50','Admin','Added',NULL),
+ (47,177,2,'2021-03-04 02:01:26','Email','Added',NULL),
+ (48,10,2,'2021-03-27 03:48:24','Admin','Added',NULL),
+ (49,127,2,'2021-01-21 12:59:02','Email','Added',NULL),
+ (50,5,2,'2020-09-20 22:32:29','Email','Added',NULL),
+ (51,184,2,'2020-11-25 03:50:06','Email','Added',NULL),
+ (52,182,2,'2021-03-09 01:20:11','Email','Added',NULL),
+ (53,189,2,'2021-03-16 22:25:35','Admin','Added',NULL),
+ (54,76,2,'2021-02-25 01:43:56','Email','Added',NULL),
+ (55,141,2,'2020-10-04 10:09:15','Email','Added',NULL),
+ (56,171,2,'2020-08-05 16:14:47','Email','Added',NULL),
+ (57,133,2,'2021-03-09 02:49:11','Admin','Added',NULL),
+ (58,160,2,'2020-10-02 18:45:26','Admin','Added',NULL),
+ (59,68,2,'2021-05-23 04:21:40','Email','Added',NULL),
+ (60,92,2,'2021-02-20 22:19:18','Email','Added',NULL),
+ (61,56,3,'2021-04-07 08:00:32','Admin','Added',NULL),
+ (62,70,3,'2021-01-02 17:06:28','Admin','Added',NULL),
+ (63,94,3,'2020-07-09 23:45:41','Admin','Added',NULL),
+ (64,174,3,'2020-10-20 09:07:46','Email','Added',NULL),
+ (65,198,3,'2021-02-06 10:00:31','Email','Added',NULL),
+ (66,83,3,'2020-12-25 17:12:31','Email','Added',NULL),
+ (67,154,3,'2020-10-20 02:46:44','Admin','Added',NULL),
+ (68,60,3,'2021-06-13 23:19:40','Admin','Added',NULL),
+ (69,186,3,'2020-08-11 10:57:17','Admin','Added',NULL),
+ (70,53,3,'2020-10-17 17:01:44','Admin','Added',NULL),
+ (71,113,3,'2021-05-02 16:58:18','Email','Added',NULL),
+ (72,181,3,'2021-03-06 02:53:59','Admin','Added',NULL),
+ (73,88,3,'2020-09-19 16:59:39','Admin','Added',NULL),
+ (74,199,3,'2020-12-11 18:37:33','Email','Added',NULL),
+ (75,3,3,'2021-04-05 09:21:22','Email','Added',NULL),
+ (76,72,4,'2020-11-23 21:35:04','Email','Added',NULL),
+ (77,170,4,'2020-07-15 19:28:35','Email','Added',NULL),
+ (78,173,4,'2021-06-04 17:36:10','Admin','Added',NULL),
+ (79,12,4,'2020-11-28 14:01:18','Admin','Added',NULL),
+ (80,114,4,'2021-03-15 15:59:18','Admin','Added',NULL),
+ (81,119,4,'2021-05-21 09:30:16','Email','Added',NULL),
+ (82,20,4,'2020-10-03 10:47:25','Email','Added',NULL),
+ (83,5,4,'2021-06-02 18:51:44','Email','Added',NULL);
 /*!40000 ALTER TABLE `civicrm_subscription_history` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -12179,20 +12174,24 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_website` WRITE;
 /*!40000 ALTER TABLE `civicrm_website` DISABLE KEYS */;
 INSERT INTO `civicrm_website` (`id`, `contact_id`, `url`, `website_type_id`) VALUES
- (1,157,'http://vndevelopmentservices.org',1),
- (2,91,'http://communityempowermenttrust.org',1),
- (3,13,'http://sacramentosportsacademy.org',1),
- (4,32,'http://ruralfamilyfund.org',1),
- (5,6,'http://vnsoftwarefellowship.org',1),
- (6,168,'http://ruralsoftware.org',1),
- (7,36,'http://ccagriculturealliance.org',1),
- (8,4,'http://mlkingarts.org',1),
- (9,79,'http://nypeaceacademy.org',1),
- (10,61,'http://klsustainabilityfund.org',1),
- (11,19,'http://hsempowermentsystems.org',1),
- (12,72,'http://bellmawrfund.org',1),
- (13,181,'http://unitedsoftwaresystems.org',1),
- (14,174,'http://unitedagriculturecenter.org',1);
+ (1,46,'http://sdartsservices.org',1),
+ (2,67,'http://kentuckyactionsolutions.org',1),
+ (3,19,'http://californiaeducationschool.org',1),
+ (4,180,'http://communityassociation.org',1),
+ (5,120,'http://laredosystems.org',1),
+ (6,190,'http://leopolisculturepartners.org',1),
+ (7,25,'http://brookfieldfoodschool.org',1),
+ (8,32,'http://texasschool.org',1),
+ (9,129,'http://coloradoacademy.org',1),
+ (10,201,'http://ndagriculturesystems.org',1),
+ (11,37,'http://pennsylvaniadevelopmentservices.org',1),
+ (12,51,'http://nmfamilytrust.org',1),
+ (13,8,'http://localpeace.org',1),
+ (14,146,'http://tcmusicalliance.org',1),
+ (15,163,'http://illinoismusicsolutions.org',1),
+ (16,178,'http://gordonpoetrypartners.org',1),
+ (17,111,'http://mississippipartners.org',1),
+ (18,41,'http://buffalosoftware.org',1);
 /*!40000 ALTER TABLE `civicrm_website` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -12224,12 +12223,13 @@ UNLOCK TABLES;
 
 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
 /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
 
--- Dump completed on 2021-06-10 20:47:13
+-- Dump completed on 2021-07-02  0:09:10
 -- +--------------------------------------------------------------------+
 -- | Copyright CiviCRM LLC. All rights reserved.                        |
 -- |                                                                    |
diff --git a/civicrm/sql/civicrm_navigation.mysql b/civicrm/sql/civicrm_navigation.mysql
index 15d8289a49add4988f18b36baa78e167bbe6ced9..1fd598695d5996f32081774662fd7e1bb313794e 100644
--- a/civicrm/sql/civicrm_navigation.mysql
+++ b/civicrm/sql/civicrm_navigation.mysql
@@ -94,8 +94,7 @@ VALUES
     ( @domainID, 'civicrm/import/activity?reset=1',                         'Import Activities',      'Import Activities',    'import contacts',  '',             @contactlastID, '1', '1',   8 ),
     ( @domainID, 'civicrm/group/add?reset=1',                               'New Group',              'New Group',            'edit groups',      '',             @contactlastID, '1', NULL,  9 ),
     ( @domainID, 'civicrm/group?reset=1',                                   'Manage Groups',          'Manage Groups',        'access CiviCRM',   '',             @contactlastID, '1', '1',   10 ),
-    ( @domainID, 'civicrm/tag?reset=1&action=add',                    'New Tag',                'New Tag',              'manage tags', '',           @contactlastID, '1', NULL, 11 ),
-    ( @domainID, 'civicrm/tag?reset=1',                               'Manage Tags (Categories)', 'Manage Tags (Categories)', 'manage tags', '',     @contactlastID, '1','1', 12 ),
+    ( @domainID, 'civicrm/tag?reset=1',                               'Manage Tags', 'Manage Tags (Categories)', 'manage tags', '',     @contactlastID, '1','1', 12 ),
     ( @domainID, 'civicrm/contact/deduperules?reset=1',  'Find and Merge Duplicate Contacts', 'Find and Merge Duplicate Contacts', 'administer dedupe rules,merge duplicate contacts', 'OR', @contactlastID, '1', NULL, 13 );
 
 INSERT INTO civicrm_navigation
@@ -292,7 +291,7 @@ INSERT INTO civicrm_navigation
 VALUES
     ( @domainID, 'civicrm/admin/custom/group?reset=1',      'Custom Fields', 'Custom Fields',                             'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 1 ),
     ( @domainID, 'civicrm/admin/uf/group?reset=1',          'Profiles', 'Profiles',                                       'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 2 ),
-    ( @domainID, 'civicrm/tag?reset=1',               'Tags (Categories)', 'Tags (Categories)',                     'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 3 ),
+    ( @domainID, 'civicrm/tag?reset=1',               'Tags', 'Tags (Categories)',                     'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 3 ),
     ( @domainID, 'civicrm/admin/options/activity_type?reset=1', 'Activity Types', 'Activity Types',   'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 4 ),
     ( @domainID, 'civicrm/admin/reltype?reset=1',           'Relationship Types', 'Relationship Types',                   'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 5 ),
     ( @domainID, 'civicrm/admin/options/subtype?reset=1',   'Contact Types','Contact Types',                              'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 6 ),
diff --git a/civicrm/templates/CRM/ACL/Page/ACL.tpl b/civicrm/templates/CRM/ACL/Page/ACL.tpl
index d1e07327ce0aaa6dfc435ca9f9e8ca02cdd3ee5b..302c97a06cd0d4732ab713e440cb5a03e742849f 100644
--- a/civicrm/templates/CRM/ACL/Page/ACL.tpl
+++ b/civicrm/templates/CRM/ACL/Page/ACL.tpl
@@ -35,7 +35,7 @@
             </thead>
             <tbody>
             {foreach from=$rows item=row key=aclID}
-              <tr id="acl-{$aclID}" class="{cycle values="odd-row,even-row"} {$row.class} crm-acl crm-entity {if NOT $row.is_active} disabled{/if}">
+              <tr id="acl-{$aclID}" class="{cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if} crm-acl crm-entity {if NOT $row.is_active} disabled{/if}">
                 <td class="crm-acl-entity">{$row.entity}</td>
                 <td class="crm-acl-operation" >{$row.operation}</td>
                 <td class="crm-acl-object_name">{$row.object_name}</td>
diff --git a/civicrm/templates/CRM/ACL/Page/ACLBasic.tpl b/civicrm/templates/CRM/ACL/Page/ACLBasic.tpl
index 8ecb0eee8a52b3ec189a32da62fd5f0bdfb2df17..f747719e1e011cfc82a146ddbd432b02f4dfda01 100644
--- a/civicrm/templates/CRM/ACL/Page/ACLBasic.tpl
+++ b/civicrm/templates/CRM/ACL/Page/ACLBasic.tpl
@@ -28,7 +28,7 @@
             <th></th>
         </tr>
         {foreach from=$rows item=row}
-        <tr class="{cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+        <tr class="{cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
           <td>{$row.entity}</td>
           <td>{$row.object_table}</td>
           <td>{$row.action}</td>
diff --git a/civicrm/templates/CRM/ACL/Page/EntityRole.tpl b/civicrm/templates/CRM/ACL/Page/EntityRole.tpl
index d76a8fc56fcb587893e6dc5ce4712f6e211a7248..9d4fd90107b534de1980883c3aa14ac7dfe90158 100644
--- a/civicrm/templates/CRM/ACL/Page/EntityRole.tpl
+++ b/civicrm/templates/CRM/ACL/Page/EntityRole.tpl
@@ -31,7 +31,7 @@
         </thead>
         <tbody>
         {foreach from=$rows item=row}
-          <tr id="acl_role-{$row.id}" class="{cycle values="odd-row,even-row"} {$row.class} crm-acl_entity_role crm-entity {if NOT $row.is_active} disabled{/if}">
+          <tr id="acl_role-{$row.id}" class="{cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if} crm-acl_entity_role crm-entity {if NOT $row.is_active} disabled{/if}">
             <td class="crm-acl_entity_role-acl_role">{$row.acl_role}</td>
             <td class="crm-acl_entity_role-entity">{$row.entity}</td>
             <td class="crm-acl_entity_role-is_active" id="row_{$row.id}_status">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
diff --git a/civicrm/templates/CRM/Activity/Form/ActivityLinks.tpl b/civicrm/templates/CRM/Activity/Form/ActivityLinks.tpl
index 689b4e3cf1b2a8c060189ddb7791af54a7053de0..eb12db97baaeaa4fcdd8882951208ea4442e1647 100644
--- a/civicrm/templates/CRM/Activity/Form/ActivityLinks.tpl
+++ b/civicrm/templates/CRM/Activity/Form/ActivityLinks.tpl
@@ -9,10 +9,6 @@
 *}
 {* Links for scheduling/logging meetings and calls and Sending Email *}
 
-{if $contact_id }
-{assign var = "contactId" value= $contact_id }
-{/if}
-
 {if $as_select} {* on 3.2, the activities can be either a drop down select (on the activity tab) or a list (on the action menu) *}
 <select name="other_activity" class="crm-form-select crm-select2 crm-action-menu fa-plus">
   <option value="">{ts}New Activity{/ts}</option>
diff --git a/civicrm/templates/CRM/Activity/Form/Search/Common.tpl b/civicrm/templates/CRM/Activity/Form/Search/Common.tpl
index 954984a9fc0e837a62795384cd3d4fcc4ed05aed..4b26623da3be42b3a85cfd5265be18f9bb0236ec 100644
--- a/civicrm/templates/CRM/Activity/Form/Search/Common.tpl
+++ b/civicrm/templates/CRM/Activity/Form/Search/Common.tpl
@@ -117,7 +117,7 @@
 {include file="CRM/Campaign/Form/addCampaignToComponent.tpl"
 campaignContext="componentSearch" campaignTrClass='' campaignTdClass=''}
 
-{if $activityGroupTree}
+{if !empty($activityGroupTree)}
   <tr id="activityCustom">
     <td id="activityCustomData" colspan="4">
       {include file="CRM/Custom/Form/Search.tpl" groupTree=$activityGroupTree showHideLinks=false}
diff --git a/civicrm/templates/CRM/Activity/Form/Selector.tpl b/civicrm/templates/CRM/Activity/Form/Selector.tpl
index ab1e4f6e10c917753d235fae9399f143012deb22..c8ac5d4ed1c2fb56c19a3e92bb39ffb233df3de1 100644
--- a/civicrm/templates/CRM/Activity/Form/Selector.tpl
+++ b/civicrm/templates/CRM/Activity/Form/Selector.tpl
@@ -35,7 +35,7 @@
 
   {counter start=0 skip=1 print=false}
   {foreach from=$rows item=row}
-  <tr id='rowid{$row.activity_id}' class="{cycle values="odd-row,even-row"} {$row.class}">
+  <tr id='rowid{$row.activity_id}' class="{cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}">
   {if !$single }
         {if $context eq 'Search' }
           {assign var=cbName value=$row.checkbox}
diff --git a/civicrm/templates/CRM/Activity/Import/Form/MapField.tpl b/civicrm/templates/CRM/Activity/Import/Form/MapField.tpl
index 2069288a7171ee0326345650f82f84033755df73..d13151f1098a73c48c026fbcba4531895b7b72fa 100644
--- a/civicrm/templates/CRM/Activity/Import/Form/MapField.tpl
+++ b/civicrm/templates/CRM/Activity/Import/Form/MapField.tpl
@@ -16,9 +16,6 @@
 
  <div class="help">
     <p>{ts}Review the values shown below from the first 2 rows of your import file and select the matching CiviCRM database fields from the drop-down lists in the right-hand column. Select '- do not import -' for any columns in the import file that you want ignored.{/ts}</p>
-    {if $savedMapping}
-    <p>{ts}Click 'Load Saved Field Mapping' if data has been previously imported from the same source. You can then select the saved import mapping setup and load it automatically.{/ts}<p>
-    {/if}
     <p>{ts}If you think you may be importing additional data from the same data source, check 'Save this field mapping' at the bottom of the page before continuing. The saved mapping can then be easily reused the next time data is imported.{/ts}</p>
 </div>
 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
diff --git a/civicrm/templates/CRM/Activity/Selector/Activity.tpl b/civicrm/templates/CRM/Activity/Selector/Activity.tpl
index 2d866e5b40f55e1ccb76d45b37688fcb80a60d92..ce706a7c7a210f41ebc90a6dad86c820ad63748e 100644
--- a/civicrm/templates/CRM/Activity/Selector/Activity.tpl
+++ b/civicrm/templates/CRM/Activity/Selector/Activity.tpl
@@ -34,7 +34,7 @@
 
       {counter start=0 skip=1 print=false}
       {foreach from=$rows item=row}
-      <tr class="{cycle values="odd-row,even-row"} {$row.class} crm-activity crm-activity_status-{$row.activity_status_id} crm-activity-type_{$row.activity_type_id}" id="crm-activity_{$row.activity_id}">
+      <tr class="{cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if} crm-activity crm-activity_status-{$row.activity_status_id} crm-activity-type_{$row.activity_type_id}" id="crm-activity_{$row.activity_id}">
         <td class="crm-activity-type crm-activity-type_{$row.activity_type_id}">{$row.activity_type}</td>
         <td class="crm-activity-subject">{$row.subject}</td>
         <td class="crm-activity-source_contact_name">
diff --git a/civicrm/templates/CRM/Admin/Form/MessageTemplates.tpl b/civicrm/templates/CRM/Admin/Form/MessageTemplates.tpl
index 34208cc2c4cd77d91cbba83646048c1df835bef6..ddff12a700086625b77b706381ea0c0caa0601e5 100644
--- a/civicrm/templates/CRM/Admin/Form/MessageTemplates.tpl
+++ b/civicrm/templates/CRM/Admin/Form/MessageTemplates.tpl
@@ -8,7 +8,9 @@
  +--------------------------------------------------------------------+
 *}
 {* this template is used for adding/editing/deleting Message Templates *}
-
+{if !isset($isAdmin)}
+  {assign var="isAdmin" value="0"}
+{/if}
 {if $action neq 8}
   <div class="help">
     {ts}Use this form to add or edit re-usable message templates.{/ts} {help id="id-intro" file="CRM/Admin/Page/MessageTemplates.hlp"}
@@ -50,7 +52,7 @@
         <tr>
           <td class="label-left">{$form.file_id.label}</td>
           <td>{$form.file_id.html}
-            {if $attachment}
+            {if !empty($attachment)}
             {foreach from=$attachment key=attKey item=attVal}
             <div class="crm-attachment-wrapper crm-entity" id="file_{$attVal.fileID}">
               <strong><a class="crm-attachment" href="{$attVal.url}">{$attVal.cleanName}</a></strong>
diff --git a/civicrm/templates/CRM/Admin/Form/Preferences/Display.tpl b/civicrm/templates/CRM/Admin/Form/Preferences/Display.tpl
index b06cb53588ac1ce86ea4480b80b344848807e703..fa3cfc362948c7906537e5ec73eaa5c8ab6ef29b 100644
--- a/civicrm/templates/CRM/Admin/Form/Preferences/Display.tpl
+++ b/civicrm/templates/CRM/Admin/Form/Preferences/Display.tpl
@@ -160,8 +160,6 @@
       <td class="label">{$form.editor_id.label} {help id="editor_id"}</td>
       <td>
         {$form.editor_id.html}
-        &nbsp;
-        {$form.ckeditor_config.html}
       </td>
     </tr>
     <tr class="crm-preferences-display-form-block-ajaxPopupsEnabled">
@@ -252,11 +250,6 @@
         }
 
         $("#contactEditBlocks, #contactEditOptions").on('sortupdate', getSorting);
-
-        function showCKEditorConfig() {
-          $('.crm-preferences-display-form-block-editor_id .crm-button').toggle($(this).val() == 'CKEditor');
-        }
-        $('select[name=editor_id]').each(showCKEditorConfig).change(showCKEditorConfig);
       });
     </script>
   {/literal}
diff --git a/civicrm/templates/CRM/Admin/Form/ScheduleReminders.tpl b/civicrm/templates/CRM/Admin/Form/ScheduleReminders.tpl
index 9571eb129fea820a0b1296740f19842caf0c4189..db6e95ca7151e7b01996d471d7ef6d0e83074ccb 100644
--- a/civicrm/templates/CRM/Admin/Form/ScheduleReminders.tpl
+++ b/civicrm/templates/CRM/Admin/Form/ScheduleReminders.tpl
@@ -7,6 +7,9 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
 *}
+{if !isset($isAdmin)}
+  {assign var="isAdmin" value="0"}
+{/if}
 {* This template is used for adding/scheduling reminders.  *}
 <div class="crm-block crm-form-block crm-scheduleReminder-form-block">
  <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
@@ -54,6 +57,14 @@
         </table>
      </td>
     </tr>
+    <tr class="crm-scheduleReminder-effective_start_date">
+      <td class="right">{$form.effective_start_date.label}</td>
+      <td colspan="3">{$form.effective_start_date.html} <div class="description"></div></td>
+    </tr>
+    <tr class="crm-scheduleReminder-effective_end_date">
+      <td class="right">{$form.effective_end_date.label}</td>
+      <td colspan="3">{$form.effective_end_date.html} <div class="description"></div></td>
+    </tr>
     <tr>
       <td class="label" width="20%">{$form.from_name.label}</td>
       <td>{$form.from_name.html}&nbsp;&nbsp;{help id="id-from_name_email"}</td>
@@ -77,11 +88,13 @@
         <td class="label">{$form.group_id.label}</td>
         <td>{$form.group_id.html}</td>
     </tr>
+    {if !empty($form.mode)}
     <tr id="msgMode" class="crm-scheduleReminder-form-block-mode">
       <td class="label">{$form.mode.label}</td>
       <td>{$form.mode.html}</td>
     </tr>
-    {if $multilingual}
+    {/if}
+    {if !empty($multilingual)}
     <tr class="crm-scheduleReminder-form-block-filter-contact-language">
       <td class="label">{$form.filter_contact_language.label}</td>
       <td>{$form.filter_contact_language.html} {help id="filter_contact_language"}</td>
@@ -116,7 +129,7 @@
        {include file="CRM/Contact/Form/Task/EmailCommon.tpl" upload=1 noAttach=1}
     </div>
     </fieldset>
-    {if $sms}
+    {if !empty($sms)}
       <fieldset id="sms" class="crm-collapsible"><legend class="collapsible-title">{ts}SMS Screen{/ts}</legend>
         <div>
         <table id="sms-field-table" class="form-layout-compressed">
@@ -167,6 +180,18 @@
       var $form = $('form.{/literal}{$form.formClass}{literal}'),
         recipientMapping = eval({/literal}{$recipientMapping}{literal});
 
+      updatedEffectiveDateDescription($('#entity_0 option:selected').text(), $('#start_action_date option:selected').text());
+      $('#entity_0, #start_action_date', $form).change(function() {
+       updatedEffectiveDateDescription($('#entity_0 option:selected').text(), $('#start_action_date option:selected').text());
+      });
+
+      $('#absolute_date', $form).change(function() {
+        $('.crm-scheduleReminder-effective_start_date, .crm-scheduleReminder-effective_end_date').toggle(($(this).val() === null));
+      });
+      $('#start_action_offset', $form).change(function() {
+        $('.crm-scheduleReminder-effective_start_date, .crm-scheduleReminder-effective_end_date').toggle(($(this).val() !== null));
+      });
+
       $('#absolute_date_display', $form).change(function() {
         if($(this).val()) {
           $('#relativeDate, #relativeDateRepeat, #repeatFields, #OR', $form).hide();
@@ -181,6 +206,11 @@
       loadMsgBox();
       $('#mode', $form).change(loadMsgBox);
 
+      function updatedEffectiveDateDescription(entityText, startActionDateText) {
+        $('.crm-scheduleReminder-effective_start_date .description').text(ts('Earliest %1 %2 to include.', {1: entityText, 2: startActionDateText}));
+        $('.crm-scheduleReminder-effective_end_date .description').text(ts('Earliest %1 %2 to exclude.', {1: entityText, 2: startActionDateText}));
+      }
+
       function populateRecipient() {
         var mappingID = $('#entity_0', $form).val() || $('[name^=mappingID]', $form).val();
         var recipient = $("#recipient", $form).val();
diff --git a/civicrm/templates/CRM/Admin/Page/Admin.tpl b/civicrm/templates/CRM/Admin/Page/Admin.tpl
index 8c9154b7f8f1288d0de34dc25300c3e29c9a425f..d35e1d415d58fe03b89e9c6dc06f559776964dc8 100644
--- a/civicrm/templates/CRM/Admin/Page/Admin.tpl
+++ b/civicrm/templates/CRM/Admin/Page/Admin.tpl
@@ -8,16 +8,6 @@
  +--------------------------------------------------------------------+
 *}
 {* Displays Administer CiviCRM Control Panel *}
-{if $newer_civicrm_version}
-    <div class="messages status no-popup">
-      <table>
-        <tr><td class="tasklist">
-          {ts 1=$registerSite}Have you registered this site at CiviCRM.org? If not, please help strengthen the CiviCRM ecosystem by taking a few minutes to <a href="%1" target="_blank">fill out the site registration form</a>. The information collected will help us prioritize improvements, target our communications and build the community. If you have a technical role for this site, be sure to check "Keep in Touch" to receive technical updates (a low volume mailing list).{/ts}</td>
-        </tr>
-      </table>
-    </div>
-{/if}
-
 <div class="crm-content-block">
 {foreach from=$adminPanel key=groupName item=group}
 <div id="admin-section-{$groupName}">
diff --git a/civicrm/templates/CRM/Admin/Page/ConfigTaskList.tpl b/civicrm/templates/CRM/Admin/Page/ConfigTaskList.tpl
index 31e2997e3dffdb9b41ea12ed0d4a5eb20a5019cb..fd21f6f0e1e487842d9f4672d142737e893c2b59 100644
--- a/civicrm/templates/CRM/Admin/Page/ConfigTaskList.tpl
+++ b/civicrm/templates/CRM/Admin/Page/ConfigTaskList.tpl
@@ -111,7 +111,7 @@
         <td colspan="2">{ts}Organize your contacts{/ts}</td>
     </tr>
     <tr class="even">
-        <td class="tasklist nowrap"><a href="{crmURL p="civicrm/tag" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Tags (Categories){/ts}</a></td>
+        <td class="tasklist nowrap"><a href="{crmURL p="civicrm/tag" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Tags{/ts}</a></td>
         <td>{ts}Tags can be assigned to any contact record, and are a convenient way to find contacts. You can create as many tags as needed to organize and segment your records.{/ts}</td>
     </tr>
     <tr class="even">
diff --git a/civicrm/templates/CRM/Admin/Page/Extensions/AddNew.tpl b/civicrm/templates/CRM/Admin/Page/Extensions/AddNew.tpl
index 570e3eafc1ed2a822e6e36771789a0cd65d1a526..2cfa693a96afbcb1fa5402818162decc9fe36efd 100644
--- a/civicrm/templates/CRM/Admin/Page/Extensions/AddNew.tpl
+++ b/civicrm/templates/CRM/Admin/Page/Extensions/AddNew.tpl
@@ -22,7 +22,7 @@ Depends: CRM/common/enableDisableApi.tpl and CRM/common/jsortable.tpl
         {/if}
         <tr id="addnew-row_{$row.file}" class="crm-extensions crm-extensions_{$row.file}">
           <td class="crm-extensions-label">
-              <a class="collapsed" href="#"></a>&nbsp;<strong>{$row.label}</strong><br/>({$row.key})
+            <a class="collapsed" href="#"></a>&nbsp;<strong>{$row.label|escape}</strong><br/>{$row.description|escape}
           </td>
           <td class="crm-extensions-version">{$row.version|escape}</td>
           <td class="crm-extensions-description">{$row.type|capitalize}</td>
diff --git a/civicrm/templates/CRM/Admin/Page/JobLog.tpl b/civicrm/templates/CRM/Admin/Page/JobLog.tpl
index 5e93685a6a2a4df9d0be9fd7749a91b1f954e374..4199bade944b055708717d45f3452e72d1a1e59c 100644
--- a/civicrm/templates/CRM/Admin/Page/JobLog.tpl
+++ b/civicrm/templates/CRM/Admin/Page/JobLog.tpl
@@ -36,7 +36,7 @@
             <th >{ts}Command{/ts}/{ts}Job Status{/ts}/{ts}Additional Information{/ts}</th>
         </tr>
         {foreach from=$rows item=row}
-        <tr id="job-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}">
+        <tr id="job-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}">
             <td class="crm-joblog-run_datetime">{$row.run_time}</td>
             <td class="crm-joblog-name">{$row.name}</td>
             <td class="crm-joblog-details">
diff --git a/civicrm/templates/CRM/Admin/Page/LabelFormats.tpl b/civicrm/templates/CRM/Admin/Page/LabelFormats.tpl
index e2ddf676bda4a38a86b589499821f5a5c982302a..4a4142f5f80c67ba9e8efa9f1cd4ef0056a6ff71 100644
--- a/civicrm/templates/CRM/Admin/Page/LabelFormats.tpl
+++ b/civicrm/templates/CRM/Admin/Page/LabelFormats.tpl
@@ -48,7 +48,7 @@
           </tr>
           </thead>
           {foreach from=$rows item=row}
-            <tr id="row_{$row.id}" class="crm-labelFormat {cycle values="odd-row,even-row"} {$row.class}">
+            <tr id="row_{$row.id}" class="crm-labelFormat {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}">
               <td class="crm-labelFormat-name">{$row.label}</td>
               <td class="crm-labelFormat-name">{$row.groupName}</td>
               <td class="crm-labelFormat-order nowrap">{$row.weight}</td>
diff --git a/civicrm/templates/CRM/Admin/Page/LocationType.tpl b/civicrm/templates/CRM/Admin/Page/LocationType.tpl
index 9802054b33457c7f99aca871fc9067561a79966d..80e8b716aa2f7a1deb69b714ad24370f476907a9 100644
--- a/civicrm/templates/CRM/Admin/Page/LocationType.tpl
+++ b/civicrm/templates/CRM/Admin/Page/LocationType.tpl
@@ -34,7 +34,7 @@
       </tr>
     </thead>
     {foreach from=$rows item=row}
-    <tr id="location_type-{$row.id}"  data-action="setvalue" class="{cycle values="odd-row,even-row"} {$row.class} crm-entity {if NOT $row.is_active} disabled{/if}">
+    <tr id="location_type-{$row.id}"  data-action="setvalue" class="{cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if} crm-entity {if NOT $row.is_active} disabled{/if}">
         <td class="crmf-name">{$row.name}</td>
         <td class="crmf-display_name crm-editable">{$row.display_name}</td>
         <td class="crmf-vcard_name crm-editable">{if !empty($row.vcard_name)}{$row.vcard_name}{/if}</td>
diff --git a/civicrm/templates/CRM/Admin/Page/Mapping.tpl b/civicrm/templates/CRM/Admin/Page/Mapping.tpl
index 8f34ebc4a5cc3a5642743d7b8429b4bf2afc89ba..d7b3ba0538c01c04a3fd7470fd191b95c4e4d007 100644
--- a/civicrm/templates/CRM/Admin/Page/Mapping.tpl
+++ b/civicrm/templates/CRM/Admin/Page/Mapping.tpl
@@ -27,7 +27,7 @@
               <th></th>
             </tr>
             {foreach from=$rows item=row}
-            <tr class="{cycle values="odd-row,even-row"} {$row.class} crm-mapping">
+            <tr class="{cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if} crm-mapping">
                 <td class="crm-mapping-name">{$row.name}</td>
                 <td class="crm-mapping-description">{$row.description}</td>
                 <td class="crm-mapping-mapping_type">{$row.mapping_type}</td>
diff --git a/civicrm/templates/CRM/Admin/Page/MessageTemplates.tpl b/civicrm/templates/CRM/Admin/Page/MessageTemplates.tpl
index 0adf34c5b1859e7b4e5cacc444bd1f9b22a660c2..7bc7ac1e23fdf5f718c165e9feffe91b579187e3 100644
--- a/civicrm/templates/CRM/Admin/Page/MessageTemplates.tpl
+++ b/civicrm/templates/CRM/Admin/Page/MessageTemplates.tpl
@@ -125,7 +125,7 @@
                 </thead>
                 <tbody>
                 {foreach from=$template_row item=row}
-                    <tr id="message_template-{$row.id}" class="crm-entity {$row.class}{if NOT $row.is_active} disabled{/if}">
+                    <tr id="message_template-{$row.id}" class="crm-entity {if !empty($row.class)}{$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
                       <td>{$row.msg_title}</td>
                       {if $type eq 'userTemplates'}
                         <td>{$row.msg_subject}</td>
diff --git a/civicrm/templates/CRM/Admin/Page/OptionGroup.tpl b/civicrm/templates/CRM/Admin/Page/OptionGroup.tpl
index ca9abf725160cfb20d62b7fe32b4d19f9a9d14f8..1d72cb849c4ac19bfbec3bd84c1d4c41282c7f79 100644
--- a/civicrm/templates/CRM/Admin/Page/OptionGroup.tpl
+++ b/civicrm/templates/CRM/Admin/Page/OptionGroup.tpl
@@ -39,7 +39,7 @@
           <th></th>
         </tr>
         {foreach from=$rows item=row}
-        <tr id="optionGroup-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+        <tr id="optionGroup-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
           <td class="crm-admin-optionGroup-title">{if $row.title}{$row.title}{else}( {ts}none{/ts} ){/if}</td>
           <td class="crm-admin-optionGroup-name">{$row.name}</td>
           <td class="crm-admin-optionGroup-is_reserved">{if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
diff --git a/civicrm/templates/CRM/Admin/Page/Options.tpl b/civicrm/templates/CRM/Admin/Page/Options.tpl
index 1ecc70b42ffcbc5ad8d8af53b02cc23519a19bc7..85ac75419485d4ec79b435ca44a3688f89f0739c 100644
--- a/civicrm/templates/CRM/Admin/Page/Options.tpl
+++ b/civicrm/templates/CRM/Admin/Page/Options.tpl
@@ -48,7 +48,7 @@
     {else}
       {ts}You can use this page to define one or more general Email Addresses that can be selected as the From Address. EXAMPLE: <em>"Client Services" &lt;clientservices@example.org&gt;</em>{/ts}
     {/if}
-  {elseif $isLocked}
+  {elseif !empty($isLocked)}
     {ts}This option group is reserved for system use. You cannot add or delete options in this list.{/ts}
   {else}
     {ts 1=$gLabel}The existing option choices for %1 group are listed below. You can add, edit or delete them from this screen.{/ts}
@@ -58,9 +58,9 @@
 
 <div class="crm-content-block crm-block">
 {if $rows}
-{if $isLocked ne 1}
+{if !isset($isLocked) || $isLocked ne 1}
     <div class="action-link">
-        {crmButton p="civicrm/admin/options/$gName" q='action=add&reset=1' class="new-option" icon="plus-circle"}{ts 1=$gLabel}Add %1{/ts}{/crmButton}
+        {crmButton p="civicrm/admin/options/$gName" q='action=add&reset=1' class="new-option" icon="plus-circle"}{if !isset($gLabel)}{ts}Add Option{/ts}{else}{ts 1=$gLabel}Add %1{/ts}{/if}{/crmButton}
     </div>
 {/if}
 {foreach from=$rows item=row}
@@ -76,7 +76,7 @@
             {if !empty($hasIcons)}
               <th></th>
             {/if}
-            {if $showComponent}
+            {if !empty($showComponent)}
                 <th>{ts}Component{/ts}</th>
             {/if}
             <th>
@@ -101,11 +101,11 @@
                 {/if}
             </th>
             {if $gName eq "payment_instrument"}<th>Account</th>{/if}
-            {if $showCounted}<th>{ts}Counted?{/ts}</th>{/if}
-            {if $showVisibility}<th>{ts}Visibility{/ts}</th>{/if}
+            {if !empty($showCounted)}<th>{ts}Counted?{/ts}</th>{/if}
+            {if !empty($showVisibility)}<th>{ts}Visibility{/ts}</th>{/if}
             <th id="nosort">{ts}Description{/ts}</th>
             <th>{ts}Order{/ts}</th>
-            {if $showIsDefault}<th>{ts}Default{/ts}</th>{/if}
+            {if !empty($showIsDefault)}<th>{ts}Default{/ts}</th>{/if}
             <th>{ts}Reserved{/ts}</th>
             <th>{ts}Enabled?{/ts}</th>
             <th></th>
@@ -117,26 +117,26 @@
             {if !empty($hasIcons)}
               <td class="crm-admin-options-icon"><i class="crm-i {$row.icon}" aria-hidden="true"></i></td>
             {/if}
-            {if $showComponent}
+            {if !empty($showComponent)}
               <td class="crm-admin-options-component_name">{$row.component_name}</td>
             {/if}
             <td class="crm-admin-options-label crm-editable" data-field="label" {if !empty($row.color)}style="background-color: {$row.color}; color: {$row.color|colorContrast};"{/if}>
-              {$row.label}
+              {if !empty($row.label)}{$row.label}{/if}
             </td>
             {if $gName eq "case_status"}
               <td class="crm-admin-options-grouping">{$row.grouping}</td>
             {/if}
-            <td class="crm-admin-options-value">{$row.value}</td>
+            <td class="crm-admin-options-value">{if isset($row.value)}{$row.value}{/if}</td>
             {if $gName eq "payment_instrument"}
               <td>{$row.financial_account}</td>
             {/if}
-            {if $showCounted}
+            {if !empty($showCounted)}
               <td class="center crm-admin-options-filter">{icon condition=$row.filter}{ts}Counted{/ts}{/icon}</td>
             {/if}
-            {if $showVisibility}<td class="crm-admin-visibility_label">{$row.visibility_label}</td>{/if}
-            <td class="crm-admin-options-description crm-editable" data-field="description" data-type="textarea">{$row.description}</td>
-            <td class="nowrap crm-admin-options-order">{$row.weight}</td>
-            {if $showIsDefault}
+            {if !empty($showVisibility)}<td class="crm-admin-visibility_label">{$row.visibility_label}</td>{/if}
+            <td class="crm-admin-options-description crm-editable" data-field="description" data-type="textarea">{if isset($row.description)}{$row.description}{/if}</td>
+            <td class="nowrap crm-admin-options-order">{if isset($row.weight)}{$row.weight}{/if}</td>
+            {if !empty($showIsDefault)}
               <td class="crm-admin-options-is_default" align="center">{icon condition=$row.is_default}{ts}Default{/ts}{/icon}&nbsp;</td>
             {/if}
             <td class="crm-admin-options-is_reserved">{if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
@@ -156,8 +156,8 @@
     </div>
 {/if}
     <div class="action-link">
-      {if $isLocked ne 1}
-        {crmButton p="civicrm/admin/options/$gName" q='action=add&reset=1' class="new-option" icon="plus-circle"}{ts 1=$gLabel}Add %1{/ts}{/crmButton}
+      {if !isset($isLocked) || $isLocked ne 1}
+        {crmButton p="civicrm/admin/options/$gName" q='action=add&reset=1' class="new-option" icon="plus-circle"}{if !isset($gLabel)}{ts}Add Option{/ts}{else}{ts 1=$gLabel}Add %1{/ts}{/if}{/crmButton}
       {/if}
       {crmButton p="civicrm/admin/options" q="action=browse&reset=1" class="cancel" icon="check"}{ts}Done{/ts}{/crmButton}
     </div>
diff --git a/civicrm/templates/CRM/Admin/Page/ParticipantStatusType.tpl b/civicrm/templates/CRM/Admin/Page/ParticipantStatusType.tpl
index 92e1eedec30220ea1a012b2c9e96a8ca5a060f28..a32d84cd41baffd631143be6792f3add0b40fd42 100644
--- a/civicrm/templates/CRM/Admin/Page/ParticipantStatusType.tpl
+++ b/civicrm/templates/CRM/Admin/Page/ParticipantStatusType.tpl
@@ -29,10 +29,10 @@
         <th></th>
       </thead>
       {foreach from=$rows item=row}
-       <tr id="participant_status_type-{$row.id}" class="crm-entity crm-participant_{$row.id} {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+       <tr id="participant_status_type-{$row.id}" class="crm-entity crm-participant_{$row.id} {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
           <td class="crmf-label crm-editable" data-field="label">{$row.label}</td>
           <td class="crmf-name">{$row.name} ({$row.id})</td>
-          <td class="crmf-class {if !$row.is_reserved} crm-editable {/if}" data-type="select">{$row.class}</td>
+          <td class="crmf-class {if empty($row.is_reserved)} crm-editable {/if}" data-type="select">{$row.class}</td>
           <td class="center crmf-is_reserved">{icon condition=$row.is_reserved}{ts}Reserved{/ts}{/icon}</td>
         <td id="row_{$row.id}_status" class="crmf-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
           <td class="center crmf-is_counted">{icon condition=$row.is_counted}{ts}Counted{/ts}{/icon}</td>
diff --git a/civicrm/templates/CRM/Admin/Page/PaymentProcessor.tpl b/civicrm/templates/CRM/Admin/Page/PaymentProcessor.tpl
index 2323dffa9c2d1cde2b50d9fd88425b18bf89d891..4e12846cfd8405643e8210ab14e893e4ae48d6f6 100644
--- a/civicrm/templates/CRM/Admin/Page/PaymentProcessor.tpl
+++ b/civicrm/templates/CRM/Admin/Page/PaymentProcessor.tpl
@@ -34,7 +34,7 @@
             <th></th>
         </tr>
         {foreach from=$rows item=row}
-        <tr id="payment_processor-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+        <tr id="payment_processor-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
             <td class="crmf-id center">{$row.id}</td>
             <td class="crmf-test_id center">{$row.test_id}</td>
             <td class="crmf-name">{$row.name}</td>
diff --git a/civicrm/templates/CRM/Admin/Page/PaymentProcessorType.tpl b/civicrm/templates/CRM/Admin/Page/PaymentProcessorType.tpl
index 7580755844c99b0f72911842767b874f7a4f775a..2340f7e653f4e827c015064121ad11a773d89a9a 100644
--- a/civicrm/templates/CRM/Admin/Page/PaymentProcessorType.tpl
+++ b/civicrm/templates/CRM/Admin/Page/PaymentProcessorType.tpl
@@ -31,10 +31,10 @@
             <th></th>
         </tr>
         {foreach from=$rows item=row}
-        <tr id="paymentProcessorType-{$row.id}" class="{cycle values="odd-row,even-row"} {$row.class} crm-entity {if NOT $row.is_active} disabled{/if}">
+        <tr id="paymentProcessorType-{$row.id}" class="{cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if} crm-entity {if NOT $row.is_active} disabled{/if}">
           <td class="crm-paymentProcessorType-name">{$row.name}</td>
           <td class="crm-paymentProcessorType-title crm-editable" data-field="title">{$row.title}</td>
-            <td class="crm-paymentProcessorType-description">{$row.description}</td>
+            <td class="crm-paymentProcessorType-description">{if isset($row.description)}{$row.description}{/if}</td>
           <td id="row_{$row.id}_status" class="crm-paymentProcessorType-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
             <td class="crm-paymentProcessorType-is_default">{icon condition=$row.is_default}{ts}Default{/ts}{/icon}&nbsp;</td>
           <td>{$row.action}</td>
diff --git a/civicrm/templates/CRM/Admin/Page/PdfFormats.tpl b/civicrm/templates/CRM/Admin/Page/PdfFormats.tpl
index 063a160ff1d127689e289a86e95bc1d273607fc9..b715a07bca0b9dd2296a5040fc6778ddfd619580 100644
--- a/civicrm/templates/CRM/Admin/Page/PdfFormats.tpl
+++ b/civicrm/templates/CRM/Admin/Page/PdfFormats.tpl
@@ -47,7 +47,7 @@
         </tr>
         </thead>
         {foreach from=$rows item=row}
-        <tr id="row_{$row.id}" class="crm-pdfFormat {cycle values="odd-row,even-row"} {$row.class}">
+        <tr id="row_{$row.id}" class="crm-pdfFormat {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}">
             <td class="crm-pdfFormat-name">{$row.name}</td>
             <td class="crm-pdfFormat-description">{$row.description}</td>
             <td class="crm-pdfFormat-is_default">{icon condition=$row.is_default}{ts}Default{/ts}{/icon}&nbsp;</td>
diff --git a/civicrm/templates/CRM/Admin/Page/PreferencesDate.tpl b/civicrm/templates/CRM/Admin/Page/PreferencesDate.tpl
index 96f806dbd77e7834328d8144b3607f6b2f57792e..aa39aefd0a2f293b2fbb3bf879d689eb5dc0e83e 100644
--- a/civicrm/templates/CRM/Admin/Page/PreferencesDate.tpl
+++ b/civicrm/templates/CRM/Admin/Page/PreferencesDate.tpl
@@ -25,7 +25,7 @@
                 <th ></th>
             </tr>
             {foreach from=$rows item=row}
-            <tr class="{cycle values="odd-row,even-row"} {$row.class}">
+            <tr class="{cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}">
                 <td>{$row.name}</td>
                 <td>{$row.description}</td>
                 <td class="nowrap">{if !$row.date_format}{ts}Default{/ts}{else}{$row.date_format}{/if}</td>
diff --git a/civicrm/templates/CRM/Admin/Page/RelationshipType.tpl b/civicrm/templates/CRM/Admin/Page/RelationshipType.tpl
index 7e0a4d3633f827c079a85f298482a2120f4fc0c0..f1f5c79bd53853e4a16a5f083168443648096420 100644
--- a/civicrm/templates/CRM/Admin/Page/RelationshipType.tpl
+++ b/civicrm/templates/CRM/Admin/Page/RelationshipType.tpl
@@ -44,15 +44,15 @@
         </tr>
         </thead>
         {foreach from=$rows item=row}
-        <tr id="relationship_type-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if} crm-relationship">
+        <tr id="relationship_type-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if} crm-relationship">
             <td class="crm-relationship-label_a_b crm-editable" data-field="label_a_b">{$row.label_a_b}</td>
             <td class="crm-relationship-label_b_a crm-editable" data-field="label_b_a">{$row.label_b_a}</td>
             <td class="crm-relationship-contact_type_a_display">
                 {if $row.contact_type_a_display} {$row.contact_type_a_display}
-                {if $row.contact_sub_type_a} - {$row.contact_sub_type_a} {/if}{else} {ts}All Contacts{/ts} {/if} </td>
+                {if !empty($row.contact_sub_type_a)} - {$row.contact_sub_type_a} {/if}{else} {ts}All Contacts{/ts} {/if} </td>
             <td class="crm-relationship-contact_type_b_display">
                 {if $row.contact_type_b_display} {$row.contact_type_b_display}
-                {if $row.contact_sub_type_b} - {$row.contact_sub_type_b}{/if} {else} {ts}All Contacts{/ts} {/if} </td>
+                {if !empty($row.contact_sub_type_b)} - {$row.contact_sub_type_b}{/if} {else} {ts}All Contacts{/ts} {/if} </td>
             <td class="crm-relationship-is_active" id="row_{$row.id}_status">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
             <td>{$row.action|replace:'xx':$row.id}</td>
         </tr>
diff --git a/civicrm/templates/CRM/Admin/Page/Reminders.tpl b/civicrm/templates/CRM/Admin/Page/Reminders.tpl
index 39b11de446df2d84f97a8f668a4972b26dd9614b..3a08352e62acf213c3753709cf2eb5dc25358991 100644
--- a/civicrm/templates/CRM/Admin/Page/Reminders.tpl
+++ b/civicrm/templates/CRM/Admin/Page/Reminders.tpl
@@ -28,7 +28,7 @@
     </thead>
     {if $rows and is_array($rows)}
       {foreach from=$rows item=row}
-        <tr id="action_schedule-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+        <tr id="action_schedule-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
           <td class="crm-scheduleReminders-title crm-editable" data-field="title">{$row.title}</td>
           <td class="crm-scheduleReminders-value">{$row.entity} - {$row.value}</td>
           <td class="crm-scheduleReminders-description">{if $row.absolute_date}{$row.absolute_date|crmDate}{else}{$row.start_action_offset}&nbsp;{$row.start_action_unit}{if $row.start_action_offset > 1}{ts}(s){/ts}{/if}&nbsp;{$row.start_action_condition}&nbsp;{$row.entityDate}{/if}</td>
diff --git a/civicrm/templates/CRM/Admin/Page/ScheduleReminders.tpl b/civicrm/templates/CRM/Admin/Page/ScheduleReminders.tpl
index 0e004c2c88a9b8745597a8c4dd913670ecee56bb..9fd046b00e23d57e5f657cef64625b00998d2728 100644
--- a/civicrm/templates/CRM/Admin/Page/ScheduleReminders.tpl
+++ b/civicrm/templates/CRM/Admin/Page/ScheduleReminders.tpl
@@ -8,15 +8,15 @@
  +--------------------------------------------------------------------+
 *}
 {* this template is for configuring Scheduled Reminders *}
-{if $setTab eq 1}
-  {if $component eq 'event'}
+{if !empty($setTab) and $setTab eq 1}
+  {if !empty($component) and $component eq 'event'}
      {include file="CRM/Event/Form/ManageEvent/Tab.tpl"}
   {/if}
 {else}
 {if $action eq 1 or $action eq 2 or $action eq 8 or $action eq 16384}
    {include file="CRM/Admin/Form/ScheduleReminders.tpl"}
 {else}
-  {if !$component}
+  {if empty($component)}
     {capture assign=schedRemindersDocLink}{docURL page="user/email/scheduled-reminders/"}{/capture}
     <div class="help">
       {ts}Scheduled reminders allow you to automatically send messages to contacts regarding their memberships, participation in events, or other activities.{/ts} {$schedRemindersDocLink}
@@ -35,7 +35,7 @@
   {/if}
   <div class="action-link">
     {assign var='link' value="civicrm/admin/scheduleReminders"}
-    {if $component}
+    {if !empty($component)}
       {assign var='urlParams' value="action=add&context=$component&compId=$id&reset=1"}
     {else}
       {assign var='urlParams' value="action=add&reset=1"}
diff --git a/civicrm/templates/CRM/Badge/Page/Layout.tpl b/civicrm/templates/CRM/Badge/Page/Layout.tpl
index a69b549b34743ce264edd15373539664d27ef015..88bca86ec15a633416224ab4a5a8cc3857267d32 100644
--- a/civicrm/templates/CRM/Badge/Page/Layout.tpl
+++ b/civicrm/templates/CRM/Badge/Page/Layout.tpl
@@ -32,7 +32,7 @@
           </tr>
           </thead>
           {foreach from=$rows item=row}
-            <tr id="print_label-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class} crm-badge-layout {if NOT $row.is_active} disabled{/if}">
+            <tr id="print_label-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if} crm-badge-layout {if NOT $row.is_active} disabled{/if}">
               <td class="crm-badge-layout-title crm-editable" data-field="title">{$row.title}</td>
               <td class="crm-badge-layout-description crm-editable" data-field="description" data-type="textarea">{$row.description}</td>
               <td id="row_{$row.id}_status" class="crm-badge-layout-is_active">
diff --git a/civicrm/templates/CRM/Batch/Form/Search.tpl b/civicrm/templates/CRM/Batch/Form/Search.tpl
index 872cc172a3c728e9d5bad54a7969e5c6c76f2a32..ab14b308042ede39693af4162295ff0ae88eae8a 100644
--- a/civicrm/templates/CRM/Batch/Form/Search.tpl
+++ b/civicrm/templates/CRM/Batch/Form/Search.tpl
@@ -47,7 +47,7 @@ CRM.$(function($) {
   });
 
   function buildBatchSelector( filterSearch ) {
-    var status = {/literal}{$status}{literal};
+    var status = {/literal}{if !empty($status)}{$status}{else}0{/if}{literal};
     if (filterSearch) {
       crmBatchSelector.fnDestroy();
       var ZeroRecordText = '<div class="status messages">{/literal}{ts escape="js"}No matching Data Entry Batches found for your search criteria.{/ts}{literal}</li></ul></div>';
diff --git a/civicrm/templates/CRM/Campaign/Page/SurveyType.tpl b/civicrm/templates/CRM/Campaign/Page/SurveyType.tpl
index c7ac2f45889af7f8ec5c776b3a3d834d2a2d9d73..f446f1d57673dede90c58c0c3be15bbb2263bc8e 100644
--- a/civicrm/templates/CRM/Campaign/Page/SurveyType.tpl
+++ b/civicrm/templates/CRM/Campaign/Page/SurveyType.tpl
@@ -31,7 +31,7 @@
         <tr id="option_value-{$row.id}" class="crm-entity crm-admin-options_{$row.id} {if NOT $row.is_active} disabled{/if}">
           <td class="crm-admin-options-label crm-editable" data-field="label">{$row.label}</td>
           <td class="crm-admin-options-value">{$row.value}</td>
-          <td class="crm-admin-options-description">{$row.description}</td>
+          <td class="crm-admin-options-description">{if !empty($row.description)}{$row.description}{/if}</td>
           <td class="nowrap crm-admin-options-order">{$row.weight}</td>
           <td class="crm-admin-options-is_reserved">{if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
           <td class="crm-admin-options-is_active" id="row_{$row.id}_status">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
diff --git a/civicrm/templates/CRM/Case/Form/Case.hlp b/civicrm/templates/CRM/Case/Form/Case.hlp
index b34b08ac8688b143c80a04d117a20ef6e3ff32c0..1ce951b54a65601a187213d68a73a995da7e14db 100644
--- a/civicrm/templates/CRM/Case/Form/Case.hlp
+++ b/civicrm/templates/CRM/Case/Form/Case.hlp
@@ -16,7 +16,7 @@
   {ts}Details{/ts}
 {/htxt}
 {htxt id="id-details"}
-{if $params.activityTypeFile EQ 'OpenCase'}
+{if !empty($params.activityTypeFile) && $params.activityTypeFile EQ 'OpenCase'}
     <ul>
     <li>{ts}Introduce yourself and your role within our organization.{/ts}</li>
     <li>{ts}&quot;All of the information that you provide to us or any of our representatives and service providers will be held in strictest confidence. It will not be used for any purpose other than to help you, and for any other purpose that you authorize in writing, or which is required by law.&quot;{/ts}</li>
@@ -34,7 +34,7 @@
   {ts}Title{/ts}
 {/htxt}
 {htxt id="id-activity_subject"}
-{if $params.activityTypeFile EQ 'OpenCase'}
+{if !empty($params.activityTypeFile) && $params.activityTypeFile EQ 'OpenCase'}
   {ts}Provide a one-line summary of what this case is about.{/ts}
 {/if}
 {/htxt}
@@ -43,7 +43,7 @@
   {ts}Case Type{/ts}
 {/htxt}
 {htxt id="id-case_type"}
-{if $params.activityTypeFile EQ 'OpenCase'}
+{if !empty($params.activityTypeFile) && $params.activityTypeFile EQ 'OpenCase'}
   {ts}Offer the appropriate service from the list. If the service requires coordination, contact the Director.{/ts}
 {/if}
 {/htxt}
diff --git a/civicrm/templates/CRM/Case/Form/Case.tpl b/civicrm/templates/CRM/Case/Form/Case.tpl
index 2edb838293da536e1f3bc278184d46f57f0ac272..08c79e523c40ab33947acd4fc3956b5c75919a80 100644
--- a/civicrm/templates/CRM/Case/Form/Case.tpl
+++ b/civicrm/templates/CRM/Case/Form/Case.tpl
@@ -34,12 +34,12 @@
             <div class="help">{$activityTypeDescription}</div>
         </tr>
     {/if}
-{if $clientName}
+{if !empty($clientName)}
     <tr class="crm-case-form-block-clientName">
       <td class="label font-size12pt">{ts}Client{/ts}</td>
       <td class="font-size12pt bold view-value">{$clientName}</td>
     </tr>
-{elseif !$clientName and $action eq 1}
+{elseif empty($clientName) and $action eq 1}
     {if $context eq 'standalone'}
       <td class="label">{$form.client_id.label}</td>
       <td class="view-value">{$form.client_id.html}</td>
@@ -64,7 +64,7 @@
 {* This shows ACTIVITY custom fields, as opposed to CASE custom fields, so is not a duplicate of the other custom data block below. *}
 {if $groupTree}
     <tr>
-       <td colspan="2">{include file="CRM/Custom/Form/CustomData.tpl"}</td>
+       <td colspan="2">{include file="CRM/Custom/Form/CustomData.tpl" skipTitle=0}</td>
     </tr>
 {/if}
 
diff --git a/civicrm/templates/CRM/Case/Form/CaseFilter.tpl b/civicrm/templates/CRM/Case/Form/CaseFilter.tpl
index c078bcee54e136c1dff29454dca56adb98a5a968..4b425c00e10e8bb768a088eeba706bf4184f41f1 100644
--- a/civicrm/templates/CRM/Case/Form/CaseFilter.tpl
+++ b/civicrm/templates/CRM/Case/Form/CaseFilter.tpl
@@ -21,7 +21,7 @@
           <td class="crm-contact-form-block-case_status_id crm-inline-edit-field">
             {$form.case_status_id.label}<br /> {$form.case_status_id.html}
           </td>
-          {if $accessAllCases && $form.upcoming}
+          {if $accessAllCases && isset($form.upcoming)}
             <td class="crm-case-dashboard-switch-view-buttons">
               <br/>
               {$form.upcoming.html}&nbsp;{$form.upcoming.label}
diff --git a/civicrm/templates/CRM/Case/Form/CaseView.tpl b/civicrm/templates/CRM/Case/Form/CaseView.tpl
index 1301ac5b36370e22d39aca16f7d7672f7f3b832b..712a7ac52aaf00c04ba91482715992108b4bf9c0 100644
--- a/civicrm/templates/CRM/Case/Form/CaseView.tpl
+++ b/civicrm/templates/CRM/Case/Form/CaseView.tpl
@@ -150,14 +150,34 @@
         <div><label for="edit_role_contact_id">{ts}Change To{/ts}:</label></div>
         <div><input name="edit_role_contact_id" placeholder="{ts}- select contact -{/ts}" class="huge" /></div>
       </div>
-
+      <div id="caseRoles-selector-show-active">
+        {* Add checkbox to show inactive roles. For open cases, default value is unchecked, i.e. show active roles. For closed cases default is checked. *}
+        <label><input type="checkbox" id="role_inactive" name="role_inactive[]"{if $caseDetails.status_class neq 'Opened'} checked="checked"{/if}>{ts}Show Inactive relationships{/ts}</label>
+      </div>
+      {literal}
+        <script type="text/javascript">
+            (function($) {
+                // hide the inactive role when checkbox is checked
+                $('input[type=checkbox][id=role_inactive]').change(function() {
+                  if (this.checked == true) {
+                    CRM.$('[id^=caseRoles-selector] tbody tr').not('.disabled').hide();
+                    CRM.$('[id^=caseRoles-selector] tbody tr.disabled').show();
+                  } else if (this.checked == false) {
+                    CRM.$('[id^=caseRoles-selector] tbody tr').not('.disabled').show();
+                    CRM.$('[id^=caseRoles-selector] tbody tr.disabled').hide();
+                  }
+                });
+            })(CRM.$);
+        </script>
+      {/literal}
       <table id="caseRoles-selector-{$caseID}"  class="report-layout crm-ajax-table" data-page-length="10">
         <thead>
           <tr>
             <th data-data="relation">{ts}Case Role{/ts}</th>
-            <th data-data="name">{ts}Name{/ts}</th>
+            <th data-data="sort_name">{ts}Name{/ts}</th>
             <th data-data="phone">{ts}Phone{/ts}</th>
             <th data-data="email">{ts}Email{/ts}</th>
+            <th data-data="end_date">{ts}End Date{/ts}</th>
             {if $relId neq 'client' and $hasAccessToAllCases}
               <th data-data="actions" data-orderable="false">{ts}Actions{/ts}</th>
             {/if}
@@ -170,7 +190,17 @@
             var caseId = {/literal}{$caseID}{literal};
             CRM.$('table#caseRoles-selector-' + caseId).data({
               "ajax": {
-                "url": {/literal}'{crmURL p="civicrm/ajax/caseroles" h=0 q="snippet=4&caseID=$caseId&cid=$contactID&userID=$userID"}'{literal}
+                "url": {/literal}'{crmURL p="civicrm/ajax/caseroles" h=0 q="snippet=4&caseID=$caseId&cid=$contactID&userID=$userID"}'{literal},
+                "complete" : function(){
+                  if (CRM.$('input[type=checkbox][id=role_inactive]').prop('checked')) {
+                    CRM.$('[id^=caseRoles-selector] tbody tr').not('.disabled').hide();
+                    CRM.$('[id^=caseRoles-selector] tbody tr.disabled').show();
+                  }
+                  else {
+                    CRM.$('[id^=caseRoles-selector] tbody tr').not('.disabled').show();
+                    CRM.$('[id^=caseRoles-selector] tbody tr.disabled').hide();
+                  }
+                }
               }
             });
           })(CRM.$);
diff --git a/civicrm/templates/CRM/Case/Form/Search/Common.tpl b/civicrm/templates/CRM/Case/Form/Search/Common.tpl
index a6eb66cbc0dede1d32f4b56bc23f4eeaef9c8ea2..6b5edd73cecf51b9807790bb8a7c277a25b9afd9 100644
--- a/civicrm/templates/CRM/Case/Form/Search/Common.tpl
+++ b/civicrm/templates/CRM/Case/Form/Search/Common.tpl
@@ -48,7 +48,7 @@
       {/if}
     </td>
     <td class="crm-case-common-form-block-case_tags">
-      {if $form.case_tags.html}
+      {if !empty($form.case_tags.html)}
         {$form.case_tags.label}<br />
         {$form.case_tags.html}
       {/if}
@@ -59,7 +59,7 @@
     <td colspan="3">{include file="CRM/common/Tagset.tpl" tagsetType='case'}</td>
   </tr>
 
-  {if $caseGroupTree}
+  {if !empty($caseGroupTree)}
     <tr>
       <td colspan="3">
         {include file="CRM/Custom/Form/Search.tpl" groupTree=$caseGroupTree showHideLinks=false}
diff --git a/civicrm/templates/CRM/Case/Page/DashBoard.tpl b/civicrm/templates/CRM/Case/Page/DashBoard.tpl
index f8bcfce4db509f302773f5a2219779ec1f3341d3..41f19e33f408f895e3297aed2dd946b209600799 100644
--- a/civicrm/templates/CRM/Case/Page/DashBoard.tpl
+++ b/civicrm/templates/CRM/Case/Page/DashBoard.tpl
@@ -56,7 +56,7 @@
           {foreach from=$casesSummary.headers item=header}
             {assign var="caseStatus" value=$header.status}
             <td class="label">
-              {if $row.$caseStatus}
+              {if isset($row.$caseStatus)}
                 <a class="crm-case-summary-drilldown" href="{$row.$caseStatus.url}">{$row.$caseStatus.count}</a>
               {else}
                 0
diff --git a/civicrm/templates/CRM/Contact/Form/Contact.tpl b/civicrm/templates/CRM/Contact/Form/Contact.tpl
index 2844d09e35a4d6fff615ab8af8534c0dd86eb6d5..336eb5190e258b5f272731a7f3d0c11597bccaef 100644
--- a/civicrm/templates/CRM/Contact/Form/Contact.tpl
+++ b/civicrm/templates/CRM/Contact/Form/Contact.tpl
@@ -67,7 +67,7 @@
 
           {*add dupe buttons *}
           {$form._qf_Contact_refresh_dedupe.html}
-          {if $isDuplicate}
+          {if !empty($isDuplicate)}
             &nbsp;&nbsp;
             {$form._qf_Contact_upload_duplicate.html}
           {/if}
@@ -185,7 +185,7 @@
         subTypeValues = null;
       }
       else if (!subTypeValues) {
-        subTypeValues = {/literal}"{$paramSubType}"{literal};
+        subTypeValues = {/literal}{if isset($paramSubType)}"{$paramSubType}"{else}""{/if}{literal};
       }
       function loadNextRecord(i, groupValue, groupCount) {
         if (i < groupCount) {
diff --git a/civicrm/templates/CRM/Contact/Form/DedupeRules.tpl b/civicrm/templates/CRM/Contact/Form/DedupeRules.tpl
index cb3e851d5a9cbe7d5e97fe5bd6ab5e5a48621ce9..b16fc71643ad121c06804aff001a5d8c8c1d8b1a 100644
--- a/civicrm/templates/CRM/Contact/Form/DedupeRules.tpl
+++ b/civicrm/templates/CRM/Contact/Form/DedupeRules.tpl
@@ -31,7 +31,7 @@
      <tr class="crm-dedupe-rules-form-block-is_reserved">
         <td class="label">{$form.is_reserved.label}</td>
         <td>{$form.is_reserved.html}
-          {if !$isReserved}
+          {if empty($isReserved)}
             <br />
             <span class="description">{ts}WARNING: Once a rule is marked as reserved it can not be deleted and the fields and weights can not be modified.{/ts}</span>
           {/if}
@@ -42,7 +42,7 @@
         <td>
           <table class="form-layout-compressed">
             {* Hide fields and document match criteria for optimized reserved rules. *}
-            {if $ruleName EQ 'IndividualSupervised' OR $ruleName EQ 'IndividualUnsupervised' OR $ruleName EQ 'IndividualGeneral'}
+            {if !empty($ruleName) and ($ruleName EQ 'IndividualSupervised' OR $ruleName EQ 'IndividualUnsupervised' OR $ruleName EQ 'IndividualGeneral')}
             <tr>
                 <td>
                   <div class="status message">
@@ -67,7 +67,7 @@
                 </td>
             </tr>
             {else}
-              {if $isReserved}
+              {if !empty($isReserved)}
                   <tr>
                       <td>
                         <div class="status message">
diff --git a/civicrm/templates/CRM/Contact/Form/Edit/Address.tpl b/civicrm/templates/CRM/Contact/Form/Edit/Address.tpl
index f83b4cb7bfb7a54a4416551e81a7c9b82b595e1e..3c4fc4df1c5d222b48a0773d90228a2cd0eb8975 100644
--- a/civicrm/templates/CRM/Contact/Form/Edit/Address.tpl
+++ b/civicrm/templates/CRM/Contact/Form/Edit/Address.tpl
@@ -22,7 +22,7 @@
  <div id="Address_Block_{$blockId}" {if $className eq 'CRM_Contact_Form_Contact'} class="boxBlock crm-edit-address-block crm-address_{$blockId}"{/if}>
   {if $blockId gt 1}<fieldset><legend>{ts}Supplemental Address{/ts}</legend>{/if}
   <table class="form-layout-compressed crm-edit-address-form">
-     {if $masterAddress.$blockId gt 0 }
+     {if isset($masterAddress) && $masterAddress.$blockId gt 0 }
         <tr><td><div class="message status">{icon icon="fa-info-circle"}{/icon} {ts 1=$masterAddress.$blockId}This address is shared with %1 contact record(s). Modifying this address will automatically update the shared address for these contacts.{/ts}</div></td></tr>
      {/if}
 
diff --git a/civicrm/templates/CRM/Contact/Form/Edit/Individual.tpl b/civicrm/templates/CRM/Contact/Form/Edit/Individual.tpl
index 06ff81636cab9d4d292bad9f7ea501056bedb173..5139e05ee1fec672d07c681c9bc4026840473300 100644
--- a/civicrm/templates/CRM/Contact/Form/Edit/Individual.tpl
+++ b/civicrm/templates/CRM/Contact/Form/Edit/Individual.tpl
@@ -26,7 +26,7 @@ CRM.$(function($) {
       {$form.prefix_id.html}
     </td>
     {/if}
-    {if $form.formal_title}
+    {if !empty($form.formal_title)}
     <td>
       {$form.formal_title.label}<br/>
       {$form.formal_title.html}
@@ -50,7 +50,7 @@ CRM.$(function($) {
       {$form.last_name.html}
     </td>
     {/if}
-    {if $form.suffix_id}
+    {if !empty($form.suffix_id)}
     <td>
       {$form.suffix_id.label}<br/>
       {$form.suffix_id.html}
diff --git a/civicrm/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl b/civicrm/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl
index 130277ac01d2e780a69a586325b787a9e67502ff..deb5e374c5ee3584d8b1e7417651cf91d9ae3ccd 100644
--- a/civicrm/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl
+++ b/civicrm/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl
@@ -12,35 +12,37 @@
   <div class="crm-accordion-header">{$title}</div>
   <div class="crm-accordion-body" id="tagGroup">
 {/if}
-    <table class="form-layout-compressed{if $context EQ 'profile'} crm-profile-tagsandgroups{/if}">
+    <table class="form-layout-compressed{if isset($context) && $context EQ 'profile'} crm-profile-tagsandgroups{/if}">
       <tr>
-        {if !$type || $type eq 'tag'}
+        {if empty($type) || $type eq 'tag'}
           <td>
             <div class="crm-section tag-section">
-              {if $title}{$form.tag.label}<br>{/if}
+              {if !empty($title)}{$form.tag.label}<br>{/if}
               {$form.tag.html}
             </div>
-            {if $context NEQ 'profile'}
+            {if !isset($context) || $context NEQ 'profile'}
               {include file="CRM/common/Tagset.tpl"}
             {/if}
           </td>
         {/if}
-        {if !$type || $type eq 'group'}
+        {if empty($type) || $type eq 'group'}
           <td>
-            {if $groupElementType eq 'select'}
+            {if isset($groupElementType) && $groupElementType eq 'select'}
               <div class="crm-section group-section">
-              {if $title}{$form.group.label}<br>{/if}
+              {if !empty($title)}{$form.group.label}<br>{/if}
               {$form.group.html}
             </div>
             {else}
-              {foreach key=key item=item from=$tagGroup.group}
-                <div class="group-wrapper">
-                  {$form.group.$key.html}
-                  {if $item.description}
-                    <div class="description">{$item.description}</div>
-                  {/if}
-                </div>
-              {/foreach}
+              {if isset($form.group)} 
+                {foreach key=key item=item from=$tagGroup.group}
+                  <div class="group-wrapper">
+                    {$form.group.$key.html}
+                      {if $item.description}
+                      <div class="description">{$item.description}</div>
+                    {/if}
+                  </div>
+                {/foreach}
+              {/if}
             {/if}
           </td>
         {/if}
diff --git a/civicrm/templates/CRM/Contact/Form/GroupContact.tpl b/civicrm/templates/CRM/Contact/Form/GroupContact.tpl
index 8997a1875b3f013530cd962b36b3e2dc6e011182..39b9db30f43ac56a2d2fd1524c2f1f0b9e57cfb3 100644
--- a/civicrm/templates/CRM/Contact/Form/GroupContact.tpl
+++ b/civicrm/templates/CRM/Contact/Form/GroupContact.tpl
@@ -10,6 +10,6 @@
 {* this template is used for adding a contact to a group (from view context) *}
 
 <div class="form-item">
-    {$form.group_id.html} {$form.buttons.html}
+    {if !empty($form.group_id)}{$form.group_id.html}{/if} {if !empty($form.buttons)}{$form.buttons.html}{/if}
     {include file="CRM/Form/validate.tpl"}
 </div>
diff --git a/civicrm/templates/CRM/Contact/Form/Search/Advanced.hlp b/civicrm/templates/CRM/Contact/Form/Search/Advanced.hlp
index 3747d071c366b2c6543aecb1087ac0151e283002..d8ffbaf895c7ff6696bc67ff4dd2482e25aac6d5 100644
--- a/civicrm/templates/CRM/Contact/Form/Search/Advanced.hlp
+++ b/civicrm/templates/CRM/Contact/Form/Search/Advanced.hlp
@@ -96,6 +96,15 @@
     <p>{ts}Once you have finished your testing, it is a good idea to clean up by finding your test records and deleting them.{/ts}</p>
 {/htxt}
 
+
+{htxt id="is-template-title"}
+{ts}Template Records{/ts}
+{/htxt}
+{htxt id="is-template"}
+    <p>{ts}Template contributions are used with recurring contribution to generate follow up contributions.{/ts}</p>
+    <p>{ts}You can change the template contribution and the changes will occur as soon as new contribution is generated within the recurring series.{/ts}</p>
+{/htxt}
+
 {htxt id="processor-id-title"}
 {ts}Processor ID{/ts}
 {/htxt}
diff --git a/civicrm/templates/CRM/Contact/Form/Search/BasicCriteria.tpl b/civicrm/templates/CRM/Contact/Form/Search/BasicCriteria.tpl
index d888f8864de692911bb2498d186d467dfb868787..8042da1785b29ee94b694199298b6084addda775 100644
--- a/civicrm/templates/CRM/Contact/Form/Search/BasicCriteria.tpl
+++ b/civicrm/templates/CRM/Contact/Form/Search/BasicCriteria.tpl
@@ -78,7 +78,7 @@
               <div class="clear"></div>
             </div>
         {/if}
-        <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div>
+        <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
     </div><!-- /.crm-accordion-body -->
     </div><!-- /.crm-accordion-wrapper -->
 </div><!-- /.crm-form-block -->
diff --git a/civicrm/templates/CRM/Contact/Form/Search/Criteria/Location.tpl b/civicrm/templates/CRM/Contact/Form/Search/Criteria/Location.tpl
index 0b85a39a3056f9a49b72c8d56ca76bb509a13c80..251b7817538d157baa11a36f5576ab99e076df5a 100644
--- a/civicrm/templates/CRM/Contact/Form/Search/Criteria/Location.tpl
+++ b/civicrm/templates/CRM/Contact/Form/Search/Criteria/Location.tpl
@@ -118,7 +118,7 @@
       </td>
     </tr>
 
-    {if $addressGroupTree}
+    {if !empty($addressGroupTree)}
       <tr>
         <td colspan="2">
           {include file="CRM/Custom/Form/Search.tpl" groupTree=$addressGroupTree showHideLinks=false}
diff --git a/civicrm/templates/CRM/Contact/Form/Search/Criteria/Relationship.tpl b/civicrm/templates/CRM/Contact/Form/Search/Criteria/Relationship.tpl
index 75ca96884b11810532fa0c46c4f18dbd95c530e3..35a22fd9241b18a8d0dfcff57859759f5fce44ad 100644
--- a/civicrm/templates/CRM/Contact/Form/Search/Criteria/Relationship.tpl
+++ b/civicrm/templates/CRM/Contact/Form/Search/Criteria/Relationship.tpl
@@ -55,7 +55,7 @@
     <tr>
       {include file="CRM/Core/DatePickerRangeWrapper.tpl" fieldName="relation_active_period_date" hideRelativeLabel=1}
     </tr>
-    {if $relationshipGroupTree}
+    {if !empty($relationshipGroupTree)}
       <tr>
       <td colspan="2">
         {include file="CRM/Custom/Form/Search.tpl" groupTree=$relationshipGroupTree showHideLinks=false}
diff --git a/civicrm/templates/CRM/Contact/Form/Search/Custom/FullText.tpl b/civicrm/templates/CRM/Contact/Form/Search/Custom/FullText.tpl
index f2bcfdebb169d2202bd1ae94ce1d3bd9b8d8e21a..7c12f721ccdcce40a900006fc84764891c939450 100644
--- a/civicrm/templates/CRM/Contact/Form/Search/Custom/FullText.tpl
+++ b/civicrm/templates/CRM/Contact/Form/Search/Custom/FullText.tpl
@@ -34,7 +34,8 @@
   {include file="CRM/Contact/Form/Search/Custom/EmptyResults.tpl"}
 {/if}
 
-{assign var=table value=$form.table.value.0}
+{* @TODO: This is confusing - the variable `table` is already set and used above, and now we set it again to something that is technically different but has the same value, except on a blank form where it doesn't exist, but effectively then is the same value that it already has which is ''. So do we need this line even? *}
+{if (isset($form.table.value.0))}{assign var=table value=$form.table.value.0}{/if}
 {assign var=text  value=$form.text.value}
 {if !empty($summary.Contact) }
   <div class="section">
diff --git a/civicrm/templates/CRM/Contact/Form/Task/Email.hlp b/civicrm/templates/CRM/Contact/Form/Task/Email.hlp
index 92d987b7b31efbffd04f520b72efb3fcbaf5593d..8fec104b60dd5eea9220bbde21c03a67b8b0eb81 100644
--- a/civicrm/templates/CRM/Contact/Form/Task/Email.hlp
+++ b/civicrm/templates/CRM/Contact/Form/Task/Email.hlp
@@ -12,16 +12,16 @@
   {ts}From Address{/ts}
 {/htxt}
 {htxt id="id-from_email"}
-{if $params.logged_in_email_setting == "1"}
+{if !empty($params.logged_in_email_setting) and $params.logged_in_email_setting == "1"}
   <p>{ts}By default, CiviCRM uses the primary email address of the logged in user as the FROM address when sending emails to contacts. However, users with Administer CiviCRM permission can configure one or more general email addresses that can be selected as an alternative. EXAMPLE: "Client Services" &lt;clientservices@example.org&gt;{/ts}</p>
 {else}
   <p>{ts}CiviCRM is currently configured to only use the defined From Email addresses. If you wish to be able to use the email address of the logged in user as the From Address you will need to set the setting "Allow mail from loged in contact" setting. Users with Administer CiviCRM can set this setting in the SMTP settings.{/ts}<p>
-  {if $params.isAdmin}
+  {if !empty($params.isAdmin)}
     {capture assign="smtpUrl"}{crmURL p="civicrm/admin/setting/smtp" q="reset=1"}{/capture}
     <p>{ts 1=$smtpUrl}Go to <a href='%1'>Settings - Outbound Mail</a> to enable the usage of the logged in contact's email address as the from email{/ts}</p>
   {/if}
 {/if}
-{if $params.isAdmin}
+{if !empty($params.isAdmin)}
    {capture assign="fromConfig"}{crmURL p="civicrm/admin/options/from_email_address" q="reset=1"}{/capture}
    <p>{ts 1=$fromConfig}Go to <a href='%1'>Administer CiviCRM &raquo; Communications &raquo; FROM Email Addresses</a> to add or edit general email addresses. Make sure these email addresses are valid email accounts with your email service provider.{/ts}</p>
 {/if}
@@ -51,7 +51,7 @@
 <p>{ts}Use tokens when you are sending mail to a number of recipients, and want to include their name and / or other values from their contact record automatically within your message.{/ts}</p>
 <p>{ts 1='&#123;contact.first_name&#125;'}EXAMPLE: If you want your message to begin with "Dear " followed by the recipient's first name, you can use the %1 token in your message. <em>Dear %1</em>{/ts}</p>
 <p>{ts}Place your cursor within the Message box where you want to the token to be inserted. Then click the &quot;Insert Tokens&quot; link in the upper right corner of the message box to see a list of available tokens. Insert the token by clicking the desired token name in the list (for example, click &quot;First Name&quot;).{/ts}</p>
-{if $params.tplFile EQ 'CRM/Mailing/Form/Upload.tpl'}
+{if !empty($params.tplFile) and $params.tplFile EQ 'CRM/Mailing/Form/Upload.tpl'}
     <p>
     {ts}You will also use tokens to insert Unsubscribe, Opt out and Forwarding links in your message.{/ts}
     </p>
@@ -69,7 +69,7 @@ be an equal sign and a number (=12). The number (12 in this example) is the id o
 <p>{ts}Use tokens when you are sending mail or generating PDF letters for a number of recipients, and want to include their name and / or other values from their contact record automatically within your message.{/ts}</p>
 <p>{ts 1='&#123;contact.first_name&#125;'}EXAMPLE: If you want your message to begin with "Dear " followed by the recipient's first name, you can use the %1 token in your message. <em>Dear %1</em>{/ts}</p>
 <p>{ts}Place your cursor within the Message box where you want to the token to be inserted. Then click the &quot;Insert Tokens&quot; link in the upper right corner of the message box to see a list of available tokens. Insert the token by clicking the desired token name in the list (for example, click &quot;First Name&quot;).{/ts}</p>
-{if $params.tplFile EQ 'CRM/Mailing/Form/Upload.tpl'}
+{if !empty($params.tplFile) and $params.tplFile EQ 'CRM/Mailing/Form/Upload.tpl'}
     <p>
     {ts}You will also use tokens to insert Unsubscribe, Opt out and Forwarding links in your message.{/ts}
         {ts}Use these steps to insert clickable action links:{/ts}
diff --git a/civicrm/templates/CRM/Contact/Form/Task/EmailCommon.tpl b/civicrm/templates/CRM/Contact/Form/Task/EmailCommon.tpl
index d75f2365138bebfe1d7c9513a766a544b3cea026..3e54f294706a28dad147254070bc93fa772c3210 100644
--- a/civicrm/templates/CRM/Contact/Form/Task/EmailCommon.tpl
+++ b/civicrm/templates/CRM/Contact/Form/Task/EmailCommon.tpl
@@ -21,7 +21,7 @@
   </div>
   <div class="clear"></div>
     <div class='html'>
-  {if $editor EQ 'textarea'}
+  {if !empty($editor) and $editor EQ 'textarea'}
       <div class="help description">{ts}NOTE: If you are composing HTML-formatted messages, you may want to enable a Rich Text (WYSIWYG) editor (Administer &raquo; Customize Data & Screens &raquo; Display Preferences).{/ts}</div>
   {/if}
   {$form.html_message.html}<br />
diff --git a/civicrm/templates/CRM/Contact/Form/Task/SMS.hlp b/civicrm/templates/CRM/Contact/Form/Task/SMS.hlp
index af5b509608a39269fc820e66aefbf4eae78297d2..e52a37f905eafec1e5a2c06c1d68003961de565d 100644
--- a/civicrm/templates/CRM/Contact/Form/Task/SMS.hlp
+++ b/civicrm/templates/CRM/Contact/Form/Task/SMS.hlp
@@ -42,6 +42,12 @@
 
 {/htxt} 
 
+{htxt id="id-count-text"}
+<p>{ts}A single SMS message is typically 160 characters in length. If you want to send a message that is longer than 160 characters, it is split into multiple segments.{/ts}</p>
+<p>{ts}The cost of sending SMS message is typically <em>per segment</em>.{/ts}</p>
+<p>{ts}Certain characters like emoji or curly quotes can shorten the segment size to 96 characters, increasing the cost per message.{/ts}</p>
+{/htxt}
+
 {htxt id="id-message-text-title"}
 {ts}Rich Text{/ts}
 {/htxt}
diff --git a/civicrm/templates/CRM/Contact/Form/Task/SMSCommon.tpl b/civicrm/templates/CRM/Contact/Form/Task/SMSCommon.tpl
index 671da643439fba1cd63f1143efb703278c03509a..971e4e5e7f100020fdc378b5b7be793d2347f232 100644
--- a/civicrm/templates/CRM/Contact/Form/Task/SMSCommon.tpl
+++ b/civicrm/templates/CRM/Contact/Form/Task/SMSCommon.tpl
@@ -9,12 +9,14 @@
 *}
 {*common template for compose sms*}
 
+{crmScript file=bower_components/sms-counter/sms_counter.min.js region=html-header}
+
 <div class="crm-accordion-wrapper crm-plaint_text_sms-accordion ">
 <div class="crm-accordion-header">
   {$form.sms_text_message.label}
   </div><!-- /.crm-accordion-header -->
  <div class="crm-accordion-body">
- <div id='char-count-message'></div>
+ <div><span id="char-count-message"></span> <span id="char-count-help">{help id="id-count-text" tplFile=$tplFile file="CRM/Contact/Form/Task/SMS.hlp"}</span></div>
    <div class="helpIcon" id="helptext">
      <input class="crm-token-selector big" data-field="sms_text_message" />
      {help id="id-token-text" tplFile=$tplFile file="CRM/Contact/Form/Task/SMS.hlp"}
@@ -38,13 +40,16 @@
    <div class="content">{$form.SMSsaveTemplateName.html|crmAddClass:huge}</div>
 </div>
 
+{capture assign="char_count_message"}
+{ts}You can insert up to %1 characters. You have entered %2 characters, requiring %3 segments.{/ts}
+{/capture}
+
 {literal}
 <script type="text/javascript">
-
 {/literal}{if $max_sms_length}{literal}
 maxCharInfoDisplay();
 
-cj('#sms_text_message').bind({
+CRM.$('#sms_text_message').bind({
   change: function() {
    maxLengthMessage();
   },
@@ -55,10 +60,10 @@ cj('#sms_text_message').bind({
 
 function maxLengthMessage()
 {
-   var len = cj('#sms_text_message').val().length;
+   var len = CRM.$('#sms_text_message').val().length;
    var maxLength = {/literal}{$max_sms_length}{literal};
    if (len > maxLength) {
-      cj('#sms_text_message').crmError({/literal}'{ts escape="js"}SMS body exceeding limit of 160 characters{/ts}'{literal});
+      CRM.$('#sms_text_message').crmError({/literal}'{ts escape="js" 1=$max_sms_length}SMS body exceeding limit of %1 characters{/ts}'{literal});
       return false;
    }
 return true;
@@ -66,14 +71,16 @@ return true;
 
 function maxCharInfoDisplay(){
    var maxLength = {/literal}{$max_sms_length}{literal};
-   var enteredCharLength = cj('#sms_text_message').val().length;
-   var count = enteredCharLength;
+   var enteredText = SmsCounter.count(CRM.$('#sms_text_message').val());
+   var count = enteredText.length;
+   var segments = enteredText.messages;
 
    if( count < 0 ) {
-      cj('#sms_text_message').val(cj('#sms_text_message').val().substring(0, maxLength));
+      CRM.$('#sms_text_message').val(CRM.$('#sms_text_message').val().substring(0, maxLength));
       count = 0;
    }
-   cj('#char-count-message').text( "You can insert up to " + maxLength + " characters. You have entered " + count + " characters." );
+   var message = "{/literal}{$char_count_message}{literal}"
+   CRM.$('#char-count-message').text(message.replace('%1', maxLength).replace('%2', count).replace('%3', segments));
 }
 {/literal}{/if}{literal}
 
diff --git a/civicrm/templates/CRM/Contact/Import/Form/DataSource.tpl b/civicrm/templates/CRM/Contact/Import/Form/DataSource.tpl
index 5009af8a195864f0a7d63f91d6995ab94a5a49a0..9ec25937a32130fddcdfb8e69ef579ac89596828 100644
--- a/civicrm/templates/CRM/Contact/Import/Form/DataSource.tpl
+++ b/civicrm/templates/CRM/Contact/Import/Form/DataSource.tpl
@@ -83,7 +83,7 @@
          </tr>
         { /if}
 
-        {if $form.disableUSPS}
+        {if isset($form.disableUSPS)}
          <tr  class="crm-import-datasource-form-block-disableUSPS">
               <td class="label"></td>
               <td>{$form.disableUSPS.html} <label for="disableUSPS">{$form.disableUSPS.label}</label></td>
diff --git a/civicrm/templates/CRM/Contact/Import/Form/MapField.tpl b/civicrm/templates/CRM/Contact/Import/Form/MapField.tpl
index 39da860cd796e1e909393d5d069a621ad8222b29..1a3924b878cbb1b154319a85de3497255b70bc40 100644
--- a/civicrm/templates/CRM/Contact/Import/Form/MapField.tpl
+++ b/civicrm/templates/CRM/Contact/Import/Form/MapField.tpl
@@ -15,9 +15,6 @@
  {include file="CRM/common/WizardHeader.tpl"}
 <div class="help">
     <p>{ts}Review the values shown below from the first 2 rows of your import file and select the matching CiviCRM database fields from the drop-down lists in the right-hand column. Select '- do not import -' for any columns in the import file that you want ignored.{/ts}</p>
-    {if $savedMapping}
-    <p>{ts}Click 'Load Saved Field Mapping' if data has been previously imported from the same source. You can then select the saved import mapping setup and load it automatically.{/ts}</p>
-    {/if}
     <p>{ts}If you think you may be importing additional data from the same data source, check 'Save this field mapping' at the bottom of the page before continuing. The saved mapping can then be easily reused the next time data is imported.{/ts}</p>
 </div>
 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
diff --git a/civicrm/templates/CRM/Contact/Page/ContactImage.tpl b/civicrm/templates/CRM/Contact/Page/ContactImage.tpl
index fe14c15be59310ef885a698d508c27aae110706d..be9d2e5729896c50f918fddf242bcbad8d0d92a0 100644
--- a/civicrm/templates/CRM/Contact/Page/ContactImage.tpl
+++ b/civicrm/templates/CRM/Contact/Page/ContactImage.tpl
@@ -7,10 +7,11 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
 *}
-{* This form is for displaying contact Image *}
-<div class="crm-contact_image crm-contact_image-block">
-  {$imageURL}
-</div>
-{if $action eq 0 or $action eq 2}
-  <div class='crm-contact_image-block crm-contact_image crm-contact_image-delete'>{$deleteURL}</div>
-{/if}
+{crmRegion name="contact-summary-image"}
+  <div class="crm-contact_image crm-contact_image-block">
+    {$imageURL}
+  </div>
+  {if $action eq 0 or $action eq 2}
+    <div class='crm-contact_image-block crm-contact_image crm-contact_image-delete'>{$deleteURL}</div>
+  {/if}
+{/crmRegion}
diff --git a/civicrm/templates/CRM/Contact/Page/DashBoardDashlet.tpl b/civicrm/templates/CRM/Contact/Page/DashBoardDashlet.tpl
index ac2ed7af3f23658b4a8e299ecfc7ea9bdd472c5b..aaf2ab62b08ee7313788dd2ee3e1da1b3c55bdf9 100644
--- a/civicrm/templates/CRM/Contact/Page/DashBoardDashlet.tpl
+++ b/civicrm/templates/CRM/Contact/Page/DashBoardDashlet.tpl
@@ -9,7 +9,7 @@
 *}
 {include file="CRM/common/chart.tpl"}
 {* Alerts for critical configuration settings. *}
-{$communityMessages}
+{$communityMessages|default:''}
 <div class="clear"></div>
 <div class="crm-block crm-content-block">
 
diff --git a/civicrm/templates/CRM/Contact/Page/Inline/Basic.tpl b/civicrm/templates/CRM/Contact/Page/Inline/Basic.tpl
index cc9d6cfd8aee0d3d2fc5a7b65a4aee975771ff7c..3b0bca9ee8cfbb728f3b59aaec6d9b9bf836f212 100644
--- a/civicrm/templates/CRM/Contact/Page/Inline/Basic.tpl
+++ b/civicrm/templates/CRM/Contact/Page/Inline/Basic.tpl
@@ -5,11 +5,13 @@
          title="{ts}Edit Tags{/ts}">{ts}Tags{/ts}</a>
     </div>
     <div class="crm-content" id="tags">
+      {if !empty($contactTag)}
       {foreach from=$contactTag item=tagName key=tagId}
         <span class="crm-tag-item" {if !empty($allTags.$tagId.color)}style="background-color: {$allTags.$tagId.color}; color: {$allTags.$tagId.color|colorContrast};"{/if} title="{$allTags.$tagId.description|escape}">
           {$tagName}
         </span>
       {/foreach}
+      {/if}
     </div>
   </div>
   <div class="crm-summary-row">
diff --git a/civicrm/templates/CRM/Contact/Page/Inline/CommunicationPreferences.tpl b/civicrm/templates/CRM/Contact/Page/Inline/CommunicationPreferences.tpl
index 1093e03c9230c1d6dfb2412166ff55ce6af45587..22fa7db8100358e66ded023345de320bc2b22e3a 100644
--- a/civicrm/templates/CRM/Contact/Page/Inline/CommunicationPreferences.tpl
+++ b/civicrm/templates/CRM/Contact/Page/Inline/CommunicationPreferences.tpl
@@ -30,7 +30,7 @@
         {$preferred_communication_method_display}
       </div>
     </div>
-    {if $preferred_language}
+    {if !empty($preferred_language)}
     <div class="crm-summary-row">
       <div class="crm-label">{ts}Preferred Language{/ts}</div>
       <div class="crm-content crm-contact-preferred_language">
diff --git a/civicrm/templates/CRM/Contact/Page/Inline/ContactInfo.tpl b/civicrm/templates/CRM/Contact/Page/Inline/ContactInfo.tpl
index e6f23db3399b1ae5a0ce84121095041785d9b9b0..92ca7fe9fe0356e018d5c36a608dda6c49caf51d 100644
--- a/civicrm/templates/CRM/Contact/Page/Inline/ContactInfo.tpl
+++ b/civicrm/templates/CRM/Contact/Page/Inline/ContactInfo.tpl
@@ -27,27 +27,27 @@
       </div>
       <div class="crm-summary-row">
         <div class="crm-label">{ts}Job Title{/ts}</div>
-        <div class="crm-content crm-contact-job_title">{$job_title}</div>
+        <div class="crm-content crm-contact-job_title">{if isset($job_title)}{$job_title}{/if}</div>
       </div>
       {/if}
       <div class="crm-summary-row">
         <div class="crm-label">{ts}Nickname{/ts}</div>
-        <div class="crm-content crm-contact-nick_name">{$nick_name}</div>
+        <div class="crm-content crm-contact-nick_name">{if isset($nick_name)}{$nick_name}{/if}</div>
       </div>
 
       {if $contact_type eq 'Organization'}
       <div class="crm-summary-row">
         <div class="crm-label">{ts}Legal Name{/ts}</div>
-        <div class="crm-content crm-contact-legal_name">{$legal_name}</div>
+        <div class="crm-content crm-contact-legal_name">{if isset($legal_name)}{$legal_name}{/if}</div>
       </div>
       <div class="crm-summary-row">
         <div class="crm-label">{ts}SIC Code{/ts}</div>
-        <div class="crm-content crm-contact-sic_code">{$sic_code}</div>
+        <div class="crm-content crm-contact-sic_code">{if isset($sic_code)}{$sic_code}{/if}</div>
       </div>
       {/if}
       <div class="crm-summary-row">
         <div class="crm-label">{ts}Source{/ts}</div>
-        <div class="crm-content crm-contact_source">{$source}</div>
+        <div class="crm-content crm-contact_source">{if isset($source)}{$source}{/if}</div>
       </div>
 
     </div>
diff --git a/civicrm/templates/CRM/Contact/Page/Inline/Demographics.tpl b/civicrm/templates/CRM/Contact/Page/Inline/Demographics.tpl
index f2995abbc69f6f1488b0b00206024427128a590a..e7e2ce5526b39eaf5c12a0fb88f46b021f6edb3c 100644
--- a/civicrm/templates/CRM/Contact/Page/Inline/Demographics.tpl
+++ b/civicrm/templates/CRM/Contact/Page/Inline/Demographics.tpl
@@ -16,25 +16,26 @@
     {/if}
     <div class="crm-summary-row">
       <div class="crm-label">{ts}Gender{/ts}</div>
-      <div class="crm-content crm-contact-gender_display">{$gender_display}</div>
+      <div class="crm-content crm-contact-gender_display">{if !empty($gender_display)}{$gender_display}{/if}</div>
     </div>
 
     <div class="crm-summary-row">
       <div class="crm-label">{ts}Date of Birth{/ts}</div>
       <div class="crm-content crm-contact-birth_date_display">
-         {assign var="date_format" value = $fields.birth_date.smarty_view_format}
-         {$birth_date|crmDate:$date_format}
-          &nbsp;
+        {assign var="date_format" value=$fields.birth_date.smarty_view_format}
+        {if !empty($birth_date)}
+          {$birth_date|crmDate:$date_format}
+        {/if}
       </div>
     </div>
-      {if $is_deceased eq 1}
-        {if $deceased_date}
+      {if !empty($is_deceased)}
+        {if !empty($deceased_date)}
           <div class="crm-summary-row">
             <div class="crm-label">{ts}Date Deceased{/ts}</div>
             <div class="crm-content crm-contact-deceased_date_display">
               {assign var="date_format" value = $fields.birth_date.smarty_view_format}
               {$deceased_date|crmDate:$date_format}
-              {if $birth_date}({ts}Age{/ts} {if $age.y}{ts count=$age.y plural='%count years'}%count year{/ts}{elseif $age.m}{ts count=$age.m plural='%count months'}%count month{/ts}{/if}){/if}
+              {if !empty($birth_date)}({ts}Age{/ts} {if !empty($age.y)}{ts count=$age.y plural='%count years'}%count year{/ts}{elseif !empty($age.m)}{ts count=$age.m plural='%count months'}%count month{/ts}{/if}){/if}
             </div>
           </div>
         {else}
@@ -46,7 +47,7 @@
       {else}
         <div class="crm-summary-row">
           <div class="crm-label">{ts}Age{/ts}</div>
-          <div class="crm-content crm-contact-age_display">{if $age.y}{ts count=$age.y plural='%count years'}%count year{/ts}{elseif $age.m}{ts count=$age.m plural='%count months'}%count month{/ts}{/if}</div>
+          <div class="crm-content crm-contact-age_display">{if !empty($age.y)}{ts count=$age.y plural='%count years'}%count year{/ts}{elseif !empty($age.m)}{ts count=$age.m plural='%count months'}%count month{/ts}{/if}</div>
         </div>
       {/if}
     </div>
diff --git a/civicrm/templates/CRM/Contact/Page/Inline/Email.tpl b/civicrm/templates/CRM/Contact/Page/Inline/Email.tpl
index ee977d431451740700077352d157462f07d644a6..d8dcd36db04df6c2fead61b472008e1776c1f4d9 100644
--- a/civicrm/templates/CRM/Contact/Page/Inline/Email.tpl
+++ b/civicrm/templates/CRM/Contact/Page/Inline/Email.tpl
@@ -26,7 +26,7 @@
   {/if}
   {foreach from=$email key="blockId" item=item}
     {if $item.email}
-    <div class="crm-summary-row {if $item.is_primary eq 1}primary{/if}">
+    <div class="crm-summary-row {if !empty($item.is_primary)}{ts}primary{/ts}{/if}">
       <div class="crm-label">
         {$item.location_type} {ts}Email{/ts}
         {privacyFlag field=do_not_email condition=$privacy.do_not_email}{privacyFlag field=on_hold condition=$item.on_hold}
@@ -46,14 +46,14 @@
           {$item.email}
         {/if}
         {if $item.on_hold == 2}&nbsp;({ts}On Hold - Opt Out{/ts})&nbsp;{ts}{$item.hold_date|truncate:10:''|crmDate}{/ts}{elseif $item.on_hold}&nbsp;({ts}On Hold{/ts})&nbsp;{ts}{$item.hold_date|truncate:10:''|crmDate}{/ts}{/if}{if $item.is_bulkmail}&nbsp;({ts}Bulk{/ts}){/if}
-        {if $item.signature_text OR $item.signature_html}
+        {if !empty($item.signature_text) OR !empty($item.signature_html)}
         <span class="signature-link description">
           <a href="#" title="{ts}Signature{/ts}" onClick="showHideSignature( '{$blockId}' ); return false;">{ts}(signature){/ts}</a>
         </span>
         {/if}
         <div id="Email_Block_{$blockId}_signature" class="hiddenElement">
-          <strong>{ts}Signature HTML{/ts}</strong><br />{$item.signature_html}<br /><br />
-        <strong>{ts}Signature Text{/ts}</strong><br />{$item.signature_text|nl2br}</div>
+          <strong>{ts}Signature HTML{/ts}</strong><br />{if !empty($item.signature_html)}{$item.signature_html}{/if}<br /><br />
+        <strong>{ts}Signature Text{/ts}</strong><br />{if !empty($item.signature_text)}{$item.signature_text|nl2br}{/if}</div>
       </div>
     </div>
     {/if}
diff --git a/civicrm/templates/CRM/Contact/Page/Inline/Phone.tpl b/civicrm/templates/CRM/Contact/Page/Inline/Phone.tpl
index 953fa202e42ebd9a97680388b324f76e92fb7477..2ddfcb73497bd2752537dcc262ddcbf05d6d0821 100644
--- a/civicrm/templates/CRM/Contact/Page/Inline/Phone.tpl
+++ b/civicrm/templates/CRM/Contact/Page/Inline/Phone.tpl
@@ -26,15 +26,15 @@
       </div>
     {/if}
     {foreach from=$phone item=item}
-      {if $item.phone || $item.phone_ext}
-        <div class="crm-summary-row {if $item.is_primary eq 1}primary{/if}">
+      {if !empty($item.phone) || !empty($item.phone_ext)}
+        <div class="crm-summary-row {if !empty($item.is_primary)}primary{/if}">
           <div class="crm-label">
             {privacyFlag field=do_not_sms condition=$privacy.do_not_sms}
             {privacyFlag field=do_not_phone condition=$privacy.do_not_phone}
             {$item.location_type} {$item.phone_type}
           </div>
           <div class="crm-content crm-contact_phone">
-            {$item.phone}{if $item.phone_ext}&nbsp;&nbsp;{ts}ext.{/ts} {$item.phone_ext}{/if}
+            {$item.phone}{if !empty($item.phone_ext)}&nbsp;&nbsp;{ts}ext.{/ts} {$item.phone_ext}{/if}
           </div>
         </div>
       {/if}
diff --git a/civicrm/templates/CRM/Contact/Page/Inline/Website.tpl b/civicrm/templates/CRM/Contact/Page/Inline/Website.tpl
index d509655b4d95f70bb82c071eb29d1f76ec32e67a..27bde2283adcdd9d6ead041cf3dff1a7f9c5ea64 100644
--- a/civicrm/templates/CRM/Contact/Page/Inline/Website.tpl
+++ b/civicrm/templates/CRM/Contact/Page/Inline/Website.tpl
@@ -20,7 +20,7 @@
         <div class="crm-label">{ts}Website{/ts}</div>
         <div class="crm-content"></div>
       </div>
-    {/if}
+    {else}
     {foreach from=$website item=item}
       {if !empty($item.url)}
       <div class="crm-summary-row">
@@ -29,5 +29,6 @@
       </div>
       {/if}
     {/foreach}
+    {/if}
   </div>
 </div>
diff --git a/civicrm/templates/CRM/Contact/Page/View/CustomDataView.tpl b/civicrm/templates/CRM/Contact/Page/View/CustomDataView.tpl
index 68b9eb992b9a44d822caee5d574b7fcf599a39ae..4cfd3cd8ccb46bcdb82279321d167b9c4fb7a8e1 100644
--- a/civicrm/templates/CRM/Contact/Page/View/CustomDataView.tpl
+++ b/civicrm/templates/CRM/Contact/Page/View/CustomDataView.tpl
@@ -12,9 +12,9 @@
 {foreach from=$viewCustomData item=customValues key=customGroupId}
   {assign var="cgcount" value=1}
   {assign var="count" value=$customGroupCount%2}
-  {if ($count eq $side) or $skipTitle }
+  {if ($count eq $side) or !empty($skipTitle)}
     {foreach from=$customValues item=cd_edit key=cvID}
-      <div class="customFieldGroup crm-collapsible{if $cd_edit.collapse_display} collapsed{/if} ui-corner-all {$cd_edit.name} crm-custom-set-block-{$customGroupId}">
+      <div class="customFieldGroup crm-collapsible{if !empty($cd_edit.collapse_display)} collapsed{/if} ui-corner-all {$cd_edit.name} crm-custom-set-block-{$customGroupId}">
         <div class="collapsible-title">
           {$cd_edit.title}
         </div>
diff --git a/civicrm/templates/CRM/Contact/Page/View/RelationshipSelector.tpl b/civicrm/templates/CRM/Contact/Page/View/RelationshipSelector.tpl
index 04d5b11e44acad0a17d313b49a29f1391a48ebf1..663b4aa7e0bf724d68857e8479bb4d5e56ff674e 100644
--- a/civicrm/templates/CRM/Contact/Page/View/RelationshipSelector.tpl
+++ b/civicrm/templates/CRM/Contact/Page/View/RelationshipSelector.tpl
@@ -10,6 +10,9 @@
 {* entity selector *}
 {crmRegion name="crm-contact-relationshipselector-pre"}
 {/crmRegion}
+{if !isset($entityInClassFormat)}
+   {assign var="entityInClassFormat" value="relationship"}
+{/if}
 <div class="crm-contact-{$entityInClassFormat}-{$context}">
   <table
     class="crm-contact-{$entityInClassFormat}-selector-{$context} crm-ajax-table"
diff --git a/civicrm/templates/CRM/Contact/Page/View/Summary.tpl b/civicrm/templates/CRM/Contact/Page/View/Summary.tpl
index c9af2ebe8469576a867594a53a8dd7f10648c170..8eb9fa71303d97d45ec4befd40b8bfcfba843e3e 100644
--- a/civicrm/templates/CRM/Contact/Page/View/Summary.tpl
+++ b/civicrm/templates/CRM/Contact/Page/View/Summary.tpl
@@ -23,10 +23,10 @@
       <ul id="actions">
         {crmRegion name="contact-actions-ribbon"}
         {assign var='urlParams' value="reset=1"}
-        {if $searchKey}
+        {if !empty($searchKey)}
           {assign var='urlParams' value=$urlParams|cat:"&key=$searchKey"}
         {/if}
-        {if $context}
+        {if !empty($context)}
           {assign var='urlParams' value=$urlParams|cat:"&context=$context"}
         {/if}
 
@@ -110,11 +110,11 @@
     <div id="mainTabContainer">
       <ul class="crm-contact-tabs-list">
         {foreach from=$allTabs item=tabValue}
-          <li id="tab_{$tabValue.id}" class="crm-tab-button ui-corner-all crm-count-{$tabValue.count}{if isset($tabValue.class)} {$tabValue.class}{/if}">
+          <li id="tab_{$tabValue.id}" class="crm-tab-button ui-corner-all{if isset($tabValue.count)} crm-count-{$tabValue.count}{/if}{if isset($tabValue.class)} {$tabValue.class}{/if}">
             <a href="{if !empty($tabValue.template)}#contact-{$tabValue.id}{else}{$tabValue.url}{/if}" title="{$tabValue.title|escape}">
               <i class="{if $tabValue.icon}{$tabValue.icon}{else}crm-i fa-puzzle-piece{/if}" aria-hidden="true"></i>
               <span>{$tabValue.title}</span>
-              {if empty($tabValue.hideCount)}<em>{$tabValue.count}</em>{/if}
+              {if empty($tabValue.hideCount)}<em>{if isset($tabValue.count)}{$tabValue.count}{/if}</em>{/if}
             </a>
           </li>
         {/foreach}
diff --git a/civicrm/templates/CRM/Contact/Page/View/UserDashBoard/GroupContact.tpl b/civicrm/templates/CRM/Contact/Page/View/UserDashBoard/GroupContact.tpl
index 7306c342a0b63f3123693cec32e2147b58153663..ab39980a660001daecb6d87cebea10dcf5811bcb 100644
--- a/civicrm/templates/CRM/Contact/Page/View/UserDashBoard/GroupContact.tpl
+++ b/civicrm/templates/CRM/Contact/Page/View/UserDashBoard/GroupContact.tpl
@@ -7,7 +7,7 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
 *}
-{if $userChecksum}
+{if !empty($userChecksum)}
   {assign var=edit value='0'}
 {/if}
 {crmRegion name="crm-contact-userdashboard-groupcontact-pre"}
diff --git a/civicrm/templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl b/civicrm/templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl
index c25f009fab310aba164ecc8b90c684f5b56fa95e..99e6a19c824c6cbeb8ff2671cd624f19879b32b4 100644
--- a/civicrm/templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl
+++ b/civicrm/templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl
@@ -20,7 +20,7 @@
     <table class="form-layout-compressed">
       <tr class="crm-contribution-form-block-min_amount">
         <td class="label">{$form.min_amount.label}</td>
-        <td class="html-adjust">{$form.min_amount.html|crmAddClass:'no-border'|crmMoney:$currency}</td>
+        <td class="html-adjust">{$form.min_amount.html}</td>
       </tr>
     </table>
     <div class="spacer"></div>
diff --git a/civicrm/templates/CRM/Contribute/Form/Contribution/AuthorizeNetARB.tpl b/civicrm/templates/CRM/Contribute/Form/Contribution/AuthorizeNetARB.tpl
index 55a0a51db4b095c27f9f0b33586b035c232cb5e6..78b154da7e5cfe9caa5934e73a5c0397ef997cb4 100644
--- a/civicrm/templates/CRM/Contribute/Form/Contribution/AuthorizeNetARB.tpl
+++ b/civicrm/templates/CRM/Contribute/Form/Contribution/AuthorizeNetARB.tpl
@@ -7,7 +7,7 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
 *}
-{if $subscriptionType eq 'cancel'}
+{if isset($subscriptionType) && $subscriptionType eq 'cancel'}
 <?xml version="1.0" encoding="utf-8"?>
 <ARBCancelSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
   <merchantAuthentication>
@@ -16,7 +16,7 @@
   </merchantAuthentication>
   <subscriptionId>{$subscriptionId}</subscriptionId>
 </ARBCancelSubscriptionRequest>
-{elseif $subscriptionType eq 'updateBilling'}
+{elseif isset($subscriptionType) && $subscriptionType eq 'updateBilling'}
 <?xml version="1.0" encoding="utf-8"?>
 <ARBUpdateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
   <merchantAuthentication>
@@ -42,7 +42,7 @@
     </billTo>
   </subscription>
 </ARBUpdateSubscriptionRequest>
-{elseif $subscriptionType eq 'update'}
+{elseif isset($subscriptionType) && $subscriptionType eq 'update'}
 <?xml version="1.0" encoding="utf-8"?>
 <ARBUpdateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
   <merchantAuthentication>
diff --git a/civicrm/templates/CRM/Contribute/Form/ContributionView.tpl b/civicrm/templates/CRM/Contribute/Form/ContributionView.tpl
index c7e0c8fe9ce7e3d78803dda53aef8e06243bb12f..ea457bdf9f087dd132f88ad92d5cc014e900d8d0 100644
--- a/civicrm/templates/CRM/Contribute/Form/ContributionView.tpl
+++ b/civicrm/templates/CRM/Contribute/Form/ContributionView.tpl
@@ -78,7 +78,9 @@
       <td class="label">{ts}Contribution Amount{/ts}</td>
       <td>{include file="CRM/Price/Page/LineItem.tpl" context="Contribution"}
         {if $contribution_recur_id}
-          <strong>{ts}Recurring Contribution{/ts}</strong>
+          <a class="open-inline action-item crm-hover-button" href='{crmURL p="civicrm/contact/view/contributionrecur" q="reset=1&id=`$contribution_recur_id`&cid=`$contact_id`&context=contribution"}'>
+            {ts}View Recurring Contribution{/ts}
+          </a>
           <br/>
           {ts}Installments{/ts}: {if $recur_installments}{$recur_installments}{else}{ts}(ongoing){/ts}{/if}, {ts}Interval{/ts}: {$recur_frequency_interval} {$recur_frequency_unit}(s)
         {/if}
@@ -89,8 +91,8 @@
       <td class="label">{ts}Total Amount{/ts}</td>
       <td><strong>{$total_amount|crmMoney:$currency}</strong>
         {if $contribution_recur_id}
-          <a class="crm-hover-button" href='{crmURL p="civicrm/contact/view/contributionrecur" q="reset=1&id=`$contribution_recur_id`&cid=`$contact_id`&context=contribution"}'>
-            <strong>{ts}Recurring Contribution{/ts}</strong>
+          <a class="open-inline action-item crm-hover-button" href='{crmURL p="civicrm/contact/view/contributionrecur" q="reset=1&id=`$contribution_recur_id`&cid=`$contact_id`&context=contribution"}'>
+            {ts}View Recurring Contribution{/ts}
           </a>
           <br/>
           {ts}Installments{/ts}: {if $recur_installments}{$recur_installments}{else}{ts}(ongoing){/ts}{/if}, {ts}Interval{/ts}: {$recur_frequency_interval} {$recur_frequency_unit}(s)
diff --git a/civicrm/templates/CRM/Contribute/Form/ManagePremiums.tpl b/civicrm/templates/CRM/Contribute/Form/ManagePremiums.tpl
index 7e3f88661b7535c7705afbed52d052516f52b0be..24ab8af6036adc36847ae49b77d50b0bb74ec11b 100644
--- a/civicrm/templates/CRM/Contribute/Form/ManagePremiums.tpl
+++ b/civicrm/templates/CRM/Contribute/Form/ManagePremiums.tpl
@@ -47,7 +47,7 @@
         <p>{ts}You can upload an image from your computer OR enter a URL for an image already on the Web. If you chose to upload an image file, a 'thumbnail' version will be automatically created for you. If you don't have an image available at this time, you may also choose to display a 'No Image Available' icon by selecting the 'default image'.{/ts}</p>
                   </div>
   <table class="form-layout-compressed">
-    {if $thumbnailUrl}<tr class="odd-row"><td class="describe-image" colspan="2"><strong>Current Image Thumbnail</strong><br /><img src="{$thumbnailUrl}" /></td></tr>{/if}
+    {if !empty($thumbnailUrl)}<tr class="odd-row"><td class="describe-image" colspan="2"><strong>Current Image Thumbnail</strong><br /><img src="{$thumbnailUrl}" /></td></tr>{/if}
     <tr class="crm-contribution-form-block-imageOption"><td>{$form.imageOption.image.html}</td><td>{$form.uploadFile.html}</td></tr>
   <tr class="crm-contribution-form-block-imageOption-thumbnail"><td colspan="2">{$form.imageOption.thumbnail.html}</td></tr>
     <tr id="imageURL"{if $action neq 2} class="hiddenElement"{/if}>
@@ -83,7 +83,7 @@
      <tr class="crm-contribution-form-block-financial_type">
        <td class="label">{$form.financial_type_id.label}</td>
        <td class="html-adjust">
-       {if !$financialType}
+       {if empty($financialType)}
          {capture assign=ftUrl}{crmURL p='civicrm/admin/financial/financialType' q="reset=1"}{/capture}
          {ts 1=$ftUrl}There are no financial types configured with linked 'Cost of Sales Premiums' and 'Premiums Inventory Account' accounts. If you want to generate accounting transactions which track the cost of premiums used <a href='%1'>click here</a> to configure financial types and accounts.{/ts}
        {else}
diff --git a/civicrm/templates/CRM/Contribute/Form/Search/Common.tpl b/civicrm/templates/CRM/Contribute/Form/Search/Common.tpl
index 5564d23fa07e73b6b9d0bf75eb91d7891af3f077..5fa9bfb99528926c93b03246a4688f92abb69288 100644
--- a/civicrm/templates/CRM/Contribute/Form/Search/Common.tpl
+++ b/civicrm/templates/CRM/Contribute/Form/Search/Common.tpl
@@ -110,6 +110,12 @@
           {$form.contribution_recurring.html}
         </td>
       </tr>
+      <tr>
+        <td>{$form.is_template.label} {help id="is-template" file="CRM/Contact/Form/Search/Advanced"}</td>
+        <td>
+          {$form.is_template.html}
+        </td>
+      </tr>
       </tbody>
     </table>
   </td>
@@ -172,7 +178,7 @@ campaignTrClass='' campaignTdClass=''}
   </td>
 </tr>
 
-{if $contributionGroupTree}
+{if !empty($contributionGroupTree)}
 <tr>
   <td colspan="2">
   {include file="CRM/Custom/Form/Search.tpl" groupTree=$contributionGroupTree showHideLinks=false}</td>
diff --git a/civicrm/templates/CRM/Contribute/Form/Search/ContributionRecur.tpl b/civicrm/templates/CRM/Contribute/Form/Search/ContributionRecur.tpl
index 2ec773e418e5980e4241d162c40f728be4b62add..0988205710b03879b0a703022584da3fc9c4ba3b 100644
--- a/civicrm/templates/CRM/Contribute/Form/Search/ContributionRecur.tpl
+++ b/civicrm/templates/CRM/Contribute/Form/Search/ContributionRecur.tpl
@@ -70,7 +70,7 @@
           {$form.contribution_recur_trxn_id.html}
         </td>
       </tr>
-      {if $contributionRecurGroupTree}
+      {if !empty($contributionRecurGroupTree)}
         <tr>
           <td colspan="4">
             {include file="CRM/Custom/Form/Search.tpl" groupTree=$contributionRecurGroupTree showHideLinks=false}
diff --git a/civicrm/templates/CRM/Contribute/Form/Selector.tpl b/civicrm/templates/CRM/Contribute/Form/Selector.tpl
index 82bf0ca05f440a9234991f0c2e7ee8e9f9337c8c..dde319b31832be347c7c388e38961f316aa8291f 100644
--- a/civicrm/templates/CRM/Contribute/Form/Selector.tpl
+++ b/civicrm/templates/CRM/Contribute/Form/Selector.tpl
@@ -49,7 +49,11 @@
                &nbsp; {$row.total_amount|crmMoney:$row.currency}
             </a>
           {if $row.amount_level }<br/>({$row.amount_level}){/if}
-          {if $row.contribution_recur_id}<br/>{ts}(Recurring){/ts}{/if}
+          {if $row.contribution_recur_id && $row.is_template}
+            <br/>{ts}(Recurring Template){/ts}
+          {elseif $row.contribution_recur_id }
+            <br/>{ts}(Recurring){/ts}
+          {/if}
         </td>
       {foreach from=$columnHeaders item=column}
         {assign var='columnName' value=$column.field_name}
diff --git a/civicrm/templates/CRM/Contribute/Import/Form/MapField.tpl b/civicrm/templates/CRM/Contribute/Import/Form/MapField.tpl
index 677f5c5a2a9cd2089cc6cc4b8bd36d07f3aee9e7..a1b077142168e2c702485210a29c629b958af8ae 100644
--- a/civicrm/templates/CRM/Contribute/Import/Form/MapField.tpl
+++ b/civicrm/templates/CRM/Contribute/Import/Form/MapField.tpl
@@ -15,9 +15,6 @@
 
  <div class="help">
     <p>{ts}Review the values shown below from the first 2 rows of your import file and select the matching CiviCRM database fields from the drop-down lists in the right-hand column. Select '- do not import -' for any columns in the import file that you want ignored.{/ts}</p>
-    {if $savedMapping}
-    <p>{ts}Click 'Load Saved Field Mapping' if data has been previously imported from the same source. You can then select the saved import mapping setup and load it automatically.{/ts}<p>
-    {/if}
     <p>{ts}If you think you may be importing additional data from the same data source, check 'Save this field mapping' at the bottom of the page before continuing. The saved mapping can then be easily reused the next time data is imported.{/ts}</p>
 </div>
 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
diff --git a/civicrm/templates/CRM/Contribute/Page/ContributionType.tpl b/civicrm/templates/CRM/Contribute/Page/ContributionType.tpl
index 25103e624d3c19f593748c6cff1b573ae89cbdff..8a824542249e921e21e05f7a744bf8343b974eaf 100644
--- a/civicrm/templates/CRM/Contribute/Page/ContributionType.tpl
+++ b/civicrm/templates/CRM/Contribute/Page/ContributionType.tpl
@@ -32,7 +32,7 @@
             <th></th>
           </thead>
          {foreach from=$rows item=row}
-        <tr id="contribution_type-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+        <tr id="contribution_type-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
           <td>{$row.name}</td>
           <td>{$row.description}</td>
               <td>{$row.accounting_code}</td>
diff --git a/civicrm/templates/CRM/Contribute/Page/ManagePremiums.tpl b/civicrm/templates/CRM/Contribute/Page/ManagePremiums.tpl
index 6f2d632329917ae2cb3d8c931296b6d9d1bad4c4..f80c43e5dcfb85f8b77c95bd690281240bdc9a59 100644
--- a/civicrm/templates/CRM/Contribute/Page/ManagePremiums.tpl
+++ b/civicrm/templates/CRM/Contribute/Page/ManagePremiums.tpl
@@ -43,7 +43,7 @@
            </tr>
           </thead>
         {foreach from=$rows item=row}
-        <tr id="product-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+        <tr id="product-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
           <td class="crm-contribution-form-block-name crm-editable" data-field="name">{$row.name}</td>
           <td class="crm-contribution-form-block-sku crm-editable" data-field="sku">{$row.sku}</td>
           <td class="crm-contribution-form-block-price">{$row.price|crmMoney}</td>
diff --git a/civicrm/templates/CRM/Contribute/Page/PcpUserDashboard.tpl b/civicrm/templates/CRM/Contribute/Page/PcpUserDashboard.tpl
index 43e62b4ebf042bf8d855259f950241e4de7a4291..23c59e82830bb249930d5119605bb0d5d503370e 100644
--- a/civicrm/templates/CRM/Contribute/Page/PcpUserDashboard.tpl
+++ b/civicrm/templates/CRM/Contribute/Page/PcpUserDashboard.tpl
@@ -21,16 +21,16 @@
     <th>{ts}In Support of{/ts}</th>
     <th>{ts}Campaign Ends{/ts}</th>
     <th>{ts}Status{/ts}</th>
-    {if !$userChecksum} <th></th> {/if}
+    {if empty($userChecksum)} <th></th> {/if}
   </tr>
 
   {foreach from=$pcpInfo item=row}
-  <tr class="{cycle values="odd-row,even-row"} {$row.class}">
+  <tr class="{cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}">
         <td class="bold"><a href="{crmURL p='civicrm/pcp/info' q="reset=1&id=`$row.pcpId`" a=1}" title="{ts}Preview your Personal Campaign Page{/ts}">{$row.pcpTitle}</a></td>
         <td>{$row.pageTitle}</td>
         <td>{if $row.end_date}{$row.end_date|truncate:10:''|crmDate}{else}({ts}ongoing{/ts}){/if}</td>
         <td>{$row.pcpStatus}</td>
-        {if !$userChecksum}
+        {if empty($userChecksum)}
           <td>{$row.action|replace:'xx':$row.pcpId}</td>
         {/if}
   </tr>
diff --git a/civicrm/templates/CRM/Contribute/Page/Premium.tpl b/civicrm/templates/CRM/Contribute/Page/Premium.tpl
index 5dd5aa91579ac900fe81be5a085fc269365f2abf..18a30af042677bc2f869cc2bce1de1397fb169f3 100644
--- a/civicrm/templates/CRM/Contribute/Page/Premium.tpl
+++ b/civicrm/templates/CRM/Contribute/Page/Premium.tpl
@@ -27,7 +27,7 @@
             <th></th>
         </tr>
         {foreach from=$rows item=row}
-        <tr class="{cycle values='odd-row,even-row'} {$row.class}{if NOT $row.is_active} disabled{/if}">
+        <tr class="{cycle values='odd-row,even-row'}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
           <td class="crm-contribution-form-block-product_name">{$row.product_name}</td>
           <td class="crm-contribution-form-block-sku">{$row.sku}</td>
           <td class="crm-contribution-form-block-price">{$row.price|crmMoney}</td>
diff --git a/civicrm/templates/CRM/Contribute/Page/UserDashboard.tpl b/civicrm/templates/CRM/Contribute/Page/UserDashboard.tpl
index d856cf4d9869a1bf05317ebd03c39d525110cbed..70034d749b1980ffafeffa91e6c4e25660a816d1 100644
--- a/civicrm/templates/CRM/Contribute/Page/UserDashboard.tpl
+++ b/civicrm/templates/CRM/Contribute/Page/UserDashboard.tpl
@@ -28,9 +28,9 @@
 
                 {foreach from=$contribute_rows item=row}
                     <tr id='rowid{$row.contribution_id}'
-                        class="{cycle values="odd-row,even-row"}{if $row.cancel_date} disabled{/if}">
-                        <td>{$row.total_amount|crmMoney:$row.currency} {if $row.amount_level && !is_array($row.amount_level)} - {$row.amount_level} {/if}
-                            {if $row.contribution_recur_id}
+                        class="{cycle values="odd-row,even-row"}{if !empty($row.cancel_date)} disabled{/if}">
+                        <td>{$row.total_amount|crmMoney:$row.currency} {if !empty($row.amount_level) && !is_array($row.amount_level)} - {$row.amount_level} {/if}
+                            {if !empty($row.contribution_recur_id)}
                                 <br/>
                                 {ts}(Recurring Contribution){/ts}
                             {/if}
@@ -50,7 +50,7 @@
                                 <a class="button no-popup nowrap"
                                    href="{crmURL p='civicrm/contribute/invoice' q=$urlParams}">
                                     <i class="crm-i fa-print" aria-hidden="true"></i>
-                                    {if $row.contribution_status_name != 'Refunded' && $row.contribution_status_name != 'Cancelled' }
+                                    {if empty($row.contribution_status_name) || (!empty($row.contribution_status_name) && $row.contribution_status_name != 'Refunded' && $row.contribution_status_name != 'Cancelled') }
                                         <span>{ts}Print Invoice{/ts}</span>
                                     {else}
                                         <span>{ts}Print Invoice and Credit Note{/ts}</span>
@@ -59,16 +59,18 @@
                             {/if}
                           </td>
                         {/if}
+                        {if !empty($row.buttons)}
                         <td>
                         {foreach from=$row.buttons item=button}
                           <a class="{$button.class}" href="{$button.url}"><span class='nowrap'>{$button.label}</span></a>
                         {/foreach}
                         </td>
+                        {/if}
                     </tr>
                 {/foreach}
             </table>
         {/strip}
-        {if $contributionSummary.total.count gt 12}
+        {if !empty($contributionSummary.total) and $contributionSummary.total.count gt 12}
             {ts}Contact us for information about contributions prior to those listed above.{/ts}
         {/if}
     {else}
@@ -79,7 +81,7 @@
     {/if}
 
 
-    {if $honor}
+    {if !empty($honor)}
         {if $honorRows}
             {strip}
                 <div class="help">
@@ -112,7 +114,7 @@
         {/if}
     {/if}
 
-    {if $recur}
+    {if !empty($recur)}
         {if $recurRows}
             {strip}
                 <div><label>{ts}Recurring Contribution(s){/ts}</label></div>
diff --git a/civicrm/templates/CRM/Core/DatePickerRangeWrapper.tpl b/civicrm/templates/CRM/Core/DatePickerRangeWrapper.tpl
index 2e6fcb54adc9bad8969fede9a6ec8ed386ac799b..f43499bd1308570de952e04f4ee7397c69000f51 100644
--- a/civicrm/templates/CRM/Core/DatePickerRangeWrapper.tpl
+++ b/civicrm/templates/CRM/Core/DatePickerRangeWrapper.tpl
@@ -8,7 +8,7 @@
  +--------------------------------------------------------------------+
 *}
 {* Wrapper around DatePickerRange TPL file *}
-<td {if $colspan} colspan="{$colspan}" {else} colspan="2" {/if} {if $class} class="{$class}" {/if}>
+<td {if !empty($colspan)} colspan="{$colspan}" {else} colspan="2" {/if} {if !empty($class)} class="{$class}" {/if}>
   {assign var='hideRelativeLabel' value=$hideRelativeLabel|default:0}
   {assign var='from' value=$from|default:'_low'}
   {assign var='to' value=$to|default:'_high'}
diff --git a/civicrm/templates/CRM/Core/Form/Field.tpl b/civicrm/templates/CRM/Core/Form/Field.tpl
index d8b8ea42fcc0006c09ae889db7e368f263124359..1d59c0e3c3f675c3a0f0e55e46d69ac0c1dea85b 100644
--- a/civicrm/templates/CRM/Core/Form/Field.tpl
+++ b/civicrm/templates/CRM/Core/Form/Field.tpl
@@ -7,18 +7,18 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
 *}
-{if $fieldSpec.template}
+{if !empty($fieldSpec.template)}
   {include file=$fieldSpec.template}
 {else}
   <td class="label">{$form.$fieldName.label}
-    {if $fieldSpec.help}{assign var=help value=$fieldSpec.help}{capture assign=helpFile}{if $fieldSpec.help}
+    {if !empty($fieldSpec.help)}{assign var=help value=$fieldSpec.help}{capture assign=helpFile}{if $fieldSpec.help}
       {$fieldSpec.help}
     {else}''{/if}
     {/capture}{help id=$help.id file=$help.file}{/if}
     {if $action == 2 && $fieldSpec.is_add_translate_dialog}{include file='CRM/Core/I18n/Dialog.tpl' table=$entityTable field=$fieldName id=$entityID}{/if}
   </td>
-  <td>{$fieldSpec.pre_html_text}{if $form.$fieldName.html}{$form.$fieldName.html}{else}{$fieldSpec.place_holder}{/if}{$fieldSpec.post_html_text}<br />
-    {if $fieldSpec.description}<span class="description">{$fieldSpec.description}</span>{/if}
-    {if $fieldSpec.documentation_link}{docURL page=$fieldSpec.documentation_link.page resource=$fieldSpec.documentation_link.resource}{/if}
+  <td>{if !empty($fieldSpec.pre_html_text)}{$fieldSpec.pre_html_text}{/if}{if $form.$fieldName.html}{$form.$fieldName.html}{else}{$fieldSpec.place_holder}{/if}{if !empty($fieldSpec.post_html_text)}{$fieldSpec.post_html_text}{/if}<br />
+    {if !empty($fieldSpec.description)}<span class="description">{$fieldSpec.description}</span>{/if}
+    {if !empty($fieldSpec.documentation_link)}{docURL page=$fieldSpec.documentation_link.page resource=$fieldSpec.documentation_link.resource}{/if}
   </td>
 {/if}
diff --git a/civicrm/templates/CRM/Custom/Form/Edit/CustomData.tpl b/civicrm/templates/CRM/Custom/Form/Edit/CustomData.tpl
index 8228791b3cfef327dd804e1c0be0ef950f5d1f88..c73d98453e0815b851638f19343f2e7992d2c621 100644
--- a/civicrm/templates/CRM/Custom/Form/Edit/CustomData.tpl
+++ b/civicrm/templates/CRM/Custom/Form/Edit/CustomData.tpl
@@ -1,4 +1,4 @@
-{if !$isSingleRecordEdit && $cd_edit.is_multiple eq 1 and $cd_edit.table_id and $contactId and !$skipTitle and $cd_edit.style eq 'Inline'}
+{if empty($isSingleRecordEdit) && $cd_edit.is_multiple eq 1 and $cd_edit.table_id and $contactId and !$skipTitle and $cd_edit.style eq 'Inline'}
   {assign var=tableID value=$cd_edit.table_id}
   <a href="#" class="crm-hover-button crm-custom-value-del" title="{ts 1=$cd_edit.title}Delete %1{/ts}"
      data-post='{ldelim}"valueID": "{$tableID}", "groupID": "{$group_id}", "contactId": "{$contactId}", "key": "{crmKey name='civicrm/ajax/customvalue'}"{rdelim}'>
@@ -9,7 +9,7 @@
 {if $cd_edit.help_pre}
   <div class="messages help">{$cd_edit.help_pre}</div>
 {/if}
-<table {if !$isSingleRecordEdit}class="form-layout-compressed"{/if}>
+<table {if empty($isSingleRecordEdit)}class="form-layout-compressed"{/if}>
   {foreach from=$cd_edit.fields item=element key=field_id}
     {if $customDataEntity && $blockId}
       {* custom data entity combined with blockId tells us we have an entity with mutliple blocks
@@ -25,7 +25,7 @@
 </table>
 <div class="spacer"></div>
 {if $cd_edit.help_post}<div class="messages help">{$cd_edit.help_post}</div>{/if}
-{if !$isSingleRecordEdit && $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' )  or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple > $cgCount ) ) }
+{if empty($isSingleRecordEdit) && $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' )  or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple > $cgCount ) ) }
   {if $skipTitle}
     {* We don't yet support adding new records in inline-edit forms *}
     <div class="messages help">
diff --git a/civicrm/templates/CRM/Custom/Form/Preview.tpl b/civicrm/templates/CRM/Custom/Form/Preview.tpl
index c246c00781b4f711462ef8e2ffd75e6b2b695e6e..f4481271e845b83ae3380a9652ec3788d620160a 100644
--- a/civicrm/templates/CRM/Custom/Form/Preview.tpl
+++ b/civicrm/templates/CRM/Custom/Form/Preview.tpl
@@ -26,18 +26,18 @@
 {foreach from=$groupTree item=cd_edit key=group_id}
     <p></p>
     <fieldset>{if $preview_type eq 'group'}<legend>{$smarty.capture.legend}</legend>{/if}
-    {if $cd_edit.help_pre}<div class="messages help">{$cd_edit.help_pre}</div><br />{/if}
+    {if !empty($cd_edit.help_pre)}<div class="messages help">{$cd_edit.help_pre}</div><br />{/if}
     <table class="form-layout-compressed">
     {foreach from=$cd_edit.fields item=element key=field_id}
       {if $element.is_view eq 0}{* fix for CRM-2699 *}
-        {if $element.help_pre}
+        {if !empty($element.help_pre)}
             <tr><td class="label"></td><td class="description">{$element.help_pre}</td></tr>
         {/if}
-  {if $element.options_per_line }
+  {if !empty($element.options_per_line)}
         {*assign var="element_name" value=$element.custom_group_id|cat:_|cat:$field_id|cat:_|cat:$element.name*}
         {assign var="element_name" value=$element.element_name}
         <tr>
-         <td class="label">{$form.$element_name.label}{if $element.help_post}{help id=$element.id file="CRM/Custom/Form/CustomField.hlp" title=$form.$element_name.label}{/if}</td>
+         <td class="label">{$form.$element_name.label}{if !empty($element.help_post)}{help id=$element.id file="CRM/Custom/Form/CustomField.hlp" title=$form.$element_name.label}{/if}</td>
          <td>
             {assign var="count" value="1"}
                 <table class="form-layout-compressed">
@@ -62,11 +62,10 @@
          </td>
         </tr>
   {else}
-        {assign var="name" value=`$element.name`}
-        {*assign var="element_name" value=$group_id|cat:_|cat:$field_id|cat:_|cat:$element.name*}
-        {assign var="element_name" value=$element.element_name}
+        {capture assign="name"}{if !empty($element.name)}{$element.name}{/if}{/capture}
+        {capture assign="element_name"}{if !empty($element.element_name)}{$element.element_name}{/if}{/capture}
         <tr>
-          <td class="label">{$form.$element_name.label}{if $element.help_post}{help id=$element.id file="CRM/Custom/Form/CustomField.hlp" title=$form.$element_name.label}{/if}</td>
+          <td class="label">{$form.$element_name.label}{if !empty($element.help_post)}{help id=$element.id file="CRM/Custom/Form/CustomField.hlp" title=$form.$element_name.label}{/if}</td>
         <td>
           {$form.$element_name.html}&nbsp;
       {if $element.html_type eq 'Autocomplete-Select'}
@@ -79,7 +78,7 @@
      {/if}
     {/foreach}
     </table>
-    {if $cd_edit.help_post}<br /><div class="messages help">{$cd_edit.help_post}</div>{/if}
+    {if !empty($cd_edit.help_post)}<br /><div class="messages help">{$cd_edit.help_post}</div>{/if}
     </fieldset>
 {/foreach}
 {/strip}
diff --git a/civicrm/templates/CRM/Custom/Page/CustomDataView.tpl b/civicrm/templates/CRM/Custom/Page/CustomDataView.tpl
index f7f3f870031edfdafdb4799f98ddd80be36b9648..df241801a4141cfe755be05d63cc666793ccdcad 100644
--- a/civicrm/templates/CRM/Custom/Page/CustomDataView.tpl
+++ b/civicrm/templates/CRM/Custom/Page/CustomDataView.tpl
@@ -31,7 +31,7 @@
       {assign var="showEdit" value=0}
       <tr>
         <td id="{$cd_edit.name}_{$index}" class="section-shown form-item">
-          <div class="crm-accordion-wrapper {if $cd_edit.collapse_display eq 0 or $skipTitle} {else}collapsed{/if}">
+          <div class="crm-accordion-wrapper{if !empty($cd_edit.collapse_display) && empty($skipTitle)} collapsed{/if}">
             {if !$skipTitle}
               <div class="crm-accordion-header">
                 {$cd_edit.title}
diff --git a/civicrm/templates/CRM/Custom/Page/Field.tpl b/civicrm/templates/CRM/Custom/Page/Field.tpl
index 01b5cc6114550b0a0a9b167bb28fa1f190115c20..2ed880351ac722e576b9b196d020e2443df7b4e9 100644
--- a/civicrm/templates/CRM/Custom/Page/Field.tpl
+++ b/civicrm/templates/CRM/Custom/Page/Field.tpl
@@ -42,9 +42,9 @@
             <td>{$row.data_type}</td>
             <td>{$row.html_type}</td>
             <td class="nowrap">{$row.weight}</td>
-            <td class="crm-editable" data-type="boolean" data-field="is_required">{if $row.is_required eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
-            <td class="crm-editable" data-type="boolean" data-field="is_searchable">{if $row.is_searchable eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
-            <td>{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
+            <td class="crm-editable" data-type="boolean" data-field="is_required">{if !empty($row.is_required)} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
+            <td class="crm-editable" data-type="boolean" data-field="is_searchable">{if !empty($row.is_searchable)} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
+            <td>{if !empty($row.is_active)} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
             <td>{$row.action|replace:'xx':$row.id}</td>
         </tr>
         {/foreach}
diff --git a/civicrm/templates/CRM/Custom/Page/Group.tpl b/civicrm/templates/CRM/Custom/Page/Group.tpl
index d430a99f3bac36ded4e2732f09ccdfa28cfbe4e1..e88f69057565deeaefa3bcd8c9f035838f44d5f4 100644
--- a/civicrm/templates/CRM/Custom/Page/Group.tpl
+++ b/civicrm/templates/CRM/Custom/Page/Group.tpl
@@ -40,12 +40,12 @@
         </thead>
         <tbody>
         {foreach from=$rows item=row}
-        <tr id="CustomGroup-{$row.id}" data-action="setvalue" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+        <tr id="CustomGroup-{$row.id}" data-action="setvalue" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
           <td>{$row.id}</td>
           <td class="crmf-title crm-editable">{$row.title}</td>
           <td id="row_{$row.id}_status">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
           <td>{if $row.extends eq 'Contact'}{ts}All Contact Types{/ts}{else}{$row.extends_display}{/if}</td>
-          <td>{$row.extends_entity_column_value}</td>
+          <td>{if !empty($row.extends_entity_column_value)}{$row.extends_entity_column_value}{/if}</td>
           <td class="nowrap">{$row.weight}</td>
           <td>{$row.style_display}</td>
           <td>{$row.action|replace:'xx':$row.id}</td>
diff --git a/civicrm/templates/CRM/Event/Form/FeeBlock.tpl b/civicrm/templates/CRM/Event/Form/FeeBlock.tpl
new file mode 100644
index 0000000000000000000000000000000000000000..0241921818f54f315ef0959650dbdf447c16346f
--- /dev/null
+++ b/civicrm/templates/CRM/Event/Form/FeeBlock.tpl
@@ -0,0 +1,157 @@
+{*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+*}
+{if $priceSet}
+  <div id='validate_pricefield' class='messages crm-error hiddenElement'></div>
+{literal}
+  <script type="text/javascript">
+
+    var fieldOptionsFull = [];
+    {/literal}
+    {foreach from=$priceSet.fields item=fldElement key=fldId}
+    {if $fldElement.options}
+    {foreach from=$fldElement.options item=fldOptions key=opId}
+    {if $fldOptions.is_full}
+    {literal}
+    fieldOptionsFull[{/literal}{$fldId}{literal}] = [];
+    fieldOptionsFull[{/literal}{$fldId}{literal}][{/literal}{$opId}{literal}] = 1;
+    {/literal}
+    {/if}
+    {/foreach}
+    {/if}
+    {/foreach}
+    {literal}
+
+    if ( fieldOptionsFull.length > 0 ) {
+      CRM.$(function($) {
+        $("input,#priceset select,#priceset").each(function () {
+          if ( $(this).attr('price') ) {
+            switch( $(this).attr('type') ) {
+              case 'checkbox':
+              case 'radio':
+                $(this).click( function() {
+                  validatePriceField(this);
+                });
+                break;
+
+              case 'select-one':
+                $(this).change( function() {
+                  validatePriceField(this);
+                });
+                break;
+              case 'text':
+                $(this).bind( 'keyup', function() { validatePriceField(this) });
+                break;
+            }
+          }
+        });
+      });
+
+      function validatePriceField( obj ) {
+        var namePart =  cj(obj).attr('name').split('_');
+        var fldVal  =  cj(obj).val();
+        if ( cj(obj).attr('type') == 'checkbox') {
+          var eleIdpart = namePart[1].split('[');
+          var eleId = eleIdpart[0];
+        }
+        else {
+          var eleId  = namePart[1];
+        }
+        var showError = false;
+
+        switch( cj(obj).attr('type') ) {
+          case 'text':
+            if ( fieldOptionsFull[eleId] && fldVal ) {
+              showError = true;
+              cj(obj).parent( ).parent( ).children('.label').addClass('crm-error');
+            }
+            else {
+              cj(obj).parent( ).parent( ).children('.label').removeClass('crm-error');
+              cj('#validate_pricefield').hide( ).html('');
+            }
+            break;
+
+          case 'checkbox':
+            var checkBoxValue = eleIdpart[1].split(']');
+            if ( cj(obj).prop("checked") == true &&
+                    fieldOptionsFull[eleId] &&
+                    fieldOptionsFull[eleId][checkBoxValue[0]]) {
+              showError = true;
+              cj(obj).parent( ).addClass('crm-error');
+            }
+            else {
+              cj(obj).parent( ).removeClass('crm-error');
+            }
+            break;
+
+          default:
+            if ( fieldOptionsFull[eleId] &&
+                    fieldOptionsFull[eleId][fldVal]  ) {
+              showError = true;
+              cj(obj).parent( ).addClass('crm-error');
+            }
+            else {
+              cj(obj).parent( ).removeClass('crm-error');
+            }
+        }
+
+        if ( showError ) {
+          cj('#validate_pricefield').show().html('<i class="crm-i fa-exclamation-triangle crm-i-red" aria-hidden="true"></i>{/literal} {ts escape='js'}This Option is already full for this event.{/ts}{literal}');
+        }
+        else {
+          cj('#validate_pricefield').hide( ).html('');
+        }
+      }
+    }
+
+    // change the status to default 'partially paid' for partial payments
+    var feeAmount, userModifiedAmount;
+    var partiallyPaidStatusId = {/literal}{$partiallyPaidStatusId}{literal};
+
+    cj('#total_amount')
+            .focus(
+                    function() {
+                      feeAmount = cj(this).val();
+                      feeAmount = Number(feeAmount.replace(/[^0-9\.]+/g,""));
+                    }
+            )
+            .change(
+                    function() {
+                      userModifiedAmount = cj(this).val();
+                      userModifiedAmount = Number(userModifiedAmount.replace(/[^0-9\.]+/g,""));
+                      if (userModifiedAmount < feeAmount) {
+                        cj('.crm-participant-form-block-status_id #status_id').val(partiallyPaidStatusId).change();
+                      }
+                    }
+            );
+
+    cj('form[name=Participant]').on("click", '.validate',
+            function(e) {
+              if (CRM.$('#total_amount').length == 0) {
+                var $balance = CRM.$('#payment-info-balance');
+                if ($balance.length > 0 && parseFloat($balance.attr('data-balance')) == 0) {
+                  return true;
+                }
+              }
+              var userSubmittedStatus = cj('.crm-participant-form-block-status_id #status_id').val();
+              var statusLabel = cj('.crm-participant-form-block-status_id #status_id option:selected').text();
+              if (userModifiedAmount < feeAmount && userSubmittedStatus != partiallyPaidStatusId) {
+                var msg = "{/literal}{ts escape="js" 1="%1"}Payment amount is less than the amount owed. Expected participant status is 'Partially paid'. Are you sure you want to set the participant status to %1? Click OK to continue, Cancel to change your entries.{/ts}{literal}";
+                var result = confirm(ts(msg, {1: statusLabel}));
+                if (result == false) {
+                  return false;
+                }
+              }
+            }
+    );
+  </script>
+{/literal}
+{/if}
+
+{include file="CRM/Event/Form/EventFees.tpl"}
diff --git a/civicrm/templates/CRM/Event/Form/Participant.tpl b/civicrm/templates/CRM/Event/Form/Participant.tpl
index da6a15c9ccfcab98b325c8aa74029883e31bad8a..07cd1544960b41c3d0678d47d3648242f8147d6c 100644
--- a/civicrm/templates/CRM/Event/Form/Participant.tpl
+++ b/civicrm/templates/CRM/Event/Form/Participant.tpl
@@ -9,164 +9,11 @@
 *}
 {* This template is used for adding/editing/deleting offline Event Registrations *}
 
-{* Ajax callback for showing event fee snippet *}
+{* Ajax callback for showing event fee snippet  - to be moved to separate form *}
 {if $showFeeBlock}
-  {if $priceSet}
-  <div id='validate_pricefield' class='messages crm-error hiddenElement'></div>
-    {literal}
-    <script type="text/javascript">
-
-    var fieldOptionsFull = [];
-    {/literal}
-    {foreach from=$priceSet.fields item=fldElement key=fldId}
-      {if $fldElement.options}
-        {foreach from=$fldElement.options item=fldOptions key=opId}
-          {if $fldOptions.is_full}
-            {literal}
-              fieldOptionsFull[{/literal}{$fldId}{literal}] = [];
-            fieldOptionsFull[{/literal}{$fldId}{literal}][{/literal}{$opId}{literal}] = 1;
-          {/literal}
-          {/if}
-        {/foreach}
-      {/if}
-    {/foreach}
-    {literal}
-
-    if ( fieldOptionsFull.length > 0 ) {
-      CRM.$(function($) {
-        $("input,#priceset select,#priceset").each(function () {
-          if ( $(this).attr('price') ) {
-            switch( $(this).attr('type') ) {
-              case 'checkbox':
-              case 'radio':
-                $(this).click( function() {
-                  validatePriceField(this);
-                });
-                break;
-
-              case 'select-one':
-                $(this).change( function() {
-                  validatePriceField(this);
-                });
-                break;
-              case 'text':
-                $(this).bind( 'keyup', function() { validatePriceField(this) });
-                break;
-            }
-          }
-        });
-      });
-
-      function validatePriceField( obj ) {
-        var namePart =  cj(obj).attr('name').split('_');
-        var fldVal  =  cj(obj).val();
-        if ( cj(obj).attr('type') == 'checkbox') {
-          var eleIdpart = namePart[1].split('[');
-          var eleId = eleIdpart[0];
-        }
-        else {
-          var eleId  = namePart[1];
-        }
-        var showError = false;
-
-        switch( cj(obj).attr('type') ) {
-          case 'text':
-            if ( fieldOptionsFull[eleId] && fldVal ) {
-              showError = true;
-              cj(obj).parent( ).parent( ).children('.label').addClass('crm-error');
-            }
-            else {
-              cj(obj).parent( ).parent( ).children('.label').removeClass('crm-error');
-              cj('#validate_pricefield').hide( ).html('');
-            }
-            break;
-
-          case 'checkbox':
-            var checkBoxValue = eleIdpart[1].split(']');
-            if ( cj(obj).prop("checked") == true &&
-              fieldOptionsFull[eleId] &&
-              fieldOptionsFull[eleId][checkBoxValue[0]]) {
-              showError = true;
-              cj(obj).parent( ).addClass('crm-error');
-            }
-            else {
-              cj(obj).parent( ).removeClass('crm-error');
-            }
-            break;
-
-          default:
-            if ( fieldOptionsFull[eleId] &&
-              fieldOptionsFull[eleId][fldVal]  ) {
-              showError = true;
-              cj(obj).parent( ).addClass('crm-error');
-            }
-            else {
-              cj(obj).parent( ).removeClass('crm-error');
-            }
-          }
-
-        if ( showError ) {
-          cj('#validate_pricefield').show().html('<i class="crm-i fa-exclamation-triangle crm-i-red" aria-hidden="true"></i>{/literal} {ts escape='js'}This Option is already full for this event.{/ts}{literal}');
-        }
-        else {
-          cj('#validate_pricefield').hide( ).html('');
-        }
-      }
-    }
-
-  // change the status to default 'partially paid' for partial payments
-  var feeAmount, userModifiedAmount;
-  var partiallyPaidStatusId = {/literal}{$partiallyPaidStatusId}{literal};
-
-  cj('#total_amount')
-   .focus(
-     function() {
-       feeAmount = cj(this).val();
-       feeAmount = Number(feeAmount.replace(/[^0-9\.]+/g,""));
-     }
-   )
-   .change(
-    function() {
-      userModifiedAmount = cj(this).val();
-      userModifiedAmount = Number(userModifiedAmount.replace(/[^0-9\.]+/g,""));
-      if (userModifiedAmount < feeAmount) {
-        cj('.crm-participant-form-block-status_id #status_id').val(partiallyPaidStatusId).change();
-      }
-    }
-  );
-
-  cj('form[name=Participant]').on("click", '.validate',
-    function(e) {
-      if (CRM.$('#total_amount').length == 0) {
-        var $balance = CRM.$('#payment-info-balance');
-        if ($balance.length > 0 && parseFloat($balance.attr('data-balance')) == 0) {
-          return true;
-        }
-      }
-      var userSubmittedStatus = cj('.crm-participant-form-block-status_id #status_id').val();
-      var statusLabel = cj('.crm-participant-form-block-status_id #status_id option:selected').text();
-      if (userModifiedAmount < feeAmount && userSubmittedStatus != partiallyPaidStatusId) {
-        var msg = "{/literal}{ts escape="js" 1="%1"}Payment amount is less than the amount owed. Expected participant status is 'Partially paid'. Are you sure you want to set the participant status to %1? Click OK to continue, Cancel to change your entries.{/ts}{literal}";
-        var result = confirm(ts(msg, {1: statusLabel}));
-        if (result == false) {
-          return false;
-        }
-      }
-    }
-  );
-  </script>
-  {/literal}
-  {/if}
-
-  {include file="CRM/Event/Form/EventFees.tpl"}
-
+  {include file="CRM/Event/Form/FeeBlock.tpl"}
 {* Main event form template *}
 {else}
-  {if $participantMode == 'test' }
-    {assign var=registerMode value="TEST"}
-    {elseif $participantMode == 'live'}
-    {assign var=registerMode value="LIVE"}
-  {/if}
   <div class="crm-block crm-form-block crm-participant-form-block">
     {if $newCredit AND $action EQ 1 AND $participantMode EQ null}
       <div class="action-link css_right crm-link-credit-card-mode">
@@ -179,9 +26,9 @@
       </div>
     {/if}
     <div class="view-content">
-      {if $participantMode}
+      {if !empty($participantMode)}
         <div class="help">
-          {ts 1=$displayName 2=$registerMode}Use this form to submit an event registration on behalf of %1. <strong>A %2 transaction will be submitted</strong> using the selected payment processor.{/ts}
+          {ts 1=$displayName 2=$participantMode|upper}Use this form to submit an event registration on behalf of %1. <strong>A %2 transaction will be submitted</strong> using the selected payment processor.{/ts}
         </div>
       {/if}
       <div id="eventFullMsg" class="messages status no-popup" style="display:none;"></div>
diff --git a/civicrm/templates/CRM/Event/Import/Form/MapField.tpl b/civicrm/templates/CRM/Event/Import/Form/MapField.tpl
index 1933bcef3d331633758fd272f0623732071ea6bd..ee59d346b96a7461c52e5463a720a77cb56df3fc 100644
--- a/civicrm/templates/CRM/Event/Import/Form/MapField.tpl
+++ b/civicrm/templates/CRM/Event/Import/Form/MapField.tpl
@@ -14,9 +14,6 @@
 {include file="CRM/common/WizardHeader.tpl"}
 <div class="help">
     <p>{ts}Review the values shown below from the first 2 rows of your import file and select the matching CiviCRM database fields from the drop-down lists in the right-hand column. Select '- do not import -' for any columns in the import file that you want ignored.{/ts}</p>
-    {if $savedMapping}
-    <p>{ts}Click 'Load Saved Field Mapping' if data has been previously imported from the same source. You can then select the saved import mapping setup and load it automatically.{/ts}<p>
-    {/if}
     <p>{ts}If you think you may be importing additional data from the same data source, check 'Save this field mapping' at the bottom of the page before continuing. The saved mapping can then be easily reused the next time data is imported.{/ts}</p>
 </div>
 
diff --git a/civicrm/templates/CRM/Event/Page/List.tpl b/civicrm/templates/CRM/Event/Page/List.tpl
index e4578b1d49270d2e39f2f17287b20f967545d16d..50da60fd8b6d9caf50469bf443b98ad9379cbd1a 100644
--- a/civicrm/templates/CRM/Event/Page/List.tpl
+++ b/civicrm/templates/CRM/Event/Page/List.tpl
@@ -26,7 +26,7 @@
     </tr>
     </thead>
     {foreach from=$events key=uid item=event}
-      <tr class="{cycle values="odd-row,even-row"} {$row.class}">
+      <tr class="{cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}">
         <td><a href="{crmURL p='civicrm/event/info' q="reset=1&id=`$event.event_id`"}" title="{ts}read more{/ts}"><strong>{$event.title}</strong></a></td>
         <td>{if $event.summary}{$event.summary|purify} (<a href="{crmURL p='civicrm/event/info' q="reset=1&id=`$event.event_id`"}" title="{ts}details...{/ts}">{ts}read more{/ts}...</a>){else}&nbsp;{/if}</td>
         <td class="nowrap" data-order="{$event.start_date|crmDate:'%Y-%m-%d'}">
diff --git a/civicrm/templates/CRM/Event/Page/UserDashboard.tpl b/civicrm/templates/CRM/Event/Page/UserDashboard.tpl
index 5da7e3a430f51d51e5a8ebeb4e8c5090335cd1bc..210ece0034e4f7b81e791b4aa31408a92e439b46 100644
--- a/civicrm/templates/CRM/Event/Page/UserDashboard.tpl
+++ b/civicrm/templates/CRM/Event/Page/UserDashboard.tpl
@@ -40,7 +40,7 @@
                        </td>
                        <td class="crm-participant-participant_status">{$row.participant_status}</td>
                        <td class="crm-participant-showConfirmUrl">
-                            {if $row.showConfirmUrl}
+                            {if !empty($row.showConfirmUrl)}
                                 <a href="{crmURL p='civicrm/event/confirm' q="reset=1&participantId=`$row.participant_id`"}">{ts}Confirm Registration{/ts}</a>
                             {/if}
                         </td>
diff --git a/civicrm/templates/CRM/Financial/Form/Search.tpl b/civicrm/templates/CRM/Financial/Form/Search.tpl
index 3c10417481ff58fa3ed772e58f9b61053a4e189c..7933d35978425454c012ecdf6a3bdd67adb8c3e0 100644
--- a/civicrm/templates/CRM/Financial/Form/Search.tpl
+++ b/civicrm/templates/CRM/Financial/Form/Search.tpl
@@ -9,6 +9,9 @@
 *}
 
 {* Financial search component. *}
+{if !isset($batchStatus)}
+  {assign var="batchStatus" value="open"}
+{/if}
 <div id="enableDisableStatusMsg" class="crm-container" style="display:none"></div>
 <div class="action-link">
   <a accesskey="N" href="{crmURL p='civicrm/financial/batch' q="reset=1&action=add&context=$batchStatus"}" id="newBatch" class="button"><span><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {ts}New Accounting Batch{/ts}</span></a>
@@ -21,6 +24,7 @@
     <div class="crm-accordion-body">
       <div id="financial-search-form" class="crm-block crm-form-block">
         <table class="form-layout-compressed">
+          {if !empty($elements)}
           {* Loop through all defined search criteria fields (defined in the buildForm() function). *}
           {foreach from=$elements item=element}
             <tr class="crm-financial-search-form-block-{$element}">
@@ -28,16 +32,17 @@
               <td>{$form.$element.html}</td>
             </tr>
           {/foreach}
+          {/if}
         </table>
       </div>
     </div>
   </div>
 </div>
-<div class="form-layout-compressed">{$form.batch_update.html}&nbsp;{$form.submit.html}</div><br/>
+{if !empty($form.batch_update)}<div class="form-layout-compressed">{$form.batch_update.html}&nbsp;{$form.submit.html}</div><br/>{/if}
 <table id="crm-batch-selector-{$batchStatus}" class="row-highlight">
   <thead>
     <tr>
-      <th class="crm-batch-checkbox">{$form.toggleSelect.html}</th>
+      <th class="crm-batch-checkbox">{if !empty($form.toggleSelect.html)}{$form.toggleSelect.html}{/if}</th>
       <th class="crm-batch-name">{ts}Batch Name{/ts}</th>
       <th class="crm-batch-payment_instrument">{ts}Payment Method{/ts}</th>
       <th class="crm-batch-item_count">{ts}Item Count{/ts}</th>
diff --git a/civicrm/templates/CRM/Financial/Page/FinancialAccount.tpl b/civicrm/templates/CRM/Financial/Page/FinancialAccount.tpl
index 646255fe294fe5129eaaec8a56a7a58659fef539..65ebc0dc7fadd39b48ac778f5f6297ddf9f5c618 100644
--- a/civicrm/templates/CRM/Financial/Page/FinancialAccount.tpl
+++ b/civicrm/templates/CRM/Financial/Page/FinancialAccount.tpl
@@ -45,9 +45,9 @@
           <th></th>
         </thead>
         {foreach from=$rows item=row}
-        <tr id="financial_account-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+        <tr id="financial_account-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {if !empty($row.class)}{$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
           <td class="crm-editable" data-field="name">{$row.name}</td>
-          <td class="crm-editable" data-field="description" data-type="textarea">{$row.description}</td>
+          <td class="crm-editable" data-field="description" data-type="textarea">{if !empty($row.description)}{$row.description}{/if}</td>
           <td class="crm-editable" data-field="accounting_code">{$row.accounting_code}</td>
           <td>{$row.financial_account_type_id}{if $row.account_type_code} ({$row.account_type_code}){/if}</td>
           <td>{if $row.is_deductible eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
diff --git a/civicrm/templates/CRM/Financial/Page/FinancialType.tpl b/civicrm/templates/CRM/Financial/Page/FinancialType.tpl
index d42ca6f53b05634eb307abe9b3888a5438e9022f..c4f55f03ea519e547a5438030ced2b10441ed17c 100644
--- a/civicrm/templates/CRM/Financial/Page/FinancialType.tpl
+++ b/civicrm/templates/CRM/Financial/Page/FinancialType.tpl
@@ -37,9 +37,9 @@
             <th></th>
           </thead>
          {foreach from=$rows item=row}
-        <tr id="financial_type-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+        <tr id="financial_type-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {if !empty($row.class)}{$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
           <td class="crm-editable" data-field="name">{$row.name}</td>
-          <td class="crm-editable" data-field="description" data-type="textarea">{$row.description}</td>
+          <td class="crm-editable" data-field="description" data-type="textarea">{if !empty($row.description)}{$row.description}{/if}</td>
           <td>{$row.financial_account}</td>
           <td class="crm-editable" data-field="is_deductible" data-type="boolean">{if $row.is_deductible eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
           <td>{if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
diff --git a/civicrm/templates/CRM/Financial/Page/FinancialTypeAccount.tpl b/civicrm/templates/CRM/Financial/Page/FinancialTypeAccount.tpl
index 5bc79434833235354eaf17a03d86fe4b585afe1c..c3af8775a1fa6886e956a13eba77cf1a1c68e344 100644
--- a/civicrm/templates/CRM/Financial/Page/FinancialTypeAccount.tpl
+++ b/civicrm/templates/CRM/Financial/Page/FinancialTypeAccount.tpl
@@ -33,7 +33,7 @@
           <th></th>
         </thead>
         {foreach from=$rows item=row}
-        <tr id="row_{$row.id}"class="{cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+        <tr id="row_{$row.id}"class="{cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
           <td>{$row.account_relationship}</td>
           <td>{$row.financial_account}</td>
           <td>{$row.accounting_code}</td>
diff --git a/civicrm/templates/CRM/Form/body.tpl b/civicrm/templates/CRM/Form/body.tpl
index cec6c6271623aec720475bcb948afdc1372a1329..ee60c49db6eda2e9579e40da6bab39991ef7ed42 100644
--- a/civicrm/templates/CRM/Form/body.tpl
+++ b/civicrm/templates/CRM/Form/body.tpl
@@ -15,7 +15,7 @@
   <div>{$form.hidden}</div>
 {/if}
 
-{if ($snippet !== 'json') and !$suppressForm and count($form.errors) gt 0}
+{if ($snippet !== 'json') and empty($suppressForm) and count($form.errors) gt 0}
    <div class="messages crm-error">
        <i class="crm-i fa-exclamation-triangle crm-i-red" aria-hidden="true"></i>
      {ts}Please correct the following errors in the form fields below:{/ts}
@@ -31,8 +31,8 @@
    </div>
 {/if}
 
-{* Add all the form elements sent in by the hook  - formerly used by civiDiscount, now deprecated*}
-{if $beginHookFormElements}
+{* Add all the form elements sent in by the hook - used by civiDiscount and a few other extensions *}
+{if !empty($beginHookFormElements)}
   <table class="form-layout-compressed">
   {foreach from=$beginHookFormElements key=dontCare item=hookFormElement}
       <tr><td class="label nowrap">{$form.$hookFormElement.label}</td><td>{$form.$hookFormElement.html}</td></tr>
diff --git a/civicrm/templates/CRM/Form/default.tpl b/civicrm/templates/CRM/Form/default.tpl
index cc280174c07a63591ab3321a9f299175322b577c..e9068d974ffdcc9c76d9210ee9e2aab67ed2e978 100644
--- a/civicrm/templates/CRM/Form/default.tpl
+++ b/civicrm/templates/CRM/Form/default.tpl
@@ -7,7 +7,7 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
 *}
-{if ! $suppressForm}
+{if empty($suppressForm)}
 <form {$form.attributes} >
   {crmRegion name='form-top'}{/crmRegion}
 {/if}
@@ -18,7 +18,7 @@
     {include file=$tplFile}
   {/crmRegion}
 
-{if ! $suppressForm}
+{if empty($suppressForm)}
   {crmRegion name='form-bottom'}{/crmRegion}
 </form>
 {/if}
diff --git a/civicrm/templates/CRM/Form/validate.tpl b/civicrm/templates/CRM/Form/validate.tpl
index 248c0b74ba561bc31b642581929a454af35d98ee..9134e9f761b9e5aa42121bcedfc7366113d7e450 100644
--- a/civicrm/templates/CRM/Form/validate.tpl
+++ b/civicrm/templates/CRM/Form/validate.tpl
@@ -9,7 +9,7 @@
 *}
 {* Initialize jQuery validate on a form *}
 {* Extra params and functions may be added to the CRM.validate object before this template is loaded *}
-{if !$crm_form_validate_included and $smarty.get.snippet neq 'json' and $form and $form.formClass}
+{if empty($crm_form_validate_included) and isset($smarty.get.snippet) and $smarty.get.snippet neq 'json' and !empty($form) and !empty($form.formClass)}
   {assign var=crm_form_validate_included value=1}
   {literal}
   <script type="text/javascript">
diff --git a/civicrm/templates/CRM/Grant/Form/Search/Common.tpl b/civicrm/templates/CRM/Grant/Form/Search/Common.tpl
index 5fd460397369726703a5ef9b2a08bbc3ee6ab001..be795cc52e8507d1d15c29df799e544f603c3e98 100644
--- a/civicrm/templates/CRM/Grant/Form/Search/Common.tpl
+++ b/civicrm/templates/CRM/Grant/Form/Search/Common.tpl
@@ -44,7 +44,7 @@
   </td>
 </tr>
 {/foreach}
-{if $grantGroupTree}
+{if !empty($grantGroupTree)}
 <tr>
     <td colspan="3">
     {include file="CRM/Custom/Form/Search.tpl" groupTree=$grantGroupTree showHideLinks=false}</td>
diff --git a/civicrm/templates/CRM/Group/Form/Edit.tpl b/civicrm/templates/CRM/Group/Form/Edit.tpl
index 8c9a85bb1c2dad7a8299ba0be692ae5d9f139421..d0fe28bf3986ed67643d8c62faa70e1fd97007b8 100644
--- a/civicrm/templates/CRM/Group/Form/Edit.tpl
+++ b/civicrm/templates/CRM/Group/Form/Edit.tpl
@@ -22,7 +22,7 @@
     <tr class="crm-group-form-block-title">
       <td class="label">{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_group' field='title' id=$group.id}{/if}</td>
       <td>{$form.title.html|crmAddClass:huge}
-        {if $group.saved_search_id}&nbsp;({ts}Smart Group{/ts}){/if}
+        {if !empty($group.saved_search_id)}&nbsp;({ts}Smart Group{/ts}){/if}
       </td>
     </tr>
 
@@ -36,7 +36,7 @@
     <tr class="crm-group-form-block-frontend-title">
       <td class="label">{$form.frontend_title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_group' field='frontend_title' id=$group.id}{/if}</td>
       <td>{$form.frontend_title.html|crmAddClass:huge}
-        {if $group.saved_search_id}&nbsp;({ts}Smart Group{/ts}){/if}
+        {if !empty($group.saved_search_id)}&nbsp;({ts}Smart Group{/ts}){/if}
       </td>
     </tr>
 
@@ -69,14 +69,14 @@
       <td>{$form.is_active.html}</td>
     </tr>
 
-   {if $group.created_by}
+   {if !empty($group.created_by)}
       <tr class="crm-group-form-block-created">
         <td class="label">{ts}Created By{/ts}</td>
         <td>{$group.created_by}</td>
       </tr>
     {/if}
 
-    {if $group.modified_by}
+    {if !empty($group.modified_by)}
       <tr class="crm-group-form-block-modified">
         <td class="label">{ts}Modified By{/ts}</td>
         <td>{$group.modified_by}</td>
@@ -105,10 +105,10 @@
 
   {literal}
   <script type="text/javascript">
-    {/literal}{if $freezeMailingList}{literal}
+    {/literal}{if !empty($freezeMailingList)}{literal}
     cj('input[type=checkbox][name="group_type[{/literal}{$freezeMailingList}{literal}]"]').prop('disabled',true);
     {/literal}{/if}{literal}
-    {/literal}{if $hideMailingList}{literal}
+    {/literal}{if !empty($hideMailingList)}{literal}
     cj('input[type=checkbox][name="group_type[{/literal}{$hideMailingList}{literal}]"]').hide();
     cj('label[for="group_type[{/literal}{$hideMailingList}{literal}]"]').hide();
     {/literal}{/if}{literal}
diff --git a/civicrm/templates/CRM/Group/Form/GroupsCommon.tpl b/civicrm/templates/CRM/Group/Form/GroupsCommon.tpl
index 33678db66a6d35ba0cfeb10eaf41db60950d89c5..2be8d82ccdab14c6e2bf62d39b28c292bce9740f 100644
--- a/civicrm/templates/CRM/Group/Form/GroupsCommon.tpl
+++ b/civicrm/templates/CRM/Group/Form/GroupsCommon.tpl
@@ -8,9 +8,9 @@
  +--------------------------------------------------------------------+
 *}
 {*CRM-14190*}
-{if $parent_groups|@count > 0 or $form.parents.html}
+{if (isset($parent_groups) and $parent_groups|@count > 0) or !empty($form.parents.html)}
   <h3>{ts}Parent Groups{/ts} {help id="id-group-parent" file="CRM/Group/Page/Group.hlp"}</h3>
-  {if $parent_groups|@count > 0}
+  {if isset($parent_groups) and $parent_groups|@count > 0}
     <table class="form-layout-compressed">
       <tr>
         <td><label>{ts}Remove Parent?{/ts}</label></td>
@@ -31,7 +31,7 @@
     </tr>
   </table>
 {/if}
-{if $form.organization_id}
+{if !empty($form.organization_id)}
   <h3>{ts}Associated Organization{/ts} {help id="id-group-organization" file="CRM/Group/Page/Group.hlp"}</h3>
   <table class="form-layout-compressed">
     <tr class="crm-group-form-block-organization">
diff --git a/civicrm/templates/CRM/Group/Form/Search.tpl b/civicrm/templates/CRM/Group/Form/Search.tpl
index e01ece5d192bc00b9c6940a3c5b49022824856bb..6363fba591a09cd270f12925f50fd78d93402733 100644
--- a/civicrm/templates/CRM/Group/Form/Search.tpl
+++ b/civicrm/templates/CRM/Group/Form/Search.tpl
@@ -8,7 +8,7 @@
  +--------------------------------------------------------------------+
 *}
 <div class="crm-block crm-form-block crm-group-search-form-block">
-  <div class="crm-accordion-wrapper crm-search_builder-accordion {if $rows and !$showSearchForm}collapsed{/if}">
+  <div class="crm-accordion-wrapper crm-search_builder-accordion {if $rows and empty($showSearchForm)}collapsed{/if}">
     <div class="crm-accordion-header crm-master-accordion-header">
       {ts}Find Groups{/ts}
     </div>
@@ -20,48 +20,58 @@
               {$form.title.label}<br />
               {$form.title.html}<br />
               <span class="description font-italic">
-          {ts}Complete OR partial group name.{/ts}
-      </span>
-            </td>
-            <td>
-              {$form.created_by.label}<br />
-              {$form.created_by.html}<br />
-              <span class="description font-italic">
-          {ts}Complete OR partial creator name.{/ts}
-      </span>
+                {ts}Complete OR partial group name.{/ts}
+              </span>
             </td>
+            {if !empty($form.created_by)}
+              <td>
+                {$form.created_by.label}<br />
+                {$form.created_by.html}<br />
+                <span class="description font-italic">
+                  {ts}Complete OR partial creator name.{/ts}
+                </span>
+              </td>
+            {/if}
             <td>
               {$form.visibility.label}<br />
               {$form.visibility.html}<br />
               <span class="description font-italic">
-          {ts}Filter search by visibility.{/ts}
-      </span>
-            </td>
-          </tr>
-          <tr>
-            <td id="group_type-block">
-              {$form.group_type_search.label}<br />
-              {$form.group_type_search.html}<br />
-              <span class="description font-italic">
-          {ts}Filter search by group type(s).{/ts}
-      </span>
-            </td>
-            <td>
-              {$form.group_status.label}<br />
-              {$form.group_status.html}
-            </td>
-            <td>
-              {$form.component_mode.label}<br />
-              {$form.component_mode.html}
+               {ts}Filter search by visibility.{/ts}
+              </span>
             </td>
           </tr>
           <tr>
-            <td>
-              {$form.saved_search.label} <br/>{$form.saved_search.html}
-            </td>
-            <td colspan="2">
-            </td>
+            {if !empty($form.group_type_search)}
+              <td id="group_type-block">
+                {$form.group_type_search.label}<br />
+                {$form.group_type_search.html}<br />
+                <span class="description font-italic">
+                  {ts}Filter search by group type(s).{/ts}
+                </span>
+              </td>
+            {/if}
+            {if !empty($form.group_status)}
+              <td>
+                {$form.group_status.label}<br />
+                {$form.group_status.html}
+              </td>
+            {/if}
+            {if !empty($form.component_mode)}
+              <td>
+                {$form.component_mode.label}<br />
+                {$form.component_mode.html}
+              </td>
+            {/if}
           </tr>
+          {if !empty($form.saved_search)}
+            <tr>
+              <td>
+                {$form.saved_search.label} <br/>{$form.saved_search.html}
+              </td>
+              <td colspan="2">
+              </td>
+            </tr>
+          {/if}
         </table>
       </div>
     </div>
@@ -81,7 +91,7 @@
       <th data-data="description" data-orderable="false" cell-class="crm-group-description crmf-description {$editableClass}" class='crm-group-description'>{ts}Description{/ts}</th>
       <th data-data="group_type" cell-class="crm-group-group_type" class='crm-group-group_type'>{ts}Group Type{/ts}</th>
       <th data-data="visibility" cell-class="crm-group-visibility crmf-visibility {$editableClass}" cell-data-type="select" class='crm-group-visibility'>{ts}Visibility{/ts}</th>
-      {if $showOrgInfo}
+      {if !empty($showOrgInfo)}
         <th data-data="org_info" data-orderable="false" cell-class="crm-group-org_info" class='crm-group-org_info'>{ts}Organization{/ts}</th>
       {/if}
       <th data-data="links" data-orderable="false" cell-class="crm-group-group_links" class='crm-group-group_links'>&nbsp;</th>
@@ -125,7 +135,7 @@
           d.status = groupStatus,
           d.savedSearch = $('.crm-group-search-form-block select#saved_search').val(),
           d.component_mode = $(".crm-group-search-form-block select#component_mode").val(),
-          d.showOrgInfo = {/literal}"{$showOrgInfo}"{literal},
+          d.showOrgInfo = {/literal}{if isset($showOrgInfo)}"{$showOrgInfo}"{else}"0"{/if}{literal},
           d.parentsOnly = parentsOnly
         }
       },
@@ -174,7 +184,7 @@
     // show hide children
     var context = $('#crm-main-content-wrapper');
     $('table.crm-group-selector', context).on( 'click', 'span.show-children', function(){
-      var showOrgInfo = {/literal}"{$showOrgInfo}"{literal};
+      var showOrgInfo = {/literal}{if isset($showOrgInfo)}"{$showOrgInfo}"{else}"0"{/if}{literal};
       var rowID = $(this).parents('tr').prop('id');
       var parentRow = rowID.split('_');
       var parent_id = parentRow[1];
diff --git a/civicrm/templates/CRM/Mailing/Form/InsertTokens.tpl b/civicrm/templates/CRM/Mailing/Form/InsertTokens.tpl
index 06634d7c978eba292679c6cdc02a762ab8f9194c..b59f586744062f05465ee20feaf356287b9c581c 100644
--- a/civicrm/templates/CRM/Mailing/Form/InsertTokens.tpl
+++ b/civicrm/templates/CRM/Mailing/Form/InsertTokens.tpl
@@ -45,7 +45,7 @@ var isMailing    = false;
   {/literal}
 {/if}
 
-{if $templateSelected}
+{if !empty($templateSelected)}
   {literal}
   if ( document.getElementsByName(prefix + "saveTemplate")[0].checked ) {
     document.getElementById(prefix + "template").selectedIndex = {/literal}{$templateSelected}{literal};
diff --git a/civicrm/templates/CRM/Mailing/Page/Component.tpl b/civicrm/templates/CRM/Mailing/Page/Component.tpl
index ee7b47880d792c864adba077fdcdfd57b3c4d5b9..ccc1db657fd3b82f5f853da5352de3604d21b94f 100644
--- a/civicrm/templates/CRM/Mailing/Page/Component.tpl
+++ b/civicrm/templates/CRM/Mailing/Page/Component.tpl
@@ -29,7 +29,7 @@
         <th></th>
         </thead>
        {foreach from=$rows item=row}
-         <tr id="mailing_component-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+         <tr id="mailing_component-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
            <td class="crm-editable" data-field="name">{$row.name}</td>
            <td>{$row.component_type}</td>
            <td>{$row.subject}</td>
diff --git a/civicrm/templates/CRM/Member/Form/Search/Common.tpl b/civicrm/templates/CRM/Member/Form/Search/Common.tpl
index c45e0aa67cf2b70ee91be1a8138ff4dd9533bd73..faf801b4af67ab7acd57f472083089d5ef89d53a 100644
--- a/civicrm/templates/CRM/Member/Form/Search/Common.tpl
+++ b/civicrm/templates/CRM/Member/Form/Search/Common.tpl
@@ -60,7 +60,7 @@
 {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch"
 campaignTrClass='' campaignTdClass=''}
 
-{if $membershipGroupTree}
+{if !empty($membershipGroupTree)}
 <tr>
   <td colspan="4">
   {include file="CRM/Custom/Form/Search.tpl" groupTree=$membershipGroupTree showHideLinks=false}
diff --git a/civicrm/templates/CRM/Member/Import/Form/MapField.tpl b/civicrm/templates/CRM/Member/Import/Form/MapField.tpl
index a4a1338eb3cc6c80d25ba421b42bf2b0f9c6220f..de00b4c9a0e830ac5de8f0578b2ef60ad17cf87d 100644
--- a/civicrm/templates/CRM/Member/Import/Form/MapField.tpl
+++ b/civicrm/templates/CRM/Member/Import/Form/MapField.tpl
@@ -12,9 +12,6 @@
 {include file="CRM/common/WizardHeader.tpl"}
 <div class="help">
     <p>{ts}Review the values shown below from the first 2 rows of your import file and select the matching CiviCRM database fields from the drop-down lists in the right-hand column. Select '- do not import -' for any columns in the import file that you want ignored.{/ts}</p>
-    {if $savedMapping}
-    <p>{ts}Click 'Load Saved Field Mapping' if data has been previously imported from the same source. You can then select the saved import mapping setup and load it automatically.{/ts}<p>
-    {/if}
     <p>{ts}If you think you may be importing additional data from the same data source, check 'Save this field mapping' at the bottom of the page before continuing. The saved mapping can then be easily reused the next time data is imported.{/ts}</p>
 </div>
 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
diff --git a/civicrm/templates/CRM/Member/Page/MembershipStatus.tpl b/civicrm/templates/CRM/Member/Page/MembershipStatus.tpl
index c8c976fdbbee9b78de6025bacda0eb897c69016a..c09e892462978fa4178dbef38555e633db0d7f7a 100644
--- a/civicrm/templates/CRM/Member/Page/MembershipStatus.tpl
+++ b/civicrm/templates/CRM/Member/Page/MembershipStatus.tpl
@@ -38,17 +38,17 @@
             <th></th>
         </thead>
         {foreach from=$rows item=row}
-        <tr id="membership_status-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class} {if NOT $row.is_active} disabled{/if} crmf">
+        <tr id="membership_status-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {if !empty($row.class)}{$row.class}{/if} {if NOT $row.is_active} disabled{/if} crmf">
           <td class="crmf-label crm-editable" >{$row.label}</td>
-          <td class="nowrap crmf-start_event crm-editable" data-type="select" data-empty-option="{ts}- none -{/ts}">{$row.start_event}</td>
-          <td class="nowrap crmf-start_event_adjust_unit_interval">{$row.start_event_adjust_unit_interval}</td>
-          <td class="nowrap crmf-end_event crm-editable" data-type="select" data-empty-option="{ts}- none -{/ts}">{$row.end_event}</td>
-          <td class="nowrap crmf-end_event_adjust_interval">{$row.end_event_adjust_interval}</td>
+          <td class="nowrap crmf-start_event crm-editable" data-type="select" data-empty-option="{ts}- none -{/ts}">{if !empty($row.start_event)}{$row.start_event}{/if}</td>
+          <td class="nowrap crmf-start_event_adjust_unit_interval">{if !empty($row.start_event_adjust_unit_interval)}{$row.start_event_adjust_unit_interval}{/if}</td>
+          <td class="nowrap crmf-end_event crm-editable" data-type="select" data-empty-option="{ts}- none -{/ts}">{if !empty($row.end_event)}{$row.end_event}{/if}</td>
+          <td class="nowrap crmf-end_event_adjust_interval">{if !empty($row.end_event_adjust_unit_interval)}{$row.end_event_adjust_interval}{/if}</td>
           <td class="crmf-is_current_member crm-editable" data-type="boolean">{if $row.is_current_member eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
           <td class="crmf-is_admin crm-editable" data-type="boolean">{if $row.is_admin eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
           <td class="nowrap crmf-weight">{$row.weight}</td>
           <td class="crmf-is_reserved">{if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
-          <td>{$row.action|replace:'xx':$row.id}</td>
+          <td>{if !empty($row.action)}{$row.action|replace:'xx':$row.id}{/if}</td>
         </tr>
         {/foreach}
         </table>
diff --git a/civicrm/templates/CRM/Member/Page/MembershipType.tpl b/civicrm/templates/CRM/Member/Page/MembershipType.tpl
index 04dc38cc7df9ad2cad73e874bd3e784db409b5be..995505994182ccfd1da9f4c06a99b54c217d27a7 100644
--- a/civicrm/templates/CRM/Member/Page/MembershipType.tpl
+++ b/civicrm/templates/CRM/Member/Page/MembershipType.tpl
@@ -37,7 +37,7 @@
       </tr>
       </thead>
       {foreach from=$rows item=row}
-        <tr id="membership_type-{$row.id}" class="crm-entity {cycle values='odd-row,even-row'} {$row.class} crm-membership-type {if NOT $row.is_active} disabled{/if}">
+        <tr id="membership_type-{$row.id}" class="crm-entity {cycle values='odd-row,even-row'}{if !empty($row.class)} {$row.class}{/if} crm-membership-type {if NOT $row.is_active} disabled{/if}">
           <td class="crmf-name crm-editable" data-field="name">{$row.name}</td>
           <td class="crmf-period_type crm-editable" data-type="select">{$row.period_type}</td>
           <td class="crmf-fixed_period_start_day">{$row.fixed_period_start_day}</td>
@@ -45,7 +45,7 @@
           <td class="crmf-duration_interval_unit">{$row.duration_interval} {$row.duration_unit}</td>
           <td class="crmf-auto_renew">{if $row.auto_renew EQ 2}{ts}Required{/ts}{elseif $row.auto_renew EQ 1}{ts}Optional{/ts}{else}{ts}No{/ts}{/if}</td>
           <td class="crmf-relationship_type">{$row.relationshipTypeName}</td>
-          <td class="crmf-max_related" align="right">{$row.maxRelated}</td>
+          <td class="crmf-max_related" align="right">{$row.max_related}</td>
           <td class="crmf-visibility crm-editable" data-type="select">{$row.visibility}</td>
           <td class="nowrap crmf-weight">{$row.weight}</td>
           <td class="crmf-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
diff --git a/civicrm/templates/CRM/Pledge/Form/Search/Common.tpl b/civicrm/templates/CRM/Pledge/Form/Search/Common.tpl
index 36aa7f3d8a49bcfbdebb2c195327955a0c98abe8..1f5c53e96694042f970d42e9d6705499aa9ca61f 100644
--- a/civicrm/templates/CRM/Pledge/Form/Search/Common.tpl
+++ b/civicrm/templates/CRM/Pledge/Form/Search/Common.tpl
@@ -80,7 +80,7 @@
 {include file="CRM/Campaign/Form/addCampaignToComponent.tpl"
 campaignContext="componentSearch" campaignTrClass='' campaignTdClass=''}
 
-{if $pledgeGroupTree}
+{if !empty($pledgeGroupTree)}
 <tr>
   <td colspan="2">
   {include file="CRM/Custom/Form/Search.tpl" groupTree=$pledgeGroupTree showHideLinks=false}
diff --git a/civicrm/templates/CRM/Pledge/Page/UserDashboard.tpl b/civicrm/templates/CRM/Pledge/Page/UserDashboard.tpl
index 97ff8596d2d9f2f463a23d81fc3af3788db4e99d..cfff76bd728ce624efa41008d72b11f84697e262 100644
--- a/civicrm/templates/CRM/Pledge/Page/UserDashboard.tpl
+++ b/civicrm/templates/CRM/Pledge/Page/UserDashboard.tpl
@@ -30,7 +30,7 @@
     <td class="crm-pledge-pledge_next_pay_date">{$row.pledge_next_pay_date|truncate:10:''|crmDate}</td>
     <td class="crm-pledge-pledge_next_pay_amount">{$row.pledge_next_pay_amount|crmMoney:$row.pledge_currency}</td>
     <td class="crm-pledge-pledge_status crm-pledge-pledge_status_{$row.pledge_status}">{$row.pledge_status}</td>
-    {if !$userChecksum}
+    {if empty($userChecksum)}
       <td>
         {if $row.pledge_contribution_page_id and ($row.pledge_status_name neq 'Completed') and ( $row.contact_id eq $loggedUserID ) }
           <a href="{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$row.pledge_contribution_page_id`&pledgeId=`$row.pledge_id`"}">{ts}Make Payment{/ts}</a><br/>
@@ -52,7 +52,7 @@
 {*pledge row if*}
 
 {*Display honor block*}
-{if $pledgeHonor && $pledgeHonorRows}
+{if !empty($pledgeHonor) && !empty($pledgeHonorRows)}
 {strip}
 <div class="help">
     <p>{ts}Pledges made in your honor.{/ts}</p>
diff --git a/civicrm/templates/CRM/Price/Page/Field.tpl b/civicrm/templates/CRM/Price/Page/Field.tpl
index 88ec508d58c9d1df04ae5f488a6da3d8627aebdd..9b6153ec046c6e3bb9d63e47083644f75f5f0663 100644
--- a/civicrm/templates/CRM/Price/Page/Field.tpl
+++ b/civicrm/templates/CRM/Price/Page/Field.tpl
@@ -26,7 +26,8 @@
   </div>
 {/if}
 
-{if $action NEQ 8 and $priceField}
+{* priceField is set when e.g. in browse mode *}
+{if $action NEQ 8 and !empty($priceField)}
 <div class="crm-content-block crm-block">
   <div class="action-link">
     {if !$isReserved}
@@ -57,7 +58,7 @@
       </tr>
       </thead>
       {foreach from=$priceField key=fid item=row}
-      <tr id="price_field-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+      <tr id="price_field-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
         <td class="crm-editable" data-field="label">{$row.label}</td>
         <td>{$row.html_type_display}</td>
         <td class="nowrap">{$row.weight}</td>
diff --git a/civicrm/templates/CRM/Price/Page/Option.tpl b/civicrm/templates/CRM/Price/Page/Option.tpl
index 0f4a5b079ae6fc3354d8c4889342cdb0b47c61c2..7889a67cd22c30bbc2512fde65d6612ea482db72 100644
--- a/civicrm/templates/CRM/Price/Page/Option.tpl
+++ b/civicrm/templates/CRM/Price/Page/Option.tpl
@@ -58,7 +58,7 @@
           </thead>
           <tbody>
           {foreach from=$customOption item=row}
-            <tr id="price_field_value-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+            <tr id="price_field_value-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
               <td class="crm-price-option-label crm-editable" data-field="label">{$row.label}</td>
               <td class="crm-price-option-value">{$row.amount|crmMoney}</td>
               <td class="crm-price-option-non-deductible-amount">{$row.non_deductible_amount|crmMoney}</td>
diff --git a/civicrm/templates/CRM/Price/Page/Set.tpl b/civicrm/templates/CRM/Price/Page/Set.tpl
index e145781fe9ac1aa7ecda1c21313e96b8cccf5624..4b90dce429eec7138c1a1a687ed4820438c46c2a 100644
--- a/civicrm/templates/CRM/Price/Page/Set.tpl
+++ b/civicrm/templates/CRM/Price/Page/Set.tpl
@@ -48,7 +48,7 @@
         </tr>
         </thead>
         {foreach from=$rows item=row}
-      <tr id="price_set-{$row.id}" class="crm-entity crm-price-set_{$row.id} {cycle values="even-row,odd-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+      <tr id="price_set-{$row.id}" class="crm-entity crm-price-set_{$row.id} {cycle values="even-row,odd-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
           <td class="crmf-title crm-editable">{$row.title}</td>
           <td class="crmf-extends">{$row.extends}</td>
           <td class="crmf-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
diff --git a/civicrm/templates/CRM/Report/Form.tpl b/civicrm/templates/CRM/Report/Form.tpl
index 3ceffb9aa5da55f8b0a94931f6c03f10dc9c16d3..db27dbab83acb3aec2a1deb08b53809f55f9d0fa 100644
--- a/civicrm/templates/CRM/Report/Form.tpl
+++ b/civicrm/templates/CRM/Report/Form.tpl
@@ -49,7 +49,7 @@
     {include file="CRM/Report/Form/ErrorMessage.tpl"}
   </div>
 {/if}
-{if $outputMode == 'print'}
+{if !empty($outputMode) && $outputMode == 'print'}
   <script type="text/javascript">
     window.print();
   </script>
diff --git a/civicrm/templates/CRM/Report/Form/Actions.tpl b/civicrm/templates/CRM/Report/Form/Actions.tpl
index 34690c1d916d416587aa5a160b1df58d91d2302f..b16ec62fcc319a05c05b84f22f5b85b4fa56174f 100644
--- a/civicrm/templates/CRM/Report/Form/Actions.tpl
+++ b/civicrm/templates/CRM/Report/Form/Actions.tpl
@@ -7,7 +7,7 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
 *}
-{if !$printOnly} {* NO print section starts *}
+{if empty($printOnly)} {* NO print section starts *}
 
   {* build the print pdf buttons *}
     <div class="crm-tasks">
@@ -19,7 +19,7 @@
             <table class="form-layout-compressed">
               <tr>
                 {include file="CRM/common/tasks.tpl" location="botton"}
-                {if $instanceUrl}
+                {if !empty($instanceUrl)}
                   <td>&nbsp;&nbsp;<i class="crm-i fa-chevron-right" aria-hidden="true"></i> <a href="{$instanceUrl}">{ts}Existing report(s) from this template{/ts}</a></td>
                 {/if}
               </tr>
@@ -27,13 +27,13 @@
           </td>
           <td>
             <table class="form-layout-compressed" align="right">
-              {if $chartSupported}
+              {if !empty($chartSupported)}
                 <tr>
                   <td>{$form.charts.html|crmAddClass:big}</td>
                   <td align="right">{$form.$chart.html}</td>
                 </tr>
               {/if}
-              {if $form.groups}
+              {if !empty($form.groups)}
                 <tr>
                   <td>
                     {$form.groups.html}{$form.$group.html}
@@ -71,7 +71,7 @@
       // Disable print/pdf output of charts
       $('select[name=charts]', 'form.crm-report-form').change(function() {
         var viewType = $(this).val(),
-          flashChartType = '{/literal}{if $chartType}{$chartType}{else}{/if}{literal}';
+          flashChartType = '{/literal}{if !empty($chartType)}{$chartType}{else}{/if}{literal}';
         $('#_qf_Summary_submit_pdf, #_qf_Summary_submit_print').prop('disabled', (viewType && flashChartType != viewType));
       });
     });
diff --git a/civicrm/templates/CRM/Report/Form/Criteria.tpl b/civicrm/templates/CRM/Report/Form/Criteria.tpl
index b9bd520fa249aa0a28be84caf8b3f01bb672ba59..edea85861b4b3aeec06cc6166fb500df093247a3 100644
--- a/civicrm/templates/CRM/Report/Form/Criteria.tpl
+++ b/civicrm/templates/CRM/Report/Form/Criteria.tpl
@@ -24,7 +24,7 @@
   {foreach from=$table item=field key=fieldName}
     {literal}var val = "dnc";{/literal}
     {assign var=fieldOp     value=$fieldName|cat:"_op"}
-    {if !($field.operatorType & 4) && !$field.no_display && $form.$fieldOp.html}
+    {if !(!empty($field.operatorType) && $field.operatorType & 4) && empty($field.no_display) && !empty($form.$fieldOp.html)}
       {literal}var val = document.getElementById("{/literal}{$fieldOp}{literal}").value;{/literal}
     {/if}
     {literal}showHideMaxMinVal( "{/literal}{$fieldName}{literal}", val );{/literal}
@@ -52,7 +52,7 @@
     $('.crm-report-criteria-groupby input:checkbox').click(function() {
       $('#fields_' + this.id.substr(10)).prop('checked', this.checked);
     });
-    {/literal}{if $displayToggleGroupByFields}{literal}
+    {/literal}{if !empty($displayToggleGroupByFields)}{literal}
       $('.crm-report-criteria-field input:checkbox').click(function() {
         $('#group_bys_' + this.id.substr(7)).prop('checked', this.checked);
       });
diff --git a/civicrm/templates/CRM/Report/Form/ErrorMessage.tpl b/civicrm/templates/CRM/Report/Form/ErrorMessage.tpl
index 800544e8edfda7b91ba9ecd5c9886280d225a48c..6d05a8caec53bfb1ac3628e322edb04811f6ac47 100644
--- a/civicrm/templates/CRM/Report/Form/ErrorMessage.tpl
+++ b/civicrm/templates/CRM/Report/Form/ErrorMessage.tpl
@@ -7,7 +7,7 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
 *}
-{if $outputMode eq 'html' && !$rows}
+{if !empty($outputMode) && $outputMode eq 'html' && empty($rows)}
   <div class="messages status no-popup">
     {icon icon="fa-info-circle"}{/icon} {ts}None found.{/ts}
   </div>
diff --git a/civicrm/templates/CRM/Report/Form/Fields.tpl b/civicrm/templates/CRM/Report/Form/Fields.tpl
index b19f550ea503d90519a8fbb289a48fe5b48be4ab..cbac1c0b3bef345c29e33c2d9f7f222218abd668 100644
--- a/civicrm/templates/CRM/Report/Form/Fields.tpl
+++ b/civicrm/templates/CRM/Report/Form/Fields.tpl
@@ -7,8 +7,8 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
 *}
-{if !$printOnly} {* NO print section starts *}
-  {if $criteriaForm}
+{if empty($printOnly)} {* NO print section starts *}
+  {if !empty($criteriaForm)}
     <div class="crm-report-criteria"> {* criteria section starts *}
       <div id="mainTabContainer">
         {*tab navigation bar*}
@@ -18,7 +18,7 @@
               <a title="{$tab.title|escape}" href="#report-tab-{$tab.div_label}">{$tab.title}</a>
             </li>
           {/foreach}
-          {if $instanceForm OR $instanceFormError}
+          {if !empty($instanceForm) OR !empty($instanceFormError)}
             <li id="tab_settings" class="ui-corner-all">
               <a title="{ts}Title and Format{/ts}" href="#report-tab-format">{ts}Title and Format{/ts}</a>
             </li>
@@ -35,7 +35,7 @@
         {include file="CRM/Report/Form/Criteria.tpl"}
 
         {*settings*}
-        {if $instanceForm OR $instanceFormError}
+        {if !empty($instanceForm) OR !empty($instanceFormError)}
           {include file="CRM/Report/Form/Tabs/Instance.tpl"}
         {/if}
       </div> {* end mainTabContainer *}
@@ -51,7 +51,7 @@
     CRM.$(function($) {
       var tabSettings = {
         collapsible: true,
-        active: {/literal}{if $rows}false{else}0{/if}{literal}
+        active: {/literal}{if !empty($rows)}false{else}0{/if}{literal}
       };
       // If a tab contains an error, open it
       if ($('.civireport-criteria .crm-error', '#mainTabContainer').length) {
diff --git a/civicrm/templates/CRM/Report/Form/Grant/Statistics.tpl b/civicrm/templates/CRM/Report/Form/Grant/Statistics.tpl
index 2ed51ff14e62782ba1aabc17e04c96edf870b139..e9d58515750543f166554163d9335efec3b013c4 100644
--- a/civicrm/templates/CRM/Report/Form/Grant/Statistics.tpl
+++ b/civicrm/templates/CRM/Report/Form/Grant/Statistics.tpl
@@ -24,7 +24,7 @@
         {*include the graph*}
         {include file="CRM/Report/Form/Layout/Graph.tpl"}
 
-    {if $printOnly}
+    {if !empty($printOnly)}
         <h1>{$reportTitle}</h1>
         <div id="report-date">{$reportDate}</div>
     {/if}
diff --git a/civicrm/templates/CRM/Report/Form/Layout/Table.tpl b/civicrm/templates/CRM/Report/Form/Layout/Table.tpl
index 162d877c9576f4c2ace5303ac3bf0ab91c767087..e90aa6259c966a8304af99c03e7dd879928c5a54 100644
--- a/civicrm/templates/CRM/Report/Form/Layout/Table.tpl
+++ b/civicrm/templates/CRM/Report/Form/Layout/Table.tpl
@@ -7,7 +7,7 @@
  | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
 *}
-{if !$rows}
+{if empty($rows)}
   <p>{ts}None found.{/ts}</p>
 {else}
     {if !empty($pager) and $pager->_response and $pager->_response.numPages > 1}
@@ -98,7 +98,7 @@
                     {assign var=fieldHover value=$field|cat:"_hover"}
                     {assign var=fieldClass value=$field|cat:"_class"}
                     <td class="crm-report-{$field}{if $header.type eq 1024 OR $header.type eq 1 OR $header.type eq 512} report-contents-right{elseif $row.$field eq 'Subtotal'} report-label{/if}">
-                        {if $row.$fieldLink}
+                        {if !empty($row.$fieldLink)}
                             <a title="{$row.$fieldHover|escape}" href="{$row.$fieldLink}"  {if !empty($row.$fieldClass)} class="{$row.$fieldClass}"{/if}>
                         {/if}
 
@@ -130,7 +130,7 @@
                             {$row.$field}
                         {/if}
 
-                        {if $row.$fieldLink}</a>{/if}
+                        {if !empty($row.$fieldLink)}</a>{/if}
                     </td>
                 {/foreach}
             </tr>
diff --git a/civicrm/templates/CRM/Report/Form/Statistics.tpl b/civicrm/templates/CRM/Report/Form/Statistics.tpl
index 001bf370356bf2d66ba96adc377eb9281c2fa7b2..f94e32db417d38e09dd1741536b94941121bf45d 100644
--- a/civicrm/templates/CRM/Report/Form/Statistics.tpl
+++ b/civicrm/templates/CRM/Report/Form/Statistics.tpl
@@ -8,13 +8,13 @@
  +--------------------------------------------------------------------+
 *}
 {if !empty($top)}
-  {if $printOnly}
+  {if !empty($printOnly)}
     <h1>{$reportTitle}</h1>
-    <div id="report-date">{$reportDate}</div>
+    <div id="report-date">{if !empty($reportDate)}{$reportDate}{/if}</div>
   {/if}
-  {if $statistics}
+  {if !empty($statistics)}
     <table class="report-layout statistics-table">
-      {if !empty($statistics.groups)} 
+      {if !empty($statistics.groups)}
         {foreach from=$statistics.groups item=row}
           <tr>
             <th class="statistics" scope="row">{$row.title}</th>
diff --git a/civicrm/templates/CRM/Report/Form/Tabs/FieldSelection.tpl b/civicrm/templates/CRM/Report/Form/Tabs/FieldSelection.tpl
index 31663201d233f0eba45bcf339db59069b01f210d..48af99e39eb5773cd6af09e330aee6eae50e8843 100644
--- a/civicrm/templates/CRM/Report/Form/Tabs/FieldSelection.tpl
+++ b/civicrm/templates/CRM/Report/Form/Tabs/FieldSelection.tpl
@@ -12,7 +12,7 @@
     {foreach from=$colGroups item=grpFields key=dnc}
       {assign  var="count" value="0"}
       {* Wrap custom field sets in collapsed accordion pane. *}
-      {if $grpFields.use_accordian_for_field_selection}
+      {if !empty($grpFields.use_accordian_for_field_selection)}
         <div class="crm-accordion-wrapper crm-accordion collapsed">
         <div class="crm-accordion-header">
           {$grpFields.group_title}
@@ -33,7 +33,7 @@
           {/if}
         </tr>
       </table>
-      {if $grpFields.use_accordian_for_field_selection}
+      {if !empty($grpFields.use_accordian_for_field_selection)}
         </div><!-- /.crm-accordion-body -->
         </div><!-- /.crm-accordion-wrapper -->
       {/if}
diff --git a/civicrm/templates/CRM/Report/Form/Tabs/Filters.tpl b/civicrm/templates/CRM/Report/Form/Tabs/Filters.tpl
index 04c6ca30e15478df67e1c4c4562825fd3205fb61..f32628a5a23af21db2194cfe8cea5ed0136bcbf2 100644
--- a/civicrm/templates/CRM/Report/Form/Tabs/Filters.tpl
+++ b/civicrm/templates/CRM/Report/Form/Tabs/Filters.tpl
@@ -14,7 +14,7 @@
       {foreach from=$filters item=table key=tableName}
         {assign  var="filterCount" value=$table|@count}
         {* Wrap custom field sets in collapsed accordion pane. *}
-        {if $filterGroups.$tableName.group_title and $filterCount gte 1}
+        {if !empty($filterGroups.$tableName.group_title) and $filterCount gte 1}
           {* we should close table that contains other filter elements before we start building custom group accordion
            *}
           {if $counter eq 1}
@@ -33,23 +33,26 @@
                 {assign var=filterVal   value=$fieldName|cat:"_value"}
                 {assign var=filterMin   value=$fieldName|cat:"_min"}
                 {assign var=filterMax   value=$fieldName|cat:"_max"}
-                {if $field.operatorType & 4}
+                {if !empty($field.operatorType) && $field.operatorType & 4}
                   <tr class="report-contents crm-report crm-report-criteria-filter crm-report-criteria-filter-{$tableName}">
-                    <td class="label report-contents">{$field.title}</td>
-                      {include file="CRM/Core/DatePickerRangeWrapper.tpl" fieldName=$fieldName hideRelativeLabel=1, from='_from' to='_to'}
+                    <td class="label report-contents">{if !empty($field.title)}{$field.title}{/if}</td>
+                      {include file="CRM/Core/DatePickerRangeWrapper.tpl" fieldName=$fieldName hideRelativeLabel=1 from='_from' to='_to'}
                   </tr>
                 {elseif $form.$fieldOp.html}
-                  <tr class="report-contents crm-report crm-report-criteria-filter crm-report-criteria-filter-{$tableName}" {if $field.no_display} style="display: none;"{/if}>
-                    <td class="label report-contents">{$field.title}</td>
+                  <tr class="report-contents crm-report crm-report-criteria-filter crm-report-criteria-filter-{$tableName}" {if !empty($field.no_display)} style="display: none;"{/if}>
+                    <td class="label report-contents">{if !empty($field.title)}{$field.title}{/if}</td>
                     <td class="report-contents">{$form.$fieldOp.html}</td>
                     <td>
                       <span id="{$filterVal}_cell">{$form.$filterVal.label}&nbsp;{$form.$filterVal.html}</span>
-                      <span id="{$filterMin}_max_cell">{$form.$filterMin.label}&nbsp;{$form.$filterMin.html}&nbsp;&nbsp;{$form.$filterMax.label}&nbsp;{$form.$filterMax.html}</span>
+                      <span id="{$filterMin}_max_cell">
+                        {if !empty($form.$filterMin)}{$form.$filterMin.label}&nbsp;{$form.$filterMin.html}&nbsp;&nbsp;{/if}
+                        {if !empty($form.$filterMax)}{$form.$filterMax.label}&nbsp;{$form.$filterMax.html}{/if}
+                      </span>
                     </td>
                   </tr>
                 {/if}
         {/foreach}
-        {if $filterGroups.$tableName.group_title}
+        {if !empty($filterGroups.$tableName.group_title)}
               </table>
             </div><!-- /.crm-accordion-body -->
           </div><!-- /.crm-accordion-wrapper -->
diff --git a/civicrm/templates/CRM/Report/Form/Tabs/Instance.tpl b/civicrm/templates/CRM/Report/Form/Tabs/Instance.tpl
index 63ae83ebf783ac3e3b4d6eb9c6a9334dd7ade3db..7501debde04195e5fbd35c6e9434deb04b921d1b 100644
--- a/civicrm/templates/CRM/Report/Form/Tabs/Instance.tpl
+++ b/civicrm/templates/CRM/Report/Form/Tabs/Instance.tpl
@@ -58,19 +58,23 @@
       <td class="report-label">{$form.parent_id.label} {help id="id-parent" file="CRM/Admin/Form/Navigation.hlp"}</td>
       <td>{$form.parent_id.html|crmAddClass:huge}</td>
     </tr>
+    {if !empty($form.drilldown_id)}
     <tr class="crm-report-instanceForm-form-block-drilldown">
       <td class="report-label">{$form.drilldown_id.label}</td>
       <td>{$form.drilldown_id.html}</td>
     </tr>
+    {/if}
     {if $config->userFramework neq 'Joomla'}
       <tr class="crm-report-instanceForm-form-block-permission">
         <td class="report-label" width="20%">{$form.permission.label} {help id="id-report_perms" file="CRM/Report/Form/Tabs/Settings.hlp"}</td>
         <td>{$form.permission.html|crmAddClass:huge}</td>
       </tr>
+      {if !empty($form.grouprole)}
       <tr class="crm-report-instanceForm-form-block-role">
         <td class="report-label" width="20%">{$form.grouprole.label}</td>
         <td>{$form.grouprole.html|crmAddClass:huge}</td>
       </tr>
+      {/if}
     {/if}
     <tr class="crm-report-instanceForm-form-block-add-to-my-reports">
       <td class="report-label">{$form.add_to_my_reports.label} {help id="id-add_to_my_reports" file="CRM/Report/Form/Tabs/Settings.hlp"}</td>
@@ -119,7 +123,7 @@
   });
 </script>
 {/literal}
-{if $is_navigation}
+{if !empty($is_navigation)}
   <script type="text/javascript">
     document.getElementById('is_navigation').checked = true;
     showHideByValue('is_navigation','','navigation_menu','table-row','radio',false);
diff --git a/civicrm/templates/CRM/Report/Page/InstanceList.tpl b/civicrm/templates/CRM/Report/Page/InstanceList.tpl
index 1727e199071561a4de6633c15a66fcce8c106b79..3618df6e0a6eb7b20c1199e279cd9244c8c1fbfa 100644
--- a/civicrm/templates/CRM/Report/Page/InstanceList.tpl
+++ b/civicrm/templates/CRM/Report/Page/InstanceList.tpl
@@ -9,10 +9,10 @@
 *}
 {strip}
   <div class="action-link">
-    {if $templateUrl}
+    {if !empty($templateUrl)}
       <a href="{$templateUrl}" class="button"><span><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {$newButton}</span></a>
     {/if}
-    {if $reportUrl}
+    {if !empty($reportUrl)}
       <a href="{$reportUrl}" class="button"><span>{ts}View All Reports{/ts}</span></a>
     {/if}
   </div>
@@ -22,7 +22,7 @@
       {foreach from=$list item=rows key=report}
         <div class="crm-accordion-wrapper crm-accordion_{$report}-accordion ">
           <div class="crm-accordion-header">
-            {if $title}{$title}{elseif $report EQ 'Contribute'}{ts}Contribution Reports{/ts}{else}{ts}{$report} Reports{/ts}{/if}</a>
+            {if isset($title)}{$title}{elseif $report EQ 'Contribute'}{ts}Contribution Reports{/ts}{else}{ts 1=$report}%1 Reports{/ts}{/if}</a>
           </div><!-- /.crm-accordion-header -->
           <div class="crm-accordion-body">
             <div id="{$report}" class="boxBlock">
@@ -37,7 +37,7 @@
                       <ul class="panel">
                         {foreach from=$row.actions item=action key=action_name}
                           <li><a href="{$action.url}" class="{$action_name} action-item crm-hover-button small-popup"
-                          {if $action.confirm_message}onclick="return window.confirm({$action.confirm_message|json_encode|htmlspecialchars})"{/if}
+                          {if !empty($action.confirm_message)}onclick="return window.confirm({$action.confirm_message|json_encode|htmlspecialchars})"{/if}
                           title="{$action.label|escape}">{$action.label}</a></li>
                         {/foreach}
                       </ul>
@@ -53,10 +53,10 @@
     </div>
 
     <div class="action-link">
-      {if $templateUrl}
+      {if !empty($templateUrl)}
         <a href="{$templateUrl}" class="button"><span><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {$newButton}</span></a>
       {/if}
-      {if $reportUrl}
+      {if !empty($reportUrl)}
         <a href="{$reportUrl}" class="button"><span>{ts}View All Reports{/ts}</span></a>
       {/if}
     </div>
@@ -65,11 +65,11 @@
     <div class="crm-content-block">
       <div class="messages status no-popup">
         {icon icon="fa-info-circle"}{/icon}
-        {if $myReports}
+        {if !empty($myReports)}
           {ts}You do not have any private reports. To add a report to this section, edit the Report Settings for a report and set 'Add to My Reports' to Yes.{/ts} &nbsp;
         {else}
           {ts 1=$compName}No %1 reports have been created.{/ts} &nbsp;
-          {if $templateUrl}
+          {if !empty($templateUrl)}
             {ts 1=$templateUrl}You can create reports by selecting from the <a href="%1">list of report templates here.</a>{/ts}
           {else}
             {ts}Contact your site administrator for help creating reports.{/ts}
diff --git a/civicrm/templates/CRM/Report/Page/Options.tpl b/civicrm/templates/CRM/Report/Page/Options.tpl
index 6cb81d5e180069c8c337d07e5bc33f690b3684dc..03c9e5050b452b7be2c763d7fde4331843cd48f0 100644
--- a/civicrm/templates/CRM/Report/Page/Options.tpl
+++ b/civicrm/templates/CRM/Report/Page/Options.tpl
@@ -28,7 +28,7 @@
           <th>{ts}URL{/ts}</th>
           <th>{ts}Description{/ts}</th>
           <th>{ts}Order{/ts}</th>
-          {if $showIsDefault}
+          {if !empty($showIsDefault)}
             <th>{ts}Default{/ts}</th>
           {/if}
           <th>{ts}Reserved{/ts}</th>
@@ -39,12 +39,12 @@
         </tr>
         </thead>
         {foreach from=$rows item=row}
-          <tr id="option_value-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{$row.class}{if NOT $row.is_active} crm-report-optionList crm-report-optionList-status_disable disabled{else} crm-report-optionList crm-report-optionList-status_enable{/if}">
+          <tr id="option_value-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)}{$row.class}{/if}{if NOT $row.is_active} crm-report-optionList crm-report-optionList-status_disable disabled{else} crm-report-optionList crm-report-optionList-status_enable{/if}">
             <td class="crm-report-optionList-label crm-editable" data-field="label">{$row.label}</td>
             <td class="crm-report-optionList-value">{$row.value}</td>
             <td class="crm-report-optionList-description">{$row.description}</td>
             <td class="nowrap crm-report-optionList-order">{$row.weight}</td>
-            {if $showIsDefault}
+            {if !empty($showIsDefault)}
               <td class="crm-report-optionList-default_value">{$row.default_value}</td>
             {/if}
             <td class="crm-report-optionList-is_reserved">{if $row.is_reserved eq 1}{ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
diff --git a/civicrm/templates/CRM/Report/Page/TemplateList.tpl b/civicrm/templates/CRM/Report/Page/TemplateList.tpl
index 7464c88611a402d137df1be53003e63837648364..c19163479af144b866978f098bc11334b40b2718 100644
--- a/civicrm/templates/CRM/Report/Page/TemplateList.tpl
+++ b/civicrm/templates/CRM/Report/Page/TemplateList.tpl
@@ -28,7 +28,7 @@
                   <tr id="row_{counter}" class="crm-report-templateList">
                     <td class="crm-report-templateList-title" style="width:35%;">
                       <a href="{$row.url}" title="{ts}Create report from this template{/ts}"><i class="crm-i fa-chevron-right" aria-hidden="true"></i> <strong>{$row.title}</strong></a>
-                      {if $row.instanceUrl}
+                      {if !empty($row.instanceUrl)}
                         <div style="font-size:10px;text-align:right;margin-top:3px;">
                           <a href="{$row.instanceUrl}">{ts}Existing Report(s){/ts}</a>
                         </div>
diff --git a/civicrm/templates/CRM/SMS/Page/Provider.tpl b/civicrm/templates/CRM/SMS/Page/Provider.tpl
index 9a9deac2c2a177da4e601cc9d6bd0150ca8a5ea1..3ebf7393f7686140766e764494e0070281cbc6b4 100644
--- a/civicrm/templates/CRM/SMS/Page/Provider.tpl
+++ b/civicrm/templates/CRM/SMS/Page/Provider.tpl
@@ -29,7 +29,7 @@
             <th >{ts}Action{/ts}</th>
         </tr>
         {foreach from=$rows item=row}
-        <tr id="sms_provider-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+        <tr id="sms_provider-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
             <td class="crm-provider-name"><strong>{$row.name}</strong> ({$row.title})<br/>
                 {ts}API Type:{/ts} {$row.api_type}<br/>
                 {ts}API Url:{/ts} {$row.api_url}<br/>
diff --git a/civicrm/templates/CRM/Tag/Form/Edit.tpl b/civicrm/templates/CRM/Tag/Form/Edit.tpl
index 16c1032b4a69efc059f59d108179488a9897728f..fffeb0b46f7e6c4cccd158e4dad71b7ddb642df8 100644
--- a/civicrm/templates/CRM/Tag/Form/Edit.tpl
+++ b/civicrm/templates/CRM/Tag/Form/Edit.tpl
@@ -31,7 +31,8 @@
           <td class="label">{$form.used_for.label}</td>
           <td>{$form.used_for.html} <br />
             <span class="description">
-              {if $is_parent}{ts}You can change the types of records which this tag can be used for by editing the 'Parent' tag.{/ts}
+              {* @TODO: I don't think is_parent is ever true because this form is never used for editing a tag itself, and you can't nest tagsets. And when used to add a new child tag, the used_for element doesn't exist. *}
+              {if !empty($is_parent)}{ts}You can change the types of records which this tag can be used for by editing the 'Parent' tag.{/ts}
               {else}{ts}What types of record(s) can this tag be used for?{/ts}
               {/if}
             </span>
diff --git a/civicrm/templates/CRM/UF/Page/Field.tpl b/civicrm/templates/CRM/UF/Page/Field.tpl
index 75229e7bc671a4f928b6227772b097563503f128..64f0b23ab2ec3fe959102826e004e7af5fbf5f4f 100644
--- a/civicrm/templates/CRM/UF/Page/Field.tpl
+++ b/civicrm/templates/CRM/UF/Page/Field.tpl
@@ -42,7 +42,7 @@
             </tr>
             </thead>
             {foreach from=$ufField item=row}
-            <tr id="UFField-{$row.id}" data-action="setvalue" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
+            <tr id="UFField-{$row.id}" data-action="setvalue" class="crm-entity {cycle values="odd-row,even-row"}{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
                 <td><span class="crmf-label crm-editable">{$row.label}</span>({$row.field_type})</td>
                 {if in_array("Profile",$otherModules) or in_array("Search Profile",$otherModules) }
                 <td class="crm-editable crmf-visibility" data-type="select">{$row.visibility_display}</td>
diff --git a/civicrm/templates/CRM/UF/Page/Group.tpl b/civicrm/templates/CRM/UF/Page/Group.tpl
index d77ffdede5b624e5347b9f15fcd6a83c3e4b13a5..4fcc269f5d8996bdee58ad156b8e46f9e34ca14c 100644
--- a/civicrm/templates/CRM/UF/Page/Group.tpl
+++ b/civicrm/templates/CRM/UF/Page/Group.tpl
@@ -69,7 +69,7 @@
             <tbody>
             {foreach from=$rows item=row}
             {if !$row.is_reserved }
-              <tr id="UFGroup-{$row.id}" data-action="setvalue" class="crm-entity {$row.class}{if NOT $row.is_active} disabled{/if}">
+              <tr id="UFGroup-{$row.id}" data-action="setvalue" class="crm-entity{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
                 <td class="crmf-title crm-editable">{$row.title}</td>
                 <td class="crmf-frontend_title crm-editable">{$row.frontend_title}</td>
                 <td>
@@ -114,7 +114,7 @@
             <tbody>
             {foreach from=$rows item=row}
             {if $row.is_reserved}
-              <tr id="UFGroup-{$row.id}" class="crm-entity {$row.class}{if NOT $row.is_active} disabled{/if}">
+              <tr id="UFGroup-{$row.id}" class="crm-entity{if !empty($row.class)} {$row.class}{/if}{if NOT $row.is_active} disabled{/if}">
                 <td>{$row.title}</td>
                 <td>{$row.frontend_title}</td>
                 <td>
diff --git a/civicrm/templates/CRM/common/CMSPrint.tpl b/civicrm/templates/CRM/common/CMSPrint.tpl
index 33e55d1636d03b9fde848b372c5c4abf219a083c..919869faf336f04a30e028d1ec05f0a4b57152ce 100644
--- a/civicrm/templates/CRM/common/CMSPrint.tpl
+++ b/civicrm/templates/CRM/common/CMSPrint.tpl
@@ -26,7 +26,7 @@
 
 {if !empty($pageTitle)}
   <div class="crm-title">
-    <h1 class="title">{if $isDeleted}<del>{/if}{$pageTitle}{if $isDeleted}</del>{/if}</h1>
+    <h1 class="title">{if !empty($isDeleted)}<del>{/if}{$pageTitle}{if !empty($isDeleted)}</del>{/if}</h1>
   </div>
 {/if}
 
diff --git a/civicrm/templates/CRM/common/TabHeader.tpl b/civicrm/templates/CRM/common/TabHeader.tpl
index c2e54d9b8aadd6256a875672004bc6e72f3da7d6..c969794196fe9b258c5c8c0d99df2c6871e6a844 100644
--- a/civicrm/templates/CRM/common/TabHeader.tpl
+++ b/civicrm/templates/CRM/common/TabHeader.tpl
@@ -13,7 +13,7 @@
     <div id="mainTabContainer">
     <ul>
        {foreach from=$tabHeader key=tabName item=tabValue}
-          <li id="tab_{$tabName}" class="crm-tab-button ui-corner-all{if !$tabValue.valid} disabled{/if}{if isset($tabValue.class)} {$tabValue.class}{/if}" {$tabValue.extra}>
+          <li id="tab_{$tabName}" class="crm-tab-button ui-corner-all{if !$tabValue.valid} disabled{/if}{if isset($tabValue.class)} {$tabValue.class}{/if}" {if isset($tabValue.extra)}{$tabValue.extra}{/if}>
           {if $tabValue.active}
              <a href="{if !empty($tabValue.template)}#panel_{$tabName}{else}{$tabValue.link}{/if}" title="{$tabValue.title|escape}{if !$tabValue.valid} ({ts}disabled{/ts}){/if}">
                {if !empty($tabValue.icon)}<i class="{$tabValue.icon}"></i>{/if}
diff --git a/civicrm/templates/CRM/common/Tagset.tpl b/civicrm/templates/CRM/common/Tagset.tpl
index b9542431c2af5de1759f8d701a127ace3bd3ba0b..4f79616305c8f11b157ce2e172879026c9ba8a91 100644
--- a/civicrm/templates/CRM/common/Tagset.tpl
+++ b/civicrm/templates/CRM/common/Tagset.tpl
@@ -10,10 +10,11 @@
 {if empty($tagsetType)}
   {assign var="tagsetType" value="contact"}
 {/if}
-{if $tableLayout}
+{if !empty($tableLayout)}
   <td colspan="2" class="crm-content-block">
     <table>
 {/if}
+   {if !empty($tagsetInfo)}
     {foreach from=$tagsetInfo.$tagsetType item=tagset}
       {assign var="elemName" value=$tagset.tagsetElementName}
       {if empty($tagsetElementName) or $tagsetElementName eq $elemName}
@@ -38,12 +39,13 @@
         {/if}
       {/if}
     {/foreach}
-{if $tableLayout}
+    {/if}
+{if !empty($tableLayout)}
     </table>
   </td>
 {/if}
 
-{if !$skipEntityAction and empty($form.frozen)}
+{if empty($skipEntityAction) and empty($form.frozen)}
   <script type="text/javascript">
     {* Add/remove entity tags via ajax api *}
     {literal}
diff --git a/civicrm/templates/CRM/common/WizardHeader.tpl b/civicrm/templates/CRM/common/WizardHeader.tpl
index 195ae651aa8a4df94c120b82616dc4f859fa9119..ddf44bae71ce3285e89d18955ca891308173ff9e 100644
--- a/civicrm/templates/CRM/common/WizardHeader.tpl
+++ b/civicrm/templates/CRM/common/WizardHeader.tpl
@@ -10,7 +10,7 @@
 {if count( $wizard.steps ) > 1}
 {* wizard.style variable is passed by some Wizards to allow alternate styling for progress "bar". *}
 <div id="wizard-steps">
-   <ul class="wizard-bar{if $wizard.style.barClass}-{$wizard.style.barClass}{/if}">
+   <ul class="wizard-bar{if !empty($wizard.style.barClass)}-{$wizard.style.barClass}{/if}">
     {section name=step loop=$wizard.steps}
         {if count ( $wizard.steps ) > 5 }
             {* truncate step titles so header isn't too wide *}
@@ -19,7 +19,7 @@
             {assign var="title" value=$wizard.steps[step].title}
         {/if}
         {* Show each wizard link unless collapsed value is true. Also excluding quest app submit steps. Should create separate WizardHeader for Quest at some point.*}
-        {if !$wizard.steps[step].collapsed && $wizard.steps[step].name NEQ 'Submit' && $wizard.steps[step].name NEQ 'PartnerSubmit'}
+        {if empty($wizard.steps[step].collapsed) && !empty($wizard.steps[step].name) && $wizard.steps[step].name NEQ 'Submit' && $wizard.steps[step].name NEQ 'PartnerSubmit'}
             {assign var=i value=$smarty.section.step.iteration}
             {if $wizard.currentStepNumber > $wizard.steps[step].stepNumber}
                 {if $wizard.steps[step].step}
@@ -27,33 +27,21 @@
                 {else} {* This is a sub-step *}
                     {assign var="stepClass" value="past-sub-step"}
                 {/if}
-                {if $wizard.style.hideStepNumbers}
-                    {assign var="stepPrefix" value=$wizard.style.subStepPrefixPast}
-                {else}
-                    {assign var="stepPrefix" value=$wizard.style.stepPrefixPast|cat:$wizard.steps[step].stepNumber|cat:". "}
-                {/if}
+                {assign var="stepPrefix" value=$wizard.style.stepPrefixPast|cat:$wizard.steps[step].stepNumber|cat:". "}
             {elseif $wizard.currentStepNumber == $wizard.steps[step].stepNumber}
                 {if $wizard.steps[step].step}
                     {assign var="stepClass" value="current-step"}
                 {else}
                     {assign var="stepClass" value="current-sub-step"}
                 {/if}
-                {if $wizard.style.hideStepNumbers}
-                    {assign var="stepPrefix" value=$wizard.style.subStepPrefixCurrent}
-                {else}
-                    {assign var="stepPrefix" value=$wizard.style.stepPrefixCurrent|cat:$wizard.steps[step].stepNumber|cat:". "}
-                {/if}
+                {assign var="stepPrefix" value=$wizard.style.stepPrefixCurrent|cat:$wizard.steps[step].stepNumber|cat:". "}
             {else}
                 {if $wizard.steps[step].step}
                     {assign var="stepClass" value="future-step"}
                 {else}
                     {assign var="stepClass" value="future-sub-step"}
                 {/if}
-                {if $wizard.style.hideStepNumbers}
-                    {assign var="stepPrefix" value=$wizard.style.subStepPrefixFuture}
-                {else}
-                    {assign var="stepPrefix" value=$wizard.style.stepPrefixFuture|cat:$wizard.steps[step].stepNumber|cat:". "}
-                {/if}
+                {assign var="stepPrefix" value=$wizard.style.stepPrefixFuture|cat:$wizard.steps[step].stepNumber|cat:". "}
             {/if}
             {if !$wizard.steps[step].valid}
                 {assign var="stepClass" value="$stepClass not-valid"}
@@ -64,7 +52,7 @@
     {/section}
    </ul>
 </div>
-{if $wizard.style.showTitle}
+{if !empty($wizard.style.showTitle)}
     <h2>{$wizard.currentStepTitle} {ts 1=$wizard.currentStepNumber 2=$wizard.stepCount}(step %1 of %2){/ts}</h2>
 {/if}
 {/if}
diff --git a/civicrm/templates/CRM/common/additionalBlocks.tpl b/civicrm/templates/CRM/common/additionalBlocks.tpl
index 6bcec6e855d62cd1335d1ef35048c32857dc102f..54e5b667265df14d601516117a2be886e0f2a541 100644
--- a/civicrm/templates/CRM/common/additionalBlocks.tpl
+++ b/civicrm/templates/CRM/common/additionalBlocks.tpl
@@ -19,7 +19,7 @@ CRM.$(function($) {
         {/foreach}
     {/if}
 
-    {if $loadShowHideAddressFields}
+    {if !empty($loadShowHideAddressFields)}
         {foreach from=$showHideAddressFields key="blockId" item="fieldName"}
            processAddressFields( '{$fieldName}', '{$blockId}', 0 );
         {/foreach}
diff --git a/civicrm/templates/CRM/common/contactFooter.tpl b/civicrm/templates/CRM/common/contactFooter.tpl
index 76eaaae07ddb65ef06840053334e3ddc99c54737..76cc62b511e308d4af3fed120c9d4f00177bcbac 100644
--- a/civicrm/templates/CRM/common/contactFooter.tpl
+++ b/civicrm/templates/CRM/common/contactFooter.tpl
@@ -12,7 +12,7 @@
 <div class="crm-footer" id="crm-record-log">
   <span class="col1">
     {if !empty($external_identifier)}{ts}External ID{/ts}:&nbsp;{$external_identifier}{/if}
-    {if $action NEQ 2}&nbsp; &nbsp;{ts}Contact ID{/ts}:&nbsp;{$contactId}{/if}
+    {if !isset($action) || (isset($action) && $action NEQ 2)}&nbsp; &nbsp;{ts}Contact ID{/ts}:&nbsp;{$contactId}{/if}
   </span>
   {if !empty($lastModified)}
     {ts}Last Change by{/ts}: <a href="{crmURL p='civicrm/contact/view' q="action=view&reset=1&cid=`$lastModified.id`"}">{$lastModified.name}</a> ({$lastModified.date|crmDate}) &nbsp;
diff --git a/civicrm/templates/CRM/common/customData.tpl b/civicrm/templates/CRM/common/customData.tpl
index f52607dafed3a963b0ca0b5c9ec8f087b936d8fc..948d7617862b80af22716ab5c9754d91b1053af9 100644
--- a/civicrm/templates/CRM/common/customData.tpl
+++ b/civicrm/templates/CRM/common/customData.tpl
@@ -36,16 +36,16 @@
       }
 
       {/literal}
-      {if $groupID}
+      {if !empty($groupID)}
         dataUrl += '&groupID=' + '{$groupID}';
       {/if}
-      {if $entityID}
+      {if !empty($entityID)}
         dataUrl += '&entityID=' + '{$entityID}';
       {/if}
-      {if $qfKey}
+      {if !empty($qfKey)}
         dataUrl += '&qf=' + '{$qfKey}';
       {/if}
-      {if $action}
+      {if !empty($action)}
         dataUrl += '&action=' + '{$action}';
       {/if}
       {literal}
diff --git a/civicrm/templates/CRM/common/customDataBlock.tpl b/civicrm/templates/CRM/common/customDataBlock.tpl
index ca3848df706259a29bd4951d286bb27b8469c6bd..eb7c73ccd2886ab10242285c859d7dfa877112a3 100644
--- a/civicrm/templates/CRM/common/customDataBlock.tpl
+++ b/civicrm/templates/CRM/common/customDataBlock.tpl
@@ -1,4 +1,4 @@
-{if $customDataType}
+{if !empty($customDataType)}
   <div id="customData"></div>
   {*include custom data js file*}
   {include file="CRM/common/customData.tpl"}
diff --git a/civicrm/templates/CRM/common/debug.tpl b/civicrm/templates/CRM/common/debug.tpl
index 29dc8d016b816883cdcb28cff4eb35362b793780..9000418de9a7006b625625963127697f9835a863 100644
--- a/civicrm/templates/CRM/common/debug.tpl
+++ b/civicrm/templates/CRM/common/debug.tpl
@@ -8,26 +8,26 @@
  +--------------------------------------------------------------------+
 *}
 <!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
-{if $smarty.get.smartyDebug}
+{if !empty($smarty.get.smartyDebug)}
 {debug}
 {/if}
 
-{if $smarty.get.sessionReset}
+{if !empty($smarty.get.sessionReset)}
 {$session->reset($smarty.get.sessionReset)}
 {/if}
 
-{if $smarty.get.sessionDebug}
+{if !empty($smarty.get.sessionDebug)}
 {$session->debug($smarty.get.sessionDebug)}
 {/if}
 
-{if $smarty.get.directoryCleanup}
+{if !empty($smarty.get.directoryCleanup)}
 {$config->cleanup($smarty.get.directoryCleanup)}
 {/if}
 
-{if $smarty.get.cacheCleanup}
+{if !empty($smarty.get.cacheCleanup)}
 {$config->clearDBCache()}
 {/if}
 
-{if $smarty.get.configReset}
+{if !empty($smarty.get.configReset)}
 {$config->reset()}
 {/if}
diff --git a/civicrm/templates/CRM/common/formButtons.tpl b/civicrm/templates/CRM/common/formButtons.tpl
index cd1fd010d9325cc27f80264de8e88f857b26a692..f00a9747839e6c324744a8c25eb8f387c7e1573a 100644
--- a/civicrm/templates/CRM/common/formButtons.tpl
+++ b/civicrm/templates/CRM/common/formButtons.tpl
@@ -30,7 +30,7 @@
 
 {foreach from=$form.buttons item=button key=key name=btns}
   {if $key|substring:0:4 EQ '_qf_'}
-    {if $location}
+    {if !empty($location)}
       {$form.buttons.$key.html|crmReplace:id:"$key-$location"}
     {else}
       {$form.buttons.$key.html}
diff --git a/civicrm/templates/CRM/common/info.tpl b/civicrm/templates/CRM/common/info.tpl
index de02a23e78fe95cbc8e6a0d9c83bbda4b3d78b0c..410e20aebb3d765cccc68ec73d1f27987bc6cd1b 100644
--- a/civicrm/templates/CRM/common/info.tpl
+++ b/civicrm/templates/CRM/common/info.tpl
@@ -8,10 +8,10 @@
  +--------------------------------------------------------------------+
 *}
 {* Handles display of passed $infoMessage. *}
-{if $infoMessage or $infoTitle}
-  <div class="messages status {$infoType}"{if $infoOptions} data-options='{$infoOptions}'{/if}>
+{if isset($infoMessage) or isset($infoTitle)}
+  <div class="messages status {$infoType|default:''}"{if !empty($infoOptions)} data-options='{$infoOptions}'{/if}>
     {icon icon="fa-info-circle"}{/icon}
-    <span class="msg-title">{$infoTitle}</span>
-    <span class="msg-text">{$infoMessage}</span>
+    <span class="msg-title">{$infoTitle|default:''}</span>
+    <span class="msg-text">{$infoMessage|default:''}</span>
   </div>
 {/if}
diff --git a/civicrm/templates/CRM/common/jsortable.tpl b/civicrm/templates/CRM/common/jsortable.tpl
index e76d7793d3a308933a489c673225744da56380d0..efd1d1d13dd88c74d1d25a0c43e5c215bfbb6dbb 100644
--- a/civicrm/templates/CRM/common/jsortable.tpl
+++ b/civicrm/templates/CRM/common/jsortable.tpl
@@ -27,7 +27,7 @@
     }
 
     // for date sorting see http://wiki.civicrm.org/confluence/display/CRMDOC/Sorting+Date+Fields+in+dataTables+Widget
-    var useAjax = {/literal}{if $useAjax}1{else}0{/if}{literal},
+    var useAjax = {/literal}{if !empty($useAjax)}1{else}0{/if}{literal},
       sourceUrl = '',
       useClass  = 'display',
       tcount = 1,
diff --git a/civicrm/templates/CRM/common/paymentBlock.tpl b/civicrm/templates/CRM/common/paymentBlock.tpl
index c3171f349d4031f06f2978517852c546d2bf91aa..95f907cf2814357e6ebcadec60fa5b2dfc2cb49a 100644
--- a/civicrm/templates/CRM/common/paymentBlock.tpl
+++ b/civicrm/templates/CRM/common/paymentBlock.tpl
@@ -98,7 +98,10 @@
 
       var payment_instrument_id = $('#payment_instrument_id').val();
 
-      var dataUrl = "{crmURL p='civicrm/payment/form' h=0 q="formName=`$form.formName`&currency=`$currency`&`$urlPathVar``$isBackOfficePathVar``$profilePathVar``$contributionPageID``$preProfileID`processor_id="}" + type;
+      var currency = '{$currency}';
+      currency = currency == '' ? $('#currency').val() : currency;
+
+      var dataUrl = "{crmURL p='civicrm/payment/form' h=0 q="formName=`$form.formName``$urlPathVar``$isBackOfficePathVar``$profilePathVar``$contributionPageID``$preProfileID`processor_id="}" + type;
       {literal}
       if (typeof(CRM.vars) != "undefined") {
         if (typeof(CRM.vars.coreForm) != "undefined") {
@@ -111,15 +114,18 @@
           }
         }
       }
-      dataUrl =  dataUrl + "&payment_instrument_id=" + payment_instrument_id;
+      dataUrl =  dataUrl + "&payment_instrument_id=" + payment_instrument_id + "&currency=" + currency;
 
       // Processors like pp-express will hide the form submit buttons, so re-show them when switching
       $('.crm-submit-buttons', $form).show().find('input').prop('disabled', true);
       CRM.loadPage(dataUrl, {target: '#billing-payment-block'});
     }
 
-    $('[name=payment_processor_id]').on('change.paymentBlock', function() {
-        buildPaymentBlock($(this).val());
+    $('[name=payment_processor_id], #currency').on('change.paymentBlock', function() {
+      var payment_processor_id = $('[name=payment_processor_id]:checked').val() == undefined ? $('[name=payment_processor_id]').val() : $('[name=payment_processor_id]:checked').val();
+      if (payment_processor_id != undefined) {
+        buildPaymentBlock(payment_processor_id);
+      }
     });
 
     $('#payment_instrument_id').on('change.paymentBlock', function() {
diff --git a/civicrm/templates/CRM/common/showHide.tpl b/civicrm/templates/CRM/common/showHide.tpl
index e7bc67115ca887274c5a445b432d65b0460818da..b750893acabbdb1521b8f9c191c57b94fdc06818 100644
--- a/civicrm/templates/CRM/common/showHide.tpl
+++ b/civicrm/templates/CRM/common/showHide.tpl
@@ -12,5 +12,5 @@
     var showBlocks = new Array({$showBlocks});
     var hideBlocks = new Array({$hideBlocks});
 
-    on_load_init_blocks( showBlocks, hideBlocks{if $elemType EQ 'table-row'}, 'table-row'{/if} );
+    on_load_init_blocks( showBlocks, hideBlocks{if !empty($elemType) and $elemType EQ 'table-row'}, 'table-row'{/if} );
  </script>
diff --git a/civicrm/vendor/autoload.php b/civicrm/vendor/autoload.php
index d6d9c5d7f0c39c56a2870d458743b734161e684c..095f84b7f854e3bc3f5a6ad484c22519ae46967c 100644
--- a/civicrm/vendor/autoload.php
+++ b/civicrm/vendor/autoload.php
@@ -4,4 +4,4 @@
 
 require_once __DIR__ . '/composer/autoload_real.php';
 
-return ComposerAutoloaderInit6a70bf22583ef5cfdc10b13376855fe9::getLoader();
+return ComposerAutoloaderInit05259761874e2d1c20613ef26304838a::getLoader();
diff --git a/civicrm/vendor/composer/autoload_real.php b/civicrm/vendor/composer/autoload_real.php
index 5e49c3a1303edcfbb98ae5b3e64abbff50c13f8f..ca8c9d5dbf6a18fd919cfc986ef71319e8eb3e2a 100644
--- a/civicrm/vendor/composer/autoload_real.php
+++ b/civicrm/vendor/composer/autoload_real.php
@@ -2,7 +2,7 @@
 
 // autoload_real.php @generated by Composer
 
-class ComposerAutoloaderInit6a70bf22583ef5cfdc10b13376855fe9
+class ComposerAutoloaderInit05259761874e2d1c20613ef26304838a
 {
     private static $loader;
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit6a70bf22583ef5cfdc10b13376855fe9
             return self::$loader;
         }
 
-        spl_autoload_register(array('ComposerAutoloaderInit6a70bf22583ef5cfdc10b13376855fe9', 'loadClassLoader'), true, true);
+        spl_autoload_register(array('ComposerAutoloaderInit05259761874e2d1c20613ef26304838a', 'loadClassLoader'), true, true);
         self::$loader = $loader = new \Composer\Autoload\ClassLoader();
-        spl_autoload_unregister(array('ComposerAutoloaderInit6a70bf22583ef5cfdc10b13376855fe9', 'loadClassLoader'));
+        spl_autoload_unregister(array('ComposerAutoloaderInit05259761874e2d1c20613ef26304838a', 'loadClassLoader'));
 
         $includePaths = require __DIR__ . '/include_paths.php';
         $includePaths[] = get_include_path();
@@ -31,7 +31,7 @@ class ComposerAutoloaderInit6a70bf22583ef5cfdc10b13376855fe9
         if ($useStaticLoader) {
             require_once __DIR__ . '/autoload_static.php';
 
-            call_user_func(\Composer\Autoload\ComposerStaticInit6a70bf22583ef5cfdc10b13376855fe9::getInitializer($loader));
+            call_user_func(\Composer\Autoload\ComposerStaticInit05259761874e2d1c20613ef26304838a::getInitializer($loader));
         } else {
             $map = require __DIR__ . '/autoload_namespaces.php';
             foreach ($map as $namespace => $path) {
@@ -52,19 +52,19 @@ class ComposerAutoloaderInit6a70bf22583ef5cfdc10b13376855fe9
         $loader->register(true);
 
         if ($useStaticLoader) {
-            $includeFiles = Composer\Autoload\ComposerStaticInit6a70bf22583ef5cfdc10b13376855fe9::$files;
+            $includeFiles = Composer\Autoload\ComposerStaticInit05259761874e2d1c20613ef26304838a::$files;
         } else {
             $includeFiles = require __DIR__ . '/autoload_files.php';
         }
         foreach ($includeFiles as $fileIdentifier => $file) {
-            composerRequire6a70bf22583ef5cfdc10b13376855fe9($fileIdentifier, $file);
+            composerRequire05259761874e2d1c20613ef26304838a($fileIdentifier, $file);
         }
 
         return $loader;
     }
 }
 
-function composerRequire6a70bf22583ef5cfdc10b13376855fe9($fileIdentifier, $file)
+function composerRequire05259761874e2d1c20613ef26304838a($fileIdentifier, $file)
 {
     if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
         require $file;
diff --git a/civicrm/vendor/composer/autoload_static.php b/civicrm/vendor/composer/autoload_static.php
index 8a5fd5adffdec7d47ce8f5fda733a998a008c173..1da457c7d1104873e156a4a18b0c79225d5c5039 100644
--- a/civicrm/vendor/composer/autoload_static.php
+++ b/civicrm/vendor/composer/autoload_static.php
@@ -4,7 +4,7 @@
 
 namespace Composer\Autoload;
 
-class ComposerStaticInit6a70bf22583ef5cfdc10b13376855fe9
+class ComposerStaticInit05259761874e2d1c20613ef26304838a
 {
     public static $files = array (
         '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
@@ -572,11 +572,11 @@ class ComposerStaticInit6a70bf22583ef5cfdc10b13376855fe9
     public static function getInitializer(ClassLoader $loader)
     {
         return \Closure::bind(function () use ($loader) {
-            $loader->prefixLengthsPsr4 = ComposerStaticInit6a70bf22583ef5cfdc10b13376855fe9::$prefixLengthsPsr4;
-            $loader->prefixDirsPsr4 = ComposerStaticInit6a70bf22583ef5cfdc10b13376855fe9::$prefixDirsPsr4;
-            $loader->prefixesPsr0 = ComposerStaticInit6a70bf22583ef5cfdc10b13376855fe9::$prefixesPsr0;
-            $loader->fallbackDirsPsr0 = ComposerStaticInit6a70bf22583ef5cfdc10b13376855fe9::$fallbackDirsPsr0;
-            $loader->classMap = ComposerStaticInit6a70bf22583ef5cfdc10b13376855fe9::$classMap;
+            $loader->prefixLengthsPsr4 = ComposerStaticInit05259761874e2d1c20613ef26304838a::$prefixLengthsPsr4;
+            $loader->prefixDirsPsr4 = ComposerStaticInit05259761874e2d1c20613ef26304838a::$prefixDirsPsr4;
+            $loader->prefixesPsr0 = ComposerStaticInit05259761874e2d1c20613ef26304838a::$prefixesPsr0;
+            $loader->fallbackDirsPsr0 = ComposerStaticInit05259761874e2d1c20613ef26304838a::$fallbackDirsPsr0;
+            $loader->classMap = ComposerStaticInit05259761874e2d1c20613ef26304838a::$classMap;
 
         }, null, ClassLoader::class);
     }
diff --git a/civicrm/xml/schema/ACL/ACLEntityRole.xml b/civicrm/xml/schema/ACL/ACLEntityRole.xml
index 836ab90561bbfb6c021d489f9edb16b14ab190bf..f2648d445d634ad4d48a7a0d3b89daf2ebb2f8ac 100644
--- a/civicrm/xml/schema/ACL/ACLEntityRole.xml
+++ b/civicrm/xml/schema/ACL/ACLEntityRole.xml
@@ -26,6 +26,9 @@
     <title>ACL Role ID</title>
     <type>int unsigned</type>
     <required>true</required>
+    <pseudoconstant>
+      <optionGroupName>acl_role</optionGroupName>
+    </pseudoconstant>
     <comment>Foreign Key to ACL Role (which is an option value pair and hence an implicit FK)</comment>
     <add>1.6</add>
   </field>
diff --git a/civicrm/xml/schema/Activity/Activity.xml b/civicrm/xml/schema/Activity/Activity.xml
index 18bedf70f7c5a4bf84b47396d515fbee43d7fcc5..e2ace4d164dfbd9f1b17bffdb9763338e784e480 100644
--- a/civicrm/xml/schema/Activity/Activity.xml
+++ b/civicrm/xml/schema/Activity/Activity.xml
@@ -3,6 +3,7 @@
   <base>CRM/Activity</base>
   <class>Activity</class>
   <name>civicrm_activity</name>
+  <description>Past or future actions concerning one or more contacts.</description>
   <comment>Other Activity details stored here include contact, location, details.</comment>
   <add>1.1</add>
   <log>true</log>
diff --git a/civicrm/xml/schema/Campaign/Campaign.xml b/civicrm/xml/schema/Campaign/Campaign.xml
index 1e63131e379f7f63f0f37771f002a04f4852bf42..0b6000960a36f7376fbf50f24b28d1dda816dd9a 100644
--- a/civicrm/xml/schema/Campaign/Campaign.xml
+++ b/civicrm/xml/schema/Campaign/Campaign.xml
@@ -4,6 +4,7 @@
   <class>Campaign</class>
   <name>civicrm_campaign</name>
   <comment>Campaign Details.</comment>
+  <description>Campaigns link activities, contributions, mailings, etc. that share a programmatic goal.</description>
   <add>3.3</add>
   <icon>fa-bullhorn</icon>
   <labelField>title</labelField>
diff --git a/civicrm/xml/schema/Case/Case.xml b/civicrm/xml/schema/Case/Case.xml
index 545765b3e0cbaa171f9fb21a942266bf872b3593..a95d44923aff6eefc6d2a08d3803d8cde9a4fcb9 100644
--- a/civicrm/xml/schema/Case/Case.xml
+++ b/civicrm/xml/schema/Case/Case.xml
@@ -3,6 +3,7 @@
   <base>CRM/Case</base>
   <class>Case</class>
   <name>civicrm_case</name>
+  <description>Collections of activities and relationships for a given purpose.</description>
   <comment>This table stores information about cases grouping activities.</comment>
   <add>1.8</add>
   <log>true</log>
diff --git a/civicrm/xml/schema/Contact/Contact.xml b/civicrm/xml/schema/Contact/Contact.xml
index 0922d4c4b85cfaa180d9e4d415f553f4ec525e6f..59ee1a7cbdbfa124a6b68db1a9485af7fd4ce76e 100644
--- a/civicrm/xml/schema/Contact/Contact.xml
+++ b/civicrm/xml/schema/Contact/Contact.xml
@@ -5,6 +5,7 @@
   <class>Contact</class>
   <name>civicrm_contact</name>
   <comment>Contact objects are defined by a civicrm_contact record plus a related civicrm_contact_type record.</comment>
+  <description>Individuals, organizations, households, etc.</description>
   <add>1.1</add>
   <log>true</log>
   <icon>fa-address-book-o</icon>
diff --git a/civicrm/xml/schema/Contribute/Contribution.xml b/civicrm/xml/schema/Contribute/Contribution.xml
index 3ccb9b73a7dde4949b2cea5a51de3e1442302771..f61001dea769e2bda1499fe8f94b8266a89f31a3 100644
--- a/civicrm/xml/schema/Contribute/Contribution.xml
+++ b/civicrm/xml/schema/Contribute/Contribution.xml
@@ -4,6 +4,7 @@
   <base>CRM/Contribute</base>
   <class>Contribution</class>
   <name>civicrm_contribution</name>
+  <description>Financial records consisting of transactions, line-items, etc.</description>
   <add>1.3</add>
   <log>true</log>
   <icon>fa-credit-card</icon>
diff --git a/civicrm/xml/schema/Contribute/ContributionProduct.xml b/civicrm/xml/schema/Contribute/ContributionProduct.xml
index 314e015f6e2accb6a8a9e5c0f92028b43cef75d3..202324429d255dd5159f2a4dae8dee28ce849fa2 100644
--- a/civicrm/xml/schema/Contribute/ContributionProduct.xml
+++ b/civicrm/xml/schema/Contribute/ContributionProduct.xml
@@ -28,6 +28,13 @@
     <required>true</required>
     <add>1.4</add>
   </field>
+  <foreignKey>
+    <name>product_id</name>
+    <table>civicrm_product</table>
+    <key>id</key>
+    <add>5.39</add>
+    <onDelete>CASCADE</onDelete>
+  </foreignKey>
   <field>
     <name>contribution_id</name>
     <title>Contribution ID</title>
diff --git a/civicrm/xml/schema/Core/EntityTag.xml b/civicrm/xml/schema/Core/EntityTag.xml
index e7aeb504ded351f17f511fecf2ac05bf7514b9da..cccfd8314dadc9df5507d1ab3937be58891953b4 100644
--- a/civicrm/xml/schema/Core/EntityTag.xml
+++ b/civicrm/xml/schema/Core/EntityTag.xml
@@ -57,6 +57,7 @@
       <table>civicrm_tag</table>
       <keyColumn>id</keyColumn>
       <labelColumn>name</labelColumn>
+      <condition>is_tagset != 1</condition>
     </pseudoconstant>
     <html>
       <type>Select</type>
diff --git a/civicrm/xml/schema/Core/LocBlock.xml b/civicrm/xml/schema/Core/LocBlock.xml
index 9f92ac3b88bef61e82bf5edc67682a6162c003ab..3f276449378dd5c3136931f86326896d805289dc 100644
--- a/civicrm/xml/schema/Core/LocBlock.xml
+++ b/civicrm/xml/schema/Core/LocBlock.xml
@@ -7,6 +7,8 @@
   <comment>Define location specific properties</comment>
   <add>2.0</add>
   <log>true</log>
+  <title>Location</title>
+  <icon>fa-map-o</icon>
   <field>
     <name>id</name>
     <title>Location Block ID</title>
@@ -75,7 +77,7 @@
     <title>IM ID</title>
     <type>int unsigned</type>
     <html>
-      <label>IM</label>
+      <label>Instant Messenger</label>
     </html>
     <add>2.0</add>
   </field>
@@ -88,10 +90,10 @@
   </foreignKey>
   <field>
     <name>address_2_id</name>
-    <title>IM 2 ID</title>
+    <title>Address 2 ID</title>
     <type>int unsigned</type>
     <html>
-      <label>IM 2</label>
+      <label>Address 2</label>
     </html>
     <add>2.0</add>
   </field>
@@ -137,7 +139,7 @@
   <field>
     <name>im_2_id</name>
     <type>int unsigned</type>
-    <title>Instant Messenger 2 ID</title>
+    <title>IM 2 ID</title>
     <html>
       <label>Instant Messenger 2</label>
     </html>
diff --git a/civicrm/xml/schema/Core/Note.xml b/civicrm/xml/schema/Core/Note.xml
index dd0ef304a5b0eb48bda02cb2f9b4eaae49897525..87f9b45f6541497d60c4956e753d4242216f81d6 100644
--- a/civicrm/xml/schema/Core/Note.xml
+++ b/civicrm/xml/schema/Core/Note.xml
@@ -31,7 +31,7 @@
     <required>true</required>
     <comment>Name of table where item being referenced is stored.</comment>
     <pseudoconstant>
-      <callback>CRM_Core_BAO_Note::entityTables</callback>
+      <optionGroupName>note_used_for</optionGroupName>
     </pseudoconstant>
     <add>1.1</add>
   </field>
diff --git a/civicrm/xml/schema/Event/Event.xml b/civicrm/xml/schema/Event/Event.xml
index a15918729eba320b0448f4515ffcab64f0b1db13..10c768ca808cd485eb775b39210e294213f4c08b 100644
--- a/civicrm/xml/schema/Event/Event.xml
+++ b/civicrm/xml/schema/Event/Event.xml
@@ -4,6 +4,7 @@
   <base>CRM/Event</base>
   <class>Event</class>
   <name>civicrm_event</name>
+  <description>Scheduled in-person or online events which contacts can register for and attend.</description>
   <add>1.7</add>
   <log>true</log>
   <icon>fa-calendar</icon>
diff --git a/civicrm/xml/schema/Event/Participant.xml b/civicrm/xml/schema/Event/Participant.xml
index 2ff822e9dbc5289f44cc5807977ce0a23d1f2470..4899849f9598ff0ec8415845e0e3414d475dbf25 100644
--- a/civicrm/xml/schema/Event/Participant.xml
+++ b/civicrm/xml/schema/Event/Participant.xml
@@ -4,6 +4,7 @@
   <base>CRM/Event</base>
   <class>Participant</class>
   <name>civicrm_participant</name>
+  <description>Records of contacts' attendance and roles in events.</description>
   <add>1.7</add>
   <log>true</log>
   <icon>fa-ticket</icon>
diff --git a/civicrm/xml/schema/Grant/Grant.xml b/civicrm/xml/schema/Grant/Grant.xml
index f34b1c4b9579d80e111b1bbea501197280260082..567865e7616f67733058cf7a8ebca8c7c990565c 100644
--- a/civicrm/xml/schema/Grant/Grant.xml
+++ b/civicrm/xml/schema/Grant/Grant.xml
@@ -3,6 +3,7 @@
   <base>CRM/Grant</base>
   <class>Grant</class>
   <name>civicrm_grant</name>
+  <description>Funds applied for and given out by this organization.</description>
   <comment>This table stores information about grants given to a contact.</comment>
   <add>1.8</add>
   <log>true</log>
diff --git a/civicrm/xml/schema/Mailing/Mailing.xml b/civicrm/xml/schema/Mailing/Mailing.xml
index 6dbbdcd52c0a7b69e385502813946a4ef7b7dd1f..c5e65fe046cd4e3f41b0e562f30e59d99bbc3474 100644
--- a/civicrm/xml/schema/Mailing/Mailing.xml
+++ b/civicrm/xml/schema/Mailing/Mailing.xml
@@ -5,6 +5,7 @@
   <class>Mailing</class>
   <name>civicrm_mailing</name>
   <comment>Stores information about a mailing.</comment>
+  <description>Mass emails sent from CiviMail.</description>
   <archive>true</archive>
   <icon>fa-envelope-o</icon>
   <component>CiviMail</component>
@@ -324,7 +325,7 @@
   <field>
     <name>created_date</name>
     <type>timestamp</type>
-    <default>NULL</default>
+    <default>CURRENT_TIMESTAMP</default>
     <required>false</required>
     <title>Mailing Created Date</title>
     <comment>Date and time this mailing was created.</comment>
diff --git a/civicrm/xml/schema/Member/Membership.xml b/civicrm/xml/schema/Member/Membership.xml
index eecda658537c6f7a6cfec8248e2af3dd4ebe02af..06f6a75c53f506fcd5ea01f8c3747a8e9faaba81 100644
--- a/civicrm/xml/schema/Member/Membership.xml
+++ b/civicrm/xml/schema/Member/Membership.xml
@@ -4,6 +4,7 @@
   <base>CRM/Member</base>
   <class>Membership</class>
   <name>civicrm_membership</name>
+  <description>Records of contacts belonging to an organization's membership program.</description>
   <comment>Contact Membership records.</comment>
   <add>1.5</add>
   <log>true</log>
diff --git a/civicrm/xml/schema/Pledge/Pledge.xml b/civicrm/xml/schema/Pledge/Pledge.xml
index 87b6e3b4d7e872415bef0b94b5002387ab8ef07a..9cd15669993c728f14e550ec226c3ee3abc6a141 100644
--- a/civicrm/xml/schema/Pledge/Pledge.xml
+++ b/civicrm/xml/schema/Pledge/Pledge.xml
@@ -3,6 +3,7 @@
   <base>CRM/Pledge</base>
   <class>Pledge</class>
   <name>civicrm_pledge</name>
+  <description>Promises to contribute at a future time, either in full, or at regular intervals until a total goal is reached.</description>
   <add>2.1</add>
   <log>true</log>
   <icon>fa-paper-plane</icon>
diff --git a/civicrm/xml/schema/Price/LineItem.xml b/civicrm/xml/schema/Price/LineItem.xml
index 4e0f795bec50808a60c8e42c790d744ad24f8ce9..f53364ebcbc8efdfeba3bd553c787eb25cb6a29a 100644
--- a/civicrm/xml/schema/Price/LineItem.xml
+++ b/civicrm/xml/schema/Price/LineItem.xml
@@ -227,4 +227,12 @@
      <type>Text</type>
    </html>
   </field>
+  <field>
+    <name>membership_num_terms</name>
+    <title>Number of membership terms purchased</title>
+    <type>int unsigned</type>
+    <default>NULL</default>
+    <comment>Number of terms for this membership (only supported in Order->Payment flow). If the field is NULL it means unknown and it will be assumed to be 1 during payment.create if entity_table is civicrm_membership</comment>
+    <add>5.40</add>
+  </field>
 </table>
diff --git a/civicrm/xml/templates/civicrm_data.tpl b/civicrm/xml/templates/civicrm_data.tpl
index ad9ebafe45b7f199fd1e2b2878db4741c5612c4d..45a6aba238724cd55990a884120f14764322fd95 100644
--- a/civicrm/xml/templates/civicrm_data.tpl
+++ b/civicrm/xml/templates/civicrm_data.tpl
@@ -164,6 +164,7 @@ VALUES
    ('contact_reference_options'     , '{ts escape="sql"}Contact Reference Autocomplete Options{/ts}', NULL, 1, 1, 1),
    ('website_type'                  , '{ts escape="sql"}Website Type{/ts}'                       , NULL, 1, 1, 0),
    ('tag_used_for'                  , '{ts escape="sql"}Tag Used For{/ts}'                       , NULL, 1, 1, 1),
+   ('note_used_for'                 , '{ts escape="sql"}Note Used For{/ts}'                      , NULL, 1, 1, 1),
    ('currencies_enabled'            , '{ts escape="sql"}Currencies Enabled{/ts}'                 , NULL, 1, 1, 0),
    ('event_badge'                   , '{ts escape="sql"}Event Name Badge{/ts}'                   , NULL, 1, 1, 0),
    ('note_privacy'                  , '{ts escape="sql"}Privacy levels for notes{/ts}'           , NULL, 1, 1, 0),
@@ -248,6 +249,7 @@ SELECT @option_group_id_acsOpt         := max(id) from civicrm_option_group wher
 SELECT @option_group_id_acConRef       := max(id) from civicrm_option_group where name = 'contact_reference_options';
 SELECT @option_group_id_website        := max(id) from civicrm_option_group where name = 'website_type';
 SELECT @option_group_id_tuf            := max(id) from civicrm_option_group where name = 'tag_used_for';
+SELECT @option_group_id_nuf            := max(id) from civicrm_option_group where name = 'note_used_for';
 SELECT @option_group_id_currency       := max(id) from civicrm_option_group where name = 'currencies_enabled';
 SELECT @option_group_id_eventBadge     := max(id) from civicrm_option_group where name = 'event_badge';
 SELECT @option_group_id_notePrivacy    := max(id) from civicrm_option_group where name = 'note_privacy';
@@ -664,7 +666,7 @@ VALUES
   (@option_group_id_sfe, 'pptx',  16, 'pptx',   NULL, 0, 0, 16, NULL, 0, 0, 1, NULL, NULL, NULL),
 
   (@option_group_id_we, '{ts escape="sql"}Textarea{/ts}', 1, 'Textarea', NULL, 0, NULL, 1, NULL, 0, 1, 1, NULL, NULL, NULL),
-  (@option_group_id_we, 'CKEditor', 2, 'CKEditor', NULL, 0, NULL, 2, NULL, 0, 1, 1, NULL, NULL, NULL),
+  (@option_group_id_we, '{ts escape="sql"}CKEditor 4{/ts}', 2, 'CKEditor', NULL, 0, NULL, 2, NULL, 0, 1, 1, NULL, NULL, NULL),
 
   (@option_group_id_mt, '{ts escape="sql"}Search Builder{/ts}',      1, 'Search Builder',      NULL, 0, 0,    1, NULL, 0, 1, 1, NULL, NULL, NULL),
   (@option_group_id_mt, '{ts escape="sql"}Import Contact{/ts}',      2, 'Import Contact',      NULL, 0, 0,    2, NULL, 0, 1, 1, NULL, NULL, NULL),
@@ -750,10 +752,16 @@ VALUES
    (@option_group_id_website, 'Vine',  12, 'Vine ',  NULL, 0, NULL, 12, NULL, 0, 0, 1, NULL, NULL, NULL),
 
 -- Tag used for
-   (@option_group_id_tuf, 'Contacts',   'civicrm_contact',  'Contacts',     NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL, NULL),
-   (@option_group_id_tuf, 'Activities', 'civicrm_activity', 'Activities',   NULL, 0, NULL, 2, NULL, 0, 0, 1, NULL, NULL, NULL),
-   (@option_group_id_tuf, 'Cases',      'civicrm_case',     'Cases',        NULL, 0, NULL, 3, NULL, 0, 0, 1, NULL, NULL, NULL),
-   (@option_group_id_tuf, 'Attachments','civicrm_file',     'Attachements', NULL, 0, NULL, 4, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_tuf, '{ts escape="sql"}Contacts{/ts}',    'civicrm_contact',  'Contact',  NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_tuf, '{ts escape="sql"}Activities{/ts}',  'civicrm_activity', 'Activity', NULL, 0, NULL, 2, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_tuf, '{ts escape="sql"}Cases{/ts}',       'civicrm_case',     'Case',     NULL, 0, NULL, 3, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_tuf, '{ts escape="sql"}Attachments{/ts}', 'civicrm_file',     'File',     NULL, 0, NULL, 4, NULL, 0, 0, 1, NULL, NULL, NULL),
+
+-- Note used for
+   (@option_group_id_nuf, '{ts escape="sql"}Contacts{/ts}',      'civicrm_contact',      'Contact',      NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_nuf, '{ts escape="sql"}Relationships{/ts}', 'civicrm_relationship', 'Relationship', NULL, 0, NULL, 2, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_nuf, '{ts escape="sql"}Participants{/ts}',  'civicrm_participant',  'Participant',  NULL, 0, NULL, 3, NULL, 0, 0, 1, NULL, NULL, NULL),
+   (@option_group_id_nuf, '{ts escape="sql"}Contributions{/ts}', 'civicrm_contribution', 'Contribution', NULL, 0, NULL, 4, NULL, 0, 0, 1, NULL, NULL, NULL),
 
    (@option_group_id_currency, 'USD ($)',      'USD',     'USD',       NULL, 0, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL),
 
@@ -1782,4 +1790,5 @@ INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_act
 INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'financialacls', 'Financial ACLs', 'Financial ACLs', 'financialacls', 1);
 INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'contributioncancelactions', 'Contribution cancel actions', 'Contribution cancel actions', 'contributioncancelactions', 1);
 INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'recaptcha', 'reCAPTCHA', 'reCAPTCHA', 'recaptcha', 1);
+INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'ckeditor4', 'CKEditor4', 'CKEditor4', 'ckeditor4', 1);
 
diff --git a/civicrm/xml/templates/civicrm_navigation.tpl b/civicrm/xml/templates/civicrm_navigation.tpl
index efd43de92bf9ac5dd044070ab12b4dfd67f41131..5ca89798d36cb8126668e53364f9f387e3e1f835 100644
--- a/civicrm/xml/templates/civicrm_navigation.tpl
+++ b/civicrm/xml/templates/civicrm_navigation.tpl
@@ -94,8 +94,7 @@ VALUES
     ( @domainID, 'civicrm/import/activity?reset=1',                         '{ts escape="sql" skip="true"}Import Activities{/ts}',      'Import Activities',    'import contacts',  '',             @contactlastID, '1', '1',   8 ),
     ( @domainID, 'civicrm/group/add?reset=1',                               '{ts escape="sql" skip="true"}New Group{/ts}',              'New Group',            'edit groups',      '',             @contactlastID, '1', NULL,  9 ),
     ( @domainID, 'civicrm/group?reset=1',                                   '{ts escape="sql" skip="true"}Manage Groups{/ts}',          'Manage Groups',        'access CiviCRM',   '',             @contactlastID, '1', '1',   10 ),
-    ( @domainID, 'civicrm/tag?reset=1&action=add',                    '{ts escape="sql" skip="true"}New Tag{/ts}',                'New Tag',              'manage tags', '',           @contactlastID, '1', NULL, 11 ),
-    ( @domainID, 'civicrm/tag?reset=1',                               '{ts escape="sql" skip="true"}Manage Tags (Categories){/ts}', 'Manage Tags (Categories)', 'manage tags', '',     @contactlastID, '1','1', 12 ),
+    ( @domainID, 'civicrm/tag?reset=1',                               '{ts escape="sql" skip="true"}Manage Tags{/ts}', 'Manage Tags (Categories)', 'manage tags', '',     @contactlastID, '1','1', 12 ),
     ( @domainID, 'civicrm/contact/deduperules?reset=1',  '{ts escape="sql" skip="true"}Find and Merge Duplicate Contacts{/ts}', 'Find and Merge Duplicate Contacts', 'administer dedupe rules,merge duplicate contacts', 'OR', @contactlastID, '1', NULL, 13 );
 
 INSERT INTO civicrm_navigation
@@ -292,7 +291,7 @@ INSERT INTO civicrm_navigation
 VALUES
     ( @domainID, 'civicrm/admin/custom/group?reset=1',      '{ts escape="sql" skip="true"}Custom Fields{/ts}', 'Custom Fields',                             'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 1 ),
     ( @domainID, 'civicrm/admin/uf/group?reset=1',          '{ts escape="sql" skip="true"}Profiles{/ts}', 'Profiles',                                       'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 2 ),
-    ( @domainID, 'civicrm/tag?reset=1',               '{ts escape="sql" skip="true"}Tags (Categories){/ts}', 'Tags (Categories)',                     'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 3 ),
+    ( @domainID, 'civicrm/tag?reset=1',               '{ts escape="sql" skip="true"}Tags{/ts}', 'Tags (Categories)',                     'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 3 ),
     ( @domainID, 'civicrm/admin/options/activity_type?reset=1', '{ts escape="sql" skip="true"}Activity Types{/ts}', 'Activity Types',   'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 4 ),
     ( @domainID, 'civicrm/admin/reltype?reset=1',           '{ts escape="sql" skip="true"}Relationship Types{/ts}', 'Relationship Types',                   'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 5 ),
     ( @domainID, 'civicrm/admin/options/subtype?reset=1',   '{ts escape="sql" skip="true"}Contact Types{/ts}','Contact Types',                              'administer CiviCRM', '',   @CustomizelastID, '1', NULL, 6 ),
diff --git a/civicrm/xml/templates/dao.tpl b/civicrm/xml/templates/dao.tpl
index 86b7a544cc413d853cd54eb0d742bca0fdee25d9..f80ab793ac146b4e56fc2d560af809657613de6a 100644
--- a/civicrm/xml/templates/dao.tpl
+++ b/civicrm/xml/templates/dao.tpl
@@ -7,7 +7,7 @@
  * {$generated}
  * (GenCodeChecksum:{$genCodeChecksum})
  */
-{$useHelper}
+{if isset($useHelper)}{$useHelper}{/if}
 /**
  * Database access object for the {$table.entity} entity.
  */
@@ -24,6 +24,16 @@ class {$table.className} extends CRM_Core_DAO {ldelim}
       */
       public static $_tableName = '{$table.name}';
 
+   {* Only print this variable if it's different than the default in CRM_Core_DAO *}
+   {if count($table.primaryKey.field) !== 1 || $table.primaryKey.field.0 !== 'id'}
+     /**
+      * Primary key field(s).
+      *
+      * @var string[]
+      */
+      public static $_primaryKey = [{if $table.primaryKey.field}'{"', '"|implode:$table.primaryKey.field}'{/if}];
+   {/if}
+
    {if $table.icon}
      /**
       * Icon associated with this entity.
@@ -87,6 +97,16 @@ class {$table.className} extends CRM_Core_DAO {ldelim}
         return $plural ? {$tsFunctionName}('{$table.titlePlural}') : {$tsFunctionName}('{$table.title}');
     {rdelim}
 
+{if !empty($table.description)}
+  /**
+  * Returns user-friendly description of this entity.
+  *
+  * @return string
+  */
+  public static function getEntityDescription() {ldelim}
+    return {$tsFunctionName}('{$table.description|replace:"'":"\'"}');
+  {rdelim}
+{/if}
 
 
 {if !empty($table.foreignKey) || !empty($table.dynamicForeignKey)}
diff --git a/civicrm/xml/templates/message_templates/case_activity_html.tpl b/civicrm/xml/templates/message_templates/case_activity_html.tpl
index c770e0387845247fad4561589e19ecd6428dddf5..4df31c4200465e5cf6710b46fb9a3c31b697e458 100644
--- a/civicrm/xml/templates/message_templates/case_activity_html.tpl
+++ b/civicrm/xml/templates/message_templates/case_activity_html.tpl
@@ -6,99 +6,100 @@
 </head>
 <body>
 
-{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture}
-{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
-{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
+  {capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture}
+  {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
+  {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
 
-<center>
-  <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
+  <center>
+    <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
 
-  <!-- BEGIN HEADER -->
-  <!-- You can add table row(s) here with logo or other header elements -->
-  <!-- END HEADER -->
+    <!-- BEGIN HEADER -->
+    <!-- You can add table row(s) here with logo or other header elements -->
+    <!-- END HEADER -->
 
-  <!-- BEGIN CONTENT -->
+    <!-- BEGIN CONTENT -->
 
-  <tr>
-   <td>
-    <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
-     <tr>
-      <th {$headerStyle}>
-       {ts}Activity Summary{/ts} - {$activityTypeName}
-      </th>
-     </tr>
-     {if !empty($isCaseActivity)}
       <tr>
-       <td {$labelStyle}>
-        {ts}Your Case Role(s){/ts}
-       </td>
-       <td {$valueStyle}>
-        {$contact.role}
-       </td>
-      </tr>
-      {if $manageCaseURL}
-       <tr>
-       <td colspan="2" {$valueStyle}>
-     <a href="{$manageCaseURL}" title="{ts}Manage Case{/ts}">{ts}Manage Case{/ts}</a>
-       </td>
-       </tr>
-      {/if}
-     {/if}
-     {if $editActURL}
-     <tr>
-       <td colspan="2" {$valueStyle}>
-   <a href="{$editActURL}" title="{ts}Edit activity{/ts}">{ts}Edit activity{/ts}</a>
-       </td>
-     </tr>
-     {/if}
-     {if $viewActURL}
-     <tr>
-       <td colspan="2" {$valueStyle}>
-   <a href="{$viewActURL}" title="{ts}View activity{/ts}">{ts}View activity{/ts}</a>
-       </td>
-     </tr>
-     {/if}
-     {foreach from=$activity.fields item=field}
-      <tr>
-       <td {$labelStyle}>
-        {$field.label}{if !empty($field.category)}({$field.category}){/if}
-       </td>
-       <td {$valueStyle}>
-        {if $field.type eq 'Date'}
-         {$field.value|crmDate:$config->dateformatDatetime}
-        {else}
-         {$field.value}
-        {/if}
-       </td>
-      </tr>
-     {/foreach}
+        <td>
+          <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
+            <tr>
+              <th {$headerStyle}>
+                {ts}Activity Summary{/ts} - {$activityTypeName}
+              </th>
+            </tr>
+            {if !empty($isCaseActivity)}
+              <tr>
+                <td {$labelStyle}>
+                  {ts}Your Case Role(s){/ts}
+                </td>
+                <td {$valueStyle}>
+                  {$contact.role|default:''}
+                </td>
+              </tr>
+              {if !empty($manageCaseURL)}
+                <tr>
+                  <td colspan="2" {$valueStyle}>
+                    <a href="{$manageCaseURL}" title="{ts}Manage Case{/ts}">{ts}Manage Case{/ts}</a>
+                  </td>
+                </tr>
+              {/if}
+            {/if}
+            {if !empty($editActURL)}
+              <tr>
+                <td colspan="2" {$valueStyle}>
+                  <a href="{$editActURL}" title="{ts}Edit activity{/ts}">{ts}Edit activity{/ts}</a>
+                </td>
+              </tr>
+            {/if}
+            {if !empty($viewActURL)}
+              <tr>
+                <td colspan="2" {$valueStyle}>
+                  <a href="{$viewActURL}" title="{ts}View activity{/ts}">{ts}View activity{/ts}</a>
+                </td>
+              </tr>
+            {/if}
+            {foreach from=$activity.fields item=field}
+              <tr>
+                <td {$labelStyle}>
+                  {$field.label}{if !empty($field.category)}({$field.category}){/if}
+                </td>
+                <td {$valueStyle}>
+                  {if $field.type eq 'Date'}
+                    {$field.value|crmDate:$config->dateformatDatetime}
+                  {else}
+                    {$field.value}
+                  {/if}
+                </td>
+              </tr>
+            {/foreach}
 
-     {foreach from=$activity.customGroups key=customGroupName item=customGroup}
-      <tr>
-       <th {$headerStyle}>
-        {$customGroupName}
-       </th>
-      </tr>
-      {foreach from=$customGroup item=field}
-       <tr>
-        <td {$labelStyle}>
-         {$field.label}
-        </td>
-        <td {$valueStyle}>
-         {if $field.type eq 'Date'}
-          {$field.value|crmDate:$config->dateformatDatetime}
-         {else}
-          {$field.value}
-         {/if}
+            {if !empty($activity.customGroups)}
+              {foreach from=$activity.customGroups key=customGroupName item=customGroup}
+                <tr>
+                  <th {$headerStyle}>
+                    {$customGroupName}
+                  </th>
+                </tr>
+                {foreach from=$customGroup item=field}
+                  <tr>
+                    <td {$labelStyle}>
+                      {$field.label}
+                    </td>
+                    <td {$valueStyle}>
+                      {if $field.type eq 'Date'}
+                        {$field.value|crmDate:$config->dateformatDatetime}
+                      {else}
+                        {$field.value}
+                      {/if}
+                    </td>
+                  </tr>
+                {/foreach}
+              {/foreach}
+            {/if}
+          </table>
         </td>
-       </tr>
-      {/foreach}
-     {/foreach}
+      </tr>
     </table>
-   </td>
-  </tr>
- </table>
-</center>
-
+  </center>
 </body>
 </html>
diff --git a/civicrm/xml/templates/message_templates/case_activity_text.tpl b/civicrm/xml/templates/message_templates/case_activity_text.tpl
index 715dbd3740e8c5b0f44372317f78f752b72a689e..430d061f360e12244b9de382cd85ec8acbf603c6 100644
--- a/civicrm/xml/templates/message_templates/case_activity_text.tpl
+++ b/civicrm/xml/templates/message_templates/case_activity_text.tpl
@@ -2,16 +2,16 @@
 {ts}Activity Summary{/ts} - {$activityTypeName}
 ===========================================================
 {if !empty($isCaseActivity)}
-{ts}Your Case Role(s){/ts} : {$contact.role}
-{if $manageCaseURL}
+{ts}Your Case Role(s){/ts} : {$contact.role|default:''}
+{if !empty($manageCaseURL)}
 {ts}Manage Case{/ts} : {$manageCaseURL}
 {/if}
 {/if}
 
-{if $editActURL}
+{if !empty($editActURL)}
 {ts}Edit activity{/ts} : {$editActURL}
 {/if}
-{if $viewActURL}
+{if !empty($viewActURL)}
 {ts}View activity{/ts} : {$viewActURL}
 {/if}
 
@@ -23,6 +23,7 @@
 {/if}
 {/foreach}
 
+{if !empty($activity.customGroups)}
 {foreach from=$activity.customGroups key=customGroupName item=customGroup}
 ==========================================================
 {$customGroupName}
@@ -36,3 +37,4 @@
 {/foreach}
 
 {/foreach}
+{/if}
diff --git a/civicrm/xml/templates/message_templates/contribution_offline_receipt_html.tpl b/civicrm/xml/templates/message_templates/contribution_offline_receipt_html.tpl
index 03a0fbb5b9d87fd003abc64ba0e969d12899fd38..694080310e578bacd468e3de95376234ba98993a 100644
--- a/civicrm/xml/templates/message_templates/contribution_offline_receipt_html.tpl
+++ b/civicrm/xml/templates/message_templates/contribution_offline_receipt_html.tpl
@@ -163,7 +163,7 @@
       </tr>
      {/if}
 
-      {if $receipt_date}
+      {if !empty($receipt_date)}
       <tr>
        <td {$labelStyle}>
         {ts}Receipt Date{/ts}
@@ -303,7 +303,7 @@
         </td>
        </tr>
       {/if}
-      {if $fulfilled_date}
+      {if !empty($fulfilled_date)}
        <tr>
         <td {$labelStyle}>
          {ts}Sent{/ts}
diff --git a/civicrm/xml/templates/message_templates/contribution_offline_receipt_text.tpl b/civicrm/xml/templates/message_templates/contribution_offline_receipt_text.tpl
index 8776aa8772d0a0cc047088ba126aaf272e6b1b72..8e8f878f9645765ab3114fe025f985f850d65767 100644
--- a/civicrm/xml/templates/message_templates/contribution_offline_receipt_text.tpl
+++ b/civicrm/xml/templates/message_templates/contribution_offline_receipt_text.tpl
@@ -51,7 +51,7 @@
 {if !empty($receive_date)}
 {ts}Date Received{/ts}: {$receive_date|truncate:10:''|crmDate}
 {/if}
-{if $receipt_date}
+{if !empty($receipt_date)}
 {ts}Receipt Date{/ts}: {$receipt_date|truncate:10:''|crmDate}
 {/if}
 {if !empty($formValues.paidBy) and empty($formValues.hidden_CreditCard)}
@@ -114,7 +114,7 @@
 {if $formValues.product_sku}
 {ts}SKU{/ts}: {$formValues.product_sku}
 {/if}
-{if $fulfilled_date}
+{if !empty($fulfilled_date)}
 {ts}Sent{/ts}: {$fulfilled_date|crmDate}
 {/if}
 {/if}
diff --git a/civicrm/xml/templates/message_templates/event_online_receipt_text.tpl b/civicrm/xml/templates/message_templates/event_online_receipt_text.tpl
index 610b9b274a4bdd5387cfc4d4d97c6bff0c5ca6ff..e3dbd3835eb4ebf41873a17261bab4fce1e0d367 100644
--- a/civicrm/xml/templates/message_templates/event_online_receipt_text.tpl
+++ b/civicrm/xml/templates/message_templates/event_online_receipt_text.tpl
@@ -108,7 +108,7 @@ You were registered by: {$payer.name}
 {if $value neq 'skip'}
 {if !empty($isPrimary)}
 {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}
-{ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}
+{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}
 
 {/if}
 {/if}
diff --git a/civicrm/xml/templates/message_templates/participant_cancelled_html.tpl b/civicrm/xml/templates/message_templates/participant_cancelled_html.tpl
index 3a1641b97c79976eee24f99cf542ab007b69c1a8..fb6c68b0333ee8179365615f1e17d0fbdcec57fc 100644
--- a/civicrm/xml/templates/message_templates/participant_cancelled_html.tpl
+++ b/civicrm/xml/templates/message_templates/participant_cancelled_html.tpl
@@ -56,7 +56,7 @@
       </tr>
      {/if}
 
-     {if $event.location.phone.1.phone || $event.location.email.1.email}
+     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
       <tr>
        <td colspan="2" {$labelStyle}>
         {ts}Event Contacts:{/ts}
@@ -101,7 +101,7 @@
       </tr>
      {/if}
 
-     {if $register_date}
+     {if !empty($register_date)}
       <tr>
        <td {$labelStyle}>
         {ts}Registration Date{/ts}
diff --git a/civicrm/xml/templates/message_templates/participant_cancelled_text.tpl b/civicrm/xml/templates/message_templates/participant_cancelled_text.tpl
index 684983682f1e6c72049ec90a18df719ba3e700c2..dd1008db69b5ea37a6abd8e292f3217e3be5590f 100644
--- a/civicrm/xml/templates/message_templates/participant_cancelled_text.tpl
+++ b/civicrm/xml/templates/message_templates/participant_cancelled_text.tpl
@@ -16,7 +16,7 @@
 {$event.location.address.1.display|strip_tags:false}
 {/if}{*End of isShowLocation condition*}
 
-{if $event.location.phone.1.phone || $event.location.email.1.email}
+{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
 
 {ts}Event Contacts:{/ts}
 {foreach from=$event.location.phone item=phone}
@@ -39,7 +39,7 @@
 {$contact.email}
 {/if}
 
-{if $register_date}
+{if !empty($register_date)}
 {ts}Registration Date{/ts}: {$participant.register_date|crmDate}
 {/if}
 
diff --git a/civicrm/xml/templates/message_templates/participant_expired_html.tpl b/civicrm/xml/templates/message_templates/participant_expired_html.tpl
index 65944715b8ba044bbf70d6651e7cbc9731cc4bc8..8309ae81ef97052318adc45dbbe8761854d4dbc9 100644
--- a/civicrm/xml/templates/message_templates/participant_expired_html.tpl
+++ b/civicrm/xml/templates/message_templates/participant_expired_html.tpl
@@ -59,7 +59,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p>
       </tr>
      {/if}
 
-     {if $event.location.phone.1.phone || $event.location.email.1.email}
+     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
       <tr>
        <td colspan="2" {$labelStyle}>
         {ts}Event Contacts:{/ts}
diff --git a/civicrm/xml/templates/message_templates/participant_expired_text.tpl b/civicrm/xml/templates/message_templates/participant_expired_text.tpl
index 56acebfb5f141ba1190ceee584020eced1c46bb2..0ff598ca7735e7a22149ab3ff590652e3528df56 100644
--- a/civicrm/xml/templates/message_templates/participant_expired_text.tpl
+++ b/civicrm/xml/templates/message_templates/participant_expired_text.tpl
@@ -20,7 +20,7 @@ or want to inquire about reinstating your registration for this event.{/ts}
 {$event.location.address.1.display|strip_tags:false}
 {/if}{*End of isShowLocation condition*}
 
-{if $event.location.phone.1.phone || $event.location.email.1.email}
+{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
 
 {ts}Event Contacts:{/ts}
 {foreach from=$event.location.phone item=phone}
diff --git a/civicrm/xml/templates/message_templates/participant_transferred_html.tpl b/civicrm/xml/templates/message_templates/participant_transferred_html.tpl
index 2c0b5ebf7ce28c07bce9b8af785032fcbdb074c1..95fd8ebcddef82223e7d1a8e692147e832c53961 100644
--- a/civicrm/xml/templates/message_templates/participant_transferred_html.tpl
+++ b/civicrm/xml/templates/message_templates/participant_transferred_html.tpl
@@ -56,7 +56,7 @@
       </tr>
      {/if}
 
-     {if $event.location.phone.1.phone || $event.location.email.1.email}
+     {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
       <tr>
        <td colspan="2" {$labelStyle}>
         {ts}Event Contacts:{/ts}
diff --git a/civicrm/xml/templates/message_templates/participant_transferred_text.tpl b/civicrm/xml/templates/message_templates/participant_transferred_text.tpl
index 449594828ee47f4d0424388567c3e4ef4d355665..dc2288b56d41306456cde10754bccad943ba6df9 100644
--- a/civicrm/xml/templates/message_templates/participant_transferred_text.tpl
+++ b/civicrm/xml/templates/message_templates/participant_transferred_text.tpl
@@ -15,7 +15,7 @@
 {$event.location.address.1.display|strip_tags:false}
 {/if}{*End of isShowLocation condition*}
 
-{if $event.location.phone.1.phone || $event.location.email.1.email}
+{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
 
 {ts}Event Contacts:{/ts}
 {foreach from=$event.location.phone item=phone}
diff --git a/civicrm/xml/version.xml b/civicrm/xml/version.xml
index 456e25853dc5f63aaf0c74aa1c9f4afcf682ff9b..ecb57b879ba4dc3bf3f9fc5c73a2fbdf8e6f046c 100644
--- a/civicrm/xml/version.xml
+++ b/civicrm/xml/version.xml
@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1" ?>
 <version>
-  <version_no>5.39.1</version_no>
+  <version_no>5.40.0</version_no>
 </version>
diff --git a/includes/admin-metaboxes/civicrm.metabox.contact.add.php b/includes/admin-metaboxes/civicrm.metabox.contact.add.php
index c51fb4b07105d9e5543a323f9c3ea75aef9e8e15..2ca5a695af4c7bf9dc98464bb6f889ab54d70cd5 100644
--- a/includes/admin-metaboxes/civicrm.metabox.contact.add.php
+++ b/includes/admin-metaboxes/civicrm.metabox.contact.add.php
@@ -74,7 +74,10 @@ class CiviCRM_For_WordPress_Admin_Metabox_Contact_Add {
    */
   public function register_hooks() {
 
-    // Bail if the current WordPress User cannot add Contacts.
+    /*
+     * Bail if the current WordPress User cannot add Contacts.
+     * Usefully, this also returns FALSE if CiviCRM fails to initialize.
+     */
     if (!$this->civi->users->check_civicrm_permission('add_contacts')) {
       return;
     }
diff --git a/includes/admin-pages/civicrm.page.error.php b/includes/admin-pages/civicrm.page.error.php
new file mode 100644
index 0000000000000000000000000000000000000000..1f164ca2ad86102372c5863a095cdfaa1b9bbfb6
--- /dev/null
+++ b/includes/admin-pages/civicrm.page.error.php
@@ -0,0 +1,327 @@
+<?php
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ *
+ * @package CRM
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
+ *
+ */
+
+// This file must not accessed directly.
+if (!defined('ABSPATH')) {
+  exit;
+}
+
+/**
+ * Define CiviCRM_For_WordPress_Admin_Page_Error Class.
+ *
+ * @since 5.40
+ */
+class CiviCRM_For_WordPress_Admin_Page_Error {
+
+  /**
+   * @var object
+   * Plugin object reference.
+   * @since 5.40
+   * @access public
+   */
+  public $civi;
+
+  /**
+   * @var object
+   * Admin object reference.
+   * @since 5.40
+   * @access public
+   */
+  public $admin;
+
+  /**
+   * Instance constructor.
+   *
+   * This class is constructed during the "admin_menu" action at priority 9.
+   *
+   * @since 5.40
+   *
+   * @param str $logo The CiviCRM logo.
+   * @param str $position The default menu position expressed as a float.
+   */
+  public function __construct($logo, $position) {
+
+    // Store reference to CiviCRM plugin object.
+    $this->civi = civi_wp();
+
+    // Store reference to admin object.
+    $this->admin = civi_wp()->admin;
+
+    // Add items to the CiviCRM admin menu.
+    $this->add_menu_items($logo, $position);
+
+    // Add our meta boxes.
+    add_action('add_meta_boxes', [$this, 'meta_boxes_error_add']);
+
+  }
+
+  /**
+   * Get the capability required to access the Settings Page.
+   *
+   * @since 5.40
+   */
+  public function access_capability() {
+
+    /**
+     * Return default capability but allow overrides.
+     *
+     * @since 5.40
+     *
+     * @param str The default access capability.
+     * @return str The modified access capability.
+     */
+    return apply_filters('civicrm/admin/error/cap', 'manage_options');
+
+  }
+
+  /**
+   * Adds CiviCRM sub-menu items to WordPress admin menu.
+   *
+   * @since 5.40
+   *
+   * @param str $logo The CiviCRM logo.
+   * @param str $position The default menu position expressed as a float.
+   */
+  public function add_menu_items($logo, $position) {
+
+    // Get access capability.
+    $capability = $this->access_capability();
+
+    // Add our top level menu item.
+    $error_page = add_menu_page(
+      __('Troubleshooting', 'civicrm'),
+      __('CiviCRM', 'civicrm'),
+      $capability,
+      'CiviCRM',
+      [$this, 'page_error'],
+      $logo,
+      $position
+    );
+
+    // Add scripts for this page.
+    add_action('admin_head-' . $error_page, [$this, 'admin_head']);
+    add_action('admin_print_styles-' . $error_page, [$this, 'admin_css']);
+
+  }
+
+  /**
+   * Enqueue WordPress scripts on the pages that need them.
+   *
+   * @since 5.40
+   */
+  public function admin_head() {
+
+    // Enqueue WordPress scripts.
+    wp_enqueue_script('common');
+    wp_enqueue_script('jquery-ui-sortable');
+    wp_enqueue_script('dashboard');
+
+  }
+
+  /**
+   * Enqueue stylesheet on this page.
+   *
+   * @since 5.40
+   */
+  public function admin_css() {
+
+    // Enqueue common CSS.
+    wp_enqueue_style(
+      'civicrm-admin-styles',
+      CIVICRM_PLUGIN_URL . 'assets/css/civicrm.admin.css',
+      NULL,
+      CIVICRM_PLUGIN_VERSION,
+      'all'
+    );
+
+  }
+
+  // ---------------------------------------------------------------------------
+  // Page Loader
+  // ---------------------------------------------------------------------------
+
+  /**
+   * Render the CiviCRM Error page.
+   *
+   * @since 5.40
+   */
+  public function page_error() {
+
+    // Get the current screen object.
+    $screen = get_current_screen();
+
+    /**
+     * Allow meta boxes to be added to this screen.
+     *
+     * The Screen ID to use is: "civicrm_page_civi_error".
+     *
+     * @since 5.40
+     *
+     * @param str $screen_id The ID of the current screen.
+     */
+    do_action('add_meta_boxes', $screen->id, NULL);
+
+    // Grab columns.
+    $columns = (1 == $screen->get_columns() ? '1' : '2');
+
+    // Include template file.
+    include CIVICRM_PLUGIN_DIR . 'assets/templates/pages/page.error.php';
+
+  }
+
+  // ---------------------------------------------------------------------------
+  // Meta Box Loaders
+  // ---------------------------------------------------------------------------
+
+  /**
+   * Register Error Page meta boxes.
+   *
+   * @since 5.40
+   *
+   * @param str $screen_id The Admin Page Screen ID.
+   */
+  public function meta_boxes_error_add($screen_id) {
+
+    // Define valid Screen IDs.
+    $screen_ids = [
+      'toplevel_page_CiviCRM',
+    ];
+
+    // Bail if not the Screen ID we want.
+    if (!in_array($screen_id, $screen_ids)) {
+      return;
+    }
+
+    // Bail if user cannot access the Error Page.
+    $capability = $this->access_capability();
+    if (!current_user_can($capability)) {
+      return;
+    }
+
+    // Init data.
+    $data = [];
+
+    // Check for PHP version flag.
+    if (civi_wp()->admin->error_flag === 'php-version') {
+
+      // Create "PHP Error Information" metabox.
+      add_meta_box(
+        'civicrm_error_php',
+        __('PHP Error Information', 'civicrm'),
+        // Callback.
+        [$this, 'meta_box_error_php_render'],
+        // Screen ID.
+        $screen_id,
+        // Column: options are 'normal' and 'side'.
+        'normal',
+        // Vertical placement: options are 'core', 'high', 'low'.
+        'core',
+        $data
+      );
+
+    }
+    else {
+
+      // Create "Path Error Information" metabox.
+      add_meta_box(
+        'civicrm_error_path',
+        __('Path Error Information', 'civicrm'),
+        // Callback.
+        [$this, 'meta_box_error_path_render'],
+        // Screen ID.
+        $screen_id,
+        // Column: options are 'normal' and 'side'.
+        'normal',
+        // Vertical placement: options are 'core', 'high', 'low'.
+        'core',
+        $data
+      );
+
+    }
+
+    // Create "General Information" metabox.
+    add_meta_box(
+      'civicrm_error_help',
+      __('General Information', 'civicrm'),
+      // Callback.
+      [$this, 'meta_box_error_help_render'],
+      // Screen ID.
+      $screen_id,
+      // Column: options are 'normal' and 'side'.
+      'normal',
+      // Vertical placement: options are 'core', 'high', 'low'.
+      'core',
+      $data
+    );
+
+  }
+
+  // ---------------------------------------------------------------------------
+  // Meta Box Renderers
+  // ---------------------------------------------------------------------------
+
+  /**
+   * Render "General Information" meta box.
+   *
+   * @since 5.40
+   *
+   * @param mixed $unused Unused param.
+   * @param array $metabox Array containing id, title, callback, and args elements.
+   */
+  public function meta_box_error_help_render($unused = NULL, $metabox) {
+
+    // Include template file.
+    include CIVICRM_PLUGIN_DIR . 'assets/templates/metaboxes/metabox.error.help.php';
+
+  }
+
+  /**
+   * Render "PHP Error Information" meta box.
+   *
+   * @since 5.40
+   *
+   * @param mixed $unused Unused param.
+   * @param array $metabox Array containing id, title, callback, and args elements.
+   */
+  public function meta_box_error_php_render($unused = NULL, $metabox) {
+
+    global $civicrm_root;
+
+    // Include template file.
+    include CIVICRM_PLUGIN_DIR . 'assets/templates/metaboxes/metabox.error.php.php';
+
+  }
+
+  /**
+   * Render "Path Error Information" meta box.
+   *
+   * @since 5.40
+   *
+   * @param mixed $unused Unused param.
+   * @param array $metabox Array containing id, title, callback, and args elements.
+   */
+  public function meta_box_error_path_render($unused = NULL, $metabox) {
+
+    global $civicrm_root;
+
+    // Include template file.
+    include CIVICRM_PLUGIN_DIR . 'assets/templates/metaboxes/metabox.error.path.php';
+
+  }
+
+}
diff --git a/includes/admin-pages/civicrm.page.integration.php b/includes/admin-pages/civicrm.page.integration.php
index 67b09734af7a9e478da410d7df60e20841d5e4fa..683830dbb5309114f40801737ac13c86c4297345 100644
--- a/includes/admin-pages/civicrm.page.integration.php
+++ b/includes/admin-pages/civicrm.page.integration.php
@@ -120,7 +120,7 @@ class CiviCRM_For_WordPress_Admin_Page_Integration {
   public function add_menu_items() {
 
     // Bail if not fully installed.
-    if (!CIVICRM_INSTALLED) {
+    if (!$this->civi->initialize()) {
       return;
     }
 
diff --git a/includes/admin-pages/civicrm.page.options.php b/includes/admin-pages/civicrm.page.options.php
index d22a590f2100261d5f50f4cba02de67ee4c4aa34..b094ed0ed4cea0bd5321977632aae82908d4b7cf 100644
--- a/includes/admin-pages/civicrm.page.options.php
+++ b/includes/admin-pages/civicrm.page.options.php
@@ -121,6 +121,10 @@ class CiviCRM_For_WordPress_Admin_Page_Options {
    */
   public function add_menu_items() {
 
+    if (!$this->civi->initialize()) {
+      return;
+    }
+
     // Get access capability.
     $capability = $this->access_capability();
 
diff --git a/includes/civicrm.admin.php b/includes/civicrm.admin.php
index 121328809bf7e06ca6605c13eb47bd1874123900..bb28e1955fd9cbafc67bb494b8300a80f52dba22 100644
--- a/includes/civicrm.admin.php
+++ b/includes/civicrm.admin.php
@@ -52,6 +52,22 @@ class CiviCRM_For_WordPress_Admin {
    */
   public $page_integration;
 
+  /**
+   * @var object
+   * Error Information page object.
+   * @since 5.40
+   * @access public
+   */
+  public $page_error;
+
+  /**
+   * @var string
+   * Error handling flag to determine whether to show a troubleshooting page.
+   * @since 5.40
+   * @access public
+   */
+  public $error_flag = '';
+
   /**
    * @var object
    * Quick Add meta box object.
@@ -115,33 +131,32 @@ class CiviCRM_For_WordPress_Admin {
    */
   public function register_hooks() {
 
-    // If settings file does not exist, show notice with link to installer.
-    if (!CIVICRM_INSTALLED) {
-      if (isset($_GET['page']) && $_GET['page'] == 'civicrm-install') {
-        // Set install type.
-        $_GET['civicrm_install_type'] = 'wordpress';
-      }
-      else {
-        // Show notice.
-        add_action('admin_notices', [$this, 'show_setup_warning']);
-      }
-    }
-
-    // Listen for changes to the basepage setting.
-    add_action('civicrm_postSave_civicrm_setting', [$this, 'settings_change'], 10);
-
     // Prevent auto-updates.
     add_filter('plugin_auto_update_setting_html', [$this, 'auto_update_prevent'], 10, 3);
 
-    // Set page title.
-    add_filter('admin_title', [$this, 'set_admin_title']);
-
     // Modify the admin menu.
     add_action('admin_menu', [$this, 'add_menu_items'], 9);
 
     // Add CiviCRM's resources in the admin header.
     add_action('admin_head', [$this->civi, 'wp_head'], 50);
 
+    // If settings file does not exist.
+    if (!CIVICRM_INSTALLED) {
+
+      // Maybe show notice with link to installer.
+      add_action('admin_notices', [$this, 'show_setup_warning']);
+
+    }
+    else {
+
+      // Listen for changes to the basepage setting.
+      add_action('civicrm_postSave_civicrm_setting', [$this, 'settings_change'], 10);
+
+      // Set page title.
+      add_filter('admin_title', [$this, 'set_admin_title']);
+
+    }
+
     /**
      * Broadcast that this object has registered its callbacks.
      *
@@ -156,20 +171,42 @@ class CiviCRM_For_WordPress_Admin {
   // ---------------------------------------------------------------------------
 
   /**
-   * Callback method for missing settings file in register_hooks().
+   * Show an admin notice on pages other than the CiviCRM Installer.
    *
    * @since 4.4
    * @since 5.33 Moved to this class.
    */
   public function show_setup_warning() {
 
-    echo '<div id="civicrm-warning" class="updated fade">';
-    echo '<p><strong>' . __('CiviCRM is almost ready.', 'civicrm') . '</strong> ';
-    echo sprintf(
-      __('You must <a href="%s">configure CiviCRM</a> for it to work.', 'civicrm'),
-      admin_url('options-general.php?page=civicrm-install')
+    // Check user permissions.
+    if (!current_user_can('manage_options')) {
+      return;
+    }
+
+    // Get current screen.
+    $screen = get_current_screen();
+
+    // Bail if it's not what we expect.
+    if (!($screen instanceof WP_Screen)) {
+      return;
+    }
+
+    // Bail if we are on our installer page.
+    if ($screen->id == 'toplevel_page_civicrm-install') {
+      return;
+    }
+
+    $message = sprintf(
+      __('%1$sCiviCRM is almost ready.%2$s You must %3$sconfigure CiviCRM%4$s for it to work.', 'civicrm'),
+      '<strong>',
+      '</strong>',
+      '<a href="' . menu_page_url('civicrm-install', FALSE) . '">',
+      '</a>'
     );
-    echo '</p></div>';
+
+    echo '<div id="message" class="notice notice-warning">';
+    echo '<p>' . $message . '</p>';
+    echo '</div>';
 
   }
 
@@ -180,7 +217,8 @@ class CiviCRM_For_WordPress_Admin {
    */
   public function run_installer() {
 
-    $this->assert_php_support();
+    // Set install type.
+    $_GET['civicrm_install_type'] = 'wordpress';
 
     $civicrmCore = CIVICRM_PLUGIN_DIR . 'civicrm';
 
@@ -205,7 +243,7 @@ class CiviCRM_For_WordPress_Admin {
         ]);
         $ctrl = \Civi\Setup::instance()->createController()->getCtrl();
         $ctrl->setUrls([
-          'ctrl' => admin_url('options-general.php?page=civicrm-install'),
+          'ctrl' => menu_page_url('civicrm-install', FALSE),
           'res' => CIVICRM_PLUGIN_URL . 'civicrm/' . strtr($setupPath, DIRECTORY_SEPARATOR, '/') . '/res/',
           'jquery.js' => CIVICRM_PLUGIN_URL . 'civicrm/bower_components/jquery/dist/jquery.min.js',
           'font-awesome.css' => CIVICRM_PLUGIN_URL . 'civicrm/bower_components/font-awesome/css/font-awesome.min.css',
@@ -221,29 +259,74 @@ class CiviCRM_For_WordPress_Admin {
 
   }
 
+  // ---------------------------------------------------------------------------
+  // Pre-flight check
+  // ---------------------------------------------------------------------------
+
   /**
-   * Check that the PHP version is supported. If not, raise a fatal error with
-   * a pointed message.
+   * Show an admin notice when the PHP version isn't sufficient.
    *
-   * One should check this before bootstrapping CiviCRM - after we start the
-   * class-loader, the PHP-compatibility errors will become more ugly.
+   * @since 5.40
+   */
+  public function show_php_warning() {
+
+    // Check user permissions.
+    if (!current_user_can('manage_options')) {
+      return;
+    }
+
+    // Get current screen.
+    $screen = get_current_screen();
+
+    // Bail if it's not what we expect.
+    if (!($screen instanceof WP_Screen)) {
+      return;
+    }
+
+    // Bail if we are on our error page.
+    if ($screen->id == 'toplevel_page_CiviCRM') {
+      return;
+    }
+
+    $message = sprintf(
+      __('%1$sCiviCRM needs your attention.%2$s Please visit the %3$sInformation Page%4$s for details.', 'civicrm'),
+      '<strong>',
+      '</strong>',
+      '<a href="' . menu_page_url('CiviCRM', FALSE) . '">',
+      '</a>'
+    );
+
+    echo '<div id="message" class="notice notice-warning">';
+    echo '<p>' . $message . '</p>';
+    echo '</div>';
+
+  }
+
+  /**
+   * Check that the PHP version is supported.
+   *
+   * If not, show an admin notice and enable the Error Page instead of CiviCRM's
+   * admin UI. This way WordPress is still usable while the issue is sorted out.
+   *
+   * This check is not necessary for fresh installs because we now have the
+   * "Requires PHP:" plugin header. It is, however, necessary for upgrades - but
+   * shouldn't render WordPress unusable.
    *
    * @since 5.18
    * @since 5.33 Moved to this class.
+   *
+   * @return bool True if the PHP version is supported, false otherwise.
    */
   protected function assert_php_support() {
 
     if (version_compare(PHP_VERSION, CIVICRM_WP_PHP_MINIMUM) < 0) {
-      echo '<p>';
-      echo sprintf(
-        __('CiviCRM requires PHP version %1$s or greater. You are running PHP version %2$s', 'civicrm'),
-        CIVICRM_WP_PHP_MINIMUM,
-        PHP_VERSION
-      );
-      echo '<p>';
-      exit();
+      add_action('admin_notices', [$this, 'show_php_warning']);
+      $this->error_flag = 'php-version';
+      return FALSE;
     }
 
+    return TRUE;
+
   }
 
   // ---------------------------------------------------------------------------
@@ -259,126 +342,116 @@ class CiviCRM_For_WordPress_Admin {
    */
   public function initialize() {
 
-    static $initialized = FALSE;
-    static $failure = FALSE;
+    static $initialized = NULL;
 
-    if ($failure) {
-      return FALSE;
+    if (!is_null($initialized)) {
+      return $initialized;
     }
 
-    if (!$initialized) {
-
-      $this->assert_php_support();
-
-      // Check for settings.
-      if (!CIVICRM_INSTALLED) {
-        $error = FALSE;
-      }
-      elseif (file_exists(CIVICRM_SETTINGS_PATH)) {
-        $error = include_once CIVICRM_SETTINGS_PATH;
-      }
+    /*
+     * CiviCRM must not be initialized if it's not installed. It's okay to
+     * return early because the admin notice will be displayed if, for some
+     * reason, the initial redirect on install hasn't occured.
+     */
+    if (!CIVICRM_INSTALLED) {
+      $this->error_flag = 'settings-missing';
+      $initialized = FALSE;
+      return FALSE;
+    }
 
-      // Autoload.
-      require_once CIVICRM_PLUGIN_DIR . 'civicrm/CRM/Core/ClassLoader.php';
-      CRM_Core_ClassLoader::singleton()->register();
-
-      // Get ready for problems.
-      $installLink    = admin_url('options-general.php?page=civicrm-install');
-      $docLinkInstall = "https://docs.civicrm.org/installation/en/latest/wordpress/";
-      $docLinkTrouble = "https://docs.civicrm.org/sysadmin/en/latest/troubleshooting/";
-      $forumLink      = "https://civicrm.stackexchange.com/";
-
-      // Construct message.
-      $errorMsgAdd = sprintf(
-        __('Please review the <a href="%s">WordPress Installation Guide</a> and the <a href="%s">Trouble-shooting page</a> for assistance. If you still need help installing, you can often find solutions to your issue by searching for the error message in the <a href="%s">installation support section of the community forum</a>.', 'civicrm'),
-        $docLinkInstall,
-        $docLinkTrouble,
-        $forumLink
-      );
+    // Check PHP version in case of upgrade.
+    if (!$this->assert_php_support()) {
+      $initialized = FALSE;
+      return FALSE;
+    }
 
-      // Does install message get used?
-      $installMessage = sprintf(
-        __('Click <a href="%s">here</a> for fresh install.', 'civicrm'),
-        $installLink
-      );
+    /*
+     * Checks from this point on are for cases where the install has become
+     * corrupted in some way. We are trying to fail as gracefully as we can.
+     * Since CIVICRM_INSTALLED is set based on the presence of the settings
+     * file, we now know it is there.
+     */
 
-      if ($error == FALSE) {
-        wp_redirect(admin_url('options-general.php?page=civicrm-install'));
-        exit;
-      }
+    // Include settings file - returns int(1) on success.
+    $error = include_once CIVICRM_SETTINGS_PATH;
 
-      // Access global defined in civicrm.settings.php.
-      global $civicrm_root;
+    /*
+     * Bail if the settings file returns something other than int(1).
+     * When this happens, we should show an admin page with troubleshooting
+     * instructions rather than dying and leaving WordPress unusable.
+     *
+     * Requires a page similar to "civicrm.page.options.php", which we can
+     * show instead of "invoking" CiviCRM itself. In order to do that, this
+     * method *must* have been called before "add_menu_items()" so that an
+     * alternative "add_menu_page()" call can be made. Usefully, this already
+     * happens because "register_hooks_clean_urls()" is called first.
+     *
+     * However, it looks like there may be little that can be done to mitigate
+     * path errors - e.g. when $civicrm_root is not set correctly - because
+     * including "civicrm.settings.php" will throw a fatal error if $civicrm_root
+     * is wrong.
+     */
+    if ($error == FALSE) {
+      $this->error_flag = 'settings-include';
+      $initialized = FALSE;
+      return;
+    }
 
-      // This does pretty much all of the CiviCRM initialization.
-      if (!file_exists($civicrm_root . 'CRM/Core/Config.php')) {
-        $error = FALSE;
-      }
-      else {
-        $error = include_once 'CRM/Core/Config.php';
-      }
+    // Initialize the Class Loader.
+    require_once CIVICRM_PLUGIN_DIR . 'civicrm/CRM/Core/ClassLoader.php';
+    CRM_Core_ClassLoader::singleton()->register();
 
-      // Have we got it?
-      if ($error == FALSE) {
-
-        // Set static flag.
-        $failure = TRUE;
-
-        // FIX ME - why?
-        wp_die(
-          "<strong><p class='error'>" .
-          sprintf(
-            __('Oops! - The path for including CiviCRM code files is not set properly. Most likely there is an error in the <em>civicrm_root</em> setting in your CiviCRM settings file (%s).', 'civicrm'),
-            CIVICRM_SETTINGS_PATH
-          ) .
-          "</p><p class='error'> &raquo; " .
-          sprintf(
-            __('civicrm_root is currently set to: <em>%s</em>.', 'civicrm'),
-            $civicrm_root
-          ) .
-          "</p><p class='error'>" . $errorMsgAdd . "</p></strong>"
-        );
+    // Access global defined in "civicrm.settings.php".
+    global $civicrm_root;
 
-        // Won't reach here!
-        return FALSE;
+    // Bail if the config file isn't found.
+    if (!file_exists($civicrm_root . 'CRM/Core/Config.php')) {
+      $this->error_flag = 'config-missing';
+      $initialized = FALSE;
+      return;
+    }
 
-      }
+    // Include config file - returns int(1) on success.
+    $error = include_once 'CRM/Core/Config.php';
 
-      // Set static flag.
-      $initialized = TRUE;
-
-      // Initialize the system by creating a config object.
-      $config = CRM_Core_Config::singleton();
-
-      // Sync the logged-in WordPress user with CiviCRM.
-      global $current_user;
-      if ($current_user) {
-
-        // Sync procedure sets session values for logged in users.
-        require_once 'CRM/Core/BAO/UFMatch.php';
-        CRM_Core_BAO_UFMatch::synchronize(
-          // User object.
-          $current_user,
-          // Do not update.
-          FALSE,
-          // CMS.
-          'WordPress',
-          $this->civi->users->get_civicrm_contact_type('Individual')
-        );
+    // Bail if the config file returns something other than int(1).
+    if ($error == FALSE) {
+      $this->error_flag = 'config-include';
+      $initialized = FALSE;
+      return FALSE;
+    }
 
-      }
+    // Initialize the system by creating a config object.
+    $config = CRM_Core_Config::singleton();
 
-      /**
-       * Broadcast that CiviCRM is now initialized.
-       *
-       * @since 4.4
-       */
-      do_action('civicrm_initialized');
+    // Sync the logged-in WordPress user with CiviCRM.
+    global $current_user;
+    if ($current_user) {
+
+      // Sync procedure sets session values for logged in users.
+      require_once 'CRM/Core/BAO/UFMatch.php';
+      CRM_Core_BAO_UFMatch::synchronize(
+        // User object.
+        $current_user,
+        // Do not update.
+        FALSE,
+        // CMS.
+        'WordPress',
+        $this->civi->users->get_civicrm_contact_type('Individual')
+      );
 
     }
 
-    // Success!
-    return TRUE;
+    /**
+     * Broadcast that CiviCRM is now initialized.
+     *
+     * @since 4.4
+     */
+    do_action('civicrm_initialized');
+
+    // Success! Set and return static flag.
+    $initialized = TRUE;
+    return $initialized;
 
   }
 
@@ -526,10 +599,13 @@ class CiviCRM_For_WordPress_Admin {
      */
     $position = apply_filters('civicrm_menu_item_position', '3.904981');
 
-    // Check for settings file.
-    if (CIVICRM_INSTALLED) {
+    // Try and initialize CiviCRM.
+    $success = $this->initialize();
 
-      // Add top level menu item.
+    // If all went well.
+    if ($success) {
+
+      // Add the CiviCRM top level menu item.
       $this->menu_page = add_menu_page(
         __('CiviCRM', 'civicrm'),
         __('CiviCRM', 'civicrm'),
@@ -546,28 +622,109 @@ class CiviCRM_For_WordPress_Admin {
     }
     else {
 
-      // Add top level menu item.
-      $this->menu_page = add_menu_page(
-        __('CiviCRM Installer', 'civicrm'),
-        __('CiviCRM Installer', 'civicrm'),
-        'manage_options',
-        'civicrm-install',
-        [$this, 'run_installer'],
-        $civilogo,
-        $position
-      );
-
       /*
-      // Add scripts and styles like this.
-      add_action('admin_print_scripts-' . $this->menu_page, [$this, 'admin_installer_js']);
-      add_action('admin_print_styles-' . $this->menu_page, [$this, 'admin_installer_css']);
-      add_action('admin_head-' . $this->menu_page, [$this, 'admin_installer_head'], 50);
+       * Are we here because this is a fresh install or because something is broken?
+       *
+       * Let's inspect the "error_flag" property for help with the decision. Where
+       * the settings file is missing, there's not a lot we can do, so assume it's
+       * a fresh install.
+       *
+       * However, we may be able to detect signs of installs where CiviCRM has been
+       * installed but "civicrm.settings.php" can't be found.
+       *
+       * @see self::detect_existing_install()
        */
+      if ($this->error_flag === 'settings-missing') {
+
+        // Add top level menu item.
+        $this->menu_page = add_menu_page(
+          __('CiviCRM Installer', 'civicrm'),
+          __('CiviCRM Installer', 'civicrm'),
+          'manage_options',
+          'civicrm-install',
+          [$this, 'run_installer'],
+          $civilogo,
+          $position
+        );
+
+        /*
+        // Add scripts and styles like this.
+        add_action('admin_print_scripts-' . $this->menu_page, [$this, 'admin_installer_js']);
+        add_action('admin_print_styles-' . $this->menu_page, [$this, 'admin_installer_css']);
+        add_action('admin_head-' . $this->menu_page, [$this, 'admin_installer_head'], 50);
+         */
+
+      }
+      else {
+
+        // Hand over to our Error Page to provide feedback.
+        $this->page_error_init($civilogo, $position);
+
+      }
 
     }
 
   }
 
+  /**
+   * Try and detect signs of the existence of CiviCRM.
+   *
+   * It's possible that CiviCRM has been installed but that something is broken
+   * with the current install. This method looks for tell-tale signs.
+   *
+   * This is not used as yet, but is included as-is to be completed later.
+   *
+   * @since 5.40
+   *
+   * @return bool $existing_install True if there are signs of an existing install.
+   */
+  public function detect_existing_install() {
+
+    // Assume there's no evidence.
+    $existing_install = FALSE;
+
+    // This option is created on activation.
+    $existing_option = FALSE;
+    if ('fjwlws' != get_option('civicrm_activation_in_progress', 'fjwlws')) {
+      $existing_option = TRUE;
+    }
+
+    // Look for a directory in the standard location.
+    $existing_uploads_dir = FALSE;
+    $upload_dir = wp_upload_dir();
+    if (is_dir($upload_dir['basedir'] . DIRECTORY_SEPARATOR . 'civicrm')) {
+      $existing_uploads_dir = TRUE;
+    }
+
+    // Look for a file in the legacy location.
+    $existing_legacy_file = FALSE;
+    if (file_exists(CIVICRM_PLUGIN_DIR . 'civicrm.settings.php')) {
+      $existing_legacy_file = TRUE;
+    }
+
+    return $existing_install;
+
+  }
+
+  /**
+   * Show Error Information page.
+   *
+   * In situations where something has gone wrong with the CiviCRM installation,
+   * show a page which will help people troubleshoot the problem.
+   *
+   * @since 5.40
+   *
+   * @param str $logo The CiviCRM logo.
+   * @param str $position The default menu position expressed as a float.
+   */
+  public function page_error_init($logo, $position) {
+
+    // Include and init Error Page.
+    include_once CIVICRM_PLUGIN_DIR . 'includes/admin-pages/civicrm.page.error.php';
+    $this->page_error = new CiviCRM_For_WordPress_Admin_Page_Error($logo, $position);
+
+  }
+
   /**
    * Perform necessary stuff prior to CiviCRM's admin page being loaded.
    *