From 83d6000d9b2d0018af488fb6d175760742454f52 Mon Sep 17 00:00:00 2001 From: Nicolas Ganivet Date: Thu, 18 Aug 2016 12:21:14 -0600 Subject: [PATCH] Squashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit 38f546cd535baea2eafb64263a5896e35f6ff546 Author: sunil Date: Fri Aug 5 22:35:34 2016 +0530 Temparory fix for dbg webform soft contribution commit 5fbdaad9df5a04b8224077caaa7024c019d055da Author: Nicolas Ganivet Date: Wed Aug 3 23:06:18 2016 -0600 CRM-14720: add length clause commit 7df0c30e37a163bf59d22c3bc5b4397f57faaa95 Author: Nicolas Ganivet Date: Wed Aug 3 13:48:23 2016 -0600 CRM-14720: do not use round() on postal codes as there are non numeric in the database. commit 9c205e47acbfa381546635ffd822f2dce4a7ea3b Author: sunil Date: Thu Jul 28 12:33:10 2016 +0530 Removed current employer from event selector commit a428566a99fea51795f53b49631614f17a9bb2b0 Author: sunil Date: Thu Jul 28 00:47:27 2016 +0530 Fixed issue with Paypal standard ipn commit 064c531c9ee0180aae506ea56fe5692948aeb41c Author: sunil Date: Mon Jul 25 19:27:34 2016 +0530 CRM-19102 backported changes to 4.6 commit d43d609bb15f9b9828956bed0dd2c341a7e9b750 Author: sunil Date: Tue Jul 19 17:49:57 2016 +0530 fixed issue with 0 membership payment amount while renewing membership offline commit 1bb4e21b54c26a1c6de9d57ad6cab71873b6799a Author: sunil Date: Thu Jun 23 16:17:15 2016 +0530 Contact registered as test can not registered for live in backend commit 89046f529b432cea55ce88fc8a709c988a1c0844 Author: sunil Date: Thu Jun 23 14:57:00 2016 +0530 CRM-18997 DB error, incorrect truncating multibyte string commit 1363f28f96cd4afc922ebfe95675beb3f908da40 Author: Nicolas Ganivet Date: Tue Jun 21 21:43:56 2016 -0600 Cleaner with variable initialized. commit f14ea1ce2d56043d3101dab06cf38452d8fecfda Author: Nicolas Ganivet Date: Tue Jun 21 09:50:44 2016 -0600 Fix issue with email sent message displayed when checkbox has not been clicked in back-end membership edit screen. commit 50e298e9d19f70a5fef4f0b383ff5aa46095b1a9 Author: sunil Date: Tue Jun 14 19:52:35 2016 +0530 Fixed issue with contact alias when smary group created using relationship is used in search alongwith relationship search commit e087b10d0eb886bbda10426784d886999a156683 Merge: 35da65e 2028a85 Author: sunil Date: Mon Jun 13 20:28:59 2016 +0530 merged civicrm Tag 4.6.18 to standalone plus branch commit 2028a85b3e438e27bf608b231d3072cf916b9d29 Merge: c691b3f b4f9495 Author: Eileen McNaughton Date: Mon Jun 6 13:27:00 2016 -0600 Merge pull request #8517 from colemanw/noResults css/civicrmNavigation.css commit c691b3fb0033f6468498a3f497b7f91840b404cb Merge: c8884ee 45f3f3d Author: Eileen McNaughton Date: Mon Jun 6 13:14:17 2016 -0600 Merge pull request #8512 from systopia/CRM-17235-4.6.13 LTS patch for CRM-17235 commit b4f949575617fb2838184209cfae15ca95318df3 Author: Coleman Watts Date: Sun Jun 5 15:54:33 2016 -0600 CRM-18652 - Improve style of no-results item Conflicts: css/civicrmNavigation.css commit c8884ee7f0715e592425c1098e704043ed0ed982 Merge: bb2cefc 601c679 Author: Eileen McNaughton Date: Mon Jun 6 11:05:29 2016 -0600 Merge pull request #8515 from eileenmcnaughton/pdf Pdf commit 601c6793bc87f128660a8a0525d7b4a39837b8a0 Author: Tim Otten Date: Fri May 20 20:58:26 2016 -0700 CRM-16898 - Replace debug code in html5lib commit 6e428f7942fb4ced37a75016b5094a4620659f07 Author: Tim Otten Date: Fri May 20 20:49:51 2016 -0700 Revert "CRM-16898. Remove debugging in html5lib." This reverts commit 693cb3279584278ccbb3eaa1394999c7a69d7bf6. commit 35da65ed7aa26fb24d98d7f40c13b127e5fb3ba9 Author: sunil Date: Mon Jun 6 18:19:07 2016 +0530 Backported mailing label changed to 4.6, CRM-18501 commit 6dbddaaf833c1651c4058e6c52d32d5a905c1053 Author: sunil Date: Mon Jun 6 14:22:10 2016 +0530 report error for cron job commit bb2cefc65f5d4b87eca027fd064b4e620b944072 Merge: 36e47da 000a2da Author: colemanw Date: Sun Jun 5 20:57:40 2016 -0600 Merge pull request #8505 from rollox/patch-3 CRM-18743 - Undefined variable $order commit 000a2da283acfb170fe2d302addb020c3e6ce30e Author: rollox Date: Mon Jun 6 01:27:42 2016 +0100 CRM-18743 - Undefined variable $order Fix notice/error "Undefined variable: order in CRM_Contact_BAO_Query->prepareOrderBy()" on user/# screen if the viewed user page is linked to a contact record in Civi. Also submitted to master. commit 36e47dadd2e89498231e4d3cb4e2b8a47cd73e48 Merge: 0e9b1e4 5fc7fc6 Author: Eileen McNaughton Date: Sun Jun 5 17:18:45 2016 -0600 Merge pull request #8468 from eileenmcnaughton/groups46 CRM-18683 fix handling on UTC time in smart groups commit 0e9b1e489796ac67ae262b13029bb1ad937ad17b Merge: 809a133 555e789 Author: Eileen McNaughton Date: Sun Jun 5 14:54:50 2016 -0600 Merge pull request #8496 from seamuslee001/CRM-18652-46 CRM-18652 4.6 backport Show no results label in quick search commit 5fc7fc6f860ee4101cbce37089838d09d62475f2 Author: eileen Date: Sun Jun 5 13:46:30 2016 -0600 CRM-18683 follow up change to xml (also in master) This circumvents a bug in DAO code generation commit 809a133551368e962b470f9b2274183ccb37d901 Merge: 50e4ca9 585b682 Author: Eileen McNaughton Date: Sun Jun 5 12:53:31 2016 -0600 Merge pull request #8492 from seamuslee001/CRM-18708 CRM-18708: subtype custom field import issue commit 50e4ca9ee5fb854e8784e4ebe71b96abcec6449c Merge: 6c1321d d578a04 Author: Eileen McNaughton Date: Sun Jun 5 09:46:27 2016 -0600 Merge pull request #8070 from sunilpawar/CRM-18349-4.6 CRM 18349 commit 606dfab68ba109dfdde75659484603873d36bf4f Author: eileenmcnaugton Date: Mon May 23 10:02:31 2016 +1200 CRM-18683 4.6.17 ver of upgrade script commit 1443004d5c36b16e913d7728ef41e9325a4b0f6e Author: eileenmcnaugton Date: Mon May 16 11:18:27 2016 +1200 CRM-18142 fix use of uninidexed TIMESTAMPDIFF function This removes function comparisons in favour of direct comparisons on cache date functions Conflicts: CRM/Contact/BAO/GroupContactCache.php Civi/ActionSchedule/RecipientBuilder.php commit 99c22a45c66c88bea0e330f7e5f1ca1d3d2a74f1 Author: eileen Date: Sun May 8 09:18:10 2016 +1000 CRM-18516 Convert the date fields relating to group caching & acl caching timestamp Conflicts: CRM/Upgrade/Incremental/sql/4.7.8.mysql.tpl xml/schema/ACL/Cache.xml commit 555e789d98df45c551a98ab0247c8a5965eb45f8 Author: Seamus Lee Date: Sun Jun 5 17:48:20 2016 +1000 CRM-18652 fix bug found in testing commit c62e51e42a0aa125647a554d0b283f5e7c3af009 Author: Effy Elden Date: Mon May 23 10:32:17 2016 -0400 CRM-18652 - Localize label for no results ---------------------------------------- * CRM-18652: Quick search should provide feedback to user if no matches are found https://issues.civicrm.org/jira/browse/CRM-18652 commit e2e91b0e97b91bc40687921d9feb239e5184ade3 Author: Effy Elden Date: Sun May 22 01:19:32 2016 -0400 CRM-18652 - Show 'no matches' if quick search returns no results ---------------------------------------- * CRM-18652: Quick search should provide feedback to user if no matches are found https://issues.civicrm.org/jira/browse/CRM-18652 commit 6c1321df0c9be3b28e45711a1462220332856814 Merge: c625f52 8ecb371 Author: Eileen McNaughton Date: Sun Jun 5 02:24:01 2016 -0600 Merge pull request #8489 from GinkgoFJG/CRM-18753 CRM-18753: Missing class results in 500 error when extensions make API requests commit c625f52400c59128b24dc87f98737862a19f559c Merge: fd1297d 0787ca3 Author: Eileen McNaughton Date: Sun Jun 5 00:45:35 2016 -0600 Merge pull request #8234 from PalanteJon/CRM-18468-4.6 LTS: CRM-18468 - Recurring Contributions - don't use mid for subscrip… commit fd1297d70a7adbebeb07ef792c3f78718741f46a Merge: cf7e4a3 2cdf351 Author: Eileen McNaughton Date: Sun Jun 5 00:26:47 2016 -0600 Merge pull request #8073 from cividesk/CRM-18353-4.6 CRM-18353 skip url from IDS check commit 585b68211a12220387316a6f98e29f469a443a22 Author: root Date: Thu Jun 2 17:38:17 2016 +0530 CRM-18708: subtype custom field import issue commit 8ecb3713b94f3412e364dc951c0ea5b9f2b95916 Author: Frank J. Gómez Date: Sat Jun 4 23:51:06 2016 -0600 CRM-18753: Decremented version number to match the current version. commit ffa309c98916eaa165892937d76d029e87fdfb4f Author: Frank J. Gómez Date: Sat Jun 4 23:49:51 2016 -0600 CRM-18753: Add class left out of previous backporting efforts. commit cf7e4a3805f8d7eecc8afcd0b95765afd472f07c Merge: 9f8323a 908a088 Author: Eileen McNaughton Date: Sat Jun 4 23:22:33 2016 -0600 Merge pull request #8473 from cividesk/CRM-10230-4.6 CRM-10230 Custom fields text type with limited length not validated commit 9f8323ab4eb1b7bf04b56abc4b88799e417fd298 Merge: c2c51a3 b302769 Author: Eileen McNaughton Date: Sat Jun 4 22:56:38 2016 -0600 Merge pull request #7731 from andrew-cormick-dockery/CRM-17959-46 CRM-17959 - allow URL to be redirected if the queue ID is invalid but… commit a3dfefcc6b6836a602ad9f07f0a532aa26d250d6 Author: sunil Date: Fri Jun 3 10:33:58 2016 +0530 Merge Fix for custom search order by in contribution details report commit c2c51a386d13f3cf8028cd1dc2eaaa991ed62951 Author: CiviCRM Date: Wed Jun 1 21:28:15 2016 -0700 Update version to 4.6.18 commit a3e067500b2ec629a70c15a6d8c79e33ac1ac351 Merge: eb3fb79 e50c742 Author: Tim Otten Date: Wed Jun 1 20:16:14 2016 -0700 Merge pull request #8340 from jitendrapurohit/CRM-18239 CRM-18239 - 4.6 fix CiviCRM: view my contact permission results in us… commit 908a08814b50086a72a03f6910ea04e02a4964bb Author: sunil Date: Tue May 31 12:02:36 2016 +0530 CRM-10230 Custom fields text type with limited length not validated commit 33bab724f289c19a8f56cbc56524c1c7d4f8b252 Author: sunil Date: Tue May 31 11:39:05 2016 +0530 CRM-10230 Custom fields text type with limited length not validated commit eb3fb7962903732ca76352dbb58a50a9010cac19 Merge: a05198e 15af819 Author: colemanw Date: Fri May 27 18:19:18 2016 -0400 Merge pull request #8453 from agh1/CRM-17690-4.6 Needless civicrm_grant join causes problems commit a05198e127eb14c6d9582e343a21f769a2a144eb Merge: 7d97e6e f533b21 Author: Eileen McNaughton Date: Fri May 27 17:35:56 2016 +1200 Merge pull request #8462 from eileenmcnaughton/hack CRM-18684 fix fatal error by backporting 4.7 hack commit f533b210d762cf1a1ec419209a41c151863f9bf7 Author: eileenmcnaugton Date: Fri May 27 16:24:50 2016 +1200 CRM-18684 fix fatal error by backporting 4.7 hack commit 7d97e6ea09794930dd30af316c7bb80ab95daeed Author: joshgowans Date: Thu May 26 13:39:07 2016 -0600 Update success.tpl (#8459) * Update success.tpl Change in upgrade message text commit 15af819b7093504c682e7338fb7b37fc1948483a Author: jitendrapurohit Date: Fri Dec 11 14:14:42 2015 +0530 CRM-17690 - Grant fields being retrieved by default when completely irrelevant commit 09d160a9cf300360e73d26a45c8ad0b7af9060a3 Merge: c3a567f 3c97294 Author: Eileen McNaughton Date: Wed May 25 22:25:38 2016 +1200 Merge pull request #8326 from mollux/CRM-18510-4.6 CRM-18510 Backport 4.7 changes. commit c3a567f269bb25983797f037b8f90a91918dd327 Merge: 7c5404f 092bb89 Author: Eileen McNaughton Date: Wed May 25 22:12:16 2016 +1200 Merge pull request #8448 from seamuslee001/CRM-18474-46 CRM-18474 - Port fix for excluding dodgy characters from CiviMail Body text commit 3c972945880cb14189cc9e0b9db867e40ebd9dee Author: Mattias Michaux Date: Wed May 25 09:45:31 2016 +0200 backport of 4.7. commit 092bb89b6be4e9ab38678547f64f096f5ea8e144 Author: Seamus Lee Date: Wed May 25 05:58:27 2016 +0000 Port Fix for CRM-18474 to 4.6 commit 7c5404f24f1abef75c20bb041d9b16bb2ddf4b32 Merge: b59afcf e49aeef Author: Eileen McNaughton Date: Wed May 25 12:33:28 2016 +1200 Merge pull request #8444 from eileenmcnaughton/hook CRM-18672 CiviMail New Mailing won't load commit e49aeefeff5769aed983b3abbfea457d78a5ceb5 Author: eileen Date: Wed May 25 10:41:49 2016 +1200 CRM-18672 CiviMail New Mailing won't load commit b59afcfb7bddf5329d82b734dca9e2e91c9a72fb Merge: 0ca4e9d e8f5008 Author: Eileen McNaughton Date: Tue May 24 09:52:08 2016 +1200 Merge pull request #8345 from eileenmcnaughton/api API code sync 4.7 to 4.6 commit 0ca4e9d2112d25894fedc61bdb724637e8349c51 Merge: eb35ce5 2762ed0 Author: Eileen McNaughton Date: Mon May 23 17:44:39 2016 +1200 Merge pull request #8339 from yashodha/CRM-18521 CRM-18521 commit eb35ce5af9798e63f12aefea2313fe244625aa44 Merge: fc8b134 0704cce Author: Eileen McNaughton Date: Mon May 23 17:43:12 2016 +1200 Merge pull request #8429 from civicrm/revert-7626-4.6-case-rel Revert "CRM-17342 - Case Managed Entities - Don't recreate disabled relationship types" commit 0704ccefea24c0623cacb86be1b085126db0d402 Author: Eileen McNaughton Date: Mon May 23 16:41:43 2016 +1200 Revert "CRM-17342 - Case Managed Entities - Don't recreate disabled relationship types" commit fc8b134676429457e521f34eb5d6d0ac6972a261 Merge: c11e4aa 8540c52 Author: Eileen McNaughton Date: Mon May 23 16:40:14 2016 +1200 Merge pull request #8401 from eileenmcnaughton/testa Improve test error reporting & sync test with master commit c11e4aaf15956295d5317d17870f2eb89893b4a5 Merge: bb7fa5f 6efb52f Author: Eileen McNaughton Date: Mon May 23 13:43:05 2016 +1200 Merge pull request #8428 from eileenmcnaughton/4.6-minor 4.6 code synchronisation commit 8540c5260bf52216e3b66282ce0c5d9dd46f6fb0 Author: eileen Date: Wed May 11 17:01:53 2016 +1200 Improve test error reporting & sync test with master commit bb7fa5f93bdeb5b06a301e70f97e97a3bfe36f50 Merge: 49a8fd5 d470caf Author: Eileen McNaughton Date: Mon May 23 13:06:58 2016 +1200 Merge pull request #7824 from torrance/editable-button-fix Ensure editable buttons don't sit underneath other page elements. commit e8f50084dab14f4209d25445a4a288ab0cf9074e Author: eileen Date: Wed May 11 08:40:41 2016 +1200 API code sync 4.7 to 4.6 commit 49a8fd5155d030953991798633100e3ab196eedb Merge: 2d3b98e b1a9177 Author: Eileen McNaughton Date: Mon May 23 11:03:31 2016 +1200 Merge pull request #7626 from totten/4.6-case-rel CRM-17342 - Case Managed Entities - Don't recreate disabled relationship types commit 6efb52f730707454fe0b0ce8e9e6406e0c558a99 Author: eileenmcnaugton Date: Mon May 23 10:42:17 2016 +1200 Port back default on OptionGroup commit 859a7a950748cdfdfb613420dd5c8b93461cc37e Author: eileen Date: Tue May 17 13:05:23 2016 +1200 Add tests for Ensure OptionGroup exists fn & fix optionValueExists to accept ID The option_group_id field accepts name or id so use that. Conflicts: CRM/Core/BAO/OptionValue.php p commit 579d017d17048901017a7015087783732b5b0db3 Author: eileenmcnaugton Date: Mon May 16 10:05:53 2016 +1200 Comment fixes & formatting commit 3a4d998a5412637d05508442b7879326220199c5 Author: eileenmcnaugton Date: Mon May 16 15:51:05 2016 +1200 Preliminary tidy up on test class Conflicts: tests/phpunit/CRM/Contact/BAO/GroupContactCacheTest.php commit 2d3b98efe58a4fb9974c4c1096c6a222200f0f4e Merge: cafa0d8 a64ebe9 Author: Eileen McNaughton Date: Mon May 23 09:19:36 2016 +1200 Merge pull request #8398 from yashodha/4.6.CRM-18046 CRM-18046: Search link in AB Testing report erroneously requires view… commit cafa0d87b68cdd9fccf985e6ea5bd692a9fc6f12 Merge: 0345843 63febf2 Author: Eileen McNaughton Date: Sun May 22 13:00:56 2016 +1200 Merge pull request #8282 from galgeek/patch-3 Use mailing template subject in 4.6 commit 0345843260673974c5bd6bad98b128ec92d6c3f5 Merge: 3053712 a301ef9 Author: Eileen McNaughton Date: Sun May 22 13:00:32 2016 +1200 Merge pull request #8283 from galgeek/patch-4 handle more better date formats in 4.6 commit 3053712910059bf2d8891a11b82d646393bb062a Merge: c743e2e c4f091d Author: Eileen McNaughton Date: Sat May 21 21:54:22 2016 +1200 Merge pull request #8203 from agileware/4.6-crm-18356 CRM-18356: Fix incorrect logic Activity Report has when excluding NUL… commit c743e2ed5e59cecf10d9cd7cdca639e6b211e441 Merge: 9ec64fc 91cfc2a Author: Eileen McNaughton Date: Sat May 21 21:53:01 2016 +1200 Merge pull request #8247 from eileenmcnaughton/triggerport CRM-15078: make sure logging schema is updated on extension installation commit 9ec64fcc22762d2b11fb652f82102192a60f5e6a Merge: f5d5b14 81e99d5 Author: Eileen McNaughton Date: Sat May 21 18:45:50 2016 +1200 Merge pull request #8382 from eileenmcnaughton/report CRM-18519 Add 'standard' contact report fields to contribution detail… commit f5d5b140dc3529ccb4cbc700573ddcf2954e00a8 Merge: 8da55ff 1c5cd83 Author: Eileen McNaughton Date: Sat May 21 18:07:43 2016 +1200 Merge pull request #8333 from TobiasLounsbury/CRM-17888-4.6-freq-unit CRM-17888: Updated frequency_unit to type T_STRING commit 8da55ff434967a42c041137c524ecbdf003d2137 Merge: f64c6c7 c705b2f Author: Eileen McNaughton Date: Fri May 20 14:35:10 2016 +1200 Merge pull request #8412 from seamuslee001/CRM-18504 CRM-18504 Fix validation error when contact subtype is disabled commit c705b2f4c84351a375949ebaaf83ed2727904eef Author: Eileen Mcnaughton Date: Thu May 19 21:53:27 2016 +0000 Fix validation error when contact subtype is disabled commit f64c6c79d757dbca6ae5ab8d4d51b226d38d8ca9 Merge: 78087d5 b6e2f1b Author: colemanw Date: Thu May 19 15:58:21 2016 -0400 Merge pull request #8411 from mollux/CRM-18589-4.6 CRM-18589 Drastically reduce memory usage during tests. commit b6e2f1b35ea78579f8cb228564f970a1e72b0681 Author: Mattias Michaux Date: Thu May 19 17:26:52 2016 +0200 Drasticly reduce memory usage during tests. commit 78087d5c5788337bd250dea48e2606cc533bbd5e Merge: cda932b a146f84 Author: Eileen McNaughton Date: Thu May 19 21:29:16 2016 +1200 Merge pull request #8395 from monishdeb/CRM-18405 CRM-18405: Backport master fix commit cda932b7408fb699cf1f89218cd3fcc15a921719 Merge: a864626 ba9580e Author: Eileen McNaughton Date: Thu May 19 21:28:59 2016 +1200 Merge pull request #8403 from eileenmcnaughton/cust_tree CRM-18504: Fix error in validating sub type by entity commit a86462670d100e52aa5055c4d1fd212c5c7a3e79 Merge: 1811d4f 6dca8d6 Author: Eileen McNaughton Date: Thu May 19 13:22:37 2016 +1200 Merge pull request #8397 from seamuslee001/CRM-18559 CRM-18559 sync functions from master which seem to resolve this in th… commit ba9580e468031f3f6d1a72ed554d46dbeb9686fa Author: eileen Date: Thu May 19 09:31:39 2016 +1200 Port tests from master commit d00d2569965e1bb74ac7abfebc22d0ee8a6672ee Author: JKingsnorth Date: Wed May 18 03:31:16 2016 +1200 CRM-18504: Fix error in validating sub type by entity commit 1811d4fe727a603710341dd31dbb3c32188b2708 Merge: 2067d42 ecdc789 Author: Eileen McNaughton Date: Thu May 19 08:21:43 2016 +1200 Merge pull request #8393 from agileware/4.6-crm-18290 CRM-18290: Edits to activities are not saved in CiviCase commit 45f3f3d24394e718d15a12e48503fc7a1eb161c9 Author: systopia Date: Wed May 18 15:31:31 2016 +0200 proposed workaround for CRM-17235 commit a64ebe97631b592afce0cf98cbd7764c897fb948 Author: yashodha Date: Wed May 18 16:41:59 2016 +0530 CRM-18046: Search link in AB Testing report erroneously requires view all contacts permission ---------------------------------------- * CRM-18046: Search link in AB Testing report erroneously requires view all contacts permission https://issues.civicrm.org/jira/browse/CRM-18046 commit 6dca8d6fb0c536076588b3ba15ad2ee409bfbcf6 Author: Seamus Lee Date: Wed May 18 08:02:06 2016 +0000 CRM-18559 sync functions from master which seem to resolve this in the same but more elegant way commit a146f84aaf8cd9a870ff3bc9516a768a1194f874 Author: deb.monish Date: Wed May 18 12:48:03 2016 +0530 CRM-18405: Backport master fix commit ecdc78923bf172f6d6b1b1dda7d781ff094a3567 Author: yashodha Date: Fri Mar 25 14:16:45 2016 +0530 CRM-18290: Edits to activities are not saved in CiviCase ---------------------------------------- * CRM-18290: Edits to activities are not saved in CiviCase https://issues.civicrm.org/jira/browse/CRM-18290 commit 2067d429020b028965e7e9245b6030e7ba9fcb74 Merge: 3d70419 ae50399 Author: Eileen McNaughton Date: Wed May 18 08:14:16 2016 +1200 Merge pull request #8388 from davejenx/CRM-18567 CRM-18567 - stristr was called with arguments in wrong order, causing… commit 3d70419a433de7ec7c2266735a9ebc42d4c243ed Merge: b90b7d8 5445ce7 Author: Eileen McNaughton Date: Wed May 18 01:46:45 2016 +1200 Merge pull request #8373 from davejenx/CRM-18559 CRM-18559 - the value returned from validateSubTypeByEntity() does no… commit ae50399db9c3dc234247a48bb8145599a1db27d1 Author: Dave Jenkins Date: Tue May 17 14:30:52 2016 +0100 CRM-18567 - stristr was called with arguments in wrong order, causing not to be exploded correctly when comma-separated. commit c63f252786d6bfda9e2811744131bdb1e07f14fa Author: sunil Date: Tue May 17 13:35:33 2016 +0530 custom table missing in from clause commit 81e99d5144414b6ab174fed70909409af23f13ca Author: eileen Date: Mon May 9 14:34:47 2016 +1000 CRM-18519 Add 'standard' contact report fields to contribution detail report commit ecffdbc0156a0eaf80cfa143fff3c6046ac66f5f Author: sunil Date: Mon May 16 22:49:49 2016 +0530 set location block to parse street address commit 5445ce73a38013223b002268d33a6a401dc176d3 Author: Dave Jenkins Date: Mon May 16 17:53:32 2016 +0100 CRM-18559 - the value returned from validateSubTypeByEntity() does not include value separators, so they need to be added for the query. commit bb49c78dda00c1a64a82a448d4693f5c0eac6c92 Author: root Date: Mon May 16 10:36:50 2016 +0000 CRM-15967 - Fix profile state/province sort commit b90b7d807bf9b885f02ce54581bf99bba3edef34 Author: Chris Burgess Date: Thu Mar 17 20:41:40 2016 +1300 CRM-16898. Remove debugging in html5lib. commit e50c742af453f3edf3e13279c552fd5071bd677a Author: jitendrapurohit Date: Tue May 10 18:02:33 2016 +0530 CRM-18239 - 4.6 fix CiviCRM: view my contact permission results in user being able to edit themselves in CiviCRM commit 2762ed02ffd3166f4d5918c0b72e13935448e0ba Author: yashodha Date: Tue May 10 16:48:05 2016 +0530 CRM-18521: Search results table, 'Select all' checkbox gives 'mark_x_201 is not of the type Integer' ---------------------------------------- * CRM-18521: Search results table, "Select all" checkbox gives "mark_x_201 is not of the type Integer" https://issues.civicrm.org/jira/browse/CRM-18521 commit a37375d72492448711a243305babc8e45e3eb176 Author: yashodha Date: Tue May 10 16:27:41 2016 +0530 CRM-18521: Search results table, 'Select all' checkbox gives 'mark_x_201 is not of the type Integer' ---------------------------------------- * CRM-18521: Search results table, "Select all" checkbox gives "mark_x_201 is not of the type Integer" https://issues.civicrm.org/jira/browse/CRM-18521 commit 1c5cd83f1872d8bc9eaf39f9edd4272a3ef4fc7b Author: Tobias Lounsbury Date: Mon May 9 17:41:59 2016 -0700 CRM-17888: Updated frequency_unit to type T_STRING commit c54622dc1f6a09d7354098956da55712c92f02c7 Merge: e12ec0e 4eb10b5 Author: Mathieu Lutfy Date: Mon May 9 17:32:23 2016 -0400 Merge pull request #8327 from mlutfy/46-crm18518-1 CRM-18518: Trivial translation string fix. commit 4eb10b5719e48e2a4f1b277862f205efcda74a07 Author: Mathieu Lutfy Date: Mon May 9 12:39:03 2016 -0400 CRM-18518: Trivial translation string fix. commit e12ec0e07f77a4d49c31eff47d0836778adae14c Merge: 87ae7fa 4b386806 Author: Eileen McNaughton Date: Mon May 9 14:20:29 2016 +1000 Merge pull request #8297 from eileenmcnaughton/api Api 4.6 commit 87ae7fa4b4a72d004925211f75cae073a6db886a Merge: 44725d6 67541ea Author: colemanw Date: Sun May 8 21:53:47 2016 -0400 Merge pull request #8321 from mlutfy/46-crm18518 CRM-18518: ts() string fixes. commit 4b3868064b17afb785bf21f4fb33ef12aca79d16 Author: eileen Date: Mon May 9 08:23:46 2016 +1000 Further changes to sync with 4.7 The changes affect 2 function signatures but in minor ways and add 2 functions commit 62829d5e69d2147581cffe77ea1a95fc89b2b2cb Author: eileen Date: Mon May 9 08:13:40 2016 +1000 Towards syncing 4.6 api with 4.7, no changes, only new code commit 67541ea706692c2c5ae43e085ab011eaf00c8ae6 Author: Mathieu Lutfy Date: Sun May 8 17:49:06 2016 -0400 CRM-18518: ts() string fixes. commit 44725d60205e4183c5c357aa0fc5441046de3c66 Merge: 3d2a8cf 2c5b401 Author: Eileen McNaughton Date: Mon May 9 07:20:46 2016 +1000 Merge pull request #8262 from seamuslee001/CRM-17693-46-2 CRM-17693 backport to 4.6 increasing default export field sizes to 25… commit 3d2a8cf4d69a4d11fbd4391ff2f8e5fb2a7c7702 Merge: 0de909d 65f9161 Author: Eileen McNaughton Date: Sun May 8 22:25:38 2016 +1000 Merge pull request #8290 from mollux/types Add extra Mysql types and rules + tests similar to 4.7 commit 0de909df30f21cc8a440d8c1eddaf5e3476459b5 Author: CiviCRM Date: Wed May 4 14:05:25 2016 -0700 Update version to 4.6.17 commit dcf53fa10e07004becc5415823c78b78bb547f17 Merge: 234ac7a fe55f63 Author: Tim Otten Date: Wed May 4 11:17:57 2016 -0700 Merge pull request #8291 from totten/4.6-17952 (Backport) CRM-17952 - Escape HTML in body_text field on "Headers, Footers, and Automated Messages" commit fe55f63ef3ee1e86b5393c333d89b51938124ed8 Author: Mattias Michaux Date: Thu Mar 17 20:14:12 2016 +1300 CRM-17952. Escape HTML in body_text field on "Headers, Footers, and Automated Messages" commit 65f916166c212fe8cba9a09b677870550fb0f688 Author: Mattias Michaux Date: Tue May 3 23:01:08 2016 +0200 Whitespace fixes. commit 22c5ca5428da5640e393e03a807d0b524839f5bf Author: Mattias Michaux Date: Tue May 3 22:54:24 2016 +0200 Added validate check to CRM_Utils_Sort sort name. commit f82f7ac94a68732798ea87b7180bf3080481cd7e Author: Mattias Michaux Date: Tue May 3 22:53:59 2016 +0200 Added extra Mysql types and rules + tests similar to 4.7 commit a301ef9f7ba4d2ba6dba51e3e202e45cfe8e60a4 Author: Barbara Miller Date: Mon May 2 18:33:32 2016 -0700 handle more better date formats in 4.6 this is the same issue as https://issues.civicrm.org/jira/browse/CRM-13063 but in a different location, Contribution.php's _assignMesssageVariablesToTemplate already submitted and accepted for 4.7: https://github.com/civicrm/civicrm-core/commit/5bab7daf82c8005c92527fd8f3a76f0bb4f315a6 commit 63febf2c91a5be4ff7f4468299f5910ee0eb0ba4 Author: Barbara Miller Date: Mon May 2 18:25:07 2016 -0700 Use mailing template subject in 4.6 A fix for https://issues.civicrm.org/jira/browse/CRM-17548 for 4.6. Already included in 4.7.6: https://github.com/civicrm/civicrm-core/commit/ab0f580c8b5407474c482ea20ca668563385e816 commit 234ac7a8a383b7450b0188da6cc99d6056b54354 Merge: 5b7809a 35d8514 Author: Eileen McNaughton Date: Tue May 3 00:18:30 2016 +1200 Merge pull request #8275 from mollux/CRM-17983-4.6 CRM-17983 4.6 commit 35d85145232bf9cc102f1cf1fd092ca3b1fdcdc9 Author: Mattias Michaux Date: Mon May 2 10:46:11 2016 +0200 Typo fix. commit d55e491e1f49358948a906f008294fe875f994e4 Author: Mattias Michaux Date: Mon May 2 10:39:13 2016 +0200 Cleanup to have same behaviour as 4.7. commit 24deeb3567a4f03d04126d486e64b39c917e083b Author: Mattias Michaux Date: Mon May 2 10:37:08 2016 +0200 Fixed 2 other issues. commit dc72bb357cfe6ac03d98bafd1551ca7a36f258af Author: Mattias Michaux Date: Fri Apr 29 00:31:41 2016 +0200 Bare minimum patch for 4.6 commit 5b7809ae04ba3649d2cbb67a43f4883666bcee67 Merge: f8ca48a 6c242dc Author: Eileen McNaughton Date: Fri Apr 29 14:08:24 2016 +1200 Merge pull request #8263 from seamuslee001/CRM-17983-46-titlefix CRM-17983 Fix error in data type as found by Dave commit 6c242dc5b325694de5bff2f219f82884e064fbbe Author: Seamus Lee Date: Thu Apr 28 22:02:01 2016 +0000 CRM-17983 Fix error in data type as found by Dave commit 2c5b4015b3348a3eab8bf23728db92730fafc62d Author: Seamus Lee Date: Wed Apr 27 23:19:06 2016 +0000 CRM-17693 backport to 4.6 increasing default export field sizes to 255 for varchar columns commit f8ca48a71a7d01d586d15d1b8fdc483afab25ad7 Merge: 50c8776 cec5b0b Author: Eileen McNaughton Date: Thu Apr 28 11:15:33 2016 +1200 Merge pull request #8252 from eileenmcnaughton/regression CRM-18469, CRM-17984 - getTree regression on multiple integers separa… commit cec5b0b986a77bea695214cb564be1ceee1fed37 Author: Tim Otten Date: Wed Apr 27 11:52:47 2016 -0700 CRM-17984 - CustomGroupTest - Fix style errors There were problems in this line: * The missing comma (required by Drupal style) * The use of literal CtrlA causes phpcs to produce invalid output commit f617ec77695255855915340e80c8a655dfac6236 Author: sunil Date: Wed Apr 27 20:42:32 2016 +0530 override civicrm extension cache dir path commit 2bb43fd37224c69374bd75058f1869d697a8cd74 Author: eileenmcnaugton Date: Wed Apr 27 20:13:41 2016 +1200 Further custom tree regression fix, where the label does not match the name the name is the key to use commit f5293e7cc559ba89feb4bbd41672dba277e30e0a Author: eileenmcnaugton Date: Wed Apr 27 19:37:02 2016 +1200 CRM-18469, CRM-17984 - getTree regression on multiple integers separated by the cnrtl char commit 50c877601d0c0d879df3bc9a5d6218c23ec24cf1 Merge: c5eeace 60246a5 Author: Eileen McNaughton Date: Wed Apr 27 17:25:54 2016 +1200 Merge pull request #8248 from eileenmcnaughton/pass_by_ref Pass by ref - fix for strict warning regression picked up on the RC commit 60246a55e57501dbc7e87f27172f984e3982b488 Author: eileen Date: Wed Apr 27 10:51:31 2016 +1200 Further pass-by-ref fixes following on from customGroup signature change Change-Id: I4398472485f27165b197f00bf36d518509681242 commit 4c11c4b960d19dfeb2e9e95dda1670793e33de60 Author: Tim Otten Date: Tue Apr 26 12:24:21 2016 -0700 CRM-18469, CRM-17984 - getTree - No more pass by reference Change-Id: Ia2eb6d2bf64055dc546d2b73ec3ce310846a40f5 commit 91cfc2a6cdde9574e6c9590c8eec26e37ffa3634 Author: David Knoll Date: Sun Oct 11 12:18:35 2015 +0100 CRM-15078: make sure logging schema is updated on extension installation commit 0787ca3c49736015e6c3474ddee3e2ae5ceb63de Author: Jon goldberg Date: Mon Apr 25 18:40:12 2016 -0400 LTS: CRM-18468 - Recurring Contributions - don't use mid for subscription details if you can use crid commit c5eeace42080193303278b4ce6a7fc6c8fe92007 Merge: db6b28e 8454b52 Author: Eileen McNaughton Date: Mon Apr 25 08:20:29 2016 +1200 Merge pull request #8221 from eileenmcnaughton/s Ports from master commit 8454b521ff124e8ea1b3dec65943a12971cf614d Author: eileenmcnaugton Date: Wed Apr 20 22:10:38 2016 +1200 CRM-17983 fix for contactRelationships query commit 39c8d3feac803a3a0e0cb00d2f5f14e3544a3040 Author: eileenmcnaugton Date: Sun Apr 24 15:17:27 2016 +1200 CRM-17983, CRM-18401. Input validation commit f79e4e87d106b8fc8607944df904ad93d91b5915 Author: Eileen Date: Fri Apr 22 09:24:48 2016 +0000 Fix Strict warning discovered in testing commit 4655809e457eb1df9c8d49868932365deff848dc Author: Eileen Date: Fri Apr 22 09:01:41 2016 +0000 CRM-5507 CRM-17984 fix regression when subType var is not leaking commit d17193abafafbe9775069c32b5f494248dcdc3c9 Author: Eileen Date: Fri Apr 22 06:24:31 2016 +0000 Fix the RC regrsision commit 347064f7dc0a2cf0a2d6315ddb4a59b6e722f494 Author: Eileen Date: Fri Apr 22 06:10:44 2016 +0000 CRM-17984 test to demonstrate breakage Conflicts: CRM/Core/BAO/CustomGroup.php commit 34b1144ca679007e9e1842228a8b04fd74e748df Author: Tim Otten Date: Fri Apr 22 20:55:38 2016 -0700 CRM-17983, CRM-18401 - Swap loose/strict escaping The old names suggested that loose checking (`MysqlColumnName`) should be the norm, and strict checking (`MysqlColumnNameStrict`) the exception. Rather, strict should be the norm. This also has a functional affect switching the new `defaultSortAndPagerParams()` to use strict behavior. commit 3ba1dc9343814da27c23ab8de6eb3e5cbd64c3d7 Author: Chris Burgess Date: Fri Apr 22 17:48:37 2016 +1200 CRM-17983, CRM-18401. Input validation. commit 474e211d5ae36b8fdff35dfccac9741f40e7e1f4 Author: Mattias Michaux Date: Thu Apr 21 00:44:27 2016 +0200 Minimal check to validate relationship params. Conflicts: CRM/Contact/Page/AJAX.php commit db6b28e0c9d3e02650748c87d2e87f2360feee23 Merge: 8568e1e 2d5cef9 Author: Eileen McNaughton Date: Sat Apr 23 14:46:12 2016 +1200 Merge pull request #8212 from KarinG/CRM-18463-4.6 CRM-18463-4.6 - Not in between filter - not working properly. commit 2d5cef9bb084fb28397edf6604438ed7b1a1e0ec Author: KarinG Date: Fri Apr 22 10:50:57 2016 -0600 CRM-18463-4.6 - Not in between filter - not working properly. commit 8568e1ea798e2dcad49bfa120995a00a9a6805f0 Merge: a2976d5 d70600e Author: Eileen McNaughton Date: Fri Apr 22 20:30:54 2016 +1200 Merge pull request #8183 from eileenmcnaughton/sub_type CRM-17984. Ensure input for subtype is valid; if not then do not use … commit c4f091dedfae56f274985090d744d468f91b35e2 Author: Francis Whittle Date: Fri Apr 22 15:29:16 2016 +1000 CRM-18356: Fix incorrect logic Activity Report has when excluding NULL / NOT NULL filters in 'where' method. ---------------------------------------- * CRM-18356: Activity Reports show null Target Name fields incorrectly for some Activities https://issues.civicrm.org/jira/browse/CRM-18356 commit d70600e480e606cee0e9bed809456356e760456e Author: Chris Burgess Date: Mon Apr 11 21:07:02 2016 +1200 CRM-17984. Ensure input for subtype is valid; if not then do not use it to filter custom fields. commit bca5a70fa18def65ee8c48b7770a532faaa707a5 Author: sunil Date: Tue Apr 19 17:27:36 2016 +0530 PCP : hide login link for anonymous user on standalone plus instance commit a2976d503780f7e53cf24b624bd8faadfaf8511a Author: Eileen McNaughton Date: Tue Apr 19 11:37:53 2016 +1200 Enotice fix for test env (#8156) commit 3f7df5902facad68489e225b504a887c2b45eb91 Author: Andrew Perry Date: Sat Apr 16 12:04:05 2016 +1000 CRM-17846 - Fixing lock name to be less than 64 characters for MySQL 5.7 compatibility (#7984) * CRM-17846 - Fixing lock name to be less than 64 characters for MySQL 5.7 compatibility - 4.6LTS * Removing spaces to make Jenkins happy * Applying MySQL Lock fix contribution from Eileen * Fixing spacing to keep Jenkins happy * Use 4.6 version settings call commit ef518f6c5143599b0ee70db69e1e1d16100e7c20 Author: Jitendra Purohit Date: Thu Apr 14 14:30:19 2016 +0530 CRM-18364: Reply-To field depopulates when saving then continuing a draft mailing (#8137) commit f369c1ba5c7dfb6ddc87c0911c88d57cca4ee2b2 Author: Laryn - CEDC.org Date: Wed Apr 13 05:46:00 2016 -0500 CRM-17361 - Fix Address fields when used in Contact get api (#8093) * CRM-17361 -- Extend Contact getoptions to include Address fields * CRM-17361 -- Extend Contact getoptions to include Address fields * CRM-17361 -- Extend Contact getoptions to include Address fields * CRM-17361 -- Extend Contact getoptions to include Address fields * CRM-17361 -- Extend Contact getoptions to include Address fields commit ecb1700c60b2ecd312df5d61899e3d9771a52168 Author: sunil Date: Fri Apr 8 21:44:35 2016 +0530 check duplicate line item before insert: changed object name commit 133102149315e56df3625811d5ed4c22f4ffc351 Author: sunil Date: Fri Apr 8 21:41:33 2016 +0530 check duplicate line item before insert commit 450891f732f6428b4c2523ca89c341dc44109a05 Author: sunil Date: Fri Apr 8 10:51:49 2016 +0530 CRM-18362 get current local for navigation menu commit 4404f4366e3797378390ac800bf02327a21060c7 Author: CiviCRM Date: Wed Apr 6 06:52:43 2016 -0700 Update version to 4.6.16 commit 0a9b56c0015d2653c8754a9401d6ad958877bfc3 Merge: 1f049e4 e665f22 Author: Monish Deb Date: Wed Apr 6 17:59:11 2016 +0530 Merge pull request #8090 from pradpnayak/CRM-16617-4-6 --CRM-16617, code fixing for install, changed the parameters of function commit e665f22a6abbdab64b41b5be053224b6875341e2 Author: Pradeep Nayak Date: Wed Apr 6 02:27:36 2016 +0530 --CRM-16617, code fixing for install, changed the parameters of function Conflicts: CRM/Core/DAO.php commit 2cdf351ece027627e00edfdb585a2df0a0e53461 Author: sunil Date: Sun Apr 3 14:36:02 2016 +0530 skip url from IDS check commit d578a04e0efb5a196cb1b9227c95000afb03446c Author: sunil Date: Sat Apr 2 15:00:18 2016 +0530 check element contain display word, fix for CRM-18349 commit 7d7a429cf6bff11f79fccfa1864217d61c43dee0 Author: sunil Date: Thu Mar 31 19:01:48 2016 +0530 added .mrconfig commit 1f049e46bf14957441cb28e15256c73030017128 Merge: 16a1472 3b251a1 Author: colemanw Date: Wed Mar 30 13:46:27 2016 -0400 Merge pull request #6707 from pradpnayak/CRM-16617 [pending core team review] CRM-16617 commit 70f2d306e91e6ec837b9000b0668cd24e01dc46e Author: sunil Date: Tue Mar 29 14:06:23 2016 +0530 separated logic of updating uf match table for langauge change for mulitlingual setup commit 16a14728333cf5014819f768c01e671a91e04e98 Merge: 507ac36 29acc44 Author: Monish Deb Date: Tue Mar 29 13:13:05 2016 +0530 Merge pull request #8011 from agh1/multi-paypal-ipn CRM-18107 PayPal Standard IPN fails with multiple processors commit 507ac36207bbca2df9f684d1da92638f1c4899f5 Merge: f986e7a e51357e Author: Yashodha Chaku Date: Wed Mar 23 14:05:29 2016 +0530 Merge pull request #8014 from cividesk/CRM-18280-4.6 Fix for CRM-18280 commit f986e7a1e293144f5cdaef4328394d5cf5fc3681 Merge: 7ed0aed 23a8613 Author: Monish Deb Date: Wed Mar 23 13:50:05 2016 +0530 Merge pull request #7929 from eileenmcnaughton/CRM-18156 CRM-18156 don't false positive on security update available commit 7ed0aed6c92615a48fda1d637616342fb41585a4 Merge: 81807f0 62fe8f6 Author: Monish Deb Date: Wed Mar 23 10:36:22 2016 +0530 Merge pull request #7939 from seamuslee001/CRM-18181-46 CRM-18181 Get all mailings that use mailings that an acled user can see commit e51357e713746996491abd36791280660a01fed4 Author: Nicolas Ganivet Date: Tue Mar 22 21:11:07 2016 -0600 Fix for CRM-18280 commit 8b4823a8b3947372f41ccf1c612670b1a470df1c Author: Nicolas Ganivet Date: Tue Mar 22 21:11:07 2016 -0600 Fix for CRM-18280 commit 75b734340ebdd724be77689e72ad6e7b9478d053 Author: doijadsachin Date: Tue Mar 22 22:48:49 2016 +0530 Added new coloum supplimental address for report page commit 29acc4416040bacaf6d7951ba0d4950b473b61e7 Author: Andrew Hunt Date: Mon Mar 21 18:20:19 2016 -0400 CRM-18107 PayPal Standard IPN fails if payment processor id != payment processor type id commit 5e05f1b2f7dc69303406fff36b303064cc6937fa Author: sunil Date: Mon Mar 21 16:55:35 2016 +0530 for standalone plus, do not delete civicrm entry in role_permission table commit 81807f02031c8e01e4e5ad1cc4f69fb77fc992bf Merge: b7c849d c893e27 Author: Yashodha Chaku Date: Mon Mar 21 10:34:31 2016 +0530 Merge pull request #7994 from laryn/patch-6 Reproduce CRM-18092 fix for 4.6 commit b7c849d9639729cbf09cd0e9ba3557ec64c4013f Merge: 66bc01a d9132be Author: colemanw Date: Fri Mar 18 20:23:05 2016 -0400 Merge pull request #8003 from PalanteJon/CRM-18264-4.6 CRM-18264 - Fix potential upgrade crash when adding Getting Started d… commit d9132becce1044f293e5e1cc4b464da054bc6145 Author: Jon goldberg Date: Fri Mar 18 15:45:53 2016 -0400 CRM-18264 - Fix potential upgrade crash when adding Getting Started dashlet commit c893e27cd0e0a9c0d4c5131e9df8b41274b4aed7 Author: Laryn Date: Fri Mar 18 09:33:34 2016 -0500 Trying again on the indentation. commit 3a8de50f907b0263755d5c55568818555200d664 Author: Laryn Date: Fri Mar 18 09:13:25 2016 -0500 Fixing indentation commit 66bc01a26f71c6bee650f5634e17bee5fedd5034 Merge: 0405135 bba5837 Author: colemanw Date: Fri Mar 18 09:06:37 2016 -0400 Merge pull request #8000 from monishdeb/CRM-16210 CRM-16210 fix backporting to 4.6 commit bba5837efe2662f7cceccc5f7e684b528a8a28cf Author: deb.monish Date: Fri Mar 18 12:46:23 2016 +0530 CRM-16210 fix backporting to 4.6 commit 0ddc10b7d95b3d0268856dd5c61c89c967f7ebbe Author: Laryn Date: Thu Mar 17 11:36:08 2016 -0500 Reproduce CRM-18092 fix for 4.6 Reproduce this fix for 4.6 https://github.com/civicrm/civicrm-core/commit/0f578135c6f9d151fd2e4fef230ec0f91418224b commit 040513573c82cb20bf4acb7926698cb17bdad8ab Merge: a6ec36b 5a0b91a Author: Yashodha Chaku Date: Tue Mar 15 16:01:55 2016 +0530 Merge pull request #7870 from JKingsnorth/CRM-18109-4.6 CRM-18109 (4.6) towards removal of unindexed queries commit a6ec36b1a3eaa463378f1d04954517d93af5351e Merge: 2ae6adb 6d0e92a Author: Yashodha Chaku Date: Mon Mar 14 10:19:35 2016 +0530 Merge pull request #7958 from JMAConsulting/CRM-18204-4.6 Crm 18204 4.6 commit 2ae6adbd38b047c2d8cf9d4b4871394d4c8f4d5d Merge: 355c832 3fb5a62 Author: Monish Deb Date: Fri Mar 11 19:44:37 2016 +0530 Merge pull request #7964 from jitendrapurohit/CRM-18209 CRM-18209 - show payment fields if other-amount already contains a va… commit 3fb5a625e00e7059d5133114731c39a7541d8784 Author: jitendrapurohit Date: Fri Mar 11 16:04:45 2016 +0530 CRM-18209 - show payment fields if other-amount already contains a valid amount commit 6d0e92a1db8bcbd745b4e3241960bc427659e754 Author: Pradeep Nayak Date: Fri Mar 11 14:10:25 2016 +0530 --CRM-18204, modified code to use checkProfileType function commit b5575962259e589a2f7d93e22e595719c8ebaff6 Author: Pradeep Nayak Date: Thu Mar 10 19:26:41 2016 +0530 CRM-18204, removed extra action for 4.6 ---------------------------------------- * CRM-18204: Enables use of Mixed Profile for create mode https://issues.civicrm.org/jira/browse/CRM-18204 commit f3170f3cd4be94866c2841caad1f680f2baa3126 Author: Pradeep Nayak Date: Thu Mar 10 19:19:53 2016 +0530 --CRM-18204, remove Create mode, Edit mode, listing mode and HMTL form snippet links if uf group type is not contact commit 7eec7312986b282ca5532567d7bb139a188d54ad Author: Pradeep Nayak Date: Thu Mar 10 19:18:52 2016 +0530 CRM-18204, used contact type and contact sub type for checking uf group type ---------------------------------------- * CRM-18204: Enables use of Mixed Profile for create mode https://issues.civicrm.org/jira/browse/CRM-18204 Conflicts: CRM/UF/Page/Group.php commit 1bfe8a73d7b79274a349497f809c8cef478d9c21 Author: Pradeep Nayak Date: Thu Mar 10 19:15:47 2016 +0530 CRM-18204, used contact type and contact sub type for checking uf group type ---------------------------------------- * CRM-18204: Enables use of Mixed Profile for create mode https://issues.civicrm.org/jira/browse/CRM-18204 commit 1ec943b4c2fd67bc608b2606417326ac0b383d17 Merge: 6f66bdc 9ca5639 Author: sunil Date: Thu Mar 10 16:20:52 2016 +0530 merged civicrm Tag 4.6.14 to standalone plus branch commit 355c83230610ffc284ed6148226014a37236357d Merge: 2ef560c 83e9591 Author: colemanw Date: Wed Mar 9 15:38:25 2016 -0500 Merge pull request #7275 from agh1/petition-custom-fields [fixed-for-master] Survey custom fields in petition UI commit 62fe8f639df316f63ceca69aa20fc8f8ab5e5a73 Author: Seamus Lee Date: Wed Mar 9 02:09:03 2016 +0000 Ensure that we are only running the Mailings query when we have found mailings commit 7399332937235cdf8c73e2138613a83aaec6ec23 Author: Seamus Lee Date: Tue Mar 8 01:03:39 2016 +0000 CRM-18181 Get all mailings that use mailings that an acled user can see commit 6f66bdc8fb4cd17fa1dad46df6b07dbad3348e38 Author: sunil Date: Mon Mar 7 17:04:07 2016 +0530 avoid updating user record in UF match if language not changed commit a7ca0099cd9e5b6e7fed8c090fd2f88b0008e955 Author: sunil Date: Mon Mar 7 14:35:17 2016 +0530 Fixed with membership type load on membership search form commit 4400e3ff38288a041e0ea2300234758c148ce842 Author: sunil Date: Mon Mar 7 14:34:56 2016 +0530 check membership exist before deleting it commit 2ef560c996b269933adac6c6bdb5d726f0191c4f Merge: e1b875a 43a8679 Author: Eileen McNaughton Date: Mon Mar 7 14:21:29 2016 +1300 Merge pull request #7930 from eileenmcnaughton/4.6 CRM-18091 disambiguate TRUE as not meaning 'backtrace' commit 43a86794ed7c6e8e7f6be21716c6835d892f1584 Author: eileen Date: Wed Feb 24 11:57:10 2016 +1300 CRM-18091 disambiguate TRUE as not meaning 'backtrace' commit 23a8613b3591fec18435427e9e06d00984c0556b Author: eileenmcnaugton Date: Mon Mar 7 13:43:51 2016 +1300 CRM-18156 don't false positive on security update available commit e1b875af7f109cc7969dce00cb4d7eeece472554 Merge: 75a94ac da12acc Author: colemanw Date: Fri Mar 4 11:44:55 2016 -0500 Merge pull request #7911 from agh1/merge-screen-close-tag-46 CRM-15789 - contact merge: restore that was accidentally deleted commit 75a94acc36c3f6427d02b389848d1faf218332aa Merge: 7ca239c 9abd368 Author: Monish Deb Date: Fri Mar 4 11:27:37 2016 +0530 Merge pull request #7912 from seamuslee001/CRM-18155-46 CRM-18155 Remove membership_type_id from legacyConvertFormValues commit 9abd36889703982b8d9f975a0ed1872343d9558f Author: Seamus Lee Date: Fri Mar 4 01:33:10 2016 +0000 CRM-18155 Remove membership_type_id from legacyConvertFormValues commit da12acc869e1068bdacd16238caa50f50117b445 Author: Andrew Hunt Date: Thu Mar 3 17:37:20 2016 -0500 CRM-15789 - contact merge: restore that was accidentally deleted ---------------------------------------- * CRM-15789: Add icons to submit buttons https://issues.civicrm.org/jira/browse/CRM-15789 commit 7ca239c7fc489bb746ff61119fd009e11856e3d1 Merge: 0efe35e d6402ea Author: Monish Deb Date: Thu Mar 3 15:06:59 2016 +0530 Merge pull request #7896 from cividesk/CRM-18130-4.6 CRM-18130: Custom CSS URL not working if aliased or rewritten commit 0efe35e9ee3fe2a87c089161f27f81f3cfb486eb Author: CiviCRM Date: Wed Mar 2 01:37:05 2016 -0800 Update version to 4.6.15 commit 9ca56392ccbd31a04542946ed33dab43e8791b3a Merge: a533994 69b7825 Author: Yashodha Chaku Date: Wed Mar 2 12:53:25 2016 +0530 Merge pull request #7897 from totten/4.6-tcpdf CRM-18098. Move TCPDF from packages to composer. commit 69b782545b66b66ce4974bf0fdec317d88e57050 Author: Tim Otten Date: Mon Feb 29 18:24:22 2016 -0800 CRM-18098 - composer.json - Add tcpdf to include_path (remove me later) This provides backward-compatibility with extensions that call `require_once 'tcpdf/tcpdf.php'`. This notation is deprecated, and we should remove tcpdf from the include-path in the future. commit f09f0e85579460fc75e41ac225b754b84baf9d00 Author: Tim Otten Date: Mon Feb 29 17:58:18 2016 -0800 CRM-18098 - TCPDF - Re-include "Times New Roman" It was present in `civicrm-packages`, and someone might miss it if we take it away. commit ef280e3c5a947cc399d9034be299743e66013d89 Author: Tim Otten Date: Mon Feb 29 17:54:13 2016 -0800 CRM-18098 - TCPDF - Remove unnecessary require_once With CRM-18098, we can use the autoloader. And the require_once doesn't work because the file is no longer in the include_path. commit 66b96e77a048f38680f8f05c9f521403db43967c Author: Chris Burgess Date: Tue Mar 1 11:22:04 2016 +1300 CRM-18098. Update composer.lock commit 6004b57faa293041f33bb86a4d2ed3044f6cfcdd Author: Chris Burgess Date: Tue Mar 1 10:02:37 2016 +1300 CRM-18098. Call tcpdf-cleanup.sh from composer. commit 0be4f2532340763f4da832154634cc63b7413ba2 Author: Chris Burgess Date: Fri Feb 26 03:20:41 2016 +1300 CRM-18098. Move TCPDF from packages to composer. commit a533994b23b8cff0638dd3b228ec0e9567b34f88 Merge: 424a67c d2bbca2 Author: Tim Otten Date: Tue Mar 1 15:53:26 2016 -0800 Merge pull request #7890 from totten/4.6-api-key CRM-18112 - Additional permission for editing "api_key" commit d6402ea3796a6c8075b53a7b7415e0e2429646d7 Author: Nicolas Ganivet Date: Tue Mar 1 13:00:37 2016 -0700 CRM-18130: Custom CSS URL not working if aliased or rewritten commit df34043cb7a10c97c255c8fa2e8e3efdc20fb3d3 Merge: 1d21fd8 bd13c8f Author: Nicolas Ganivet Date: Tue Mar 1 13:01:14 2016 -0700 Merge branch '4.6-standalone-plus' of https://github.com/cividesk/civicrm-core into 4.6-standalone-plus commit 1d21fd8df3979c96e90e4641f222fb70736f1ed6 Author: Nicolas Ganivet Date: Tue Mar 1 13:00:37 2016 -0700 CRM-18130: Custom CSS URL not working if aliased or rewritten commit 424a67ca6fe57169e94e26ba8b086278a68f9e5f Merge: 38d1819 8de443a Author: Monish Deb Date: Tue Mar 1 14:04:36 2016 +0530 Merge pull request #7840 from monishdeb/CRM-18026 CRM-18026 fix commit d2bbca23295a89a6646495307bec016b4a1561e3 Author: Tim Otten Date: Fri Feb 26 12:07:08 2016 -0800 CRM-18112 - Additional permission for editing "api_key" commit 5a0b91a694857ea7cbb87d0515a47196cc3aad68 Author: eileen Date: Sun Feb 28 18:06:04 2016 +1300 CRM-18109 fix to earlier commit on this issue Signed-off-by: JKingsnorth commit 38d181901899858dbb32e1319435ee23098b82e3 Merge: 447d67d 52882db Author: Yashodha Chaku Date: Mon Feb 29 09:39:27 2016 +0530 Merge pull request #7829 from seamuslee001/CRM-18066-46 CRM-18066 Include Display name as an option on CIviCRM relationship reports commit 447d67de48fbb8c378b8fb75ff0b8d66d492b62c Merge: 0b43a58 6ef22d1 Author: Eileen McNaughton Date: Mon Feb 29 15:15:40 2016 +1300 Merge pull request #7869 from JKingsnorth/CRM-17464-4.6 CRM-17464 remove deadlock inducing query (4.6) commit bd13c8f0ae0bab3f13aa1a65cab764933ecb0c34 Author: sunil Date: Thu Feb 25 22:54:28 2016 +0530 changed data type in report for Frequency Unit commit b38b568a0eb431b5c548df5585cc44d914332e0f Author: eileenmcnaugton Date: Fri Feb 19 19:13:19 2016 +1300 CRM-18109 towards removal of unindexed queries Signed-off-by: JKingsnorth commit 6ef22d16dc449453930fb8216dfc6841a7f6ff12 Author: eileenmcnaugton Date: Thu Oct 29 21:26:04 2015 +1300 CRM-17464 remove deadlock inducing query Signed-off-by: JKingsnorth commit 7751723463e9dffa1d16503b86853045b879b25c Author: sunil Date: Wed Feb 24 13:01:45 2016 +0530 fixed issue relationship custom file field commit 0b43a586439ff2be29d3884b18cb736a97b78138 Merge: a124bf4 66c6cd7 Author: colemanw Date: Mon Feb 22 17:44:26 2016 -0500 Merge pull request #7838 from monishdeb/CRM-18063 CRM-18063 fix, exclude contact type and tags from legacy format list commit a124bf481bf1110e5cb40b299bc9c674831c512d Merge: 944b4cf aeeebee Author: colemanw Date: Mon Feb 22 11:37:34 2016 -0500 Merge pull request #7820 from colemanw/CRM-18049 CRM-18049 - Backport api campaign permissions commit 8de443aab04581440f57f89c1546652d9e943c18 Author: deb.monish Date: Mon Feb 22 16:16:43 2016 +0530 CRM-18026 fix commit 66c6cd7a1bc2eff247e97892f0493f8c8778d6e1 Author: deb.monish Date: Mon Feb 22 12:05:11 2016 +0530 CRM-18063 fix, exclude contact type and tags from legacy format list commit 52882db4dabe42802c054dbf61ba06d95d9d13cd Author: Seamus Lee Date: Thu Feb 18 20:12:03 2016 +0000 Include Display name as an option on CIviCRM relationship reports commit d470caf768e108dab07eba090668c61a46c41fd7 Author: Torrance Date: Thu Feb 18 16:35:05 2016 +1300 Ensure editable buttons don't sit underneath other page elements. commit 944b4cfdd270d0ba0a1affad5901e663161fd29c Author: CiviCRM Date: Tue Feb 16 23:58:44 2016 -0800 Update version to 4.6.14 commit 1d3c2a47936bba1eaf2513194be3ad7512fd99e9 Merge: 8f36695 ad7920a Author: colemanw Date: Tue Feb 16 21:15:33 2016 -0500 Merge pull request #7808 from JKingsnorth/CRM-18019-4.6 CRM-18019: Fix regression with views display of custom fields commit aeeebeea1eb7d0673bf5b63c464c7aa05c74d60a Author: Coleman Watts Date: Tue Feb 16 17:51:07 2016 -0500 CRM-18049 - Backport api campaign permissions commit ad7920a6d78d4c203346cd845d25d82632ddc156 Author: JKingsnorth Date: Tue Feb 16 15:13:16 2016 +0000 CRM-18019-4.6: Better solution for fixing array commit 8f36695e2bceed4f70373039c754f4dfaf5e5188 Author: Coleman Watts Date: Mon Feb 15 09:48:57 2016 -0500 CRM-18034 Fix pass by reference commit bd231523717157ff59d0d778d6422f3cd05328b4 Author: JKingsnorth Date: Mon Feb 15 12:02:55 2016 +0000 CRM-18019: Fix regression with views display of custom fields commit c5c9825ab5762c5d6565ceeca645bd793f254e7f Merge: 6e9cf11 cbcfead Author: Eileen McNaughton Date: Mon Feb 15 17:25:32 2016 +1300 Merge pull request #7805 from eileenmcnaughton/CRM-17718-install CRM-17718 installments should NOT be mandatory on recur edit page commit 6e9cf1107e4f455f3e9ff06015fd71a6c403a9ea Merge: 8d3275a 2202830 Author: Eileen McNaughton Date: Mon Feb 15 17:23:33 2016 +1300 Merge pull request #7804 from eileenmcnaughton/CRM-17718 CRM-17718 update repeattransaction to accept contribution_recur_id in… commit cbcfeadb3d49d50ee90f0f176116490ca82c072f Author: eileenmcnaugton Date: Mon Feb 15 13:13:05 2016 +1300 CRM-17718 installments should NOT be mandatory on recur edit page - this change is in 4.7 already commit 2202830d465fb188c5b4a5563fde1a2c250ae40e Author: eileenmcnaughton Date: Wed Dec 16 17:04:19 2015 +0000 CRM-17718 update repeattransaction to permit the financial_type_id to be passed in Conflicts: CRM/Contribute/BAO/Contribution.php CRM/Contribute/BAO/ContributionRecur.php commit 5d484a2548f54a4d61ec2a02ec70e77070c69d7c Author: eileenmcnaughton Date: Wed Dec 16 16:25:37 2015 +0000 CRM-17718 update repeattransaction to accept contribution_recur_id instead of original_contribution_id wq I feel like passing in the contribution_recur_id actually makes more sense - the internals of which contribution is repeated should be 'core business' & consistent across processors. Importantly it has been set here to repeat the latest rather than the earliest which is not as good as saving such things as line items against the recurring transaction but better than using the earliest - ie. pick up changes over time Conflicts: tests/phpunit/api/v3/ContributionTest.php commit 6f8b2d88c06186450c4688f927417cc8698085d3 Author: sunil Date: Sun Feb 14 16:23:46 2016 +0530 removed $ variable commit 3b251a18f7a38d3257b6627d6e7a535bbe5edaba Author: Pradeep Nayak Date: Mon Feb 8 20:42:48 2016 +0530 CRM-16617, fixed checkstyle jenkin error ---------------------------------------- * CRM-16617: https://issues.civicrm.org/jira/browse/CRM-16617 commit 45b8252d0e5f1ea70e8b700c1d287d5749e576ff Author: Pradeep Nayak Date: Mon Feb 8 20:29:59 2016 +0530 --CRM-16617, added unit test commit 9069b9bd60e939d41d03aa5e9f63eb93a6a8e7c0 Author: Pradeep Nayak Date: Mon Feb 8 20:29:29 2016 +0530 --CRM-16617, moved function to DAO commit 8d3275a5b73e332f7c75d0702f006858fe48bd8d Merge: 3ec7590 ba02a0a Author: Monish Deb Date: Fri Feb 12 18:34:08 2016 +0530 Merge pull request #7793 from seamuslee001/CRM-18021-46 CRM-18021 Add in report viewing option for ab tests commit 3ec75900ca125749e1f94a151f3ec253e99f18c2 Merge: 88e5391 1aa8728 Author: Monish Deb Date: Fri Feb 12 18:30:52 2016 +0530 Merge pull request #7795 from PalanteJon/CRM-17029 Crm-17029 4.6 - fix Add to Group profile setting doesn't work in petitions commit 27cf842f29e6598e39a2e506bd33218b96fbcda1 Author: sunil Date: Fri Feb 12 15:54:27 2016 +0530 fixed issue with Recaptcha and wkhtmltopdfPath overwrite commit 88e53911b83f4997581bf0a896ac1acf8fe565da Merge: 3051c90 347ca10 Author: Monish Deb Date: Fri Feb 12 12:27:50 2016 +0530 Merge pull request #7621 from agileware/4.6-crm-17848 CRM-17848: Round tax amount when calculated for contribution pages. commit 326d41d94282a07fb2bffcb9babe05930a0ec325 Author: sunil Date: Fri Feb 12 12:27:07 2016 +0530 fixed issue recaptcha overwrite commit 1861f4ae52f5290005be5ad484a6e56f0658d6d8 Author: Nicolas Ganivet Date: Thu Feb 11 22:55:11 2016 -0700 Contact/relationship: added contact ids, reviewed terminology commit 66eb277c248ccddea3248f40e908e261435db8c7 Author: Nicolas Ganivet Date: Thu Feb 11 20:10:27 2016 -0700 Contact/relationship report: final layout commit 097872d0c6ef8045164f1edef8c82f855496e012 Author: Nicolas Ganivet Date: Thu Feb 11 19:24:21 2016 -0700 Contact/relationship report: reorder and change grouping commit 1aa87286bcc2879406be4b6b9c5a1877def84a7d Author: Jon goldberg Date: Thu Feb 11 18:17:59 2016 -0500 CRM-17029 - fix notices commit 17f6fdd0580b052dd212f64d3815e5af9037a11a Author: Jon goldberg Date: Thu Feb 11 17:49:50 2016 -0500 CRM-17029 - Add to Group profile setting wasn't working on petitions commit ba02a0abff869be4fe6e9c0fa37f412b48c3d523 Author: Seamus Lee Date: Thu Feb 11 10:15:58 2016 +0000 CRM-18021 Add in report viewing option for ab tests commit 330b9d3262cdc36da7ddf656e6aafad9e3265d89 Author: sunil Date: Thu Feb 11 22:04:00 2016 +0530 worked on mailer setting overwrite commit 3051c902ad169e55c677dacc8d5a887496e15043 Merge: 4659d9a c57460c Author: colemanw Date: Thu Feb 11 10:10:02 2016 -0500 Merge pull request #7790 from JKingsnorth/CRM-18019-4.6 CRM-18019: Fix display of checkbox values on event confirmation page commit eccd943a006d83fb53df1526707f9e41bd66abb1 Author: sunil Date: Thu Feb 11 17:48:58 2016 +0530 fixed issue with mailer setting overwrite commit c57460c04b6c7632e41294e8138f2776e9fe2175 Author: JKingsnorth Date: Thu Feb 11 12:03:05 2016 +0000 CRM-18019: Fix display of checkbox values on event confirmation page commit aab421eb5c427245d5389d47feb1a4886a8281fc Author: sunil Date: Thu Feb 11 17:22:37 2016 +0530 Relationship report improvement #1050 commit 4659d9aaee9f08b533e16b4638bdd897be39b944 Merge: c781b75 896aaf9 Author: Yashodha Chaku Date: Thu Feb 11 12:39:40 2016 +0530 Merge pull request #7778 from Stoob/patch-4 CRM-17703 commit c781b75dce70413296543c6963a9d120f18c3aab Merge: d5948b9 7f3d886 Author: colemanw Date: Wed Feb 10 18:44:12 2016 -0500 Merge pull request #7784 from JKingsnorth/CRM-18013-4.6 CRM-18013: Fix default value issue commit 7f3d8869027021558a3dace4156f9d18166b6d86 Author: JKingsnorth Date: Wed Feb 10 16:22:30 2016 +0000 CRM-18013: Fix default value issue commit 44540164bc271b3f4c6938a181b5812b60e2efb8 Author: sunil Date: Wed Feb 10 16:32:09 2016 +0530 set default values (if present) for state and country for new address block commit 896aaf9e68cdb7b31a20d4c6a0dd088ef8052c5c Author: Stoob Date: Tue Feb 9 21:28:50 2016 -0800 CRM-17703 https://github.com/civicrm/civicrm-core/pull/7460/files commit 112bd17acc33332d21bdad2088119e34bfdf6bed Merge: 8135c3d a3efb5e Author: sunil Date: Tue Feb 9 15:28:49 2016 +0530 merged civicrm Tag 4.6.12 to standalone plus branch commit d5948b9a425d7137aaea728d9d732926db7dcb4a Merge: be1275d 40fcdb5 Author: colemanw Date: Tue Feb 9 00:15:21 2016 -0500 Merge pull request #7751 from agh1/petition-uf-block-46 CRM-17969 petitions should use common profile block template commit be1275dd8548decfc6ed6a74574ecceb1027865d Merge: 98e08c3 34fb9bc Author: Monish Deb Date: Mon Feb 8 19:05:05 2016 +0530 Merge pull request #7756 from monishdeb/CRM-17313 CRM-17313 fix commit 34fb9bcc647c54185647ce1761496d794ee19953 Author: deb.monish Date: Mon Feb 8 15:04:34 2016 +0530 remove group field from legacy list commit 98e08c3a7778041df1da225713505ff9779ab087 Merge: f44039b 99071c9 Author: Monish Deb Date: Mon Feb 8 13:54:27 2016 +0530 Merge pull request #7699 from sunilpawar/CRM-17905 Fix for CRM-17905 commit f44039b537d6a09bf6373df181a81d064bf144ae Merge: d080a5f 2831623 Author: colemanw Date: Sun Feb 7 14:02:59 2016 -0500 Merge pull request #7712 from kcristiano/4.6 CRM-17593 - fix built in role 'administer users' to check for capabil… commit 16ccb1ba32617b4373b557ba69017ffc6d391d2d Author: deb.monish Date: Fri Feb 5 22:43:54 2016 +0530 minor fix commit 70adffbaa145d68a05a0494d214b55ac0cea55df Author: deb.monish Date: Fri Feb 5 21:39:54 2016 +0530 CRM-17313 fix commit 40fcdb5d80629067a75cf9d2b7feeae2eb524afd Author: Andrew Hunt Date: Thu Feb 4 13:42:30 2016 -0500 CRM-17969 petitions should use common profile block template ---------------------------------------- * CRM-17969: Free HTML field shows entry box in petitions https://issues.civicrm.org/jira/browse/CRM-17969 commit d080a5f89595332a4cc7623a1b926a9a1eb16bd7 Merge: 13e8a83 9ad60f9 Author: Eileen McNaughton Date: Thu Feb 4 14:26:56 2016 +1300 Merge pull request #7736 from seamuslee001/CRM-17650-4.6 CRM-17650 ensure that replyto_email is updated when re-using a previo… commit b30276934a4ba80539a7d168a3a49c0d93db4a09 Author: Andrew Cormick-Dockery Date: Wed Feb 3 21:02:26 2016 +0000 Jenkins build 7843: correct comment coding standard issues commit 9ad60f9b814d21657e6e1ff6eb03942bdf27b315 Author: Seamus Lee Date: Tue Dec 8 06:14:39 2015 +0000 CRM-17650 ensure that replyto_email is updated when re-using a previous mailing and changing the from address. commit 13e8a83e7a8e00d9ea2f04ab19f0af703caab502 Merge: a3efb5e a359841 Author: Yashodha Chaku Date: Wed Feb 3 17:43:05 2016 +0530 Merge pull request #7733 from yashodha/4.6-version-fix Update version to 4.6.13 commit a35984108a3903c6442706527f789d580523a0ba Author: yashodha Date: Wed Feb 3 16:17:37 2016 +0530 Update version to 4.6.13 commit 8135c3daf006d47177fd626bd61c0b0e7078aab9 Author: sunil Date: Wed Feb 3 14:08:03 2016 +0530 CRM-17960 - Handle redirects in popups commit a3efb5e7a94c70c82ac1817255c3bc1c130b1ff1 Merge: 9f57555 72a5be7 Author: colemanw Date: Tue Feb 2 22:35:24 2016 -0700 Merge pull request #7730 from colemanw/CRM-17960-4.6 CRM-17960 - Handle redirects in popups commit b201a5cece365d9bcb2f1f79b7a989764c9c85af Author: Andrew Cormick-Dockery Date: Wed Feb 3 05:26:19 2016 +0000 CRM-17959 - allow URL to be redirected if the queue ID is invalid but the URL ID is OK commit 72a5be76f53b05bee19c63973e3582be042176ac Author: Coleman Watts Date: Tue Feb 2 22:25:37 2016 -0700 CRM-17960 - Handle redirects in popups commit 2831623b6f6b951600a9b7fe674d0a23bf2df5c3 Author: Kevin Cristiano Date: Tue Feb 2 11:50:25 2016 -0700 CRM-17593 -Update comment for change from role based permission to capabilties based permissions - Backport to 4.6 ---------------------------------------- * CRM-17593: Certain Permissions are hard coded to 'Administrator' in CRM_Core_Permission_WordPress https://issues.civicrm.org/jira/browse/CRM-17593 commit 9f575553b0c76a80a14dad5a6f00fabebb51fcba Merge: 9c6b2fc 0bf1246 Author: Yashodha Chaku Date: Tue Feb 2 16:28:10 2016 +0530 Merge pull request #7706 from mlutfy/4.6-crm16801-1 CRM-16801: revert seedLanguage fix in the installer. commit 6f4f11c391d5ff294497929da15da031e9487f07 Author: Kevin Cristiano Date: Mon Feb 1 13:16:21 2016 -0700 CRM-17593 - fix built in role 'administer users' to check for capability of 'edit_users' rather than set at the administrator level- Backport to 4.6 ---------------------------------------- * CRM-17593: Certain Permissions are hard coded to 'Administrator' in CRM_Core_Permission_WordPress https://issues.civicrm.org/jira/browse/CRM-17593 commit 9c6b2fc473365cb78672f26935bce533ebe21dce Merge: f9bb2c7 5abc2ee Author: Tim Otten Date: Sun Jan 31 15:13:42 2016 -0700 Merge pull request #7702 from totten/4.6-getlink CRM-17911 - Fix cxn "Settings" link on WordPress commit 0bf124603d6a79f345d1a621ead16133aa866c68 Author: Mathieu Lutfy Date: Sun Jan 31 13:39:26 2016 -0500 CRM-16801: revert seedLanguage fix in the installer. commit dde8a5ba5802e2f37ec16f2924196e45fabf689b Author: Mathieu Lutfy Date: Sun Jan 31 13:10:19 2016 -0500 CRM-16801: fix seedLanguage in the installer. commit 5abc2eec2f83bb9d06cb18e8267f437326ac61c3 Author: Tim Otten Date: Sat Jan 30 18:39:59 2016 -0700 CRM-17911 - crmCxn ManageCtrl - Use `page_name` instead of `page` commit 0c4c6a375ad3a0339fc2eb3526223721e40bb46e Author: Tim Otten Date: Sat Jan 30 18:26:37 2016 -0700 CRM-17911 - Cxn.getlink API - Accept `page` or `page_name` commit 99071c9dc949128e68a9eb2e0e52552e094d04b5 Author: sunil Date: Sat Jan 30 17:18:11 2016 +0530 CRM-17905 added/removed white spaces commit 78b191a8fe7dd6f140dd15828609be14659d58b6 Author: sunil Date: Sat Jan 30 17:10:02 2016 +0530 Fix for CRM-17905 commit f9bb2c7f339a56012ec23ef72e0c9104f5632af6 Merge: 8660ccb 3acb37c Author: Monish Deb Date: Fri Jan 29 11:14:06 2016 +0530 Merge pull request #7693 from eileenmcnaughton/4.6-monish backporting changes of CRM-17836 in 4.6 commit 3acb37cc94521fb0bb19e985eaf89a9477a064e3 Author: monishdeb Date: Fri Jan 22 01:26:57 2016 +0530 backporting changes of CRM-17836 in 4.6 ---------------------------------------- * CRM-17836: custom fields attached to relationships are unsearchable https://issues.civicrm.org/jira/browse/CRM-17836 commit 8660ccb5fd735461182106f4e12a78c02736f7cd Merge: 14d881e 7820c53 Author: Eileen McNaughton Date: Thu Jan 28 08:40:17 2016 +1300 Merge pull request #7662 from seamuslee001/CRM-17854-4.6 CRM-17854 && CRM-17685 fix - CiviCRM DB Syntax Error when enabling lo… commit 14d881e3fa59e9a08c5d6dd707adbb5555cc12c2 Merge: fc24803 8643eae Author: Eileen McNaughton Date: Wed Jan 27 20:05:06 2016 +1300 Merge pull request #7658 from eileenmcnaughton/sync Further syncs between to align query class in 4.6 & master commit fc248030949e41bd29bef87870c5b8dd5866e4a4 Merge: d637c20 8412e16 Author: Eileen McNaughton Date: Wed Jan 27 19:43:01 2016 +1300 Merge pull request #7670 from eileenmcnaughton/CRM-17628-backport CRM-17628 add qfKey to contribution search links commit d637c20af353120dc6fb85346179fc9a31987605 Merge: f62d06f d849480 Author: Eileen McNaughton Date: Wed Jan 27 19:42:37 2016 +1300 Merge pull request #7669 from eileenmcnaughton/CRM-17118-campaign CRM-17718 update repeattransaction api action to give precedence to c… commit 8643eae984600896eb50daf5c5ff01669c2ebeaf Author: eileenmcnaugton Date: Mon Jan 25 23:37:48 2016 +1300 Further syncs between to align query class in 4.6 & master This is to help syncing, add function that is in master & will be required in 4.6 and sync function signature on buildQill function commit 8412e16246557b348a065d1a9f80ac3736f78b14 Author: eileen Date: Mon Dec 7 16:51:33 2015 +1300 CRM-17628 add qfKey to contribution search links commit d8494806424168caaa98a9584abe312996aa332a Author: eileenmcnaughton Date: Wed Dec 16 16:00:34 2015 +0000 CRM-17718 update repeattransaction api action to give precedence to contribution_recur for campaign id commit 7820c5340f079dc9621a36dbed103a3bbc29ae8a Author: monishdeb Date: Fri Jan 15 19:42:01 2016 +0530 CRM-17854 && CRM-17685 fix - CiviCRM DB Syntax Error when enabling logging https://issues.civicrm.org/jira/browse/CRM-17685 https://issues.civicrm.org/jira/browse/CRM-17854 commit a298dcab59226fa71306603c6d7fa510548550a8 Author: sunil Date: Tue Jan 26 11:26:06 2016 +0530 fixed issue with job title in relationship selector commit f62d06ff91934fea9815cb6a9e30c9b234ef685a Merge: c501680 44b74a6 Author: Monish Deb Date: Tue Jan 26 01:19:38 2016 +0530 Merge pull request #7653 from eileenmcnaughton/4.6 Sync comments between master & 4.6 branches for easier patching commit c5016809d73f18962454c19ea82ed938a6256d62 Merge: 8239d1c e8bd6c9 Author: Eileen McNaughton Date: Mon Jan 25 23:27:34 2016 +1300 Merge pull request #7652 from eileenmcnaughton/CRM-17764 CRM-17764 add pledge block region to main contribution page commit 8239d1cb90ec5a5596f194d374900e16ef45a42f Merge: 8e5dc26 ca00cad Author: Eileen McNaughton Date: Mon Jan 25 22:11:56 2016 +1300 Merge pull request #7638 from monishdeb/CRM-17822 CRM-17822 fix - Export custom fields of type country (regression) commit 44b74a670f7b160efaa4c6305d90ea6bbb95bc4d Author: eileenmcnaugton Date: Mon Jan 25 21:31:31 2016 +1300 Sync comments between master & 4.6 branches for easier patching commit e8bd6c949ada9498952b5df36b8090085501fa52 Author: eileenmcnaugton Date: Mon Jan 25 16:52:37 2016 +1300 CRM-17764 add pledge block region to main contribution page commit 8e5dc26710a626acf702a946f3d196341ddf2b8b Merge: 38f4b15 f92a00a Author: Eileen McNaughton Date: Mon Jan 25 09:54:01 2016 +1300 Merge pull request #7644 from lcdservices/CRM-17865-46 CRM-17865 set participant custom fields default on additional reg form commit f92a00a0343c972b320202a46736022884370830 Author: Brian Shaughnessy Date: Sat Jan 23 16:22:23 2016 -0500 CRM-17865 set participant custom fields default on additional reg form commit ca00cad0c6b0c35a5afe3d27727d1195f15f1b2f Author: monishdeb Date: Sat Jan 23 00:28:09 2016 +0530 CRM-17822 fix - Export custom fields of type country (regression) https://issues.civicrm.org/jira/browse/CRM-17822 commit b1a9177c43f700537e8aff6369720af6832e3a3a Author: Tim Otten Date: Wed Jan 20 20:15:50 2016 -0800 CRM-17342 - Case Managed Entities - Don't recreate disabled relationship types Use-case: * Create a CaseType which includes role "Sibling of" * Disable role "Sibling of" * Flush system (eg enable/disable modules) commit 347ca1059f7b8945b02abec17a4a1954455bddb8 Author: Francis Whittle Date: Wed Jan 20 16:30:16 2016 +1100 CRM-17848: Round tax amount when calculated for contribution pages. commit 38f4b1500bcf6f9071dd28c863edb70faa0b9960 Merge: bc5403f ddda86f Author: colemanw Date: Thu Jan 14 10:12:35 2016 -0500 Merge pull request #7593 from PalanteJon/CRM-17273-4.6 CRM-17273 - CiviCRM Core - disallow editing location types from the C… commit ddda86f885229010cc5529e43680137d89f9f238 Author: Jon goldberg Date: Wed Jan 13 22:00:05 2016 -0500 CRM-17273 - CiviCRM Core - disallow editing location types from the Contact Edit screen commit bc5403f7f76fff9e3690d45f7223c57b78b1b282 Merge: b784d59 fd21b82 Author: colemanw Date: Tue Jan 12 09:10:01 2016 -0500 Merge pull request #7577 from seamuslee001/CRM-17802 CRM-17802 Fix default end and start times and switch to use !empty ra… commit fd21b82db704f589eb0b19e7df76d0cad707feae Author: Seamus Lee Date: Tue Jan 12 04:19:38 2016 +0000 Make start time midnight not midday woops commit e45d4a96587babcec4f4cb78cc5515980b6dcf5a Author: Seamus Lee Date: Mon Jan 11 22:51:59 2016 +0000 CRM-17802 Fix default end and start times and switch to use !empty rather than isset commit b784d590d0af681214c84a4a3309e280dbdedcea Merge: a30f2c5 dc5df6b Author: Eileen McNaughton Date: Mon Jan 11 13:43:22 2016 +1300 Merge pull request #6990 from seamuslee001/CRM-17303-4.6 Crm 17303 4.6 Backport commit a30f2c5ee9b846aa97f6c88438212b3b70c62ea0 Merge: 055ed59 5d41b3f Author: colemanw Date: Fri Jan 8 13:23:58 2016 -0500 Merge pull request #7559 from eileenmcnaughton/cividesk-housekeeping Getting started for 4.6 commit 5d41b3fd25ae1ff22a6141f7e508b8d28fae9b3b Author: Coleman Watts Date: Fri Jan 8 07:49:35 2016 -0500 Fix upgrade callback commit 067986a077221f2d71674f49a836138eb90f1886 Author: sunil Date: Fri Jul 31 17:32:15 2015 +0530 Getting started for 4.6 removed unwanted code getting started should available for new users Getting started changes Getting started changes commit 055ed590df26d605461643dc1cfca15065d3478e Merge: d93009d 0d4705f Author: Eileen McNaughton Date: Fri Jan 8 14:40:25 2016 +1300 Merge pull request #7479 from BorislavZlatanov/patch-3 Partial fix for CRM-17734 commit d93009dec3fcafc674940f4b3275e94ad62d3afe Merge: 2df1adf 77660ee Author: Eileen McNaughton Date: Fri Jan 8 12:54:49 2016 +1300 Merge pull request #7554 from rohankatkar/4.6-Test-fixes Webtests Fixes for 4.6 commit 2df1adf7a0795c89509d5b5092325222250202fa Merge: 0c00373 8aaf9b8 Author: CiviCRM Date: Thu Jan 7 15:42:02 2016 -0800 Merge branch 'helenagarcia90-4.6-enable-button' into 4.6 commit 8aaf9b8c55f64a2e5a0caab010f86d6b146039aa Merge: 0c00373 e1df10d Author: CiviCRM Date: Thu Jan 7 15:32:20 2016 -0800 Merge branch '4.6-enable-button' of https://github.com/helenagarcia90/civicrm-core into helenagarcia90-4.6-enable-button commit 77660ee213c01f0d0d456c35cadf5baa20853f8f Author: Web Access Date: Thu Jan 7 18:41:58 2016 +0530 Webtests Fixes for 4.6 commit 0c00373e0683ee7aef3d7c3420a1b061ca511d78 Merge: c67bece cc9b295 Author: Tim Otten Date: Wed Jan 6 18:21:43 2016 -0800 Merge pull request #7544 from totten/4.6-cxn-ui CRM-16173, CRM-16831 - Register "System Settings => Connections" link commit cc9b2956b5b586ff0893e90ee7ff3fff245a03dd Author: CiviCRM Date: Tue Jan 5 17:18:14 2016 -0800 Regen civicrm_generated.mysql commit 37399726418b064e8ef84f0cdfb6245b9f67c67c Author: CiviCRM Date: Tue Jan 5 17:18:03 2016 -0800 CRM-16173 - civicrm_navigation.tpl - Register "System Settings => Connections" link commit 7505887e0c9cfb2e5d70a3421f51ed89f857303b Author: CiviCRM Date: Tue Jan 5 17:06:19 2016 -0800 CRM-16173 - 4.6.12.mysql.tpl - Register "System Settings => Connections" link commit a9197fc023e00d3647f8e64833d8aec71e4cc28e Author: CiviCRM Date: Tue Jan 5 16:58:57 2016 -0800 CRM-16173 - crmCxn - Display explanation commit c67bece499eef08da1d8a6615e7f5fbe6f8bb6e7 Author: CiviCRM Date: Wed Jan 6 00:35:58 2016 -0800 Update version to 4.6.12 commit 457e2966fff6a92175c9c78529eb8c14d6a14bce Merge: 14a924c de7f5c3 Author: Eileen McNaughton Date: Wed Jan 6 09:23:24 2016 +1300 Merge pull request #7536 from eileenmcnaughton/backport-apis Backport apis commit de7f5c381632c6bcec82be5b80c6f7e9d93e4e17 Author: eileen Date: Wed Jan 6 00:06:33 2016 +1300 Backport metadata titles Change-Id: Id10f05c8f890ba35a9b2f225a57b6de65f26269b commit 14a924cd76690c9624cc8cc87dbd968cce64c6eb Merge: 2dc3f92 4e43a5c Author: Yashodha Chaku Date: Tue Jan 5 11:48:45 2016 +0530 Merge pull request #7464 from seamuslee001/CRM-17727-4.6-core CRM-17727 Improve relationship report by adding in end_date check for active re… commit 561994c4b77356edca983211d11ae8ef75a4d76d Author: eileen Date: Thu Dec 31 16:49:34 2015 +1300 Backport EntityFinancialTrxn api commit 6b1232a9b19a7571c8d2fe0d839ff7845228f44c Author: eileen Date: Tue Dec 29 18:32:24 2015 +1300 Backport FinancialTrxn api commit 2dc3f92d7721e46d7984f54bdb290afb90f98839 Merge: 8d24b2e d65c193 Author: Tim Otten Date: Mon Jan 4 11:58:48 2016 -0800 Merge pull request #7527 from totten/4.6-system-get System.get API - Report on OS, httpd, multilanguage, multidomain, sapi commit 8d24b2e034048620d143b45796c818885eb151e5 Merge: 0b282f9 4af6d65 Author: Yashodha Chaku Date: Mon Jan 4 12:12:28 2016 +0530 Merge pull request #7487 from yashodha/CRM-17735 CRM-17735: Payment fields fail to reappear on donation page after usi… commit d65c1939e533490e25bfe67b982ace6da90ae300 Author: CiviCRM Date: Sun Jan 3 17:42:45 2016 -0800 System.get API - Return whitelisted settings commit 5570d263a895eb3a1854bfa7f2d507c664b1a468 Author: CiviCRM Date: Sun Jan 3 15:46:13 2016 -0800 System.get API - Report on OS, httpd, multilanguage, multidomain, sapi commit 0b282f9185647b595c71baa5d64f4a39b5fc7368 Merge: 1fc7191 7ab1f6d Author: colemanw Date: Tue Dec 29 17:02:52 2015 -0500 Merge pull request #7506 from monishdeb/testFailures CRM-17673 fix - Update recurring billing details: update page fails commit 7ab1f6d85e11fa28f442c86ffb04e6860888de3e Author: monishdeb Date: Tue Dec 29 14:52:44 2015 +0530 CRM-17673 fix - Update recurring billing details: update page fails https://issues.civicrm.org/jira/browse/CRM-17673 commit 1fc71919065d8009bf0503dbaf14fb3f6d4aeef5 Merge: d22f7f7 4836331 Author: Tim Otten Date: Mon Dec 21 15:31:44 2015 -0800 Merge pull request #7486 from totten/4.6-cxn-check CRM-16173 - Display alert for local/private sites. commit 4af6d659e8381fd6fc3f5aa8d7e0521761b44462 Author: yashodha Date: Mon Dec 21 17:04:51 2015 +0530 CRM-17735: Payment fields fail to reappear on donation page after using enter key in 'other amount' text box ---------------------------------------- * CRM-17735: Payment fields fail to reappear on donation page after using enter key in "other amount" text box https://issues.civicrm.org/jira/browse/CRM-17735 commit d22f7f726eabe67f76dd23d0eaa5d8f6bc63b2de Merge: 630bac4 78f84ea Author: Tim Otten Date: Sun Dec 20 19:31:35 2015 -0800 Merge pull request #7484 from totten/4.6-dompdf CRM-17733. Update to DOMPDF 0.6.2 commit 4836331d457fa2ac73e95e5612f550c6e86af160 Author: CiviCRM Date: Sun Dec 20 19:05:27 2015 -0800 CRM-16173 - Display alert for local/private sites. commit 78f84ea62ae1353279b6dd5dc6f01f4a663b1391 Author: Chris Burgess Date: Sat Dec 19 08:05:10 2015 +1300 CRM-17733. Update to DOMPDF 0.6.2 commit 630bac4d4ffc09d4e52304c4611d8920e0df18d3 Merge: dfff7fd ce391fc Author: Tim Otten Date: Sun Dec 20 13:44:51 2015 -0800 Merge pull request #7481 from totten/4.6-pumpernickle CRM-16173 - crmCxn - When reconnecting, display the *new* details/perms commit 4e43a5c56a808eb131b2a1ec607b794a8dfbcd9e Author: Seamus Lee Date: Thu Dec 17 19:57:50 2015 +0000 Improve relationship report by adding in end_date check for active relationships and also by adding in filters for relationship start and end dates Switch to using is_valid test as per 4.7 commit ce391fc46488a3a2bea9724b2bec60e4b6444951 Author: CiviCRM Date: Fri Dec 18 20:08:46 2015 -0800 CRM-16173 - crmCxn - When reconnecting, display the *new* details/permissions. commit 0d4705f27b05f90ba4749e5cce9dcec84a89d69b Author: Borislav Zlatanov Date: Fri Dec 18 23:21:36 2015 +0200 Partial fix for CRM-17734 commit dfff7fdda47eac75ce4113868526f6b808488701 Merge: 794fff5 2c8a6e7 Author: Dave Greenberg Date: Thu Dec 17 09:59:15 2015 -0800 Merge pull request #7458 from davecivicrm/CRM-17702 CRM-17702 - fix for 4.6. commit 2c8a6e7fd251fb78021ba7357b200c8e00562d6e Author: Dave Greenberg Date: Wed Dec 16 17:51:54 2015 -0800 CRM-17702 - fix for 4.6. ---------------------------------------- * CRM-17702: Validation broken on back-end membership form for membership price set with quantity field https://issues.civicrm.org/jira/browse/CRM-17702 commit 794fff5ec7e0f11f37fe594a9f03a3fe3a82b777 Merge: 3aabf33 80d701f Author: Dave Greenberg Date: Fri Dec 11 16:07:06 2015 -0800 Merge pull request #7435 from mlutfy/46-crm17695 CRM-17695: ts() fixes. commit 80d701ff1e6f842202c5c65c46a8ed51af3364ce Author: Mathieu Lutfy Date: Fri Dec 11 11:21:40 2015 -0500 CRM-17695: ts() fixes. commit 3aabf33ac00dcf13ca10f3754db90a1ced6f492e Merge: c265ac8 db22eef Author: Dave Greenberg Date: Wed Dec 9 10:13:29 2015 -0800 Merge pull request #7293 from JKingsnorth/CRM-17585-4.6 CRM-17584 and CRM-17585: Fixes for JS on merge screen commit 38092e30e1dcd4adc061f895f08724d2c31e279e Author: sunil Date: Wed Dec 9 18:45:22 2015 +0530 added extra paramter for idsException hook commit c265ac82a464b996c225a373a942f88a08d185aa Merge: cd93a30 53b4bf1 Author: Eileen McNaughton Date: Tue Dec 8 10:46:47 2015 +1300 Merge pull request #7380 from eileenmcnaughton/CRM-11338 CRM-11338 backport exception class commit cd93a3020596ff5b6621446155c6c2e02ff3feec Merge: 28965c7 377000f Author: Monish Deb Date: Mon Dec 7 20:37:07 2015 +0530 Merge pull request #7400 from jitendrapurohit/CRM-17656 CRM-17656 - Cannot edit activities with custom fields in popup from a… commit 83d8d68144c5c3c555621b36b2405202049e02ba Author: sunil Date: Mon Dec 7 18:52:52 2015 +0530 cividesk logo for standalone plus sites commit 377000f7a0a92948749ec7197c657cd2c160e9c4 Author: jitendrapurohit Date: Mon Dec 7 12:54:59 2015 +0530 CRM-17656 - Cannot edit activities with custom fields in popup from a search results screen commit 6eeb8c31813b11719dc6ddfe6b995585ff254cd8 Author: sunil Date: Mon Dec 7 10:16:32 2015 +0530 fixed strict warning commit 28965c761680c80dfbdcd19f527704a7959d00f0 Merge: 47c75d3 d186b99 Author: Tim Otten Date: Sun Dec 6 19:38:06 2015 -0800 Merge pull request #7388 from totten/4.6-cxn-proxy CiviConnect - Proxy support; UI tweaks; System.get improvements commit 53b4bf16c4800c9cf1021b8b996e673227437665 Author: eileenmcnaugton Date: Fri Dec 4 20:36:52 2015 +1300 CRM-11338 backport exception class Change-Id: Id4ca37d589e0d21074cae140935e28d18de2d59e commit d186b998a70958011dd1733ea07208c495ddb455 Author: Tim Otten Date: Sat Dec 5 15:56:53 2015 -0800 System.get API - Return current PHP + MySQL time commit 539ee2874f34d470856c2a83189a08457289db32 Author: Tim Otten Date: Sat Dec 5 15:50:52 2015 -0800 System.get API - Return MySQL settings commit 0bc75587e51a890b33bd9e0ade6e55e79e996784 Author: Tim Otten Date: Sat Dec 5 14:09:43 2015 -0800 System.get API - Return CMS version commit 52824723628908733ac37687448ab677e09f4de9 Author: Tim Otten Date: Sat Dec 5 15:51:29 2015 -0800 crmCxnManageCtrl - Style rows commit 025fb79a06f5b27cb2e031dff0bd0f451167cf0a Author: Tim Otten Date: Sat Dec 5 14:05:01 2015 -0800 crmCxnManageCtrl - Consistently show app name in dialog titles commit de44f5bbba5276b8f4f96bba55d09183963c1448 Author: Tim Otten Date: Sat Dec 5 14:00:52 2015 -0800 crmCxnManageCtrl - Provide informational dialog commit 24fa24b7e8dc8ed7fc7e19a0d26d747ca325eab8 Author: Tim Otten Date: Sat Dec 5 13:43:36 2015 -0800 crmCxnManageCtrl - Display appId and appUrl commit f8a509b0e82edcb8881e5fbf3ce7810ac7f6f68d Author: Tim Otten Date: Sat Dec 5 13:31:49 2015 -0800 crmCxn - Add "Reconnect" option commit 33586cd530f9b62f44e5739c91e11d2f402c71b6 Author: Tim Otten Date: Sat Dec 5 13:13:38 2015 -0800 crmCxnManageCtrl - Style rows. Move links into dropdown. commit c1f8d2717fc520c8e5390248ded684e0cd44a652 Author: Tim Otten Date: Fri Dec 4 20:58:34 2015 -0800 CRM_Cxn_BAO_Cxn::createRegistrationClient - Support proxies commit b2b1a38680f23c0e32eb3b15d46a8e6f4f9dd369 Author: Tim Otten Date: Fri Dec 4 20:57:19 2015 -0800 composer.json - Update civicrm/civicrm-cxn-rpc commit 47c75d35251454215855052dcbd4cca5dd504db8 Merge: 69a4dc1 c25248c Author: Dave Greenberg Date: Fri Dec 4 11:31:27 2015 -0800 Merge pull request #7178 from jmcclelland/CRM-17493 CRM-17493 - fix import of checkbox'ed data commit 69a4dc1948e24977c6a8a270ad7c8647b5f48e42 Merge: 496f6df fa1f31c Author: Eileen McNaughton Date: Fri Dec 4 18:41:36 2015 +1300 Merge pull request #7375 from agh1/hook-civicrm-alterprintheader Add regions for report headers commit 496f6df19e02ec30403610f8ee9bcc7a4a0f996c Merge: bd63f1b 5622a10 Author: Dave Greenberg Date: Thu Dec 3 15:48:27 2015 -0800 Merge pull request #7357 from jitendrapurohit/CRM-17504-46 4.6 Backport Case Activity report fix commit bd63f1b1388fcb89afdf912b8862be9e94d46f7f Author: Coleman Watts Date: Thu Dec 3 14:41:37 2015 -0500 Fix broken table in languages other than English Table layout was broken because code was relying on english label "Soft Credit For". There may well be a better way to do this, but at least it's not as broken as before. Conflicts: templates/CRM/Contribute/Form/Selector.tpl commit fa1f31cfb0f8c1e4fdcf4e457926611b50dbf463 Author: Andrew Hunt Date: Thu Dec 3 14:44:41 2015 -0500 CRM-17658 PDFs: rename pdf-header region to export-document-header ---------------------------------------- * CRM-17658: Can't alter header of PDF report https://issues.civicrm.org/jira/browse/CRM-17658 commit acb18c874816625b3ca9fe3b468fc87381384c9f Author: Andrew Hunt Date: Thu Dec 3 12:46:36 2015 -0500 CRM-17658 Reports: add new region for default report HTML header commit bf7523b49cec68ae186a7caa1178a8aae33782f8 Author: Andrew Hunt Date: Thu Dec 3 12:29:00 2015 -0500 CRM-17658 PDFs: add new region 'pdf-header' in head of PDFs commit 9834161aecfeb637296266be7211d9f7c52b963d Merge: d7f9923 7597b96 Author: Eileen McNaughton Date: Thu Dec 3 23:17:27 2015 +1300 Merge pull request #7364 from eileenmcnaughton/CRM-17653 CRM-17653 save contribution_recur_id to back office contribution on r… commit 7597b96ea93d12cf19069d0511a00a8ac1f9b9bc Author: eileenmcnaugton Date: Thu Dec 3 14:59:35 2015 +1300 CRM-17653 save contribution_recur_id to back office contribution on recurring renewal commit d7f9923b65221852e4e69969b48f66b442fb8e63 Merge: d97c835 1bad01d Author: Dave Greenberg Date: Wed Dec 2 16:51:22 2015 -0800 Merge pull request #7337 from eileenmcnaughton/CRM-17636-46 CRM-17636 fix for items not being recorded correctly (modified_date, … commit 07d109971f68657c23b77a52a19ce215be106788 Author: sunil Date: Wed Dec 2 16:08:09 2015 +0530 added 4.4 standalone changes to 4.6 standalone plus commit 5622a10af6d46bb7d3b635011fcd0e1472bb0608 Author: jitendrapurohit Date: Wed Dec 2 14:37:35 2015 +0530 minor fix commit 998c864fb871bebfeaeb8b24a10759cd639ea8ac Author: jitendrapurohit Date: Wed Dec 2 14:09:04 2015 +0530 4.6 Backport Case Activity report fix commit d97c8357cbd53ff1cf368dead07e6bc2788b56c8 Merge: 4a51cda 6ffe547 Author: Eileen McNaughton Date: Wed Dec 2 15:26:29 2015 +1300 Merge pull request #7340 from eileenmcnaughton/CRM-17394-helper CRM-17641backport Civi class helpers commit 4a51cdab9b25c3347dc396a3e130d68c0023c133 Merge: 94f3493 b92cfdf Author: colemanw Date: Tue Dec 1 20:39:09 2015 -0500 Merge pull request #7352 from seamuslee001/CRM-17637 CRM-17637 Reduce checktime out to 1s instead of 5 to avoide slowdown … commit b92cfdf91a2cd3b06b7a118f883aa10a660c1a2d Author: Seamus Lee Date: Wed Dec 2 01:35:38 2015 +0000 CRM-17637 Reduce checktime out to 1s instead of 5 to avoide slowdown in remote servers commit 94f34930540ef8433d740263c2b7891d5d2c3e48 Merge: a735c19 d1acf57 Author: colemanw Date: Tue Dec 1 20:35:11 2015 -0500 Merge pull request #7351 from colemanw/crm-public crm-public fix select2 height commit d1acf57ff398bf59bfefd0fb979353a0b78c4e36 Author: Coleman Watts Date: Tue Dec 1 20:34:45 2015 -0500 crm-public fix select2 height commit a735c197ef07c6c516125747cb5da111ee4e7ceb Merge: 081b60e bcc7997 Author: Eileen McNaughton Date: Tue Dec 1 20:22:38 2015 +1300 Merge pull request #7270 from eileenmcnaughton/CRM-17611 CRM-17611 do not set dummy trxn_id on declines and do not attempt to … commit 6ffe54716c7dc511edf57027a5ca084ac1e294fe Author: jitendrapurohit Date: Wed Sep 23 15:28:53 2015 +0530 include civi.php in distmaker commit 6c059e995fd41bd47cbdf234eff9e5372d1e2d01 Author: eileen Date: Tue Dec 1 14:42:38 2015 +1300 CRM-17394 backport Civi class to support utf names fix This makes it easier to backport 'bits & pieces' that use the 4.7 helpers Change-Id: Iad9f68a4f6b0188c981ead707fa2bcf2b3dca3b7 commit 1bad01dc079ddbcecdc3dfce6fc89e04e117dd55 Author: eileenmcnaughton Date: Mon Nov 30 05:40:50 2015 +0000 CRM-17636 fix for items not being recorded correctly (modified_date, invoice_id, is_email_receipt. Partial fix on contribution_status_id - covers setting to pending but not yet updating to In Progress Conflicts: CRM/Member/Form/MembershipRenewal.php commit 081b60e2aebfaf35bc9bfc84e93df9bc8abfd594 Merge: 03d2719 30d3a6f Author: Monish Deb Date: Fri Nov 27 18:33:14 2015 +0530 Merge pull request #7314 from jitendrapurohit/CRM-17596 CRM-17595 and CRM-17596 -- Case Export Issues commit 03d2719c6ad6473a1ed7f47bb0efad8455c76869 Merge: c7ddf64 4d3d0c7 Author: Eileen McNaughton Date: Fri Nov 27 09:32:53 2015 +1300 Merge pull request #7310 from eileenmcnaughton/CRM-17519 CRM-17519 refactor assignment of profile parameters so they don't leak commit c7ddf6475c2a45775bf1afe79b64ce7a255ac2e4 Merge: e9404bc 2be3658 Author: colemanw Date: Thu Nov 26 10:12:05 2015 -0500 Merge pull request #6972 from guanhuan/update-contrib-page-templates Add crm-public-form-item class to contribution page and add possibili… commit 2be3658f5e2e1fa727747043f2a84cf7bc447f52 Author: Guanhuan Chen Date: Thu Nov 26 13:23:29 2015 +0000 Move div pair into OnBehalfOf.tpl with condition on front-end commit 30d3a6f2c4fa67e43c36176503ace3aa0d961d62 Author: jitendrapurohit Date: Thu Nov 26 15:15:10 2015 +0530 CRM-17595 and CRM-17596 -- Case Export Issues commit 4d3d0c7f1c6856d29678100271ae31e1aaf76546 Author: eileenmcnaugton Date: Thu Nov 26 20:44:10 2015 +1300 comment & whitepace commit 9d9f2fc6abfa8bfeb81064b7c660d9a16579b93c Author: eileenmcnaugton Date: Thu Nov 26 20:09:32 2015 +1300 CRM-17519 refactor assignment of profile parameters so they don't leak commit 650968efc746fc6038d4c286eeaf75348e6902b5 Author: eileenmcnaugton Date: Thu Nov 26 20:08:35 2015 +1300 CRM-17519 add test for leaky smarty params (profile vars) commit 1ccd7c3056718a06cc5463e34e6b46cef547d5d2 Author: eileenmcnaugton Date: Thu Nov 26 20:05:36 2015 +1300 Test fix - allow clear messages to clear multiple messages commit e9404bcef28ef009d278fedc9b67715310eaa57d Merge: 3c42b8d 005476a Author: Eileen McNaughton Date: Thu Nov 26 19:15:41 2015 +1300 Merge pull request #7309 from eileenmcnaughton/CRM-17539-46 Additional tests on 4.6 (CRM-17519 CRM17539) commit 005476a83ad253e801854b32977f79928a0515c1 Author: eileen Date: Wed Nov 25 23:16:37 2015 +1300 CRM-17519 minor fixes to support test expansion Conflicts: tests/phpunit/CiviTest/CiviUnitTestCase.php commit 2f59d010964d734eeb4f69920020ee1b7ec75a78 Author: eileenmcnaugton Date: Thu Nov 26 11:58:41 2015 +1300 CRM-17539 preliminary tests on receipts for memberships commit 955dea0c6d606841a66abb5a4d4e6014e68f14d5 Author: eileenmcnaugton Date: Thu Nov 26 10:42:31 2015 +1300 Further synchronisation of tests from master to 4.6 to allow portability commit 03a8656c19a45f20449b9dac93c34980128544f3 Author: eileen Date: Thu Nov 26 00:26:17 2015 +1300 CRM-17519 add test to (fail to) demonstrate leakage commit 62aba7f3f069abe637b7cf22529cbafeb607556a Author: eileen Date: Wed Nov 25 21:36:28 2015 +1300 CRM-17519 add test to catch any leakage at IPN level commit 3e607ed6d9f7f2f73ab07d40a2d115f409edfa44 Author: eileenmcnaugton Date: Thu Nov 26 10:24:36 2015 +1300 Synchronize test classes from master Add extra functions & change contributionCreate signature in 4.6 to match master commit 3c42b8da2517a5178d9fda9daf54f006446be4f7 Merge: 7ea645b 4346da4 Author: Eileen McNaughton Date: Thu Nov 26 12:33:35 2015 +1300 Merge pull request #7269 from eileenmcnaughton/CRM-17610 CRM-17610 replace exits with exceptions in IPN processing commit db22eef26aa83a35dcebb48ef86d58fb4e47a73c Author: JKingsnorth Date: Tue Nov 24 15:13:16 2015 +0000 Fix 'add new' JS target on merge screen and duplicated JS function commit 7ea645b6c9e0efb22efe9c84fc231c1028fb3ec9 Merge: 5cd1cc6 74e01ed Author: Eileen McNaughton Date: Tue Nov 24 17:56:11 2015 +1300 Merge pull request #7203 from civicrm/eileenmcnaughton-patch-1 [DO NOT MERGE to master] Update 4.6 toxic code comment commit 5cd1cc6f1671f3f4d1617ec6df826a595920c024 Merge: cec72d3 980f3b1 Author: Eileen McNaughton Date: Tue Nov 24 15:04:42 2015 +1300 Merge pull request #7207 from totten/4.6-js-style jshint fixes commit 83e9591fd89fba5801f9aeb4a2d72cc986fc28c1 Author: Andrew Hunt Date: Mon Nov 23 11:31:32 2015 -0500 CRM-17614 Petitions - prep custom fields for saving commit 7938dd4773faa98f7c243ee2def0d21eb9e97ff8 Author: Andrew Hunt Date: Mon Nov 23 11:07:18 2015 -0500 CRM-17614 Display survey custom fields on view/edit petition commit bcc7997c0b31e675e65b4265794a58d041fdc685 Author: eileenmcnaugton Date: Mon Nov 23 12:56:46 2015 +1300 CRM-17611 do not set dummy trxn_id on declines and do not attempt to validate non-existent trxn_id commit 4346da4bc874633c318edbdfbdd3d9e6d4601522 Author: eileenmcnaugton Date: Mon Nov 23 11:39:03 2015 +1300 CRM-17610 replace exits with exceptions in IPN processing commit cec72d325951873bfade038e8bd1304b6bd93841 Merge: 6c7f161 da01701 Author: colemanw Date: Sat Nov 21 20:22:28 2015 -0500 Merge pull request #6732 from pradpnayak/CRM-17209 --CRM-17209, fixed notice error when contribution status is changed f… commit 6c7f1618cd61227223440479f2454e71376c316d Merge: 1ecb0bb dd3aa6f Author: colemanw Date: Sat Nov 21 08:33:55 2015 -0500 Merge pull request #7264 from jaapjansma/CRM-17601 Fixed #CRM-17601 show custom fields on case reports commit dd3aa6f0869db44d8660407dbef578903650ce93 Author: Jaap Jansma Date: Sat Nov 21 09:55:31 2015 +0100 fixed #CRM-17601 commit was incomplete last time commit 1ecb0bbffac2f67e3579dcf853d8faeb764a479e Merge: a5b2c3a e75182f Author: Dave Greenberg Date: Fri Nov 20 10:52:06 2015 -0800 Merge pull request #7262 from jaapjansma/CRM-17382 fixed #CRM-17382 commit b326c68202eef97fbb2677070fb9724e4b03111c Author: Jaap Jansma Date: Fri Nov 20 14:03:02 2015 +0100 Fixed #CRM-17601 show custom fields on case reports commit e75182f213f39f85a41a043fc384e508fe8034c2 Author: Jaap Jansma Date: Fri Nov 20 13:48:15 2015 +0100 fixed #CRM-17382 commit a5b2c3af150d01e6f4705dbc5b45a88a44e2fa4f Merge: 05839cc f05ee7e Author: Monish Deb Date: Fri Nov 20 11:08:06 2015 +0530 Merge pull request #7257 from monishdeb/testFailures CRM-17520 webtest fix commit f05ee7e4bffe76d75808782a4c466ea56e023eab Author: monishdeb Date: Fri Nov 20 11:03:44 2015 +0530 CRM-17520 webtest fix ---------------------------------------- * CRM-17520: Wrong Non-deductable amount after doing back-office contribution with is_deductible = TRUE and no premium https://issues.civicrm.org/jira/browse/CRM-17520 commit 05839ccc1c721467fb2397b45572f160a542e4d3 Merge: 28eb787 7c99af4 Author: Coleman Watts Date: Thu Nov 19 19:40:57 2015 -0500 Merge branch 'aydun-CRM-16203' into 4.6 Conflicts: CRM/Report/Form.php commit 28eb7872e710e9bc74613d10cc39efa3d87b9373 Merge: eb04ac4 c5f7735 Author: colemanw Date: Thu Nov 19 18:34:03 2015 -0500 Merge pull request #7176 from christianwach/crm-17543 CRM-17543 Bootstrapping WordPress triggers multiple PHP warnings and plugin load failures commit eb04ac49fdce2ee873b7a25e4d7ee07cc09561af Merge: 4a0ef33 bd265d6 Author: colemanw Date: Thu Nov 19 18:32:37 2015 -0500 Merge pull request #7254 from monishdeb/CRM-17417 CRM-17417 and CRM-17418 fixes commit bd265d68f6eb7e2f881eafc7272336729483beb1 Author: monishdeb Date: Thu Nov 19 23:00:34 2015 +0530 format fix commit 4a0ef338dfe8eb2531ce0f15e83d9f0208c49714 Merge: a6162ae 2f27f8a Author: Monish Deb Date: Thu Nov 19 19:36:03 2015 +0530 Merge pull request #7246 from agileware/4.6-CRM-17417 CRM-17417: Tax is reapplied when editing a contribution associated with a membership or participant commit 7a73122064f9749425b7196aa0ce5df6fa84c274 Author: monishdeb Date: Thu Nov 19 19:33:38 2015 +0530 CRM-17417 and CRM-17418 fixes ---------------------------------------- * CRM-17417: Tax is reapplied when editing a contribution associated with a membership or participant entity unless the status is changed. https://issues.civicrm.org/jira/browse/CRM-17417 * CRM-17418: Cancelling a taxable contribution writes incorrect values to the database https://issues.civicrm.org/jira/browse/CRM-17418 commit a6162ae224890f0852b1db0c767c811f3c4baae1 Merge: c80df35 b8aee61 Author: colemanw Date: Wed Nov 18 20:53:31 2015 -0500 Merge pull request #7247 from colemanw/explorer Api explorer - fix getfields action list commit b8aee61631d5040f2d1f1432f457ca5ab0d58764 Author: Coleman Watts Date: Wed Nov 18 17:58:05 2015 -0500 Api explorer - fix getfields action list commit 2f27f8a95a6b47e23ba8202823b9ad4b5f1ea458 Author: Vaibhav Sagar Date: Thu Nov 19 09:45:45 2015 +1100 CRM-17417: Modify conditional so that tax is not reapplied on edit. ---------------------------------------- * CRM-17417: Tax is reapplied when editing a contribution associated with a membership or participant entity unless the status is changed. https://issues.civicrm.org/jira/browse/CRM-17417 commit a7f2802fb1fbc12303ba2c02986c87e263704622 Author: Pradeep Nayak Date: Thu Nov 12 10:32:07 2015 +0530 --CRM-17418, fixed amount during cancelling completed contribution when tax is enabled commit c80df351efca48cc72dd33774c8b9082267c6bf2 Merge: 479f5c3 6494453 Author: Monish Deb Date: Wed Nov 18 21:24:11 2015 +0530 Merge pull request #7240 from sudhabisht/WebtestFix46 Webtest Fix commit 6494453bbbbb74061b1df522b66cd15462d574bc Author: Sudha Bisht Date: Wed Nov 18 16:21:43 2015 +0530 Webtest Fix commit 479f5c33d690136bf878e5a2ecaa9714a6c46ef2 Merge: fd5fdfc aca6ce6 Author: Yashodha Chaku Date: Wed Nov 18 14:10:19 2015 +0530 Merge pull request #6733 from pradpnayak/CRM-16801 --CRM-16801, Replaced $_REQUEST with $_POST commit fd5fdfc54fe6f7eb83d979bd7a88fa62f00e8e43 Merge: 05c2be3 eba5ec3 Author: Monish Deb Date: Wed Nov 18 12:56:34 2015 +0530 Merge pull request #7229 from yashodha/CRM-17564 CRM-17564: Dedupe rule doesnt appear to be working correctly commit 05c2be32b6e3fbf3a573123aa511601f353310e1 Merge: 6010a9e d084035 Author: Monish Deb Date: Wed Nov 18 00:30:21 2015 +0530 Merge pull request #7233 from sudhabisht/WebtestFix46 Webtest Fix commit 6010a9e511f6aa541a172860e62e86e0a053d748 Merge: e30d20b d67ffe7 Author: Monish Deb Date: Tue Nov 17 20:33:11 2015 +0530 Merge pull request #7227 from yashodha/CRM-17563 CRM-17563 commit d08403504b331ba1caca7d8f7dc4289744c4a278 Author: Sudha Bisht Date: Tue Nov 17 19:23:47 2015 +0530 Fix commit 4990eea118d2c722c0ec1259931b92bb2cfa8760 Author: Sudha Bisht Date: Tue Nov 17 19:15:27 2015 +0530 Minor fix commit 1788aac562b27b85af4ab9c4013654ff6647e1f6 Author: Sudha Bisht Date: Tue Nov 17 18:57:46 2015 +0530 WebtestFix commit eba5ec3d43567c2b092605d727d93a30a5238923 Author: yashodha Date: Tue Nov 17 16:03:13 2015 +0530 CRM-17564: minor fix ---------------------------------------- * CRM-17564: Dedupe rule doesnt appear to be working correctly... https://issues.civicrm.org/jira/browse/CRM-17564 commit 520b28fe82eb1baeb9537b21abef4461ae80dd63 Author: yashodha Date: Tue Nov 17 15:24:03 2015 +0530 CRM-17564: Dedupe rule doesnt appear to be working correctly ---------------------------------------- * CRM-17564: Dedupe rule doesnt appear to be working correctly... https://issues.civicrm.org/jira/browse/CRM-17564 commit d67ffe769081ba6cf422ab078f3b12fbfb4e0471 Author: yashodha Date: Tue Nov 17 13:17:59 2015 +0530 minor format fix commit 693b0271f07e3dc3c50121fefd972994e5445f84 Author: yashodha Date: Tue Nov 17 12:05:09 2015 +0530 CRM-17563: Dedupe rules - changes not saved when editing existing rule ---------------------------------------- * CRM-17563: Dedupe rules - changes not saved when editing existing rule https://issues.civicrm.org/jira/browse/CRM-17563 commit e30d20bb84e9c36ac83a1e60a29f19244cdd0ead Merge: fdd435c 94a8422 Author: Dave Greenberg Date: Mon Nov 16 15:57:44 2015 -0800 Merge pull request #7221 from agh1/sort-event-date-46 CRM-17579 Reports - sort by event start date in participant report commit 94a8422b726090f1477ada2c516caeaa5f41a3eb Author: Andrew Hunt Date: Mon Nov 16 14:24:51 2015 -0500 CRM-17579 Reports - sort by event start date in participant report ---------------------------------------- * CRM-17579: Sort by event date in participant report https://issues.civicrm.org/jira/browse/CRM-17579 commit fdd435cc858af91615516dcc522c719927c03e67 Merge: b46a260 df393c1 Author: Dave Greenberg Date: Mon Nov 16 11:18:01 2015 -0800 Merge pull request #7217 from jitendrapurohit/CRM-17565 CRM-17565 -- Clicking case status link on case dashboard does not ope… commit b46a2605276d3972dd4ba826492fc0abc418d4d9 Merge: 52a16f9 80a9d03 Author: Monish Deb Date: Mon Nov 16 23:04:42 2015 +0530 Merge pull request #7219 from sudhabisht/WebtestFix46 Webtest Fix commit 80a9d0351cadaaad998dadbc85e21dcb013f5f45 Author: Sudha Bisht Date: Mon Nov 16 18:47:26 2015 +0530 Webtest Fix commit 920f49b46ec2da8fd0c2cdf8bec55d0ea0acab1d Author: yashodha Date: Mon Nov 16 18:15:05 2015 +0530 CRM-17563: Dedupe rules - changes not saved when editing existing rule ---------------------------------------- * CRM-17563: Dedupe rules - changes not saved when editing existing rule https://issues.civicrm.org/jira/browse/CRM-17563 commit df393c14f48287220472273c93e15bad65bf9f54 Author: jitendrapurohit Date: Mon Nov 16 12:55:06 2015 +0530 CRM-17565 -- Clicking case status link on case dashboard does not open in search correctly commit 980f3b14bae2dbfb7ccf0f1f532686c840a21721 Author: Tim Otten Date: Sun Nov 15 10:59:04 2015 -0800 jquery.dashboard.js - Disable linting Discussed a bit at https://github.com/civicrm/civicrm-core/pull/7207 commit 52a16f9d3c7995cef45234a23880e21c2223042b Merge: f34e5c0 54a4266 Author: colemanw Date: Fri Nov 13 17:07:53 2015 -0500 Merge pull request #7180 from GinkgoFJG/CRM-17192 CRM-17192: Fixes problem with failure to prepopulate crmEntityRefs with multiple values. commit 9e483b7fc7c745bae6ab8a27a312ee808a2f0e9a Author: Tim Otten Date: Fri Nov 13 12:02:29 2015 -0800 jquery.dashboard.js - s/'object '/'object'/ commit f3ac8e2f5d93ce51a83714961ae97b218aad8420 Author: Tim Otten Date: Fri Nov 13 11:42:43 2015 -0800 jquery.dashboard.js - Fix bad variable scoping (Possible behavioral change) These snippets were declaring new variables (eg `if (...) var ids = foo`) in one scope then accessing them in a later scope - which properly triggers a warning from jshint. In my mind, this would be a nullop (always leaving `ids` undefined), although JS does allow values to leak through. I *suspect* this leaking was *partially* intentional. The variable (`ids` or `id`) is clearly intended to be used a few lines later. However, in the case where the conditional is *false*, the content of `ids` or `id` is unclear. You might expect it to be `undefined` (and it probably would be in the first few loop-iterations), but eventually you'd would start leaking values across iterations, and that doesn't seem normal/intentional. commit ce7f49532a1c693a77f730853275ad57bede6d5e Author: Tim Otten Date: Fri Nov 13 11:38:02 2015 -0800 jquery.dashboard.js - Fix conflicted variable names commit 1002adfab68251aaa042e0b3b92a0e369f15bf4e Author: Tim Otten Date: Fri Nov 13 11:34:32 2015 -0800 crm.searchForm.js - Fix for jshint commit 74e01ed52beafd6df6ff3d8c62a92513671f3ebf Author: Eileen McNaughton Date: Thu Nov 12 19:04:25 2015 -0800 Update 4.6 toxic code comment commit f34e5c0efbe3419f2615775927b1d4afc5a8195c Merge: df4f22d 542441f Author: Tim Otten Date: Wed Nov 11 13:46:06 2015 -0800 Merge pull request #7128 from totten/4.6-casechange-hook CRM_Utils_Hook::caseChange - Fix firing commit df4f22d08370fa7fa808455530ea17579ba357be Merge: 56c5b99 e597fc3 Author: Dave Greenberg Date: Wed Nov 11 12:02:19 2015 -0800 Merge pull request #7185 from davecivicrm/CRM-17537 CRM-17357 - Conditional label for Name / Email search fields based on… commit e597fc33c6fd2afbeb978492bb54e04493544255 Author: Dave Greenberg Date: Wed Nov 11 11:52:28 2015 -0800 CRM-17357 - Conditional label for Name / Email search fields based on search setting. ---------------------------------------- * CRM-17357: PHP fatal error during creation of receipt PDF https://issues.civicrm.org/jira/browse/CRM-17357 commit 56c5b99f3ed9ef02a8f892fe5ee3008aa9b72cf2 Merge: 900273e 7958c58 Author: Dave Greenberg Date: Wed Nov 11 11:43:37 2015 -0800 Merge pull request #7166 from eileenmcnaughton/CRM-17536 CRM-17536 fix quicksearch label for when email search is disabled commit 900273e5829fa28d7a5d64782db847801ce05435 Merge: 2ba7e0a 8652384 Author: Dave Greenberg Date: Wed Nov 11 11:03:55 2015 -0800 Merge pull request #7182 from totten/4.6-gencode-mem xml/GenCode - Expand memory limit commit c25248cdb8ffc8b99aa5611e1f8e5ed52414e7b2 Author: Jamie McClelland Date: Wed Nov 11 13:15:21 2015 -0500 CRM-17493 - ensure data is properly handled in all cases Not just for participant records. commit 8652384e5e32bcee99ff5fbf248c57b54192158f Author: Tim Otten Date: Tue Nov 10 17:30:00 2015 -0800 xml/GenCode - Expand memory limit GenCode processes translations in all locales. Loading all locales is memory-intensive (est ~20mb per locale based on `memory_get_usage()`). The locales are tracked in `CRM_Core_I18n::singleton()`. The behavior is actually good for typical usage (1-2 locales per page-view), but it breaks down when one request needs to work with all locales. If it mattered more, we'd probably implement some cache-management to deallocate older/unused locales. But for GenCode, it's OK to bump up memory requirements as high as 1gb. commit 2ba7e0ab8c91bdfef0e2f9a72c3c32b7c35ccd38 Merge: d03da57 b27f479 Author: Dave Greenberg Date: Tue Nov 10 16:15:38 2015 -0800 Merge pull request #7163 from mollux/4.6-CRM-17533 CRM-17533 - Added is_view check to prevent editing read only custom fields. commit 54a426693c5aef1791144cb8776cd3682ad50b5b Author: Frank J. Gómez Date: Tue Nov 10 16:25:20 2015 -0500 CRM-17192: Fixes problem with failure to prepopulate crmEntityRefs with multiple values. commit 7958c588901c9a6d6cca99755b69e7e4749bd9ad Author: eileen Date: Mon Nov 9 09:57:33 2015 -0800 CRM-17536 fix quicksearch label for when email search is disabled Bug: T118036 commit edf21f75167d93d6244df628865ea5cd02329e1e Author: Jamie McClelland Date: Tue Nov 10 13:20:42 2015 -0500 CRM-17493 - fix import of checkbox'ed data Avoid incorrect validation error. commit d03da57b46d8d11baa81588ee65ff15f900d3f73 Merge: ca4622b 532a4bc Author: Monish Deb Date: Tue Nov 10 18:08:32 2015 +0530 Merge pull request #7135 from yashodha/CRM-17485 CRM-17485: Event participant role filter not working in Participant l… commit c5f77355c397ac52004964b5f04e1142acc0985f Author: Christian Wach Date: Tue Nov 10 10:29:21 2015 +0000 codestyling update commit a41113336b31c0545084d2a07d7b5321ebb051cb Author: Christian Wach Date: Tue Nov 10 10:12:11 2015 +0000 pass user ID not user object to `wp_set_current_user()` commit 7a44e49f49437c25b06086a74b79876ce05042c4 Author: Christian Wach Date: Tue Nov 10 10:10:54 2015 +0000 do not load theme files when bootstrapping WordPress commit 05fcde76fca3151a6b0d097abdf776baa96b4697 Author: Christian Wach Date: Tue Nov 10 10:07:07 2015 +0000 declare WordPress Multisite globals commit 532a4bcbd41fd53e3c2d55071eb3925cf1292d8f Author: yashodha Date: Tue Nov 10 13:59:38 2015 +0530 CRM-17485: Event participant role filter not working in Participant list Count Report ---------------------------------------- * CRM-17485: Event participant role filter not working in Participant list Count Report https://issues.civicrm.org/jira/browse/CRM-17485 commit b27f479b24e35c57f046b45aabfa66ca85d9e35d Author: Mattias Michaux Date: Mon Nov 9 20:37:56 2015 +0100 Reworked patch to be smaller and error proof. commit a5f3119b1c672c47e54c114d96f131557d39fbfc Author: Mattias Michaux Date: Mon Nov 9 12:14:49 2015 +0100 Added is_view check to prevent editing read only custom fields. commit ca4622bcaedef7b372302669256c7a335d8ce5ed Merge: 367e71c 96e82f8 Author: colemanw Date: Fri Nov 6 19:35:04 2015 -0500 Merge pull request #7151 from colemanw/CRM-17323 CRM-17323 - Fix site registration links commit 367e71c23d004e8eb064ec6102f38f4103730ad0 Merge: 6b9e913 0f173a0 Author: Dave Greenberg Date: Fri Nov 6 13:37:48 2015 -0800 Merge pull request #7141 from agh1/report-print-header Issues with printing reports commit 96e82f8f473569dc3854653be77f837c5ba77320 Author: Coleman Watts Date: Fri Nov 6 14:17:04 2015 -0500 CRM-17323 - Fix site registration links commit 6e987e3a37bd55d4d49941547a52caa035c39f62 Author: yashodha Date: Fri Nov 6 17:00:40 2015 +0530 CRM-17485: Event participant role filter not working in Participant list Count Report ---------------------------------------- * CRM-17485: Event participant role filter not working in Participant list Count Report https://issues.civicrm.org/jira/browse/CRM-17485 commit 0f173a075d95281f7e04de09efa291bab728443b Author: Andrew Hunt Date: Thu Nov 5 16:14:16 2015 -0500 CRM-13682 Reports - make div the page break rather than table Table page break confuses dompdf commit 1af3956a924699257b275b02782e7cc70bd00176 Author: Andrew Hunt Date: Thu Nov 5 16:05:48 2015 -0500 CRM-13682 Reports - break up table on page break section commit 0642ec63cdf72ac9c4374b4815b2995a8bb90310 Author: Andrew Hunt Date: Thu Nov 5 14:54:37 2015 -0500 CRM-17511 Reports - default header getting emptied commit 75314e6741e96b572832e092461d4bdca2cdef2c Author: yashodha Date: Thu Nov 5 12:42:28 2015 +0530 CRM-17485: Event participant role filter not working in Participant list Count Report ---------------------------------------- * CRM-17485: Event participant role filter not working in Participant list Count Report https://issues.civicrm.org/jira/browse/CRM-17485 commit 6b9e913aaf76e83cab586d3183f22e63ee68d3f9 Merge: 05ab55b e7e13c3 Author: Dave Greenberg Date: Wed Nov 4 16:40:24 2015 -0800 Merge pull request #7116 from JKingsnorth/CRM-17488 CRM-17488 Fix bounce status on mailing detail report commit 05ab55b7b649da30af476c82cc824910bbc39bbd Merge: 2cbaaa6 6d181d0 Author: colemanw Date: Wed Nov 4 17:16:03 2015 -0500 Merge pull request #7130 from colemanw/CRM-17493 CRM-17493 - Fix datatable when popup forms disabled commit 6d181d0e45399a52c9f38b6b299044b6de4d6239 Author: Coleman Watts Date: Wed Nov 4 17:15:01 2015 -0500 CRM-17493 - Fix datatable when popup forms disabled commit 2cbaaa6586a75bee402524167cbcb4242c06f3dd Merge: 6fc9b1e 51d0ad3 Author: Dave Greenberg Date: Wed Nov 4 12:00:48 2015 -0800 Merge pull request #7126 from monishdeb/4.6 CRM-17497 fix - Adding relationship with multi-valued custom field fails commit 542441f4c0f8b4969963cef1136b2ff94861b965 Author: Tim Otten Date: Wed Nov 4 10:24:49 2015 -0800 CRM_Utils_Hook::caseChange - Fix firing The event fired correctly with the Symfony dispatcher, but the hooks did not fire correctly. Fix the hooks. commit 6fc9b1e5dd0663e1b53a0591515378119b7be7d6 Author: CiviCRM Date: Wed Nov 4 02:05:31 2015 -0800 Update version to 4.6.11 commit e7e13c3bf2d55e544a11d646c0f0e7935479b3f2 Author: JKingsnorth Date: Wed Nov 4 09:34:24 2015 +0000 CRM-17488 Correct capitalization of values commit 51d0ad3d78110a2b33ae1f56ddf96c4ce43e793b Author: monishdeb Date: Wed Nov 4 13:37:59 2015 +0530 CRM-17497 fix - Adding relationship with multi-valued custom field fails https://issues.civicrm.org/jira/browse/CRM-17497 commit 939c558821630888c9877757cc601de06fc8809c Author: JKingsnorth Date: Mon Nov 2 15:43:17 2015 +0000 CRM-17488 Fix bounce status on mailing detail report commit dc5df6b7b0f0d35647bd8b8c933da20dcd293e39 Author: Seamus Lee Date: Tue Oct 20 22:56:01 2015 +0000 Fix validtion when users time is before 9am commit 3b5030196347bac4adf2a8dd0d1afe6f07478ef1 Author: Seamus Lee Date: Mon Oct 19 08:12:15 2015 +0000 CRM-17303 Make new test more stable by deliberately moving the day a whole day forward in a verfiable way Fix another test based on new test Fix text and increment the year also Add another unit test to try to work out what is going on Fix tests now working out the issue Fix tests now working out the issue Deliberately cause fail test to see values Fix test by manually setting values commit 7cb678991fde1f83fd703e593b90db4c9a9afd69 Author: Seamus Lee Date: Fri Oct 2 22:25:52 2015 +0000 Fix old tests to reflect new validation and add new test to verify that new validation function works Js Hint fixes Js Hint fixes Js Hint fixes Fix typo found by Dave commit 9acfa57507c2aac910fe443c11f513e77f5f6ee2 Author: Seamus Lee Date: Thu Oct 1 00:54:46 2015 +0000 Remove debugging js hint fixes js hint fixes commit 208ca565a885bc098d7a3b1d31bc7b1aeb8d20b1 Author: Seamus Lee Date: Thu Oct 1 00:49:49 2015 +0000 Shift validation testing to radioDate from crmUI Minor fixes commit 15645c7d843e7d4064cefc41f0e07a9be46b5cee Author: Seamus Lee Date: Wed Sep 30 04:12:16 2015 +0000 CRM-17303 Fix to ensure you cannot schedule Mailings for in the past jshint fixes commit 8eb92199d4e69a314e12ab7d99fdc73b9d5b3405 Author: Guanhuan Chen Date: Thu Oct 15 14:20:05 2015 +0100 Add crm-public-form-item class to contribution page and add possibility to style profiles consistently commit e1df10daa71b431d078178a03ac0fb1d7ad2c9e3 Author: Helena Date: Mon Oct 12 11:01:13 2015 +0100 code style fixed commit 8188b8ae0f3478e21c23ab5e7865774f85a2da35 Author: Helena Date: Sun Oct 11 16:25:36 2015 +0100 Enable/Disable switcher button added. commit 7c99af4f1104cecef61095d142fa19d181790cb9 Author: aydun Date: Sun Oct 11 14:24:22 2015 +0100 Fix for CRM-16203 commit aca6ce6e55461e154ad16b3e5a424d0f35279947 Author: Pradeep Nayak Date: Sat Sep 12 00:30:56 2015 +0530 --CRM-16801, Replaced $_REQUEST with $_POST commit 372440e25ebc46c4597cec8707f336035ee4b00b Author: Pradeep Nayak Date: Sat Sep 12 00:19:12 2015 +0530 --CRM-16617, stop further processing if DB name is invalid commit dc7cc00f4d0ffe8b97eddbf409688ab09dacec3a Author: Pradeep Nayak Date: Wed Sep 9 03:08:33 2015 +0530 CRM-16617, fixed warning from jenkin ---------------------------------------- * CRM-16617: https://issues.civicrm.org/jira/browse/CRM-16617 commit e21afa6c4fde4f2078ec0e6d28a56215d6c6296f Author: Pradeep Nayak Date: Wed Aug 26 02:58:32 2015 +0530 -- CRM-16617, added function to check valid db name ---------------------------------------- * CRM-16617: https://issues.civicrm.org/jira/browse/CRM-16617 commit 65a138ebd5c06f87e1c56bea2fda0a253d427ee9 Author: Pradeep Nayak Date: Tue Aug 25 02:45:29 2015 +0530 CRM-16617, used safe approach method to generate create database query ---------------------------------------- * CRM-16617: https://issues.civicrm.org/jira/browse/CRM-16617 commit da017017b07775fbba7e8f5da6356e0f21d47604 Author: Pradeep Nayak Date: Fri Sep 11 20:48:39 2015 +0530 --CRM-17209, fixed notice error when contribution status is changed from core status # Conflicts: # CRM/Member/BAO/Membership.php --- .mrconfig | 9 + .toxic.json | 4 +- CRM/ACL/BAO/Cache.php | 12 +- CRM/Activity/BAO/Activity.php | 3 - CRM/Activity/Form/Activity.php | 6 +- CRM/Activity/Form/Search.php | 2 +- CRM/Activity/Page/AJAX.php | 10 +- CRM/Admin/Form/ScheduleReminders.php | 2 +- CRM/Admin/Form/Setting.php | 2 + CRM/Admin/Form/Setting/Mail.php | 13 +- CRM/Admin/Form/Setting/Miscellaneous.php | 18 +- CRM/Admin/Page/AJAX.php | 4 +- CRM/Admin/Page/Admin.php | 2 + CRM/Admin/Page/ConfigTaskList.php | 2 + CRM/Batch/Page/AJAX.php | 2 +- CRM/Campaign/BAO/Petition.php | 2 +- CRM/Campaign/Form/Petition.php | 13 + CRM/Campaign/Form/Petition/Signature.php | 7 +- CRM/Case/BAO/Case.php | 3 + CRM/Case/Form/Activity.php | 4 + CRM/Case/Form/CaseView.php | 2 +- CRM/Case/Form/CustomData.php | 2 +- CRM/Case/Form/Search.php | 32 +- CRM/Case/Page/AJAX.php | 1 + CRM/Contact/BAO/Contact.php | 42 +- CRM/Contact/BAO/Contact/Permission.php | 3 +- CRM/Contact/BAO/ContactType.php | 4 +- CRM/Contact/BAO/GroupContactCache.php | 108 ++- CRM/Contact/BAO/Query.php | 676 ++++++++++++------ CRM/Contact/BAO/Relationship.php | 33 +- CRM/Contact/BAO/SavedSearch.php | 79 +- CRM/Contact/Form/CustomData.php | 6 +- CRM/Contact/Form/DedupeRules.php | 2 +- CRM/Contact/Form/Edit/Address.php | 11 +- CRM/Contact/Form/Edit/Email.php | 1 + CRM/Contact/Form/Edit/IM.php | 1 + CRM/Contact/Form/Edit/Phone.php | 1 + CRM/Contact/Form/Inline/Address.php | 2 + CRM/Contact/Form/Relationship.php | 16 +- CRM/Contact/Form/Search/Advanced.php | 21 +- CRM/Contact/Form/Search/Basic.php | 5 +- .../Form/Search/Custom/ActivitySearch.php | 2 +- .../Search/Custom/ContributionAggregate.php | 4 +- CRM/Contact/Form/Search/Custom/Group.php | 20 - .../Form/Search/Custom/MultipleValues.php | 7 - CRM/Contact/Form/Search/Custom/PriceSet.php | 7 - CRM/Contact/Form/Search/Custom/Proximity.php | 3 + CRM/Contact/Form/Search/Custom/Sample.php | 4 +- .../Form/Search/Custom/ZipCodeRange.php | 17 +- CRM/Contact/Form/Task/Label.php | 2 +- CRM/Contact/Import/Parser/Contact.php | 37 +- CRM/Contact/Page/AJAX.php | 10 +- CRM/Contact/Page/Inline/CustomData.php | 2 +- CRM/Contact/Page/View/Summary.php | 2 +- CRM/Contact/Page/View/Vcard.php | 6 +- CRM/Contact/Selector.php | 2 +- CRM/Contribute/BAO/Contribution.php | 52 +- CRM/Contribute/BAO/Contribution/Utils.php | 2 +- CRM/Contribute/BAO/ContributionPage.php | 110 +-- CRM/Contribute/BAO/Query.php | 2 +- CRM/Contribute/Form/CancelSubscription.php | 11 +- CRM/Contribute/Form/Contribution.php | 2 +- CRM/Contribute/Form/Contribution/Confirm.php | 11 +- CRM/Contribute/Form/Contribution/Main.php | 5 +- CRM/Contribute/Form/Search.php | 31 +- CRM/Contribute/Form/Task/PDFLetterCommon.php | 7 +- CRM/Contribute/Form/UpdateBilling.php | 4 +- CRM/Contribute/Form/UpdateSubscription.php | 2 +- CRM/Contribute/Page/ContributionRecur.php | 1 + CRM/Contribute/Page/Tab.php | 1 + CRM/Contribute/Selector/Search.php | 10 + CRM/Core/BAO/Address.php | 4 + CRM/Core/BAO/ConfigSetting.php | 190 ++--- CRM/Core/BAO/CustomField.php | 39 +- CRM/Core/BAO/CustomGroup.php | 123 ++-- CRM/Core/BAO/CustomQuery.php | 136 +--- CRM/Core/BAO/Dashboard.php | 17 +- CRM/Core/BAO/Mapping.php | 4 +- CRM/Core/BAO/OptionValue.php | 18 + CRM/Core/BAO/Setting.php | 9 +- CRM/Core/Block.php | 42 +- CRM/Core/Config.php | 11 +- CRM/Core/Config/Variables.php | 4 - CRM/Core/DAO.php | 129 +++- CRM/Core/DAO/permissions.php | 10 + CRM/Core/Error.php | 33 +- CRM/Core/Form/Search.php | 40 ++ CRM/Core/I18n.php | 10 + CRM/Core/IDS.php | 3 +- CRM/Core/Lock.php | 86 ++- CRM/Core/Page/AJAX.php | 24 + CRM/Core/Payment/AuthorizeNetIPN.php | 36 +- CRM/Core/Payment/BaseIPN.php | 19 + CRM/Core/Payment/PayPalIPN.php | 91 ++- CRM/Core/Payment/PayPalImpl.php | 12 +- CRM/Core/Permission.php | 8 + CRM/Core/Permission/Drupal.php | 1 + CRM/Core/Permission/WordPress.php | 4 +- CRM/Core/Report/Excel.php | 31 + CRM/Core/ScheduledJob.php | 30 +- CRM/Core/SelectValues.php | 1 + .../plugins/function.crmNavigationMenu.php | 2 +- CRM/Core/xml/Menu/Contact.xml | 5 + CRM/Custom/Form/CustomData.php | 7 +- CRM/Cxn/BAO/Cxn.php | 4 +- CRM/Dashlet/Page/GettingStarted.php | 152 ++++ CRM/Dedupe/Finder.php | 5 +- CRM/Event/BAO/Event.php | 3 +- CRM/Event/BAO/Query.php | 2 +- CRM/Event/Form/Participant.php | 4 + CRM/Event/Form/ParticipantView.php | 2 +- .../Registration/AdditionalParticipant.php | 13 + CRM/Event/Form/Search.php | 24 +- CRM/Event/Selector/Search.php | 4 +- CRM/Export/BAO/Export.php | 35 +- CRM/Extension/Manager.php | 2 + CRM/Extension/System.php | 7 +- CRM/Financial/Page/AJAX.php | 2 +- CRM/Grant/BAO/Query.php | 61 +- CRM/Grant/Form/GrantView.php | 3 +- CRM/Grant/Form/Search.php | 2 +- CRM/Group/Page/AJAX.php | 2 +- CRM/Logging/Schema.php | 3 +- CRM/Mailing/BAO/Mailing.php | 33 +- CRM/Mailing/BAO/MailingJob.php | 11 +- CRM/Mailing/Event/BAO/Subscribe.php | 2 +- CRM/Mailing/Event/BAO/TrackableURLOpen.php | 11 +- CRM/Mailing/Form/Subscribe.php | 4 +- CRM/Mailing/Info.php | 10 + CRM/Mailing/Page/AJAX.php | 2 +- CRM/Mailing/Page/Browse.php | 2 +- CRM/Member/BAO/Membership.php | 28 +- CRM/Member/BAO/Query.php | 10 +- CRM/Member/Form.php | 6 +- CRM/Member/Form/Membership.php | 7 +- CRM/Member/Form/MembershipRenewal.php | 12 +- CRM/Member/Form/Search.php | 24 +- CRM/PCP/Page/PCPInfo.php | 8 +- CRM/Pledge/Form/Search.php | 24 +- CRM/Price/BAO/LineItem.php | 15 +- CRM/Price/BAO/PriceField.php | 7 + .../Page/MultipleRecordFieldsListing.php | 4 +- CRM/Report/Form.php | 25 +- CRM/Report/Form/Activity.php | 58 +- CRM/Report/Form/Case/Detail.php | 2 + CRM/Report/Form/Case/Summary.php | 11 +- CRM/Report/Form/Contact/CurrentEmployer.php | 1 + CRM/Report/Form/Contact/Relationship.php | 282 ++++++-- CRM/Report/Form/Contribute/Bookkeeping.php | 21 + CRM/Report/Form/Contribute/Detail.php | 73 +- CRM/Report/Form/Contribute/Lybunt.php | 1 + CRM/Report/Form/Contribute/Recur.php | 2 +- CRM/Report/Form/Contribute/Sybunt.php | 1 + CRM/Report/Form/Event/ParticipantListing.php | 12 +- CRM/Report/Form/Instance.php | 15 +- CRM/Report/Form/Mailing/Clicks.php | 2 +- CRM/Report/Form/Mailing/Detail.php | 6 +- CRM/UF/Page/Field.php | 4 +- CRM/UF/Page/Group.php | 10 +- CRM/Upgrade/Incremental/php/FourFour.php | 5 +- CRM/Upgrade/Incremental/php/FourSix.php | 35 + CRM/Upgrade/Incremental/sql/4.6.11.mysql.tpl | 1 + CRM/Upgrade/Incremental/sql/4.6.12.mysql.tpl | 13 + CRM/Upgrade/Incremental/sql/4.6.13.mysql.tpl | 1 + CRM/Upgrade/Incremental/sql/4.6.14.mysql.tpl | 1 + CRM/Upgrade/Incremental/sql/4.6.15.mysql.tpl | 1 + CRM/Upgrade/Incremental/sql/4.6.16.mysql.tpl | 1 + CRM/Upgrade/Incremental/sql/4.6.17.mysql.tpl | 1 + CRM/Upgrade/Incremental/sql/4.6.18.mysql.tpl | 4 + CRM/Utils/Array.php | 21 + CRM/Utils/Date.php | 19 - CRM/Utils/DeprecatedUtils.php | 23 +- CRM/Utils/Hook.php | 36 +- CRM/Utils/Mail/EmailProcessor.php | 50 +- CRM/Utils/PDF/Label.php | 2 - CRM/Utils/PDF/Utils.php | 10 +- CRM/Utils/ReCAPTCHA.php | 2 +- CRM/Utils/Rule.php | 58 ++ CRM/Utils/SQL.php | 62 ++ CRM/Utils/Sort.php | 6 +- CRM/Utils/String.php | 7 +- CRM/Utils/System/DrupalBase.php | 8 +- CRM/Utils/System/WordPress.php | 15 +- CRM/Utils/Type.php | 77 ++ CRM/Utils/VersionCheck.php | 28 +- Civi.php | 64 ++ Civi/API/SelectQuery.php | 586 +++++++++++++++ .../Exception/PaymentProcessorException.php | 9 + ang/crmCxn.js | 1 + ang/crmCxn/AboutCtrl.html | 14 + ang/crmCxn/AboutCtrl.js | 5 + ang/crmCxn/AdvTable.html | 18 + ang/crmCxn/AdvTable.js | 20 + ang/crmCxn/CheckAddress.js | 33 + ang/crmCxn/ConfirmConnectCtrl.html | 3 + ang/crmCxn/ConfirmReconnectCtrl.html | 23 + ang/crmCxn/ConfirmReconnectCtrl.js | 5 + ang/crmCxn/Connectivity.html | 4 + ang/crmCxn/ManageCtrl.html | 74 +- ang/crmCxn/ManageCtrl.js | 47 +- ang/crmMailing/FromAddress.js | 4 + ang/crmMailing/RadioDate.js | 24 +- ang/crmMailing/services.js | 25 +- ang/crmMailingAB/EditCtrl/report.html | 8 +- ang/crmUi.js | 4 +- ang/crmUtil.js | 5 + api/v3/Acl.php | 5 +- api/v3/Contact.php | 33 + api/v3/Contribution.php | 40 +- api/v3/ContributionRecur.php | 1 + api/v3/Cxn.php | 74 +- api/v3/EntityFinancialTrxn.php | 82 +++ api/v3/FinancialTrxn.php | 82 +++ api/v3/Generic.php | 78 +- api/v3/OptionGroup.php | 1 + api/v3/System.php | 89 ++- api/v3/System/mysql-whitelist.txt | 328 +++++++++ api/v3/System/setting-whitelist.txt | 41 ++ api/v3/utils.php | 143 +++- composer.json | 11 +- composer.lock | 102 ++- css/civicrm.css | 2 + css/civicrmNavigation.css | 11 +- css/print.css | 3 +- distmaker/dists/common.sh | 2 +- extern/authorizeIPN.php | 19 + extern/ipn.php | 22 +- i/logos/cividesk.png | Bin 0 -> 8706 bytes install/index.php | 38 +- js/crm.ajax.js | 6 +- js/crm.searchForm.js | 1 + js/jquery/jquery.dashboard.js | 15 +- settings/Core.setting.php | 12 - settings/Mailing.setting.php | 95 +++ sql/civicrm_generated.mysql | 66 +- templates/CRM/Admin/Page/APIExplorer.js | 6 +- templates/CRM/Admin/Page/Admin.tpl | 2 +- templates/CRM/Admin/Page/ConfigTaskList.tpl | 2 +- templates/CRM/Block/DidYouKnow.tpl | 33 + templates/CRM/Campaign/Form/Petition.tpl | 19 + .../CRM/Campaign/Form/Petition/Block.tpl | 156 ---- .../CRM/Campaign/Form/Petition/Signature.tpl | 4 +- templates/CRM/Contact/Form/Merge.tpl | 247 +++---- .../CRM/Contact/Page/Inline/ContactInfo.tpl | 3 +- .../Page/View/RelationshipSelector.tpl | 6 +- .../CRM/Contribute/Form/Contribution.tpl | 19 +- .../CRM/Contribute/Form/Contribution/Main.tpl | 112 +-- .../Form/Contribution/OnBehalfOf.tpl | 13 +- templates/CRM/Contribute/Form/Selector.tpl | 4 - .../CRM/Contribute/Page/ContributionRecur.tpl | 9 +- templates/CRM/Custom/Page/Option.tpl | 2 +- templates/CRM/Dashlet/Page/GettingStarted.tpl | 27 + templates/CRM/Event/Form/Selector.tpl | 2 +- templates/CRM/Mailing/Page/Component.tpl | 2 +- templates/CRM/Report/Form/Layout/Table.tpl | 13 +- templates/CRM/UF/Form/Block.tpl | 4 +- templates/CRM/common/navigation.js.tpl | 26 +- templates/CRM/common/success.tpl | 2 +- tests/karma/unit/crmMailingRadioDateSpec.js | 25 +- .../CRM/Contact/BAO/GroupContactCacheTest.php | 59 +- tests/phpunit/CRM/Contact/BAO/QueryTest.php | 2 +- .../Contact/Form/Search/Custom/GroupTest.php | 7 +- .../Contact/Form/Search/Custom/SampleTest.php | 253 +++++++ .../Search/Custom/SampleTestDataProvider.php | 124 ++++ .../group-dataset.xml} | 0 .../Search/Custom/datasets/sample-dataset.xml | 92 +++ .../phpunit/CRM/Core/BAO/CustomGroupTest.php | 119 ++- .../CRM/Core/BAO/FinancialTrxnTest.php | 2 +- tests/phpunit/CRM/Core/DAOTest.php | 51 +- .../CRM/Core/Payment/AuthorizeNetIPNTest.php | 145 +++- .../CRM/Core/Payment/AuthorizeNetTest.php | 24 +- .../phpunit/CRM/Core/Payment/BaseIPNTest.php | 112 ++- .../CRM/Core/Payment/PayPalIPNTest.php | 169 +++++ tests/phpunit/CRM/Financial/Page/AjaxTest.php | 2 +- tests/phpunit/CRM/Utils/TypeTest.php | 34 + tests/phpunit/CiviTest/CiviMailUtils.php | 50 +- .../phpunit/CiviTest/CiviSeleniumTestCase.php | 8 +- tests/phpunit/CiviTest/CiviUnitTestCase.php | 185 ++++- .../WebTest/ACL/AssignUsersToRolesTest.php | 12 +- .../WebTest/Activity/StandaloneAddTest.php | 68 ++ .../WebTest/Case/CaseDashboardTest.php | 8 +- .../AdvancedSearchedRelatedContactTest.php | 4 +- .../WebTest/Contact/DupeContactTest.php | 61 ++ .../Contribute/OfflineContributionTest.php | 2 +- .../phpunit/WebTest/Contribute/PCPAddTest.php | 2 +- .../WebTest/Contribute/StandaloneAddTest.php | 66 +- .../Contribute/UpdateContributionTest.php | 4 +- .../UpdatePendingContributionTest.php | 7 +- tests/phpunit/WebTest/Event/AddEventTest.php | 3 + .../WebTest/Event/ParticipantSearchTest.php | 4 +- tests/phpunit/WebTest/Mailing/MailingTest.php | 4 +- .../WebTest/Member/EditMembershipTest.php | 58 +- .../Member/InheritedMembershipTest.php | 12 +- .../Member/OfflineMembershipRenewTest.php | 4 +- .../Member/OnlineMembershipCreateTest.php | 3 +- .../Member/OnlineMembershipRenewTest.php | 3 +- tests/phpunit/api/v3/ContributionPageTest.php | 265 ++++++- tests/phpunit/api/v3/ContributionSoftTest.php | 64 +- tests/phpunit/api/v3/ContributionTest.php | 216 +++++- tests/phpunit/api/v3/OptionGroupTest.php | 22 + .../phpunit/api/v3/ParticipantPaymentTest.php | 41 +- tests/phpunit/api/v3/PledgePaymentTest.php | 5 +- .../phpunit/api/v3/SyntaxConformanceTest.php | 17 + .../api/v3/TaxContributionPageTest.php | 50 +- .../org.civicrm.multisite/multisite.php | 2 +- .../ActivitySearch.php | 4 +- tools/scripts/composer/dompdf-cleanup.sh | 10 + tools/scripts/composer/tcpdf-cleanup.sh | 48 ++ xml/GenCode.php | 3 +- xml/schema/ACL/Cache.xml | 4 +- xml/schema/Contact/ContactType.xml | 6 + xml/schema/Contact/Group.xml | 6 +- xml/schema/Financial/EntityFinancialTrxn.xml | 5 + xml/schema/Financial/FinancialTrxn.xml | 14 +- xml/templates/civicrm_navigation.tpl | 33 +- xml/version.xml | 2 +- 316 files changed, 7802 insertions(+), 2180 deletions(-) create mode 100644 .mrconfig create mode 100644 CRM/Dashlet/Page/GettingStarted.php create mode 100644 CRM/Upgrade/Incremental/sql/4.6.11.mysql.tpl create mode 100644 CRM/Upgrade/Incremental/sql/4.6.12.mysql.tpl create mode 100644 CRM/Upgrade/Incremental/sql/4.6.13.mysql.tpl create mode 100644 CRM/Upgrade/Incremental/sql/4.6.14.mysql.tpl create mode 100644 CRM/Upgrade/Incremental/sql/4.6.15.mysql.tpl create mode 100644 CRM/Upgrade/Incremental/sql/4.6.16.mysql.tpl create mode 100644 CRM/Upgrade/Incremental/sql/4.6.17.mysql.tpl create mode 100644 CRM/Upgrade/Incremental/sql/4.6.18.mysql.tpl create mode 100644 CRM/Utils/SQL.php create mode 100644 Civi.php create mode 100644 Civi/API/SelectQuery.php create mode 100644 Civi/Payment/Exception/PaymentProcessorException.php create mode 100644 ang/crmCxn/AboutCtrl.html create mode 100644 ang/crmCxn/AboutCtrl.js create mode 100644 ang/crmCxn/AdvTable.html create mode 100644 ang/crmCxn/AdvTable.js create mode 100644 ang/crmCxn/CheckAddress.js create mode 100644 ang/crmCxn/ConfirmReconnectCtrl.html create mode 100644 ang/crmCxn/ConfirmReconnectCtrl.js create mode 100644 ang/crmCxn/Connectivity.html create mode 100644 api/v3/EntityFinancialTrxn.php create mode 100644 api/v3/FinancialTrxn.php create mode 100644 api/v3/System/mysql-whitelist.txt create mode 100644 api/v3/System/setting-whitelist.txt create mode 100644 i/logos/cividesk.png create mode 100644 templates/CRM/Block/DidYouKnow.tpl delete mode 100644 templates/CRM/Campaign/Form/Petition/Block.tpl create mode 100644 templates/CRM/Dashlet/Page/GettingStarted.tpl create mode 100644 tests/phpunit/CRM/Contact/Form/Search/Custom/SampleTest.php create mode 100644 tests/phpunit/CRM/Contact/Form/Search/Custom/SampleTestDataProvider.php rename tests/phpunit/CRM/Contact/Form/Search/Custom/{dataset.xml => datasets/group-dataset.xml} (100%) create mode 100644 tests/phpunit/CRM/Contact/Form/Search/Custom/datasets/sample-dataset.xml create mode 100644 tests/phpunit/CRM/Core/Payment/PayPalIPNTest.php create mode 100755 tools/scripts/composer/tcpdf-cleanup.sh diff --git a/.mrconfig b/.mrconfig new file mode 100644 index 000000000000..97028c85b974 --- /dev/null +++ b/.mrconfig @@ -0,0 +1,9 @@ +[.] +# Clean-up after each update +# fixups = pushd $MR_REPO ; sh ../itbliss/civicrm_cleanup.sh ; popd + +[packages] +checkout = git clone -b 4.6 'https://github.com/civicrm/civicrm-packages.git' 'packages' + +[drupal] +checkout = git clone 'https://github.com/civicrm/civicrm-drupal.git' 'drupal' && cd drupal; git checkout 7.x-4.6 diff --git a/.toxic.json b/.toxic.json index 64e23875f2fa..0cbbda299613 100644 --- a/.toxic.json +++ b/.toxic.json @@ -1,6 +1,6 @@ { "templates": { - "toxicAlert": "\"Please:\n\n(Automated notice) This pull-request modifies {SYMBOLS}. That code has been previously identified as hazardous. For advice on dealing with it, please review [Toxic Code Protocol](http://wiki.civicrm.org/confluence/display/CRM/Toxic+Code+Protocol)." + "toxicAlert": "(Automated notice) This pull-request modifies {SYMBOLS}. That code has been previously identified as toxic. You will need to ensure that any fix that touches this function works on 4.7 as well. Most likely you will need to do a separate, different PR for 4.7. Alternatively you might manage your fix outside of core for 4.6 and get a fix into 4.7 to ensure a permanent fix" }, "checks": { "CRM_Contact_Import_Parser_Contact::import()": "toxicAlert", @@ -14,4 +14,4 @@ "CRM_Event_Form_Registration_Confirm::postProcess()": "toxicAlert", "CRM_Contribute_Form_Contribution_Confirm::postProcess()": "toxicAlert" } -} \ No newline at end of file +} diff --git a/CRM/ACL/BAO/Cache.php b/CRM/ACL/BAO/Cache.php index b665d2013d94..e632024142a8 100644 --- a/CRM/ACL/BAO/Cache.php +++ b/CRM/ACL/BAO/Cache.php @@ -147,20 +147,14 @@ public static function resetCache() { // reset any static caching self::$_cache = NULL; - // reset any db caching - $config = CRM_Core_Config::singleton(); - $smartGroupCacheTimeout = CRM_Contact_BAO_GroupContactCache::smartGroupCacheTimeout(); - - //make sure to give original timezone settings again. - $now = CRM_Utils_Date::getUTCTime(); - $query = " DELETE FROM civicrm_acl_cache WHERE modified_date IS NULL - OR (TIMESTAMPDIFF(MINUTE, modified_date, $now) >= $smartGroupCacheTimeout) + OR (modified_date <= %1) "; - CRM_Core_DAO::singleValueQuery($query); + $params = array(1 => array(CRM_Contact_BAO_GroupContactCache::getCacheInvalidDateTime(), 'String')); + CRM_Core_DAO::singleValueQuery($query, $params); // CRM_Core_DAO::singleValueQuery("TRUNCATE TABLE civicrm_acl_contact_cache"); // No, force-commits transaction // CRM_Core_DAO::singleValueQuery("DELETE FROM civicrm_acl_contact_cache"); // Transaction-safe diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index f42e030d4484..0dd53100ecbb 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -2205,9 +2205,6 @@ public static function &exportableFields($name = 'Activity') { 'type' => CRM_Utils_Type::T_BOOLEAN, ), ); - - // add custom data for cases - $fields = array_merge($fields, CRM_Core_BAO_CustomField::getFieldsForImport('Case')); } // add custom data for case activities diff --git a/CRM/Activity/Form/Activity.php b/CRM/Activity/Form/Activity.php index 0bb9b9152be3..16c00271501c 100644 --- a/CRM/Activity/Form/Activity.php +++ b/CRM/Activity/Form/Activity.php @@ -381,8 +381,8 @@ public function preProcess() { $this->assign('action', $this->_action); if ($this->_action & CRM_Core_Action::VIEW) { - // get the tree of custom fields - $this->_groupTree = &CRM_Core_BAO_CustomGroup::getTree('Activity', $this, + // Get the tree of custom fields. + $this->_groupTree = CRM_Core_BAO_CustomGroup::getTree('Activity', $this, $this->_activityId, 0, $this->_activityTypeId ); } @@ -474,7 +474,7 @@ public function preProcess() { $this->set('type', 'Activity'); $this->set('subType', $this->_activityTypeId); $this->set('entityId', $this->_activityId); - CRM_Custom_Form_CustomData::preProcess($this); + CRM_Custom_Form_CustomData::preProcess($this, NULL, $this->_activityTypeId, 1, 'Activity', $this->_activityId); CRM_Custom_Form_CustomData::buildQuickForm($this); CRM_Custom_Form_CustomData::setDefaultValues($this); } diff --git a/CRM/Activity/Form/Search.php b/CRM/Activity/Form/Search.php index fa0a9db5d8a9..ba25b59755c9 100644 --- a/CRM/Activity/Form/Search.php +++ b/CRM/Activity/Form/Search.php @@ -166,7 +166,7 @@ public function preProcess() { */ public function buildQuickForm() { parent::buildQuickForm(); - $this->addElement('text', 'sort_name', ts('Name or Email'), CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Contact', 'sort_name')); + $this->addSortNameField(); CRM_Activity_BAO_Query::buildSearchForm($this); diff --git a/CRM/Activity/Page/AJAX.php b/CRM/Activity/Page/AJAX.php index 9c79eae36c1e..72281dc8542e 100644 --- a/CRM/Activity/Page/AJAX.php +++ b/CRM/Activity/Page/AJAX.php @@ -55,7 +55,7 @@ public static function getCaseActivity() { $offset = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0; $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; $sort = isset($_REQUEST['iSortCol_0']) ? CRM_Utils_Array::value(CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer'), $sortMapper) : NULL; - $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; + $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'MysqlOrderByDirection') : 'asc'; $params = $_POST; if ($sort && $sortOrder) { @@ -96,7 +96,7 @@ public static function getCaseGlobalRelationships() { $offset = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0; $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; $sort = isset($_REQUEST['iSortCol_0']) ? CRM_Utils_Array::value(CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer'), $sortMapper) : NULL; - $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; + $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'MysqlOrderByDirection') : 'asc'; $params = $_POST; //CRM-14466 initialize variable to avoid php notice @@ -136,7 +136,7 @@ public static function getCaseClientRelationships() { $offset = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0; $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; $sort = isset($_REQUEST['iSortCol_0']) ? CRM_Utils_Array::value(CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer'), $sortMapper) : 'relation'; - $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; + $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'MysqlOrderByDirection') : 'asc'; $params = $_POST; if ($sort && $sortOrder) { @@ -202,7 +202,7 @@ public static function getCaseRoles() { $offset = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0; $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; $sort = isset($_REQUEST['iSortCol_0']) ? CRM_Utils_Array::value(CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer'), $sortMapper) : 'relation'; - $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; + $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'MysqlOrderByDirection') : 'asc'; $params = $_POST; if ($sort && $sortOrder) { @@ -472,7 +472,7 @@ public static function getContactActivity() { $offset = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0; $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; $sort = isset($_REQUEST['iSortCol_0']) ? CRM_Utils_Array::value(CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer'), $sortMapper) : NULL; - $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; + $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'MysqlOrderByDirection') : 'asc'; $params = $_POST; if ($sort && $sortOrder) { diff --git a/CRM/Admin/Form/ScheduleReminders.php b/CRM/Admin/Form/ScheduleReminders.php index 8d69a0fc1c3e..1c4e38df497d 100644 --- a/CRM/Admin/Form/ScheduleReminders.php +++ b/CRM/Admin/Form/ScheduleReminders.php @@ -110,7 +110,7 @@ public function buildQuickForm() { 'text', 'title', ts('Title'), - array('size' => 45, 'maxlength' => 128), + CRM_Core_DAO::getAttribute('CRM_Core_DAO_ActionSchedule', 'title'), TRUE ); diff --git a/CRM/Admin/Form/Setting.php b/CRM/Admin/Form/Setting.php index 0c745ca426a4..262329700e1d 100644 --- a/CRM/Admin/Form/Setting.php +++ b/CRM/Admin/Form/Setting.php @@ -56,6 +56,8 @@ public function setDefaultValues() { CRM_Core_BAO_ConfigSetting::retrieve($this->_defaults); + CRM_Core_BAO_ConfigSetting::applyLocale(); + CRM_Core_Config_Defaults::setValues($this->_defaults, $formMode); $list = array_flip(CRM_Core_OptionGroup::values('contact_autocomplete_options', diff --git a/CRM/Admin/Form/Setting/Mail.php b/CRM/Admin/Form/Setting/Mail.php index 989dad279ea9..0eabd5a568a5 100644 --- a/CRM/Admin/Form/Setting/Mail.php +++ b/CRM/Admin/Form/Setting/Mail.php @@ -40,6 +40,11 @@ class CRM_Admin_Form_Setting_Mail extends CRM_Admin_Form_Setting { protected $_settings = array( 'replyTo' => CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, + 'mailerBatchLimit' => CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, + 'mailerJobSize' => CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, + 'mailerJobsMax' => CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, + 'mailThrottleTime' => CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, + 'verpSeparator' => CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, ); /** @@ -49,24 +54,18 @@ class CRM_Admin_Form_Setting_Mail extends CRM_Admin_Form_Setting { */ public function buildQuickForm() { CRM_Utils_System::setTitle(ts('Settings - CiviMail')); - $this->addElement('text', 'verpSeparator', ts('VERP Separator')); - $this->addElement('text', 'mailerBatchLimit', ts('Mailer Batch Limit')); - $this->addElement('text', 'mailThrottleTime', ts('Mailer Throttle Time')); - $this->addElement('text', 'mailerJobSize', ts('Mailer Job Size')); - $this->addElement('text', 'mailerJobsMax', ts('Mailer CRON job limit')); $check = TRUE; // redirect to Administer Section After hitting either Save or Cancel button. $session = CRM_Core_Session::singleton(); $session->pushUserContext(CRM_Utils_System::url('civicrm/admin', 'reset=1')); + parent::buildQuickForm($check); $this->addFormRule(array('CRM_Admin_Form_Setting_Mail', 'formRule')); $this->addRule('mailerBatchLimit', ts('Please enter a valid integer.'), 'integer'); $this->addRule('mailThrottleTime', ts('Please enter a valid integer.'), 'integer'); $this->addRule('mailerJobSize', ts('Please enter a valid integer.'), 'integer'); $this->addRule('mailerJobsMax', ts('Please enter a valid integer.'), 'integer'); - - parent::buildQuickForm($check); } /** diff --git a/CRM/Admin/Form/Setting/Miscellaneous.php b/CRM/Admin/Form/Setting/Miscellaneous.php index 277c278fb90f..2ce33325258d 100644 --- a/CRM/Admin/Form/Setting/Miscellaneous.php +++ b/CRM/Admin/Form/Setting/Miscellaneous.php @@ -51,6 +51,9 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting { 'doNotAttachPDFReceipt' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'secondDegRelPermissions' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'checksumTimeout' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, + 'wkhtmltopdfPath' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, + 'recaptchaPublicKey' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, + 'recaptchaPrivateKey' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, ); public $_uploadMaxSize; @@ -84,21 +87,6 @@ public function buildQuickForm() { $this->assign('validTriggerPermission', $validTriggerPermission); $this->addYesNo('logging', ts('Logging'), NULL, NULL, $attribs); - $this->addElement( - 'text', - 'wkhtmltopdfPath', ts('Path to wkhtmltopdf executable'), - array('size' => 64, 'maxlength' => 256) - ); - - $this->addElement( - 'text', 'recaptchaPublicKey', ts('Public Key'), - array('size' => 64, 'maxlength' => 64) - ); - $this->addElement( - 'text', 'recaptchaPrivateKey', ts('Private Key'), - array('size' => 64, 'maxlength' => 64) - ); - $this->addElement( 'text', 'dashboardCacheTimeout', ts('Dashboard cache timeout'), array('size' => 3, 'maxlength' => 5) diff --git a/CRM/Admin/Page/AJAX.php b/CRM/Admin/Page/AJAX.php index 1b31f5616711..131fefaf0cbb 100644 --- a/CRM/Admin/Page/AJAX.php +++ b/CRM/Admin/Page/AJAX.php @@ -46,7 +46,9 @@ public static function getNavigationMenu() { $contactID = CRM_Core_Session::singleton()->get('userID'); if ($contactID) { CRM_Core_Page_AJAX::setJsHeaders(); - print CRM_Core_Smarty::singleton()->fetchWith('CRM/common/navigation.js.tpl', array( + $smarty = CRM_Core_Smarty::singleton(); + $smarty->assign('includeEmail', civicrm_api3('setting', 'getvalue', array('name' => 'includeEmailInName', 'group' => 'Search Preferences'))); + print $smarty->fetchWith('CRM/common/navigation.js.tpl', array( 'navigation' => CRM_Core_BAO_Navigation::createNavigation($contactID), )); } diff --git a/CRM/Admin/Page/Admin.php b/CRM/Admin/Page/Admin.php index 10abe03f881e..3b29c3f55927 100644 --- a/CRM/Admin/Page/Admin.php +++ b/CRM/Admin/Page/Admin.php @@ -57,6 +57,8 @@ public function run() { CRM_Core_Session::setStatus($errorMessage, ts('Warning'), "alert", array('expires' => 0)); } + $this->assign('registerSite', htmlspecialchars('https://civicrm.org/register-your-site?src=iam&sid=' . CRM_Utils_System::getSiteID())); + $groups = array( 'Customize Data and Screens' => ts('Customize Data and Screens'), 'Communications' => ts('Communications'), diff --git a/CRM/Admin/Page/ConfigTaskList.php b/CRM/Admin/Page/ConfigTaskList.php index 6491152c6d6d..e1a85796dcea 100644 --- a/CRM/Admin/Page/ConfigTaskList.php +++ b/CRM/Admin/Page/ConfigTaskList.php @@ -53,6 +53,8 @@ public function run() { $destination = urlencode($destination); $this->assign('destination', $destination); + $this->assign('registerSite', htmlspecialchars('https://civicrm.org/register-your-site?src=iam&sid=' . CRM_Utils_System::getSiteID())); + return parent::run(); } diff --git a/CRM/Batch/Page/AJAX.php b/CRM/Batch/Page/AJAX.php index 434533e67812..cd16783c7ef7 100644 --- a/CRM/Batch/Page/AJAX.php +++ b/CRM/Batch/Page/AJAX.php @@ -68,7 +68,7 @@ public static function getBatchList() { $offset = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0; $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; $sort = isset($_REQUEST['iSortCol_0']) ? CRM_Utils_Array::value(CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer'), $sortMapper) : NULL; - $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; + $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'MysqlOrderByDirection') : 'asc'; $context = isset($_REQUEST['context']) ? CRM_Utils_Type::escape($_REQUEST['context'], 'String') : NULL; $params = $_REQUEST; diff --git a/CRM/Campaign/BAO/Petition.php b/CRM/Campaign/BAO/Petition.php index ec13bc994705..59e9aa2b235f 100644 --- a/CRM/Campaign/BAO/Petition.php +++ b/CRM/Campaign/BAO/Petition.php @@ -640,7 +640,7 @@ public static function sendEmail($params, $sendEmailMode) { $config = CRM_Core_Config::singleton(); $localpart = CRM_Core_BAO_MailSettings::defaultLocalpart(); - $replyTo = implode($config->verpSeparator, + $replyTo = implode(CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'verpSeparator'), array( $localpart . 'c', $se->contact_id, diff --git a/CRM/Campaign/Form/Petition.php b/CRM/Campaign/Form/Petition.php index 43b03347562e..22c5451ab74e 100644 --- a/CRM/Campaign/Form/Petition.php +++ b/CRM/Campaign/Form/Petition.php @@ -126,6 +126,10 @@ public function preProcess() { * array of default values */ public function setDefaultValues() { + if ($this->_cdType) { + return CRM_Custom_Form_CustomData::setDefaultValues($this); + } + $defaults = $this->_values; $ufContactJoinParams = array( @@ -161,6 +165,9 @@ public function setDefaultValues() { public function buildQuickForm() { + if ($this->_cdType) { + return CRM_Custom_Form_CustomData::buildQuickForm($this); + } if ($this->_action & CRM_Core_Action::DELETE) { $this->addButtons( @@ -328,6 +335,12 @@ public function postProcess() { $params['is_active'] = CRM_Utils_Array::value('is_active', $params, 0); $params['is_default'] = CRM_Utils_Array::value('is_default', $params, 0); + $params['custom'] = CRM_Core_BAO_CustomField::postProcess($params, + $customFields, + $this->_surveyId, + 'Survey' + ); + $surveyId = CRM_Campaign_BAO_Survey::create($params); // also update the ProfileModule tables diff --git a/CRM/Campaign/Form/Petition/Signature.php b/CRM/Campaign/Form/Petition/Signature.php index b7b6ae238a5f..7e28ee083ac4 100644 --- a/CRM/Campaign/Form/Petition/Signature.php +++ b/CRM/Campaign/Form/Petition/Signature.php @@ -495,7 +495,12 @@ public function postProcess() { $transaction = new CRM_Core_Transaction(); - $addToGroupID = isset($this->_addToGroupID) ? $this->_addToGroupID : NULL; + // CRM-17029 - get the add_to_group_id from the _contactProfileFields array. + // There's a much more elegant solution with + // array_values($this->_contactProfileFields)[0] but it's PHP 5.4+ only. + $slice = array_slice($this->_contactProfileFields, 0, 1); + $firstField = array_shift($slice); + $addToGroupID = isset($firstField['add_to_group_id']) ? $firstField['add_to_group_id'] : NULL; $this->_contactId = CRM_Contact_BAO_Contact::createProfileContact($params, $this->_contactProfileFields, $this->_contactId, $addToGroupID, $this->_contactProfileId, $this->_ctype, diff --git a/CRM/Case/BAO/Case.php b/CRM/Case/BAO/Case.php index 3b53743b3046..e83a961595d6 100644 --- a/CRM/Case/BAO/Case.php +++ b/CRM/Case/BAO/Case.php @@ -1741,6 +1741,9 @@ public static function &exportableFields() { 'name' => 'case_status', ); + // add custom data for cases + $fields = array_merge($fields, CRM_Core_BAO_CustomField::getFieldsForImport('Case')); + self::$_exportableFields = $fields; } return self::$_exportableFields; diff --git a/CRM/Case/Form/Activity.php b/CRM/Case/Form/Activity.php index 336a835658c1..cce39eba82f5 100644 --- a/CRM/Case/Form/Activity.php +++ b/CRM/Case/Form/Activity.php @@ -445,6 +445,10 @@ public function postProcess($params = NULL) { // format activity custom data if (!empty($params['hidden_custom'])) { if ($this->_activityId) { + // retrieve and include the custom data of old Activity + $oldActivity = civicrm_api3('Activity', 'getsingle', array('id' => $this->_activityId)); + $params = array_merge($oldActivity, $params); + // unset custom fields-id from params since we want custom // fields to be saved for new activity. foreach ($params as $key => $value) { diff --git a/CRM/Case/Form/CaseView.php b/CRM/Case/Form/CaseView.php index aa7c553c0411..7e7889deb1f8 100644 --- a/CRM/Case/Form/CaseView.php +++ b/CRM/Case/Form/CaseView.php @@ -182,7 +182,7 @@ public function preProcess() { $entitySubType = !empty($values['case_type_id']) ? $values['case_type_id'] : NULL; $this->assign('caseTypeID', $entitySubType); - $groupTree = &CRM_Core_BAO_CustomGroup::getTree('Case', + $groupTree = CRM_Core_BAO_CustomGroup::getTree('Case', $this, $this->_caseID, NULL, diff --git a/CRM/Case/Form/CustomData.php b/CRM/Case/Form/CustomData.php index c8087c264ee9..bb50d7d24f84 100644 --- a/CRM/Case/Form/CustomData.php +++ b/CRM/Case/Form/CustomData.php @@ -79,7 +79,7 @@ public function preProcess() { $this->_subTypeID = CRM_Utils_Request::retrieve('subType', 'Positive', $this, TRUE); $this->_contactID = CRM_Utils_Request::retrieve('cid', 'Positive', $this, TRUE); - $groupTree = &CRM_Core_BAO_CustomGroup::getTree('Case', + $groupTree = CRM_Core_BAO_CustomGroup::getTree('Case', $this, $this->_entityID, $this->_groupID, diff --git a/CRM/Case/Form/Search.php b/CRM/Case/Form/Search.php index a43f10585f3e..e5c7918a8fa1 100644 --- a/CRM/Case/Form/Search.php +++ b/CRM/Case/Form/Search.php @@ -171,11 +171,7 @@ public function preProcess() { */ public function buildQuickForm() { parent::buildQuickForm(); - $this->addElement('text', - 'sort_name', - ts('Client Name or Email'), - CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Contact', 'sort_name') - ); + $this->addSortNameField(); CRM_Case_BAO_Query::buildSearchForm($this); @@ -201,6 +197,28 @@ public function buildQuickForm() { } + /** + * Get the label for the sortName field if email searching is on. + * + * (email searching is a setting under search preferences). + * + * @return string + */ + protected function getSortNameLabelWithEmail() { + return ts('Client Name or Email'); + } + + /** + * Get the label for the sortName field if email searching is off. + * + * (email searching is a setting under search preferences). + * + * @return string + */ + protected function getSortNameLabelWithOutEmail() { + return ts('Client Name'); + } + /** * The post processing of the form gets done here. * @@ -365,8 +383,8 @@ public function fixFormValues() { CRM_Core_DAO::$_nullObject ); if ($caseType) { - $this->_formValues['case_type_id'][$caseType] = 1; - $this->_defaults['case_type_id'][$caseType] = 1; + $this->_formValues['case_type_id'] = $caseType; + $this->_defaults['case_type_id'] = $caseType; } $caseFromDate = CRM_Utils_Request::retrieve('pstart', 'Date', diff --git a/CRM/Case/Page/AJAX.php b/CRM/Case/Page/AJAX.php index 64164e1fa63e..d24640b7db84 100644 --- a/CRM/Case/Page/AJAX.php +++ b/CRM/Case/Page/AJAX.php @@ -49,6 +49,7 @@ public static function unclosedCases() { $excludeCaseIds = array(); if (!empty($_GET['excludeCaseIds'])) { $excludeCaseIds = explode(',', CRM_Utils_Type::escape($_GET['excludeCaseIds'], 'String')); + CRM_Utils_Type::escapeAll($excludeCaseIds, 'Integer'); } $unclosedCases = CRM_Case_BAO_Case::getUnclosedCases($params, $excludeCaseIds, TRUE, TRUE); $results = array(); diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index 51430c9bee36..b890989ce39f 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -879,14 +879,7 @@ public static function deleteContact($id, $restore = FALSE, $skipUndelete = FALS //delete the contact id from recently view CRM_Utils_Recent::delContact($id); - - // Update the group contact cache - if ($restore) { - CRM_Contact_BAO_GroupContactCache::remove(); - } - else { - CRM_Contact_BAO_GroupContactCache::removeContact($id); - } + self::updateContactCache($id, empty($restore)); // delete any dupe cache entry CRM_Core_BAO_PrevNextCache::deleteItem($id); @@ -904,6 +897,32 @@ public static function deleteContact($id, $restore = FALSE, $skipUndelete = FALS return TRUE; } + /** + * Action to update any caches relating to a recently update contact. + * + * I was going to call this from delete as well as from create to ensure the delete is being + * done whenever a contact is set to is_deleted=1 BUT I found create is already over-aggressive in + * that regard so adding it to delete seems to be enough to remove it from CRM_Contact_BAO_Contact_Permission + * where the call involved a subquery that was locking the table. + * + * @param int $contactID + * @param bool $isTrashed + */ + public static function updateContactCache($contactID, $isTrashed = FALSE) { + + if ($isTrashed) { + CRM_Contact_BAO_GroupContactCache::removeContact($contactID); + // This has been moved to here from CRM_Contact_BAO_Contact_Permission as that was causing + // a table-locking query. It still seems a bit inadequate as it assumes the acl users can't see deleted + // but this should not cause any change as long as contacts are not being trashed outside the + // main functions for that. + CRM_Core_DAO::executeQuery('DELETE FROM civicrm_acl_contact_cache WHERE contact_id = %1', array(1 => array($contactID, 'Integer'))); + } + else { + CRM_Contact_BAO_GroupContactCache::remove(); + } + } + /** * Delete the image of a contact. * @@ -3351,6 +3370,13 @@ public static function buildOptions($fieldName, $context = NULL, $props = array( $props['entity_table'] = 'civicrm_contact'; return CRM_Core_BAO_EntityTag::buildOptions('tag_id', $context, $props); + case 'state_province_id': + case 'country_id': + case 'county_id': + case 'worldregion': + case 'worldregion_id': + return CRM_Core_BAO_Address::buildOptions($fieldName, 'get', $props); + } return CRM_Core_PseudoConstant::get(__CLASS__, $fieldName, $params, $context); } diff --git a/CRM/Contact/BAO/Contact/Permission.php b/CRM/Contact/BAO/Contact/Permission.php index 2d42840291b9..3e79d0a912ef 100644 --- a/CRM/Contact/BAO/Contact/Permission.php +++ b/CRM/Contact/BAO/Contact/Permission.php @@ -141,7 +141,6 @@ public static function cache($userID, $type = CRM_Core_Permission::VIEW, $force operation=VALUES(operation)" ); - CRM_Core_DAO::executeQuery('DELETE FROM civicrm_acl_contact_cache WHERE contact_id IN (SELECT id FROM civicrm_contact WHERE is_deleted = 1)'); $_processed[$userID] = 1; } @@ -258,7 +257,7 @@ public static function relationship($selectedContactID, $contactID = NULL) { } } if ($contactID == $selectedContactID && - (CRM_Core_Permission::check('edit my contact') || CRM_Core_Permission::check('view my contact')) + (CRM_Core_Permission::check('edit my contact')) ) { return TRUE; } diff --git a/CRM/Contact/BAO/ContactType.php b/CRM/Contact/BAO/ContactType.php index 75c8144ce58c..bc4b1faf3b1d 100644 --- a/CRM/Contact/BAO/ContactType.php +++ b/CRM/Contact/BAO/ContactType.php @@ -74,7 +74,7 @@ public static function isActive($contactType) { * @return array * Array of basic contact types information. */ - public static function &basicTypeInfo($all = FALSE) { + public static function basicTypeInfo($all = FALSE) { static $_cache = NULL; if ($_cache === NULL) { @@ -153,7 +153,7 @@ public static function basicTypePairs($all = FALSE, $key = 'name') { * @return array * Array of sub type information */ - public static function &subTypeInfo($contactType = NULL, $all = FALSE, $ignoreCache = FALSE, $reset = FALSE) { + public static function subTypeInfo($contactType = NULL, $all = FALSE, $ignoreCache = FALSE, $reset = FALSE) { static $_cache = NULL; if ($reset === TRUE) { diff --git a/CRM/Contact/BAO/GroupContactCache.php b/CRM/Contact/BAO/GroupContactCache.php index ba013e276ded..7f91329460ff 100644 --- a/CRM/Contact/BAO/GroupContactCache.php +++ b/CRM/Contact/BAO/GroupContactCache.php @@ -40,7 +40,7 @@ class CRM_Contact_BAO_GroupContactCache extends CRM_Contact_DAO_GroupContactCach * Check to see if we have cache entries for this group * if not, regenerate, else return * - * @param $groupIDs + * @param array $groupIDs * Of group that we are checking against. * * @return bool @@ -55,8 +55,9 @@ public static function check($groupIDs) { } /** - * Common function that formulates the query to see which groups needs to be refreshed - * based on their cache date and the smartGroupCacheTimeOut + * Formulate the query to see which groups needs to be refreshed. + * + * The calculation is based on their cache date and the smartGroupCacheTimeOut * * @param string $groupIDClause * The clause which limits which groups we need to evaluate. @@ -67,19 +68,18 @@ public static function check($groupIDs) { * the sql query which lists the groups that need to be refreshed */ public static function groupRefreshedClause($groupIDClause = NULL, $includeHiddenGroups = FALSE) { - $smartGroupCacheTimeout = self::smartGroupCacheTimeout(); - $now = CRM_Utils_Date::getUTCTime(); + $smartGroupCacheTimeoutDateTime = self::getCacheInvalidDateTime(); $query = " SELECT g.id FROM civicrm_group g WHERE ( g.saved_search_id IS NOT NULL OR g.children IS NOT NULL ) AND g.is_active = 1 -AND ( g.cache_date IS NULL OR - ( TIMESTAMPDIFF(MINUTE, g.cache_date, $now) >= $smartGroupCacheTimeout ) OR - ( $now >= g.refresh_date ) - ) -"; +AND ( + g.cache_date IS NULL + OR cache_date <= $smartGroupCacheTimeoutDateTime + OR NOW() >= g.refresh_date +)"; if (!$includeHiddenGroups) { $query .= "AND (g.is_hidden = 0 OR g.is_hidden IS NULL)"; @@ -93,8 +93,9 @@ public static function groupRefreshedClause($groupIDClause = NULL, $includeHidde } /** - * Checks to see if a group has been refreshed recently. This is primarily used - * in a locking scenario when some other process might have refreshed things underneath + * Check to see if a group has been refreshed recently. + * + * This is primarily used in a locking scenario when some other process might have refreshed things underneath * this process * * @param int $groupID @@ -114,10 +115,11 @@ public static function shouldGroupBeRefreshed($groupID, $includeHiddenGroups = F } /** - * Check to see if we have cache entries for this group + * Check to see if we have cache entries for this group. + * * if not, regenerate, else return * - * @param int /array $groupIDs groupIDs of group that we are checking against + * @param int|array $groupIDs groupIDs of group that we are checking against * if empty, all groups are checked * @param int $limit * Limits the number of groups we evaluate. @@ -175,7 +177,7 @@ public static function loadAll($groupIDs = NULL, $limit = 0) { if (!empty($refreshGroupIDs)) { $refreshGroupIDString = CRM_Core_DAO::escapeString(implode(', ', $refreshGroupIDs)); - $time = CRM_Utils_Date::getUTCTime(self::smartGroupCacheTimeout() * 60); + $time = self::getRefreshDateTime(); $query = " UPDATE civicrm_group g SET g.refresh_date = $time @@ -195,7 +197,9 @@ public static function loadAll($groupIDs = NULL, $limit = 0) { } /** - * FIXME: This function should not be needed, because the cache table should not be getting truncated + * Fill the group contact cache if it is empty. + * + * Do this by the expensive operation of loading all groups. Call sparingly. */ public static function fillIfEmpty() { if (!CRM_Core_DAO::singleValueQuery("SELECT COUNT(id) FROM civicrm_group_contact_cache")) { @@ -204,6 +208,8 @@ public static function fillIfEmpty() { } /** + * Build the smart group cache for a given group. + * * @param int $groupID */ public static function add($groupID) { @@ -222,8 +228,13 @@ public static function add($groupID) { } /** + * Store values into the group contact cache. + * + * @todo review use of INSERT IGNORE. This function appears to be slower that inserting + * with a left join. Also, 200 at once seems too little. + * * @param int $groupID - * @param $values + * @param array $values */ public static function store(&$groupID, &$values) { $processed = FALSE; @@ -254,8 +265,7 @@ public static function updateCacheTime($groupID, $processed) { // only update cache entry if we had any values if ($processed) { // also update the group with cache date information - //make sure to give original timezone settings again. - $now = CRM_Utils_Date::getUTCTime(); + $now = date('YmdHis'); $refresh = 'null'; } else { @@ -274,6 +284,7 @@ public static function updateCacheTime($groupID, $processed) { /** * Removes all the cache entries pertaining to a specific group. + * * If no groupID is passed in, removes cache entries for all groups * Has an optimization to bypass repeated invocations of this function. * Note that this function is an advisory, i.e. the removal respects the @@ -291,7 +302,7 @@ public static function remove($groupID = NULL, $onceOnly = TRUE) { static $invoked = FALSE; // typically this needs to happy only once per instance - // this is especially TRUE in import, where we dont need + // this is especially TRUE in import, where we don't need // to do this all the time // this optimization is done only when no groupID is passed // i.e. cache is reset for all groups @@ -316,11 +327,11 @@ public static function remove($groupID = NULL, $onceOnly = TRUE) { } $refresh = NULL; - $params = array(); $smartGroupCacheTimeout = self::smartGroupCacheTimeout(); - - $now = CRM_Utils_Date::getUTCTime(); - $refreshTime = CRM_Utils_Date::getUTCTime($smartGroupCacheTimeout * 60); + $params = array( + 1 => array(self::getCacheInvalidDateTime(), 'String'), + 2 => array(self::getRefreshDateTime(), 'String'), + ); if (!isset($groupID)) { if ($smartGroupCacheTimeout == 0) { @@ -334,22 +345,23 @@ public static function remove($groupID = NULL, $onceOnly = TRUE) { "; } else { + $query = " DELETE gc FROM civicrm_group_contact_cache gc INNER JOIN civicrm_group g ON g.id = gc.group_id -WHERE TIMESTAMPDIFF(MINUTE, g.cache_date, $now) >= $smartGroupCacheTimeout +WHERE g.cache_date <= %1 "; $update = " UPDATE civicrm_group g SET cache_date = null, refresh_date = null -WHERE TIMESTAMPDIFF(MINUTE, cache_date, $now) >= $smartGroupCacheTimeout +WHERE g.cache_date <= %1 "; $refresh = " UPDATE civicrm_group g -SET refresh_date = $refreshTime -WHERE TIMESTAMPDIFF(MINUTE, cache_date, $now) < $smartGroupCacheTimeout +SET refresh_date = %2 +WHERE g.cache_date < %1 AND refresh_date IS NULL "; } @@ -394,9 +406,11 @@ public static function remove($groupID = NULL, $onceOnly = TRUE) { } /** - * Removes one or more contacts from the smart group cache. + * Remove one or more contacts from the smart group cache. + * * @param int|array $cid * @param int $groupId + * * @return bool * TRUE if successful. */ @@ -433,10 +447,10 @@ public static function load(&$group, $force = FALSE) { return; } - // grab a lock so other processes dont compete and do the same query + // grab a lock so other processes don't compete and do the same query $lock = Civi\Core\Container::singleton()->get('lockManager')->acquire("data.core.group.{$groupID}"); if (!$lock->isAcquired()) { - // this can cause inconsistent results since we dont know if the other process + // this can cause inconsistent results since we don't know if the other process // will fill up the cache before our calling routine needs it. // however this routine does not return the status either, so basically // its a "lets return and hope for the best" @@ -584,6 +598,12 @@ public static function load(&$group, $force = FALSE) { } /** + * Retrieve the smart group cache timeout in minutes. + * + * This checks if a timeout has been configured. If one has then smart groups should not + * be refreshed more frequently than the time out. If a group was recently refreshed it should not + * refresh again within that period. + * * @return int */ public static function smartGroupCacheTimeout() { @@ -597,12 +617,13 @@ public static function smartGroupCacheTimeout() { return $config->smartGroupCacheTimeout; } - // lets have a min cache time of 5 mins if not set + // Default to 5 minutes. return 5; } /** * Get all the smart groups that this contact belongs to. + * * Note that this could potentially be a super slow function since * it ensure that all contact groups are loaded in the cache * @@ -680,4 +701,27 @@ public static function contactGroup($contactID, $showHidden = FALSE) { } } + /** + * Get the datetime from which the cache should be considered invalid. + * + * Ie if the smartgroup cache timeout is 5 minutes ago then the cache is invalid if it was + * refreshed 6 minutes ago, but not if it was refreshed 4 minutes ago. + * + * @return string + */ + public static function getCacheInvalidDateTime() { + return date('Ymdhis', strtotime("-" . self::smartGroupCacheTimeout() . " Minutes")); + } + + /** + * Get the date when the cache should be refreshed from. + * + * Ie. now + the offset & we will delete anything prior to then. + * + * @return string + */ + public static function getRefreshDateTime() { + return date('Ymdhis', strtotime("+ " . self::smartGroupCacheTimeout() . " Minutes")); + } + } diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index f9efcaaf50a3..9a74e150d757 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -29,8 +29,6 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ /** @@ -463,8 +461,6 @@ public function __construct( /** * Function which actually does all the work for the constructor. - * - * @return void */ public function initialize() { $this->_select = array(); @@ -504,12 +500,24 @@ public function initialize() { $this->openedSearchPanes(TRUE); } + /** + * Function for same purpose as convertFormValues. + * + * Like convert form values this function exists to pre-Process parameters from the form. + * + * It is unclear why they are different functions & likely relates to advances search + * versus search builder. + * + * The direction we are going is having the form convert values to a standardised format & + * moving away from wierd & wonderful where clause switches. + * + * Fix and handle contact deletion nicely. + * + * this code is primarily for search builder use case where different clauses can specify if they want deleted. + * + * CRM-11971 + */ public function buildParamsLookup() { - // first fix and handle contact deletion nicely - // this code is primarily for search builder use case - // where different clauses can specify if they want deleted - // contacts or not - // CRM-11971 $trashParamExists = FALSE; $paramByGroup = array(); foreach ($this->_params as $k => $param) { @@ -568,10 +576,7 @@ public function buildParamsLookup() { } /** - * Some composite fields do not appear in the fields array - * hack to make them part of the query - * - * @return void + * Some composite fields do not appear in the fields array hack to make them part of the query. */ public function addSpecialFields() { static $special = array('contact_type', 'contact_sub_type', 'sort_name', 'display_name'); @@ -589,8 +594,6 @@ public function addSpecialFields() { * clauses. Note that since the where clause introduces new * tables, the initial attempt also retrieves all variables used * in the params list - * - * @return void */ public function selectClause() { @@ -912,6 +915,8 @@ public function selectClause() { CRM_Contact_BAO_Query_Hook::singleton()->alterSearchQuery($this, 'select'); if (!empty($this->_cfIDs)) { + // @todo This function is the select function but instead of running 'select' it + // is running the whole query. $this->_customQuery = new CRM_Core_BAO_CustomQuery($this->_cfIDs, TRUE, $this->_locationSpecificCustomFields); $this->_customQuery->query(); $this->_select = array_merge($this->_select, $this->_customQuery->_select); @@ -923,10 +928,7 @@ public function selectClause() { } /** - * If the return Properties are set in a hierarchy, traverse the hierarchy to get - * the return values - * - * @return void + * If the return Properties are set in a hierarchy, traverse the hierarchy to get the return values. */ public function addHierarchicalElements() { if (empty($this->_returnProperties['location'])) { @@ -1257,10 +1259,7 @@ public function addHierarchicalElements() { } /** - * If the return Properties are set in a hierarchy, traverse the hierarchy to get - * the return values - * - * @return void + * If the return Properties are set in a hierarchy, traverse the hierarchy to get the return values. */ public function addMultipleElements() { if (empty($this->_returnProperties['website'])) { @@ -1407,12 +1406,14 @@ public function query($count = FALSE, $sortByChar = FALSE, $groupContacts = FALS } /** + * Get where values from the parameters. + * * @param string $name - * @param $grouping + * @param mixed $grouping * - * @return null + * @return mixed */ - public function &getWhereValues($name, $grouping) { + public function getWhereValues($name, $grouping) { $result = NULL; foreach ($this->_params as $values) { if ($values[0] == $name && $values[3] == $grouping) { @@ -1424,9 +1425,11 @@ public function &getWhereValues($name, $grouping) { } /** - * @param $relative - * @param $from - * @param $to + * Fix date values. + * + * @param bool $relative + * @param string $from + * @param string $to */ public static function fixDateValues($relative, &$from, &$to) { if ($relative) { @@ -1435,7 +1438,28 @@ public static function fixDateValues($relative, &$from, &$to) { } /** - * @param $formValues + * Convert values from form-appropriate to query-object appropriate. + * + * The query object is increasingly supporting the sql-filter syntax which is the most flexible syntax. + * So, ideally we would convert all fields to look like + * array( + * 0 => $fieldName + * // Set the operator for legacy reasons, but it is ignored + * 1 => '=' + * // array in sql filter syntax + * 2 => array('BETWEEN' => array(1,60), + * 3 => null + * 4 => null + * ); + * + * There are some examples of the syntax in + * https://github.com/civicrm/civicrm-core/tree/master/api/v3/examples/Relationship + * + * More notes at CRM_Core_DAO::createSQLFilter + * + * and a list of supported operators in CRM_Core_DAO + * + * @param array $formValues * @param int $wildcard * @param bool $useEquals * @@ -1450,6 +1474,14 @@ public static function convertFormValues(&$formValues, $wildcard = 0, $useEquals } foreach ($formValues as $id => $values) { + + if (self::isAlreadyProcessedForQueryFormat($values)) { + $params[] = $values; + continue; + } + + self::legacyConvertFormValues($id, $values); + if ($id == 'privacy') { if (is_array($formValues['privacy'])) { $op = !empty($formValues['privacy']['do_not_toggle']) ? '=' : '!='; @@ -1465,6 +1497,18 @@ public static function convertFormValues(&$formValues, $wildcard = 0, $useEquals $params[] = array('on_hold', '=', $formValues['email_on_hold']['on_hold'], 0, 0); } } + elseif (substr($id, 0, 7) == 'custom_' + && ( + substr($id, -9, 9) == '_relative' + || substr($id, -5, 5) == '_from' + || substr($id, -3, 3) == '_to' + ) + ) { + self::convertCustomRelativeFields($formValues, $params, $values, $id); + } + elseif (!empty($values) && !is_array($values) && self::isCustomDateField($id)) { + $params[] = array($id, '=', CRM_Utils_Date::processDate($values), 0, $wildcard); + } elseif (preg_match('/_date_relative$/', $id) || $id == 'event_relative' || $id == 'case_from_relative' || @@ -1505,9 +1549,28 @@ public static function convertFormValues(&$formValues, $wildcard = 0, $useEquals return $params; } + /** + * Function to support legacy format for groups and tags. + * + * @param string $id + * @param array|int $values + * + */ + public static function legacyConvertFormValues($id, &$values) { + $legacyElements = array( + 'activity_type_id', + 'location_type', + ); + if (in_array($id, $legacyElements) && is_array($values)) { + // prior to 4.6, formValues for some attributes (e.g. group, tag) are stored in array(id1 => 1, id2 => 1), + // as per the recent Search fixes $values need to be in standard array(id1, id2) format + CRM_Utils_Array::formatArrayKeys($values); + } + } + /** * @param int $id - * @param $values + * @param array $values * @param int $wildcard * @param bool $useEquals * @@ -1614,7 +1677,9 @@ public static function &fixWhereValues($id, &$values, $wildcard = 0, $useEquals } /** - * @param $values + * Get the where clause for a single field. + * + * @param array $values */ public function whereClauseSingle(&$values) { // do not process custom fields or prefixed contact ids or component params @@ -1734,10 +1799,13 @@ public function whereClauseSingle(&$values) { return; case 'state_province': + case 'state_province_id': + case 'state_province_name': $this->stateProvince($values); return; case 'country': + case 'country_id': $this->country($values, FALSE); return; @@ -1850,8 +1918,7 @@ public function whereClauseSingle(&$values) { } /** - * Given a list of conditions in params generate the required. - * where clause + * Given a list of conditions in params generate the required where clause. * * @return string */ @@ -1880,7 +1947,7 @@ public function whereClause() { } if ($this->_customQuery) { - // Added following if condition to avoid the wrong value diplay for 'myaccount' / any UF info. + // Added following if condition to avoid the wrong value display for 'my account' / any UF info. // Hope it wont affect the other part of civicrm.. if it does please remove it. if (!empty($this->_customQuery->_where)) { $this->_where = CRM_Utils_Array::crmArrayMerge($this->_where, $this->_customQuery->_where); @@ -1917,7 +1984,9 @@ public function whereClause() { } /** - * @param $values + * Generate where clause for any parameters not already handled. + * + * @param array $values * * @throws Exception */ @@ -1934,7 +2003,7 @@ public function restWhere(&$values) { $multipleFields = array('url'); - //check if the location type exits for fields + //check if the location type exists for fields $lType = ''; $locType = explode('-', $name); @@ -2645,9 +2714,7 @@ public static function fromClause(&$tables, $inner = NULL, $right = NULL, $prima /** * WHERE / QILL clause for deleted_contacts * - * @param $values - * - * @return void + * @param array $values */ public function deletedContacts($values) { list($_, $_, $value, $grouping, $_) = $values; @@ -2661,8 +2728,6 @@ public function deletedContacts($values) { * Where / qill clause for contact_type * * @param $values - * - * @return void */ public function contactType(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -2728,8 +2793,6 @@ public function contactType(&$values) { * Where / qill clause for contact_sub_type * * @param $values - * - * @return void */ public function contactSubType(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -2775,8 +2838,6 @@ public function includeContactSubTypes($value, $grouping, $op = 'LIKE') { * Where / qill clause for groups * * @param $values - * - * @return void */ public function group(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -2806,7 +2867,7 @@ public function group(&$values) { } $statii = array(); - $gcsValues = &$this->getWhereValues('group_contact_status', $grouping); + $gcsValues = $this->getWhereValues('group_contact_status', $grouping); if ($gcsValues && is_array($gcsValues[2]) ) { @@ -2938,8 +2999,6 @@ public function addGroupContactCache($groups, $tableAlias = NULL, $joinTable = " * Where / qill clause for cms users * * @param $values - * - * @return void */ public function ufUser(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -2960,9 +3019,7 @@ public function ufUser(&$values) { /** * All tag search specific. * - * @param $values - * - * @return void + * @param array $values */ public function tagSearch(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3024,9 +3081,7 @@ public function tagSearch(&$values) { /** * Where / qill clause for tag * - * @param $values - * - * @return void + * @param array $values */ public function tag(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3106,9 +3161,7 @@ public function tag(&$values) { /** * Where/qill clause for notes * - * @param $values - * - * @return void + * @param array $values */ public function notes(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3182,9 +3235,7 @@ public function nameNullOrEmptyOp($name, $op, $grouping) { /** * Where / qill clause for sort_name * - * @param $values - * - * @return void + * @param array $values */ public function sortName(&$values) { list($fieldName, $op, $value, $grouping, $wildcard) = $values; @@ -3323,9 +3374,7 @@ public function email(&$values) { /** * Where / qill clause for phone number * - * @param $values - * - * @return void + * @param array $values */ public function phone_numeric(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3345,9 +3394,7 @@ public function phone_numeric(&$values) { /** * Where / qill clause for phone type/location * - * @param $values - * - * @return void + * @param array $values */ public function phone_option_group($values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3360,11 +3407,9 @@ public function phone_option_group($values) { } /** - * Where / qill clause for street_address - * - * @param $values + * Where / qill clause for street_address. * - * @return void + * @param array $values */ public function street_address(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3394,11 +3439,9 @@ public function street_address(&$values) { } /** - * Where / qill clause for street_unit - * - * @param $values + * Where / qill clause for street_unit. * - * @return void + * @param array $values */ public function street_number(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3428,11 +3471,9 @@ public function street_number(&$values) { } /** - * Where / qill clause for sorting by character + * Where / qill clause for sorting by character. * - * @param $values - * - * @return void + * @param array $values */ public function sortByCharacter(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3444,9 +3485,7 @@ public function sortByCharacter(&$values) { } /** - * Where / qill clause for including contact ids - * - * @return void + * Where / qill clause for including contact ids. */ public function includeContactIDs() { if (!$this->_includeContactIds || empty($this->_params)) { @@ -3465,11 +3504,9 @@ public function includeContactIDs() { } /** - * Where / qill clause for postal code + * Where / qill clause for postal code. * - * @param $values - * - * @return void + * @param array $values */ public function postalCode(&$values) { // skip if the fields dont have anything to do with postal_code @@ -3479,21 +3516,17 @@ public function postalCode(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; - // Handle numeric postal code range searches properly by casting the column as numeric - if (is_numeric($value)) { - $field = 'ROUND(civicrm_address.postal_code)'; - $val = CRM_Utils_Type::escape($value, 'Integer'); + // CRM-17060: We might be looking at an 'IN' syntax so don't cast arrays to string. + if (!is_array($value)) { + // CRM-14720: Handle postal code range searches properly as postal code is NOT a numeric. + $length = mb_strlen($value); + $field = "LENGTH(civicrm_address.postal_code) >= $length AND LEFT(civicrm_address.postal_code, $length)"; + $val = CRM_Utils_Type::escape($value, 'String'); } else { + // Do we need to escape values here? I would expect buildClause does. $field = 'civicrm_address.postal_code'; - // Per CRM-17060 we might be looking at an 'IN' syntax so don't case arrays to string. - if (!is_array($value)) { - $val = CRM_Utils_Type::escape($value, 'String'); - } - else { - // Do we need to escape values here? I would expect buildClause does. - $val = $value; - } + $val = $value; } $this->_tables['civicrm_address'] = $this->_whereTables['civicrm_address'] = 1; @@ -3513,12 +3546,12 @@ public function postalCode(&$values) { } /** - * Where / qill clause for location type + * Where / qill clause for location type. * - * @param $values + * @param array $values * @param null $status * - * @return void + * @return string */ public function locationType(&$values, $status = NULL) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3564,11 +3597,7 @@ public function country(&$values, $fromStateProvince = TRUE) { } $countryClause = $countryQill = NULL; - if ( - $values && - !empty($value) - ) { - + if ($values && !empty($value)) { $this->_tables['civicrm_address'] = 1; $this->_whereTables['civicrm_address'] = 1; @@ -3596,12 +3625,12 @@ public function country(&$values, $fromStateProvince = TRUE) { } /** - * Where / qill clause for county (if present) + * Where / qill clause for county (if present). * - * @param $values + * @param array $values * @param null $status * - * @return void + * @return string */ public function county(&$values, $status = NULL) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3665,12 +3694,12 @@ public function county(&$values, $status = NULL) { } /** - * Where / qill clause for state/province AND country (if present) + * Where / qill clause for state/province AND country (if present). * - * @param $values + * @param array $values * @param null $status * - * @return void + * @return string */ public function stateProvince(&$values, $status = NULL) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3759,11 +3788,9 @@ public function stateProvince(&$values, $status = NULL) { } /** - * Where / qill clause for change log - * - * @param $values + * Where / qill clause for change log. * - * @return void + * @param array $values */ public function changeLog(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -3938,11 +3965,9 @@ public function preferredCommunication(&$values) { } /** - * Where / qill clause for relationship - * - * @param $values + * Where / qill clause for relationship. * - * @return void + * @param array $values */ public function relationship(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -4017,16 +4042,21 @@ public function relationship(&$values) { } } + $contactAlias = 'contact_b'; + if (self::$_relationshipTempTable) { + $contactAlias = 'contact_a'; + } + //check to see if the target contact is in specified group if ($targetGroup) { //add contacts from static groups $this->_tables['civicrm_relationship_group_contact'] = $this->_whereTables['civicrm_relationship_group_contact'] - = " LEFT JOIN civicrm_group_contact civicrm_relationship_group_contact ON civicrm_relationship_group_contact.contact_id = contact_b.id AND civicrm_relationship_group_contact.status = 'Added'"; + = " LEFT JOIN civicrm_group_contact civicrm_relationship_group_contact ON civicrm_relationship_group_contact.contact_id = {$contactAlias}.id AND civicrm_relationship_group_contact.status = 'Added'"; $groupWhere[] = "( civicrm_relationship_group_contact.group_id IN (" . implode(",", $targetGroup[2]) . ") ) "; //add contacts from saved searches - $ssWhere = $this->addGroupContactCache($targetGroup[2], "civicrm_relationship_group_contact_cache", "contact_b", $op); + $ssWhere = $this->addGroupContactCache($targetGroup[2], "civicrm_relationship_group_contact_cache", $contactAlias, $op); //set the group where clause if ($ssWhere) { @@ -4074,7 +4104,7 @@ public function relationship(&$values) { if (in_array(array('deleted_contacts', '=', '1', '0', '0'), $this->_params)) { $onlyDeleted = 1; } - $where[$grouping][] = "(contact_b.is_deleted = {$onlyDeleted})"; + $where[$grouping][] = "({$contactAlias}.is_deleted = {$onlyDeleted})"; //check for permissioned, non-permissioned and all permissioned relations if ($relPermission[2] == 1) { @@ -4107,16 +4137,16 @@ public function relationship(&$values) { $whereClause = ''; if (!empty($where[$grouping])) { $whereClause = ' WHERE ' . implode(' AND ', $where[$grouping]); - $whereClause = str_replace('contact_b', 'c', $whereClause); + $whereClause = str_replace($contactAlias, 'c', $whereClause); } $sql = " CREATE TEMPORARY TABLE {$relationshipTempTable} - (SELECT contact_id_b as contact_id, civicrm_relationship.id + (SELECT contact_id_b as contact_id, civicrm_relationship.id, is_active, start_date, end_date, is_permission_a_b, relationship_type_id FROM civicrm_relationship INNER JOIN civicrm_contact c ON civicrm_relationship.contact_id_a = c.id $whereClause ) UNION - (SELECT contact_id_a as contact_id, civicrm_relationship.id + (SELECT contact_id_a as contact_id, civicrm_relationship.id, is_active, start_date, end_date, is_permission_a_b, relationship_type_id FROM civicrm_relationship INNER JOIN civicrm_contact c ON civicrm_relationship.contact_id_b = c.id $whereClause ) @@ -4371,6 +4401,133 @@ public static function apiQuery( return array($values, $options); } + /** + * Get the actual custom field name by stripping off the appended string. + * + * The string could be _relative, _from, or _to + * + * @todo use metadata rather than convention to do this. + * + * @param string $parameterName + * The name of the parameter submitted to the form. + * e.g + * custom_3_relative + * custom_3_from + * + * @return string + */ + public static function getCustomFieldName($parameterName) { + if (substr($parameterName, -5, 5) == '_from') { + return substr($parameterName, 0, strpos($parameterName, '_from')); + } + if (substr($parameterName, -9, 9) == '_relative') { + return substr($parameterName, 0, strpos($parameterName, '_relative')); + } + if (substr($parameterName, -3, 3) == '_to') { + return substr($parameterName, 0, strpos($parameterName, '_to')); + } + } + + /** + * Convert submitted values for relative custom fields to query object format. + * + * The query will support the sqlOperator format so convert to that format. + * + * @param array $formValues + * Submitted values. + * @param array $params + * Converted parameters for the query object. + * @param string $values + * Submitted value. + * @param string $fieldName + * Submitted field name. (Matches form field not DB field.) + */ + protected static function convertCustomRelativeFields(&$formValues, &$params, $values, $fieldName) { + if (empty($values)) { + // e.g we might have relative set & from & to empty. The form flow is a bit funky & + // this function gets called again after they fields have been converted which can get ugly. + return; + } + $customFieldName = self::getCustomFieldName($fieldName); + + if (substr($fieldName, -9, 9) == '_relative') { + list($from, $to) = CRM_Utils_Date::getFromTo($values, NULL, NULL); + } + else { + if ($fieldName == $customFieldName . '_to' && CRM_Utils_Array::value($customFieldName . '_from', $formValues)) { + // Both to & from are set. We only need to acton one, choosing from. + return; + } + + $from = CRM_Utils_Array::value($customFieldName . '_from', $formValues, NULL); + $to = CRM_Utils_Array::value($customFieldName . '_to', $formValues, NULL); + + if (self::isCustomDateField($customFieldName)) { + list($from, $to) = CRM_Utils_Date::getFromTo(NULL, $from, $to); + } + } + + if ($from) { + if ($to) { + $relativeFunction = array('BETWEEN' => array($from, $to)); + } + else { + $relativeFunction = array('>=' => $from); + } + } + else { + $relativeFunction = array('<=' => $to); + } + $params[] = array( + $customFieldName, + '=', + $relativeFunction, + 0, + 0, + ); + } + + /** + * Are we dealing with custom field of type date. + * + * @param $fieldName + * + * @return bool + */ + public static function isCustomDateField($fieldName) { + if (($customFieldID = CRM_Core_BAO_CustomField::getKeyID($fieldName)) == FALSE) { + return FALSE; + } + if ('Date' == civicrm_api3('CustomField', 'getvalue', array('id' => $customFieldID, 'return' => 'data_type'))) { + return TRUE; + } + return FALSE; + } + + /** + * Has this field already been reformatting to Query object syntax. + * + * The form layer passed formValues to this function in preProcess & postProcess. Reason unknown. This seems + * to come with associated double queries & is possibly damaging performance. + * + * However, here we add a tested function to ensure convertFormValues identifies pre-processed fields & returns + * them as they are. + * + * @param mixed $values + * Value in formValues for the field. + * + * @return bool; + */ + public static function isAlreadyProcessedForQueryFormat($values) { + if (!is_array($values)) { + return FALSE; + } + if (($operator = CRM_Utils_Array::value(1, $values)) == FALSE) { + return FALSE; + } + return in_array($operator, CRM_Core_DAO::acceptedSQLOperators()); + } + /** * Create and query the db for an contact search. * @@ -4378,7 +4535,7 @@ public static function apiQuery( * The offset for the query. * @param int $rowCount * The number of rows to return. - * @param string $sort + * @param string|CRM_Utils_Sort $sort * The order by string. * @param bool $count * Is this a count only query ?. @@ -4446,84 +4603,7 @@ public function searchQuery( $order = $orderBy = $limit = ''; if (!$count) { - $config = CRM_Core_Config::singleton(); - if ($config->includeOrderByClause || - isset($this->_distinctComponentClause) - ) { - if ($sort) { - if (is_string($sort)) { - $orderBy = $sort; - } - else { - $orderBy = trim($sort->orderBy()); - } - if (!empty($orderBy)) { - // this is special case while searching for - // change log CRM-1718 - if (preg_match('/sort_name/i', $orderBy)) { - $orderBy = str_replace('sort_name', 'contact_a.sort_name', $orderBy); - } - - $orderBy = CRM_Utils_Type::escape($orderBy, 'String'); - $order = " ORDER BY $orderBy"; - - if ($sortOrder) { - $sortOrder = CRM_Utils_Type::escape($sortOrder, 'String'); - $order .= " $sortOrder"; - } - - // always add contact_a.id to the ORDER clause - // so the order is deterministic - if (strpos('contact_a.id', $order) === FALSE) { - $order .= ", contact_a.id"; - } - } - } - elseif ($sortByChar) { - $order = " ORDER BY UPPER(LEFT(contact_a.sort_name, 1)) asc"; - } - else { - $order = " ORDER BY contact_a.sort_name asc, contact_a.id"; - } - } - - // hack for order clause - if ($order) { - $fieldStr = trim(str_replace('ORDER BY', '', $order)); - $fieldOrder = explode(' ', $fieldStr); - $field = $fieldOrder[0]; - - if ($field) { - switch ($field) { - case 'city': - case 'postal_code': - $this->_whereTables["civicrm_address"] = 1; - $order = str_replace($field, "civicrm_address.{$field}", $order); - break; - - case 'country': - case 'state_province': - $this->_whereTables["civicrm_{$field}"] = 1; - $order = str_replace($field, "civicrm_{$field}.name", $order); - break; - - case 'email': - $this->_whereTables["civicrm_email"] = 1; - $order = str_replace($field, "civicrm_email.{$field}", $order); - break; - - default: - //CRM-12565 add "`" around $field if it is a pseudo constant - foreach ($this->_pseudoConstantsSelect as $key => $value) { - if (!empty($value['element']) && $value['element'] == $field) { - $order = str_replace($field, "`{$field}`", $order); - } - } - } - $this->_fromClause = self::fromClause($this->_tables, NULL, NULL, $this->_primaryLocation, $this->_mode); - $this->_simpleFromClause = self::fromClause($this->_whereTables, NULL, NULL, $this->_primaryLocation, $this->_mode); - } - } + list($order, $additionalFromClause) = $this->prepareOrderBy($sort, $sortByChar, $sortOrder, $additionalFromClause); if ($rowCount > 0 && $offset >= 0) { $offset = CRM_Utils_Type::escape($offset, 'Int'); @@ -4535,6 +4615,9 @@ public function searchQuery( // CRM-15231 $this->_sort = $sort; + //CRM-15967 + $this->includePseudoFieldsJoin($sort); + list($select, $from, $where, $having) = $this->query($count, $sortByChar, $groupContacts, $onlyDeleted); if ($additionalWhereClause) { @@ -4885,11 +4968,13 @@ public static function &defaultHierReturnProperties() { } /** - * @param $values + * Build query for a date field. + * + * @param array $values * @param string $tableName * @param string $fieldName * @param string $dbFieldName - * @param $fieldTitle + * @param string $fieldTitle * @param bool $appendTimeStamp */ public function dateQueryBuilder( @@ -5154,7 +5239,9 @@ public static function buildClause($field, $op, $value = NULL, $dataType = NULL) // We could get away with keeping this in 4.6 if we make it such that it throws an enotice in 4.7 so // people have to de-slopify it. if (!empty($value[0])) { - $dragonPlace = $iAmAnIntentionalENoticeThatWarnsOfAProblemYouShouldReport; + if ($op != 'BETWEEN') { + $dragonPlace = $iAmAnIntentionalENoticeThatWarnsOfAProblemYouShouldReport; + } if (($queryString = CRM_Core_DAO::createSqlFilter($field, array($op => $value), $dataType)) != FALSE) { return $queryString; } @@ -5337,7 +5424,7 @@ public static function componentPresent(&$returnProperties, $prefix) { } /** - * Builds the necessary structures for all fields that are similar to option value lookups. + * Builds the necessary structures for all fields that are similar to option value look-ups. * * @param string $name * the name of the field. @@ -5615,31 +5702,40 @@ public function includePseudoFieldsJoin($sort) { * * Qill refers to the query detail visible on the UI. * - * @param $daoName - * @param $fieldName - * @param $fieldValue - * @param $op - * @param array $pseduoExtraParam + * @param string $daoName + * @param string $fieldName + * @param mixed $fieldValue + * @param string $op + * @param array $pseudoExtraParam + * @param int $type + * Type of the field per CRM_Utils_Type * * @return array */ - public static function buildQillForFieldValue($daoName = NULL, $fieldName, $fieldValue, $op, $pseduoExtraParam = array()) { + public static function buildQillForFieldValue( + $daoName, + $fieldName, + $fieldValue, + $op, + $pseudoExtraParam = array(), + $type = CRM_Utils_Type::T_STRING + ) { $qillOperators = CRM_Core_SelectValues::getSearchBuilderOperators(); if ($fieldName == 'activity_type_id') { - $pseduoOptions = CRM_Core_PseudoConstant::activityType(TRUE, TRUE, FALSE, 'label', TRUE); + $pseudoOptions = CRM_Core_PseudoConstant::activityType(TRUE, TRUE, FALSE, 'label', TRUE); } elseif ($daoName == 'CRM_Event_DAO_Event' && $fieldName == 'id') { - $pseduoOptions = CRM_Event_BAO_Event::getEvents(0, $fieldValue, TRUE, TRUE, TRUE); + $pseudoOptions = CRM_Event_BAO_Event::getEvents(0, $fieldValue, TRUE, TRUE, TRUE); } elseif ($daoName == 'CRM_Contact_DAO_Group' && $fieldName == 'id') { - $pseduoOptions = CRM_Core_PseudoConstant::group(); + $pseudoOptions = CRM_Core_PseudoConstant::group(); } elseif ($fieldName == 'country_id') { - $pseduoOptions = CRM_Core_PseudoConstant::country(); + $pseudoOptions = CRM_Core_PseudoConstant::country(); } elseif ($daoName) { - $pseduoOptions = CRM_Core_PseudoConstant::get($daoName, $fieldName, $pseduoExtraParam = array()); + $pseudoOptions = CRM_Core_PseudoConstant::get($daoName, $fieldName, $pseudoExtraParam = array()); } //API usually have fieldValue format as array(operator => array(values)), @@ -5651,21 +5747,151 @@ public static function buildQillForFieldValue($daoName = NULL, $fieldName, $fiel if (is_array($fieldValue)) { $qillString = array(); - if (!empty($pseduoOptions)) { + if (!empty($pseudoOptions)) { foreach ((array) $fieldValue as $val) { - $qillString[] = CRM_Utils_Array::value($val, $pseduoOptions, $val); + $qillString[] = CRM_Utils_Array::value($val, $pseudoOptions, $val); } $fieldValue = implode(', ', $qillString); } else { - $fieldValue = implode(', ', $fieldValue); + if ($type == CRM_Utils_Type::T_DATE) { + foreach ($fieldValue as $index => $value) { + $fieldValue[$index] = CRM_Utils_Date::customFormat($value); + } + } + $separator = ', '; + // @todo - this is a bit specific (one operator). + // However it is covered by a unit test so can be altered later with + // some confidence. + if ($op == 'BETWEEN') { + $separator = ' AND '; + } + $fieldValue = implode($separator, $fieldValue); } } - elseif (!empty($pseduoOptions) && array_key_exists($fieldValue, $pseduoOptions)) { - $fieldValue = $pseduoOptions[$fieldValue]; + elseif (!empty($pseudoOptions) && array_key_exists($fieldValue, $pseudoOptions)) { + $fieldValue = $pseudoOptions[$fieldValue]; + } + elseif ($type === CRM_Utils_Type::T_DATE) { + $fieldValue = CRM_Utils_Date::customFormat($fieldValue); } return array(CRM_Utils_Array::value($op, $qillOperators, $op), $fieldValue); } + /** + * Parse and assimilate the various sort options. + * + * Side-effect: if sorting on a common column from a related table (`city`, `postal_code`, + * `email`), the related table may be joined automatically. + * + * At time of writing, this code is deeply flawed and should be rewritten. For the moment, + * it's been extracted to a standalone function. + * + * @param string|CRM_Utils_Sort $sort + * The order by string. + * @param bool $sortByChar + * If true returns the distinct array of first characters for search results. + * @param null $sortOrder + * Who knows? Hu knows. He who knows Hu knows who. + * @param string $additionalFromClause + * Should be clause with proper joins, effective to reduce where clause load. + * @return array + * list(string $orderByClause, string $additionalFromClause). + */ + protected function prepareOrderBy($sort, $sortByChar, $sortOrder, $additionalFromClause) { + $order = NULL; + $config = CRM_Core_Config::singleton(); + if ($config->includeOrderByClause || + isset($this->_distinctComponentClause) + ) { + if ($sort) { + if (is_string($sort)) { + $orderBy = $sort; + } + else { + $orderBy = trim($sort->orderBy()); + } + // Deliberately remove the backticks again, as they mess up the evil + // string munging below. This balanced by re-escaping before use. + $orderBy = str_replace('`', '', $orderBy); + + if (!empty($orderBy)) { + // this is special case while searching for + // change log CRM-1718 + if (preg_match('/sort_name/i', $orderBy)) { + $orderBy = str_replace('sort_name', 'contact_a.sort_name', $orderBy); + } + + $orderBy = CRM_Utils_Type::escape($orderBy, 'String'); + $order = " ORDER BY $orderBy"; + + if ($sortOrder) { + $sortOrder = CRM_Utils_Type::escape($sortOrder, 'String'); + $order .= " $sortOrder"; + } + + // always add contact_a.id to the ORDER clause + // so the order is deterministic + if (strpos('contact_a.id', $order) === FALSE) { + $order .= ", contact_a.id"; + } + } + } + elseif ($sortByChar) { + $order = " ORDER BY UPPER(LEFT(contact_a.sort_name, 1)) asc"; + } + else { + $order = " ORDER BY contact_a.sort_name asc, contact_a.id"; + } + } + + // hack for order clause + if ($order) { + $fieldStr = trim(str_replace('ORDER BY', '', $order)); + $fieldOrder = explode(' ', $fieldStr); + $field = $fieldOrder[0]; + + if ($field) { + switch ($field) { + case 'city': + case 'postal_code': + $this->_whereTables["civicrm_address"] = 1; + $order = str_replace($field, "civicrm_address.{$field}", $order); + break; + + case 'country': + case 'state_province': + $this->_whereTables["civicrm_{$field}"] = 1; + $order = str_replace($field, "civicrm_{$field}.name", $order); + break; + + case 'email': + $this->_whereTables["civicrm_email"] = 1; + $order = str_replace($field, "civicrm_email.{$field}", $order); + break; + + default: + //CRM-12565 add "`" around $field if it is a pseudo constant + foreach ($this->_pseudoConstantsSelect as $key => $value) { + if (!empty($value['element']) && $value['element'] == $field) { + $order = str_replace($field, "`{$field}`", $order); + } + } + } + $this->_fromClause = self::fromClause($this->_tables, NULL, NULL, $this->_primaryLocation, $this->_mode); + $this->_simpleFromClause = self::fromClause($this->_whereTables, NULL, NULL, $this->_primaryLocation, $this->_mode); + } + } + + // The above code relies on crazy brittle string manipulation of a peculiarly-encoded ORDER BY + // clause. But this magic helper which forgivingly reescapes ORDER BY. + // Note: $sortByChar implies that $order was hard-coded/trusted, so it can do funky things. + if ($order && !$sortByChar) { + $order = ' ORDER BY ' . CRM_Utils_Type::escape(preg_replace('/^\s*ORDER BY\s*/', '', $order), 'MysqlOrderBy'); + return array($order, $additionalFromClause); + } + return array($order, $additionalFromClause); + } + } diff --git a/CRM/Contact/BAO/Relationship.php b/CRM/Contact/BAO/Relationship.php index f2946a6079ac..f151265381c2 100644 --- a/CRM/Contact/BAO/Relationship.php +++ b/CRM/Contact/BAO/Relationship.php @@ -1223,10 +1223,18 @@ public static function getRelationship( elseif ($status == self::DISABLED) { $mask |= CRM_Core_Action::ENABLE; } - $mask = $mask & $permissionMask; + // temporary hold the value of $mask. + $tempMask = $mask; } } + // Get job_title from source contact + $contact = new CRM_Contact_BAO_Contact(); + $contact->id = $contactId; + if ($contact->find(TRUE)) { + $job_title = $contact->job_title; + } + while ($relationship->fetch()) { $rid = $relationship->civicrm_relationship_id; $cid = $relationship->civicrm_contact_id; @@ -1236,6 +1244,17 @@ public static function getRelationship( ) { continue; } + if ($status != self::INACTIVE && $links) { + // assign the original value to $mask + $mask = $tempMask; + // display action links if $cid has edit permission for the relationship. + if (!($permissionMask & CRM_Core_Permission::EDIT) && CRM_Contact_BAO_Contact_Permission::allow($cid, CRM_Core_Permission::EDIT)) { + $permissions[] = CRM_Core_Permission::EDIT; + $permissions[] = CRM_Core_Permission::DELETE; + $permissionMask = CRM_Core_Action::mask($permissions); + } + $mask = $mask & $permissionMask; + } $values[$rid]['id'] = $rid; $values[$rid]['cid'] = $cid; $values[$rid]['contact_id_a'] = $relationship->contact_id_a; @@ -1246,6 +1265,10 @@ public static function getRelationship( $values[$rid]['name'] = $relationship->sort_name; $values[$rid]['display_name'] = $relationship->display_name; $values[$rid]['job_title'] = $relationship->job_title; + if (($relationship->civicrm_relationship_type_id == 4) && // Employee/employer + ($relationship->contact_id_a == $contactId)) { // We are looking at the employee + $values[$rid]['job_title'] = $job_title; + } $values[$rid]['email'] = $relationship->email; $values[$rid]['phone'] = $relationship->phone; $values[$rid]['employer_id'] = $relationship->employer_id; @@ -1474,11 +1497,10 @@ public static function relatedMemberships($contactId, &$params, $ids, $action = $query = 'SELECT * FROM `civicrm_membership_status`'; if ($active) { - $query .= 'WHERE `is_current_member` = 1 OR `id` = %1 '; + $query .= ' WHERE `is_current_member` = 1 OR `id` = %1 '; } - $params[1] = array($pendingStatusId, 'String'); - $dao = CRM_Core_DAO::executeQuery($query, $params); + $dao = CRM_Core_DAO::executeQuery($query, array(1 => array($pendingStatusId, 'Integer'))); while ($dao->fetch()) { $membershipStatusRecordIds[$dao->id] = $dao->id; @@ -2021,7 +2043,8 @@ public static function getContactRelationshipSelector(&$params) { } $contactRelationships[$relationshipId]['start_date'] = CRM_Utils_Date::customFormat($values['start_date']); - $contactRelationships[$relationshipId]['end_date'] = CRM_Utils_Date::customFormat($values['end_date']); + //$contactRelationships[$relationshipId]['end_date'] = CRM_Utils_Date::customFormat($values['end_date']); + $contactRelationships[$relationshipId]['job_title'] = $values['job_title']; $contactRelationships[$relationshipId]['city'] = $values['city']; $contactRelationships[$relationshipId]['state'] = $values['state']; $contactRelationships[$relationshipId]['email'] = $values['email']; diff --git a/CRM/Contact/BAO/SavedSearch.php b/CRM/Contact/BAO/SavedSearch.php index dc50ae0d5961..bb0766730c42 100644 --- a/CRM/Contact/BAO/SavedSearch.php +++ b/CRM/Contact/BAO/SavedSearch.php @@ -94,7 +94,7 @@ public static function retrieve(&$params, &$defaults) { * The id of the saved search. * * @return array - * the values of the posted saved search + * the values of the posted saved search used as default values in various Search Form */ public static function &getFormValues($id) { $fv = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_SavedSearch', $id, 'form_values'); @@ -104,27 +104,74 @@ public static function &getFormValues($id) { $result = unserialize($fv); } - // check to see if we need to convert the old privacy array - // CRM-9180 - if (isset($result['privacy'])) { - if (is_array($result['privacy'])) { - $result['privacy_operator'] = 'AND'; - $result['privacy_toggle'] = 1; - if (isset($result['privacy']['do_not_toggle'])) { - if ($result['privacy']['do_not_toggle']) { - $result['privacy_toggle'] = 2; + $specialFields = array( + 'contact_type', + 'group', + 'contact_tags', + 'member_membership_type_id', + 'member_status_id', + 'activity_type_id', + 'location_type', + ); + foreach ($result as $element => $value) { + if (CRM_Contact_BAO_Query::isAlreadyProcessedForQueryFormat($value)) { + $id = CRM_Utils_Array::value(0, $value); + $value = CRM_Utils_Array::value(2, $value); + if (is_array($value) && in_array(key($value), CRM_Core_DAO::acceptedSQLOperators(), TRUE)) { + $value = CRM_Utils_Array::value(key($value), $value); + } + $result[$id] = $value; + unset($result[$element]); + continue; + } + if (!empty($value) && is_array($value)) { + if (in_array($element, $specialFields)) { + $element = str_replace('member_membership_type_id', 'membership_type_id', $element); + $element = str_replace('member_status_id', 'membership_status_id', $element); + CRM_Contact_BAO_Query::legacyConvertFormValues($element, $value); + $result[$element] = $value; + } + // As per the OK (Operator as Key) value format, value array may contain key + // as an operator so to ensure the default is always set actual value + elseif (in_array(key($value), CRM_Core_DAO::acceptedSQLOperators(), TRUE)) { + $result[$element] = CRM_Utils_Array::value(key($value), $value); + if (is_string($result[$element])) { + $result[$element] = str_replace("%", '', $result[$element]); } - unset($result['privacy']['do_not_toggle']); } + } + if (substr($element, 0, 7) == 'custom_' && + (substr($element, -5, 5) == '_from' || substr($element, -3, 3) == '_to') + ) { + // Ensure the _relative field is set if from or to are set to ensure custom date + // fields with 'from' or 'to' values are displayed when the are set in the smart group + // being loaded. (CRM-17116) + if (!isset($result[CRM_Contact_BAO_Query::getCustomFieldName($element) . '_relative'])) { + $result[CRM_Contact_BAO_Query::getCustomFieldName($element) . '_relative'] = 0; + } + } + // check to see if we need to convert the old privacy array + // CRM-9180 + if (!empty($result['privacy'])) { + if (is_array($result['privacy'])) { + $result['privacy_operator'] = 'AND'; + $result['privacy_toggle'] = 1; + if (isset($result['privacy']['do_not_toggle'])) { + if ($result['privacy']['do_not_toggle']) { + $result['privacy_toggle'] = 2; + } + unset($result['privacy']['do_not_toggle']); + } - $result['privacy_options'] = array(); - foreach ($result['privacy'] as $name => $value) { - if ($value) { - $result['privacy_options'][] = $name; + $result['privacy_options'] = array(); + foreach ($result['privacy'] as $name => $value) { + if ($value) { + $result['privacy_options'][] = $name; + } } } + unset($result['privacy']); } - unset($result['privacy']); } return $result; diff --git a/CRM/Contact/Form/CustomData.php b/CRM/Contact/Form/CustomData.php index 94e790b8d1ca..b9c0657ad620 100644 --- a/CRM/Contact/Form/CustomData.php +++ b/CRM/Contact/Form/CustomData.php @@ -239,7 +239,7 @@ public function setDefaultValues() { if ($this->_cdType || $this->_multiRecordDisplay == 'single') { if ($this->_copyValueId) { // cached tree is fetched - $groupTree = &CRM_Core_BAO_CustomGroup::getTree($this->_type, + $groupTree = CRM_Core_BAO_CustomGroup::getTree($this->_type, $this, $this->_entityId, $this->_groupID @@ -262,7 +262,7 @@ public function setDefaultValues() { return $customDefaultValue; } - $groupTree = &CRM_Core_BAO_CustomGroup::getTree($this->_contactType, + $groupTree = CRM_Core_BAO_CustomGroup::getTree($this->_contactType, $this, $this->_tableID, $this->_groupID, @@ -271,7 +271,7 @@ public function setDefaultValues() { if (empty($_POST['hidden_custom_group_count'])) { // custom data building in edit mode (required to handle multi-value) - $groupTree = &CRM_Core_BAO_CustomGroup::getTree($this->_contactType, $this, $this->_tableID, + $groupTree = CRM_Core_BAO_CustomGroup::getTree($this->_contactType, $this, $this->_tableID, $this->_groupID, $this->_contactSubType ); $customValueCount = CRM_Core_BAO_CustomGroup::buildCustomDataView($this, $groupTree, TRUE, $this->_groupID); diff --git a/CRM/Contact/Form/DedupeRules.php b/CRM/Contact/Form/DedupeRules.php index a81fb5312903..bb4e553c8283 100644 --- a/CRM/Contact/Form/DedupeRules.php +++ b/CRM/Contact/Form/DedupeRules.php @@ -228,7 +228,7 @@ public function postProcess() { } // lets skip updating of fields for reserved dedupe group - if (isset($this->_defaults['is_reserved'])) { + if (CRM_Utils_Array::value('is_reserved', $this->_defaults)) { CRM_Core_Session::setStatus(ts("The rule '%1' has been saved.", array(1 => $rgDao->title)), ts('Saved'), 'success'); return; } diff --git a/CRM/Contact/Form/Edit/Address.php b/CRM/Contact/Form/Edit/Address.php index f1fd17bb52d7..79061c294655 100644 --- a/CRM/Contact/Form/Edit/Address.php +++ b/CRM/Contact/Form/Edit/Address.php @@ -75,6 +75,7 @@ public static function buildQuickForm(&$form, $addressBlockCount = NULL, $sharin $form->addSelect("address[$blockId][location_type_id]", array( 'entity' => 'address', 'class' => 'eight', + 'option_url' => NULL, ) + $js, $inlineEdit); if (!$inlineEdit) { @@ -340,8 +341,9 @@ public static function formRule($fields, $files, $self) { */ public static function setDefaultValues(&$defaults, &$form) { $addressValues = array(); - if (isset($defaults['address']) && is_array($defaults['address']) && - !CRM_Utils_System::isNull($defaults['address']) + $blockId = $form->get('Address_Block_Count'); + if (isset($defaults['address'][$blockId]) && is_array($defaults['address'][$blockId]) && + !CRM_Utils_System::isNull($defaults['address'][$blockId]) ) { // start of contact shared adddress defaults @@ -438,6 +440,11 @@ public static function setDefaultValues(&$defaults, &$form) { } // end of parse address functionality } + else { + $config = CRM_Core_Config::singleton(); + $defaults['address'][$blockId]['state_province_id'] = $config->defaultContactStateProvince; + $defaults['address'][$blockId]['country_id'] = $config->defaultContactCountry; + } } diff --git a/CRM/Contact/Form/Edit/Email.php b/CRM/Contact/Form/Edit/Email.php index 3bef4b552abb..b4704c5d1286 100644 --- a/CRM/Contact/Form/Edit/Email.php +++ b/CRM/Contact/Form/Edit/Email.php @@ -70,6 +70,7 @@ public static function buildQuickForm(&$form, $blockCount = NULL, $blockEdit = F 'entity' => 'email', 'class' => 'eight', 'placeholder' => NULL, + 'option_url' => NULL, )); $multipleBulk = CRM_Core_BAO_Email::isMultipleBulkMail(); diff --git a/CRM/Contact/Form/Edit/IM.php b/CRM/Contact/Form/Edit/IM.php index 80028fa494f6..2a00bffcf7e2 100644 --- a/CRM/Contact/Form/Edit/IM.php +++ b/CRM/Contact/Form/Edit/IM.php @@ -67,6 +67,7 @@ public static function buildQuickForm(&$form, $blockCount = NULL, $blockEdit = F 'entity' => 'im', 'class' => 'eight', 'placeholder' => NULL, + 'option_url' => NULL, )); //IM box diff --git a/CRM/Contact/Form/Edit/Phone.php b/CRM/Contact/Form/Edit/Phone.php index 4afc211754b2..926865da7454 100644 --- a/CRM/Contact/Form/Edit/Phone.php +++ b/CRM/Contact/Form/Edit/Phone.php @@ -76,6 +76,7 @@ public static function buildQuickForm(&$form, $addressBlockCount = NULL, $blockE 'entity' => 'phone', 'class' => 'eight', 'placeholder' => NULL, + 'option_url' => NULL, )); //is_Primary radio diff --git a/CRM/Contact/Form/Inline/Address.php b/CRM/Contact/Form/Inline/Address.php index 9afb544edaf1..97d0304cb7c8 100644 --- a/CRM/Contact/Form/Inline/Address.php +++ b/CRM/Contact/Form/Inline/Address.php @@ -126,6 +126,7 @@ public function preProcess() { */ public function buildQuickForm() { parent::buildQuickForm(); + $this->set('Address_Block_Count', $this->_locBlockNo); CRM_Contact_Form_Edit_Address::buildQuickForm($this, $this->_locBlockNo, TRUE, TRUE); } @@ -151,6 +152,7 @@ public function setDefaultValues() { $address['location_type_id'] = $locationType->id; } + $address['state_province_id'] = $config->defaultContactStateProvince; $address['country_id'] = $config->defaultContactCountry; $defaults['address'][$this->_locBlockNo] = $address; } diff --git a/CRM/Contact/Form/Relationship.php b/CRM/Contact/Form/Relationship.php index 8dfb5483f122..3d9499c0b0f6 100644 --- a/CRM/Contact/Form/Relationship.php +++ b/CRM/Contact/Form/Relationship.php @@ -130,10 +130,17 @@ public function preProcess() { $this->_display_name_a = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', $this->_contactId, 'display_name'); $this->assign('display_name_a', $this->_display_name_a); + //get the relationship values. + $this->_values = array(); + if ($this->_relationshipId) { + $params = array('id' => $this->_relationshipId); + CRM_Core_DAO::commonRetrieve('CRM_Contact_DAO_Relationship', $params, $this->_values); + } // Check for permissions if (in_array($this->_action, array(CRM_Core_Action::ADD, CRM_Core_Action::UPDATE, CRM_Core_Action::DELETE))) { - if (!CRM_Contact_BAO_Contact_Permission::allow($this->_contactId, CRM_Core_Permission::EDIT)) { + if (!CRM_Contact_BAO_Contact_Permission::allow($this->_contactId, CRM_Core_Permission::EDIT) + && !CRM_Contact_BAO_Contact_Permission::allow($this->_values['contact_id_b'], CRM_Core_Permission::EDIT)) { CRM_Core_Error::statusBounce(ts('You do not have the necessary permission to edit this contact.')); } } @@ -159,13 +166,6 @@ public function preProcess() { $this->_caseId = CRM_Utils_Request::retrieve('caseID', 'Integer', $this); - //get the relationship values. - $this->_values = array(); - if ($this->_relationshipId) { - $params = array('id' => $this->_relationshipId); - CRM_Core_DAO::commonRetrieve('CRM_Contact_DAO_Relationship', $params, $this->_values); - } - if (!$this->_rtypeId) { $params = $this->controller->exportValues($this->_name); if (isset($params['relationship_type_id'])) { diff --git a/CRM/Contact/Form/Search/Advanced.php b/CRM/Contact/Form/Search/Advanced.php index 8e9f0678d847..7d06fc0a2e24 100644 --- a/CRM/Contact/Form/Search/Advanced.php +++ b/CRM/Contact/Form/Search/Advanced.php @@ -415,6 +415,7 @@ public function normalizeFormValues() { * Normalize default values for multiselect plugins. * * @param array $defaults + * * @return array */ public function normalizeDefaultValues(&$defaults) { @@ -423,25 +424,7 @@ public function normalizeDefaultValues(&$defaults) { } if ($this->_ssID && empty($_POST)) { - $specialFields = array('contact_type', 'group', 'contact_tags', 'member_membership_type_id', 'member_status_id'); - - foreach ($defaults as $element => $value) { - if (!empty($value) && is_array($value)) { - if (in_array($element, $specialFields)) { - $element = str_replace('member_membership_type_id', 'membership_type_id', $element); - $element = str_replace('member_status_id', 'membership_status_id', $element); - $defaults[$element] = array_keys($value); - } - // As per the OK (Operator as Key) value format, value array may contain key - // as an operator so to ensure the default is always set actual value - elseif (in_array(key($value), CRM_Core_DAO::acceptedSQLOperators(), TRUE)) { - $defaults[$element] = CRM_Utils_Array::value(key($value), $value); - if (is_string($defaults[$element])) { - $defaults[$element] = str_replace("%", '', $defaults[$element]); - } - } - } - } + $defaults = array_merge($defaults, CRM_Contact_BAO_SavedSearch::getFormValues($this->_ssID)); } return $defaults; } diff --git a/CRM/Contact/Form/Search/Basic.php b/CRM/Contact/Form/Search/Basic.php index c49b90a638a7..e6c2bb7f22a5 100644 --- a/CRM/Contact/Form/Search/Basic.php +++ b/CRM/Contact/Form/Search/Basic.php @@ -57,10 +57,7 @@ class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search { * @return void */ public function buildQuickForm() { - // text for sort_name or email criteria - $config = CRM_Core_Config::singleton(); - $label = empty($config->includeEmailInName) ? ts('Name') : ts('Name or Email'); - $this->add('text', 'sort_name', $label); + $this->addSortNameField(); $searchOptions = CRM_Core_BAO_Setting::valueOptions(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'advanced_search_options' diff --git a/CRM/Contact/Form/Search/Custom/ActivitySearch.php b/CRM/Contact/Form/Search/Custom/ActivitySearch.php index b78fa15e9354..ee006ee78544 100644 --- a/CRM/Contact/Form/Search/Custom/ActivitySearch.php +++ b/CRM/Contact/Form/Search/Custom/ActivitySearch.php @@ -73,7 +73,7 @@ public function __construct(&$formValues) { ); //Add custom fields to columns array for inclusion in export - $groupTree = &CRM_Core_BAO_CustomGroup::getTree('Activity', $form, NULL, + $groupTree = CRM_Core_BAO_CustomGroup::getTree('Activity', $form, NULL, NULL, '', NULL ); diff --git a/CRM/Contact/Form/Search/Custom/ContributionAggregate.php b/CRM/Contact/Form/Search/Custom/ContributionAggregate.php index 2b8e2d7f9b91..c88ace136730 100644 --- a/CRM/Contact/Form/Search/Custom/ContributionAggregate.php +++ b/CRM/Contact/Form/Search/Custom/ContributionAggregate.php @@ -200,8 +200,8 @@ public function where($includeContactIDs = FALSE) { $clauses[] = "contrib.contact_id = contact_a.id"; $clauses[] = "contrib.is_test = 0"; - $startTime = isset($this->_formValues['start_date_time']) ? $this->_formValues['start_date_time'] : '12:00AM'; - $endTime = isset($this->_formValues['end_date_time']) ? $this->_formValues['end_date_time'] : '11:59PM'; + $startTime = !empty($this->_formValues['start_date_time']) ? $this->_formValues['start_date_time'] : '00:00:00'; + $endTime = !empty($this->_formValues['end_date_time']) ? $this->_formValues['end_date_time'] : '23:59:59'; $startDate = CRM_Utils_Date::processDate($this->_formValues['start_date'], $startTime); if ($startDate) { diff --git a/CRM/Contact/Form/Search/Custom/Group.php b/CRM/Contact/Form/Search/Custom/Group.php index 7bc79e158039..123cc31a2c4a 100644 --- a/CRM/Contact/Form/Search/Custom/Group.php +++ b/CRM/Contact/Form/Search/Custom/Group.php @@ -150,26 +150,6 @@ public function buildForm(&$form) { $form->assign('elements', array('includeGroups', 'excludeGroups', 'andOr', 'includeTags', 'excludeTags')); } - /** - * Set search form field defaults here. - * @return array - */ - public function setDefaultValues() { - $defaults = array('andOr' => '1'); - - if (!empty($this->_formValues)) { - $defaults['andOr'] = CRM_Utils_Array::value('andOr', $this->_formValues, '1'); - - $defaults['includeGroups'] = CRM_Utils_Array::value('includeGroups', $this->_formValues); - $defaults['excludeGroups'] = CRM_Utils_Array::value('excludeGroups', $this->_formValues); - - $defaults['includeTags'] = CRM_Utils_Array::value('includeTags', $this->_formValues); - $defaults['excludeTags'] = CRM_Utils_Array::value('excludeTags', $this->_formValues); - } - - return $defaults; - } - /** * @param int $offset * @param int $rowcount diff --git a/CRM/Contact/Form/Search/Custom/MultipleValues.php b/CRM/Contact/Form/Search/Custom/MultipleValues.php index bac549225ff5..952b03c3861e 100644 --- a/CRM/Contact/Form/Search/Custom/MultipleValues.php +++ b/CRM/Contact/Form/Search/Custom/MultipleValues.php @@ -292,13 +292,6 @@ public function templateFile() { return 'CRM/Contact/Form/Search/Custom/MultipleValues.tpl'; } - /** - * @return array - */ - public function setDefaultValues() { - return array(); - } - /** * @param $row */ diff --git a/CRM/Contact/Form/Search/Custom/PriceSet.php b/CRM/Contact/Form/Search/Custom/PriceSet.php index 2436b8ca5073..3e6b26eba559 100644 --- a/CRM/Contact/Form/Search/Custom/PriceSet.php +++ b/CRM/Contact/Form/Search/Custom/PriceSet.php @@ -338,13 +338,6 @@ public function templateFile() { return 'CRM/Contact/Form/Search/Custom.tpl'; } - /** - * @return array - */ - public function setDefaultValues() { - return array(); - } - /** * @param $row */ diff --git a/CRM/Contact/Form/Search/Custom/Proximity.php b/CRM/Contact/Form/Search/Custom/Proximity.php index 78015b2f9108..fec178fc6918 100644 --- a/CRM/Contact/Form/Search/Custom/Proximity.php +++ b/CRM/Contact/Form/Search/Custom/Proximity.php @@ -271,6 +271,9 @@ public function templateFile() { * @return array|null */ public function setDefaultValues() { + if (!empty($this->_formValues)) { + return $this->_formValues; + } $config = CRM_Core_Config::singleton(); $countryDefault = $config->defaultContactCountry; $stateprovinceDefault = $config->defaultContactStateProvince; diff --git a/CRM/Contact/Form/Search/Custom/Sample.php b/CRM/Contact/Form/Search/Custom/Sample.php index 0d1afb1582a6..f4634b965661 100644 --- a/CRM/Contact/Form/Search/Custom/Sample.php +++ b/CRM/Contact/Form/Search/Custom/Sample.php @@ -211,9 +211,7 @@ public function templateFile() { * @return array */ public function setDefaultValues() { - return array( - 'household_name' => '', - ); + return array_merge(array('household_name' => ''), $this->_formValues); } /** diff --git a/CRM/Contact/Form/Search/Custom/ZipCodeRange.php b/CRM/Contact/Form/Search/Custom/ZipCodeRange.php index 2b5c7571faa9..ba294f9c4312 100644 --- a/CRM/Contact/Form/Search/Custom/ZipCodeRange.php +++ b/CRM/Contact/Form/Search/Custom/ZipCodeRange.php @@ -154,9 +154,11 @@ public function where($includeContactIDs = FALSE) { $low = CRM_Utils_Array::value('postal_code_low', $this->_formValues ); + $low_length = mb_strlen($low); $high = CRM_Utils_Array::value('postal_code_high', $this->_formValues ); + $high_length = mb_strlen($high); if ($low == NULL || $high == NULL) { CRM_Core_Error::statusBounce(ts('Please provide start and end postal codes'), CRM_Utils_System::url('civicrm/contact/search/custom', @@ -165,11 +167,11 @@ public function where($includeContactIDs = FALSE) { ) ); } - - $where = "ROUND(address.postal_code) >= %1 AND ROUND(address.postal_code) <= %2"; + $min_length = min($low_length, $high_length); + $where = "LENGTH(address.postal_code) >= $min_length AND LEFT(address.postal_code, $low_length) >= %1 AND LEFT(address.postal_code, $high_length) <= %2"; $params = array( - 1 => array(trim($low), 'Integer'), - 2 => array(trim($high), 'Integer'), + 1 => array(trim($low), 'String'), + 2 => array(trim($high), 'String'), ); if ($this->_aclWhere) { @@ -178,13 +180,6 @@ public function where($includeContactIDs = FALSE) { return $this->whereClause($where, $params); } - /** - * @return array - */ - public function setDefaultValues() { - return array(); - } - /** * @return string */ diff --git a/CRM/Contact/Form/Task/Label.php b/CRM/Contact/Form/Task/Label.php index 9f5cb9ba21da..76b2555af6a5 100644 --- a/CRM/Contact/Form/Task/Label.php +++ b/CRM/Contact/Form/Task/Label.php @@ -184,7 +184,7 @@ public function postProcess() { $locName = $locType[$fv['location_type_id']]; $location = array('location' => array("{$locName}" => $address)); $returnProperties = array_merge($returnProperties, $location); - $params[] = array('location_type', '=', array($fv['location_type_id'] => 1), 0, 0); + $params[] = array('location_type', '=', array(1 => $fv['location_type_id']), 0, 0); } else { $returnProperties = array_merge($returnProperties, $address); diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index 1fc0cde3a840..f068ced67f80 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -588,6 +588,7 @@ public function import($onDuplicate, &$values, $doGeocodeAddress = FALSE) { $this->_retCode = CRM_Import_Parser::NO_MATCH; } else { + $newContact = $this->createContact($formatted, $contactFields, $onDuplicate, $contactId, FALSE, $this->_dedupeRuleGroupID); $updateflag = FALSE; $this->_retCode = CRM_Import_Parser::VALID; } @@ -1139,7 +1140,23 @@ public static function isErrorInCustomData($params, &$errorMessage, $csType = NU if (empty($params['contact_type'])) { $params['contact_type'] = 'Individual'; } - $customFields = CRM_Core_BAO_CustomField::getFields($params['contact_type'], FALSE, FALSE, $csType); + + // get array of subtypes - CRM-18708 + if (in_array($csType, array('Individual', 'Organization', 'Household'))) { + $csType = self::getSubtypes($params['contact_type']); + } + + if (is_array($csType)) { + // fetch custom fields for every subtype and add it to $customFields array + // CRM-18708 + $customFields = array(); + foreach ($csType as $cType) { + $customFields += CRM_Core_BAO_CustomField::getFields($params['contact_type'], FALSE, FALSE, $cType); + } + } + else { + $customFields = CRM_Core_BAO_CustomField::getFields($params['contact_type'], FALSE, FALSE, $csType); + } $addressCustomFields = CRM_Core_BAO_CustomField::getFields('Address'); $customFields = $customFields + $addressCustomFields; @@ -2142,4 +2159,22 @@ public function checkRelatedContactFields($relKey, $params) { return $allowToCreate; } + /** + * get subtypes given the contact type + * + * @param string $contactType + * @return array $subTypes + */ + public static function getSubtypes($contactType) { + $subTypes = array(); + $types = CRM_Contact_BAO_ContactType::subTypeInfo($contactType); + + if (count($types) > 0) { + foreach ($types as $type) { + $subTypes[] = $type['name']; + } + } + return $subTypes; + } + } diff --git a/CRM/Contact/Page/AJAX.php b/CRM/Contact/Page/AJAX.php index fc081a466c4a..dec945178336 100644 --- a/CRM/Contact/Page/AJAX.php +++ b/CRM/Contact/Page/AJAX.php @@ -761,6 +761,7 @@ public static function selectUnselectContacts() { foreach ($elements as $key => $element) { $elements[$key] = self::_convertToId($element); } + CRM_Utils_Type::escapeAll($elements, 'Integer'); CRM_Core_BAO_PrevNextCache::markSelection($cacheKey, $actionToPerform, $elements); } else { @@ -769,6 +770,7 @@ public static function selectUnselectContacts() { } elseif ($variableType == 'single') { $cId = self::_convertToId($name); + CRM_Utils_Type::escape($cId, 'Integer'); $action = ($state == 'checked') ? 'select' : 'unselect'; CRM_Core_BAO_PrevNextCache::markSelection($cacheKey, $action, $cId); } @@ -824,7 +826,7 @@ public static function getContactRelationships() { 0 => 'relation', 1 => 'sort_name', 2 => 'start_date', - 3 => 'end_date', + 3 => 'job_title', 4 => 'city', 5 => 'state', 6 => 'email', @@ -838,9 +840,9 @@ public static function getContactRelationships() { $offset = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0; $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; $sort = isset($_REQUEST['iSortCol_0']) ? CRM_Utils_Array::value(CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer'), $sortMapper) : NULL; - $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; + $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'MysqlOrderByDirection') : 'asc'; - $params = $_POST; + $params = array(); if ($sort && $sortOrder) { $params['sortBy'] = $sort . ' ' . $sortOrder; } @@ -862,7 +864,7 @@ public static function getContactRelationships() { 'relation', 'name', 'start_date', - 'end_date', + 'job_title', 'city', 'state', 'email', diff --git a/CRM/Contact/Page/Inline/CustomData.php b/CRM/Contact/Page/Inline/CustomData.php index acbdcf83e7ad..b55d14b35eba 100644 --- a/CRM/Contact/Page/Inline/CustomData.php +++ b/CRM/Contact/Page/Inline/CustomData.php @@ -56,7 +56,7 @@ public function run() { //custom groups Inline $entityType = CRM_Contact_BAO_Contact::getContactType($contactId); $entitySubType = CRM_Contact_BAO_Contact::getContactSubType($contactId); - $groupTree = &CRM_Core_BAO_CustomGroup::getTree($entityType, $this, $contactId, + $groupTree = CRM_Core_BAO_CustomGroup::getTree($entityType, $this, $contactId, $cgId, $entitySubType ); $details = CRM_Core_BAO_CustomGroup::buildCustomDataView($this, $groupTree); diff --git a/CRM/Contact/Page/View/Summary.php b/CRM/Contact/Page/View/Summary.php index 65fa6b5a2593..9e511e87740e 100644 --- a/CRM/Contact/Page/View/Summary.php +++ b/CRM/Contact/Page/View/Summary.php @@ -60,7 +60,7 @@ public function preProcess() { trim($entitySubType, CRM_Core_DAO::VALUE_SEPARATOR) ); } - $groupTree = &CRM_Core_BAO_CustomGroup::getTree($entityType, + $groupTree = CRM_Core_BAO_CustomGroup::getTree($entityType, $this, $this->_contactId, NULL, diff --git a/CRM/Contact/Page/View/Vcard.php b/CRM/Contact/Page/View/Vcard.php index ba0ad64f0305..accf8ce8b422 100644 --- a/CRM/Contact/Page/View/Vcard.php +++ b/CRM/Contact/Page/View/Vcard.php @@ -87,7 +87,11 @@ public function run() { if (!empty($defaults['nick_name'])) { $vcard->addNickname($defaults['nick_name']); } - + + if (CRM_Utils_Array::value('organization_name', $defaults)) { + $vcard->addOrganization($defaults['organization_name']); + } + if (!empty($defaults['job_title'])) { $vcard->setTitle($defaults['job_title']); } diff --git a/CRM/Contact/Selector.php b/CRM/Contact/Selector.php index d8920ae59f7c..5191bfbaec47 100644 --- a/CRM/Contact/Selector.php +++ b/CRM/Contact/Selector.php @@ -630,7 +630,7 @@ public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) { $links = self::links($this->_context, $this->_contextMenu, $this->_key); //check explicitly added contact to a Smart Group. - $groupID = CRM_Utils_Array::key('1', $this->_formValues['group']); + $groupID = CRM_Utils_Array::value('group', $this->_formValues); $pseudoconstants = array(); // for CRM-3157 purposes diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 8f8d3c7d737c..8123b2c6015f 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -436,6 +436,12 @@ public static function create(&$params, $ids = array()) { if (empty($softParam['amount'])) { $softParam['amount'] = $contribution->total_amount; } + // @TODO : this is hack and need fix + // webform configured with honor, total amount is empty and soft contribution not created with empty amount + if (!empty($_SERVER['DOMAIN']) && $_SERVER['DOMAIN'] == 'dbg' && empty($softParam['amount']) && $contribution->id) { + $softParam['amount'] = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_Contribution', $contribution->id, 'total_amount'); + } + CRM_Contribute_BAO_ContributionSoft::add($softParam); } @@ -2247,6 +2253,11 @@ public function composeMessageArray(&$input, &$ids, &$values, $recur = FALSE, $r } // todo remove strtolower - check consistency if (strtolower($this->_component) == 'event') { + + if (!empty($ids['contribution'])) { + $values['contributionId'] = $ids['contribution']; + } + return CRM_Event_BAO_Event::sendMail($ids['contact'], $values, $this->_relatedObjects['participant']->id, $this->is_test, $returnMessageText ); @@ -2531,7 +2542,7 @@ public function _assignMessageVariablesToTemplate(&$values, $input, &$template, $template->assign('trxn_id', $this->trxn_id); $template->assign('receive_date', - CRM_Utils_Date::mysqlToIso($this->receive_date) + CRM_Utils_Date::processDate($this->receive_date) ); $template->assign('contributeMode', 'notify'); $template->assign('action', $this->is_test ? 1024 : 1); @@ -3015,12 +3026,13 @@ public static function updateFinancialAccounts(&$params, $context = NULL, $skipT if ($context == 'changedStatus') { //get all the statuses $contributionStatus = CRM_Contribute_PseudoConstant::contributionStatus(NULL, 'name'); - + $cancelledTaxAmount = 0; if ($params['prevContribution']->contribution_status_id == array_search('Completed', $contributionStatus) && ($params['contribution']->contribution_status_id == array_search('Refunded', $contributionStatus) || $params['contribution']->contribution_status_id == array_search('Cancelled', $contributionStatus)) ) { $params['trxnParams']['total_amount'] = -$params['total_amount']; + $cancelledTaxAmount = CRM_Utils_Array::value('tax_amount', $params, '0.00'); if (empty($params['contribution']->creditnote_id) || $params['contribution']->creditnote_id == "null") { $creditNoteId = self::createCreditNoteId(); CRM_Core_DAO::setFieldValue('CRM_Contribute_DAO_Contribution', $params['contribution']->id, 'creditnote_id', $creditNoteId); @@ -3045,7 +3057,7 @@ public static function updateFinancialAccounts(&$params, $context = NULL, $skipT $params['trxnParams']['from_financial_account_id'] = $arAccountId; } } - $itemAmount = $params['trxnParams']['total_amount']; + $itemAmount = $params['trxnParams']['total_amount'] + $cancelledTaxAmount; } elseif ($context == 'changePaymentInstrument') { if ($params['trxnParams']['total_amount'] < 0) { @@ -3126,6 +3138,11 @@ public static function updateFinancialAccounts(&$params, $context = NULL, $skipT $currency = $params['contribution']->currency; } $diff = 1; + if ($context == 'changeFinancialType' || $params['contribution']->contribution_status_id == array_search('Cancelled', $contributionStatus) + || $params['contribution']->contribution_status_id == array_search('Refunded', $contributionStatus) + ) { + $diff = -1; + } if (!empty($params['is_quick_config'])) { $amount = $itemAmount; if (!$amount) { @@ -3133,11 +3150,6 @@ public static function updateFinancialAccounts(&$params, $context = NULL, $skipT } } else { - if ($context == 'changeFinancialType' || $params['contribution']->contribution_status_id == array_search('Cancelled', $contributionStatus) - || $params['contribution']->contribution_status_id == array_search('Refunded', $contributionStatus) - ) { - $diff = -1; - } $amount = $diff * $fieldValues['line_total']; } @@ -3207,7 +3219,9 @@ public static function checkStatusValidation($values, &$fields, &$errors) { 'Refunded' => array('Cancelled', 'Completed'), ); - if (!in_array($contributionStatuses[$fields['contribution_status_id']], $checkStatus[$contributionStatuses[$values['contribution_status_id']]])) { + if (!in_array($contributionStatuses[$fields['contribution_status_id']], + CRM_Utils_Array::value($contributionStatuses[$values['contribution_status_id']], $checkStatus, array())) + ) { $errors['contribution_status_id'] = ts("Cannot change contribution status from %1 to %2.", array( 1 => $contributionStatuses[$values['contribution_status_id']], 2 => $contributionStatuses[$fields['contribution_status_id']], @@ -3763,6 +3777,20 @@ public static function checkFinancialTypeChange($financialTypeId, $contributionI } } + /** + * Is there only one line item attached to the contribution. + * + * @param int $id + * Contribution ID. + * + * @return bool + * @throws \CiviCRM_API3_Exception + */ + public static function isSingleLineItem($id) { + $lineItemCount = civicrm_api3('LineItem', 'getcount', array('contribution_id' => $id)); + return ($lineItemCount == 1); + } + /** * Generate credit note id with next avaible number * @@ -3778,10 +3806,8 @@ public static function createCreditNoteId() { do { $creditNoteNum++; $creditNoteId = CRM_Utils_Array::value('credit_notes_prefix', $prefixValue) . "" . $creditNoteNum; - $result = civicrm_api3('Contribution', 'getcount', array( - 'sequential' => 1, - 'creditnote_id' => $creditNoteId, - )); + $params = array(1 => array($creditNoteId, 'String')); + $result = CRM_Core_DAO::singleValueQuery("SELECT count(id) FROM civicrm_contribution WHERE creditnote_id = %1", $params); } while ($result > 0); return $creditNoteId; diff --git a/CRM/Contribute/BAO/Contribution/Utils.php b/CRM/Contribute/BAO/Contribution/Utils.php index a30e26e3e287..a5a20458b28d 100644 --- a/CRM/Contribute/BAO/Contribution/Utils.php +++ b/CRM/Contribute/BAO/Contribution/Utils.php @@ -931,7 +931,7 @@ public static function getFirstLastDetails($contactID) { */ public static function calculateTaxAmount($amount, $taxRate) { $taxAmount = array(); - $taxAmount['tax_amount'] = ($taxRate / 100) * CRM_Utils_Rule::cleanMoney($amount); + $taxAmount['tax_amount'] = round(($taxRate / 100) * CRM_Utils_Rule::cleanMoney($amount), 2); return $taxAmount; } diff --git a/CRM/Contribute/BAO/ContributionPage.php b/CRM/Contribute/BAO/ContributionPage.php index 5c426b9464cb..eacce736551c 100644 --- a/CRM/Contribute/BAO/ContributionPage.php +++ b/CRM/Contribute/BAO/ContributionPage.php @@ -126,8 +126,20 @@ public static function setValues($id, &$values) { * @return void */ public static function sendMail($contactID, $values, $isTest = FALSE, $returnMessageText = FALSE, $fieldTypes = NULL) { - $gIds = $params = array(); + $gIds = array(); + $params = array('custom_pre_id' => array(), 'custom_post_id' => array()); $email = NULL; + + // We are trying to fight the good fight against leaky variables (CRM-17519) so let's get really explicit + // about ensuring the variables we want for the template are defined. + // @todo add to this until all tpl params are explicit in this function and not waltzing around the codebase. + $valuesRequiredForTemplate = array('customPre', 'customPost', 'customPre_grouptitle', 'customPost_grouptitle'); + foreach ($valuesRequiredForTemplate as $valueRequiredForTemplate) { + if (!isset($values[$valueRequiredForTemplate])) { + $values[$valueRequiredForTemplate] = NULL; + } + } + if (isset($values['custom_pre_id'])) { $preProfileType = CRM_Core_BAO_UFField::getProfileType($values['custom_pre_id']); if ($preProfileType == 'Membership' && !empty($values['membership_id'])) { @@ -287,7 +299,7 @@ public static function sendMail($contactID, $values, $isTest = FALSE, $returnMes $userID = CRM_Utils_Array::value('related_contact', $values); } } - self::buildCustomDisplay($preID, 'customPre', $userID, $template, $params['custom_pre_id']); + list($values['customPre_grouptitle'], $values['customPre']) = self::getProfileNameAndFields($preID, $userID, $params['custom_pre_id']); } $userID = $contactID; if ($postID = CRM_Utils_Array::value('custom_post_id', $values)) { @@ -298,7 +310,7 @@ public static function sendMail($contactID, $values, $isTest = FALSE, $returnMes $userID = CRM_Utils_Array::value('related_contact', $values); } } - self::buildCustomDisplay($postID, 'customPost', $userID, $template, $params['custom_post_id']); + list($values['customPost_grouptitle'], $values['customPost']) = self::getProfileNameAndFields($postID, $userID, $params['custom_post_id']); } if (isset($values['honor'])) { $honorValues = $values['honor']; @@ -327,6 +339,10 @@ public static function sendMail($contactID, $values, $isTest = FALSE, $returnMes 'title' => $title, 'isShare' => CRM_Utils_Array::value('is_share', $values), 'thankyou_title' => CRM_Utils_Array::value('thankyou_title', $values), + 'customPre' => $values['customPre'], + 'customPre_grouptitle' => $values['customPre_grouptitle'], + 'customPost' => $values['customPost'], + 'customPost_grouptitle' => $values['customPost_grouptitle'], ); if ($contributionTypeId = CRM_Utils_Array::value('financial_type_id', $values)) { @@ -430,6 +446,46 @@ public static function sendMail($contactID, $values, $isTest = FALSE, $returnMes } } + /** + * Get the profile title and fields. + * + * @param int $gid + * @param int $cid + * @param array $params + * @param array $fieldTypes + * + * @return array + */ + protected static function getProfileNameAndFields($gid, $cid, &$params, $fieldTypes = array()) { + $groupTitle = NULL; + $values = array(); + if ($gid) { + if (CRM_Core_BAO_UFGroup::filterUFGroups($gid, $cid)) { + $fields = CRM_Core_BAO_UFGroup::getFields($gid, FALSE, CRM_Core_Action::VIEW, NULL, NULL, FALSE, NULL, FALSE, NULL, CRM_Core_Permission::CREATE, NULL); + foreach ($fields as $k => $v) { + if (!$groupTitle) { + $groupTitle = $v["groupTitle"]; + } + // suppress all file fields from display and formatting fields + if ( + CRM_Utils_Array::value('data_type', $v, '') == 'File' || + CRM_Utils_Array::value('name', $v, '') == 'image_URL' || + CRM_Utils_Array::value('field_type', $v) == 'Formatting' + ) { + unset($fields[$k]); + } + + if (!empty($fieldTypes) && (!in_array($v['field_type'], $fieldTypes))) { + unset($fields[$k]); + } + } + + CRM_Core_BAO_UFGroup::getValues($cid, $fields, $values, FALSE, $params); + } + } + return array($groupTitle, $values); + } + /** * Construct the message to be sent by the send function. * @@ -559,7 +615,12 @@ public static function recurringNotify($type, $contactID, $pageID, $recur, $auto } /** - * Add the custom fields for contribution page (ie profile) + * Add the custom fields for contribution page (ie profile). + * + * @deprecated assigning values to smarty like this is risky because + * - it is hard to debug since $name is used in the assign + * - it is potentially 'leaky' - it's better to do this on the form + * or close to where it is used / required. See CRM-17519 for leakage e.g. * * @param int $gid * Uf group id. @@ -570,45 +631,14 @@ public static function recurringNotify($type, $contactID, $pageID, $recur, $auto * @param array $params * Params to build component whereclause. * - * @param null $fieldTypes - * - * @return void + * @param array|null $fieldTypes */ public static function buildCustomDisplay($gid, $name, $cid, &$template, &$params, $fieldTypes = NULL) { - if ($gid) { - if (CRM_Core_BAO_UFGroup::filterUFGroups($gid, $cid)) { - $values = array(); - $groupTitle = NULL; - $fields = CRM_Core_BAO_UFGroup::getFields($gid, FALSE, CRM_Core_Action::VIEW, NULL, NULL, FALSE, NULL, FALSE, NULL, CRM_Core_Permission::CREATE, NULL); - foreach ($fields as $k => $v) { - if (!$groupTitle) { - $groupTitle = $v["groupTitle"]; - } - // suppress all file fields from display and formatting fields - if ( - CRM_Utils_Array::value('data_type', $v, '') == 'File' || - CRM_Utils_Array::value('name', $v, '') == 'image_URL' || - CRM_Utils_Array::value('field_type', $v) == 'Formatting' - ) { - unset($fields[$k]); - } - - if (!empty($fieldTypes) && (!in_array($v['field_type'], $fieldTypes))) { - unset($fields[$k]); - } - } - - if ($groupTitle) { - $template->assign($name . "_grouptitle", $groupTitle); - } - - CRM_Core_BAO_UFGroup::getValues($cid, $fields, $values, FALSE, $params); - - if (count($values)) { - $template->assign($name, $values); - } - } + list($groupTitle, $values) = self::getProfileNameAndFields($gid, $cid, $params, $fieldTypes); + if (!empty($values)) { + $template->assign($name, $values); } + $template->assign($name . "_grouptitle", $groupTitle); } /** diff --git a/CRM/Contribute/BAO/Query.php b/CRM/Contribute/BAO/Query.php index fe3f4fbf2b79..022dbaa64464 100644 --- a/CRM/Contribute/BAO/Query.php +++ b/CRM/Contribute/BAO/Query.php @@ -346,7 +346,7 @@ public static function whereClauseSingle(&$values, &$query) { case (strpos($name, '_amount') !== FALSE): case (strpos($name, '_date') !== FALSE && $name != 'contribution_fulfilled_date'): $qillName = $name; - $pseudoExtraParam = NULL; + $pseudoExtraParam = array(); // @todo including names using a switch statement & then using an 'if' to filter them out is ... odd! if ((strpos($name, '_amount') !== FALSE) || (strpos($name, '_date') !== FALSE) || in_array($name, array( diff --git a/CRM/Contribute/Form/CancelSubscription.php b/CRM/Contribute/Form/CancelSubscription.php index 59a0c0f7541a..5ded40fa3d90 100644 --- a/CRM/Contribute/Form/CancelSubscription.php +++ b/CRM/Contribute/Form/CancelSubscription.php @@ -76,12 +76,13 @@ public function preProcess() { } if ($this->_mid) { - if (CRM_Member_BAO_Membership::isSubscriptionCancelled($this->_mid)) { - CRM_Core_Error::fatal(ts('The auto renewal option for this membership looks to have been cancelled already.')); - } $this->_mode = 'auto_renew'; - $this->_paymentProcessorObj = CRM_Financial_BAO_PaymentProcessor::getProcessorForEntity($this->_mid, 'membership', 'obj'); - $this->_subscriptionDetails = CRM_Contribute_BAO_ContributionRecur::getSubscriptionDetails($this->_mid, 'membership'); + // CRM-18468: crid is more accurate than mid for getting + // subscriptionDetails, so don't get them again. + if (!$this->_crid) { + $this->_paymentProcessorObj = CRM_Financial_BAO_PaymentProcessor::getProcessorForEntity($this->_mid, 'membership', 'obj'); + $this->_subscriptionDetails = CRM_Contribute_BAO_ContributionRecur::getSubscriptionDetails($this->_mid, 'membership'); + } $membershipTypes = CRM_Member_PseudoConstant::membershipType(); $membershipTypeId = CRM_Core_DAO::getFieldValue('CRM_Member_DAO_Membership', $this->_mid, 'membership_type_id'); diff --git a/CRM/Contribute/Form/Contribution.php b/CRM/Contribute/Form/Contribution.php index 13bf393052e7..000f247fa2fc 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -1111,7 +1111,7 @@ public function postProcess() { if ($this->_priceSetId && CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceSet', $this->_priceSetId, 'is_quick_config')) { //CRM-16833: Ensure tax is applied only once for membership conribution, when status changed.(e.g Pending to Completed). $componentDetails = CRM_Contribute_BAO_Contribution::getComponentDetails($this->_id); - if (!CRM_Utils_Array::value('membership', $componentDetails) || !CRM_Utils_Array::value('participant', $componentDetails)) { + if (!(CRM_Utils_Array::value('membership', $componentDetails) || CRM_Utils_Array::value('participant', $componentDetails))) { if (!($this->_action & CRM_Core_Action::UPDATE && (($this->_defaults['contribution_status_id'] != $submittedValues['contribution_status_id'])))) { $lineItems[$itemId]['unit_price'] = $lineItems[$itemId]['line_total'] = CRM_Utils_Rule::cleanMoney(CRM_Utils_Array::value('total_amount', $submittedValues)); } diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php index 69856982eaae..58599b39579b 100644 --- a/CRM/Contribute/Form/Contribution/Confirm.php +++ b/CRM/Contribute/Form/Contribution/Confirm.php @@ -810,6 +810,14 @@ public function postProcess() { if (!empty($params['onbehalf[image_URL]'])) { $behalfOrganization['image_URL'] = $params['onbehalf[image_URL]']; } + + foreach ($params as $k => $v) { + if (substr($k, 0, 16) == 'onbehalf[custom_') { + $key = trim(strstr($k, '['), '[]'); + $behalfOrganization[$key] = $params[$k]; + unset($params[$k]); + } + } } // check for profile double opt-in and get groups to be subscribed @@ -919,10 +927,11 @@ public function postProcess() { // store the fact that this is a membership and membership type is selected $processMembership = FALSE; + $priceFieldIds = $this->get('memberPriceFieldIDS'); if ((!empty($membershipParams['selectMembership']) && $membershipParams['selectMembership'] != 'no_thanks' ) || - $this->_useForMember + ($this->_useForMember && !empty($priceFieldIds)) ) { $processMembership = TRUE; diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index 4819f9677cb7..c074b6f58fc9 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -894,6 +894,7 @@ public static function formRule($fields, $files, $self) { if ($self->_useForMember == 1 && !empty($check) && $membershipIsActive) { $priceFieldIDS = array(); $priceFieldMemTypes = array(); + $priceFieldIsRequired = array(); foreach ($self->_priceSet['fields'] as $priceId => $value) { if (!empty($fields['price_' . $priceId]) || ($self->_quickConfig && $value['name'] == 'membership_amount' && empty($self->_membershipBlock['is_required']))) { @@ -918,6 +919,7 @@ public static function formRule($fields, $files, $self) { ) ) { $priceFieldMemTypes[] = $val['membership_type_id']; + $priceFieldIsRequired[$priceId] = $value['is_required']; } } } @@ -948,7 +950,8 @@ public static function formRule($fields, $files, $self) { } } - if (empty($priceFieldMemTypes)) { + $priceFieldIsRequired = array_filter($priceFieldIsRequired); + if (empty($priceFieldMemTypes) && !empty($priceFieldIsRequired)) { $errors['_qf_default'] = ts('Please select at least one membership option.'); } } diff --git a/CRM/Contribute/Form/Search.php b/CRM/Contribute/Form/Search.php index e6635b93ba9f..3158716bc4f1 100644 --- a/CRM/Contribute/Form/Search.php +++ b/CRM/Contribute/Form/Search.php @@ -168,14 +168,7 @@ public function setDefaultValues() { */ public function buildQuickForm() { parent::buildQuickForm(); - // text for sort_name - $this->addElement('text', - 'sort_name', - ts('Contributor Name or Email'), - CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Contact', - 'sort_name' - ) - ); + $this->addSortNameField(); $this->_group = CRM_Core_PseudoConstant::nestedGroup(); @@ -216,6 +209,28 @@ public function buildQuickForm() { } + /** + * Get the label for the sortName field if email searching is on. + * + * (email searching is a setting under search preferences). + * + * @return string + */ + protected function getSortNameLabelWithEmail() { + return ts('Contributor Name or Email'); + } + + /** + * Get the label for the sortName field if email searching is off. + * + * (email searching is a setting under search preferences). + * + * @return string + */ + protected function getSortNameLabelWithOutEmail() { + return ts('Contributor Name'); + } + /** * The post processing of the form gets done here. * diff --git a/CRM/Contribute/Form/Task/PDFLetterCommon.php b/CRM/Contribute/Form/Task/PDFLetterCommon.php index d95aed8cf46b..e85a78ef2423 100644 --- a/CRM/Contribute/Form/Task/PDFLetterCommon.php +++ b/CRM/Contribute/Form/Task/PDFLetterCommon.php @@ -337,7 +337,6 @@ public static function emailLetter($contact, $html, $is_pdf, $format = array(), $defaults = array( 'toName' => $contact['display_name'], 'toEmail' => $contact['email'], - 'subject' => ts('Thank you for your contribution/s'), 'text' => '', 'html' => $html, ); @@ -346,6 +345,12 @@ public static function emailLetter($contact, $html, $is_pdf, $format = array(), $emails = array_keys($emails); $defaults['from'] = array_pop($emails); } + if (!empty($params['subject'])) { + $defaults['subject'] = $params['subject']; + } + else { + $defaults['subject'] = ts('Thank you for your contribution/s'); + } if ($is_pdf) { $defaults['html'] = ts('Please see attached'); $defaults['attachments'] = array(CRM_Utils_Mail::appendPDF('ThankYou.pdf', $html, $format)); diff --git a/CRM/Contribute/Form/UpdateBilling.php b/CRM/Contribute/Form/UpdateBilling.php index 82fb45335786..0a91ed99a0ec 100644 --- a/CRM/Contribute/Form/UpdateBilling.php +++ b/CRM/Contribute/Form/UpdateBilling.php @@ -65,7 +65,7 @@ public function preProcess() { $this->_crid = CRM_Utils_Request::retrieve('crid', 'Integer', $this, FALSE); if ($this->_crid) { $this->_paymentProcessor = CRM_Financial_BAO_PaymentProcessor::getProcessorForEntity($this->_crid, 'recur', 'info'); - $this->_paymentProcessorObj = CRM_Financial_BAO_PaymentProcessor::getProcessorForEntity($this->_crid, 'recur', 'obj'); + $this->_paymentProcessor['object'] = CRM_Financial_BAO_PaymentProcessor::getProcessorForEntity($this->_crid, 'recur', 'obj'); $this->_subscriptionDetails = CRM_Contribute_BAO_ContributionRecur::getSubscriptionDetails($this->_crid); // Are we cancelling a recurring contribution that is linked to an auto-renew membership? @@ -91,6 +91,8 @@ public function preProcess() { $this->_mode = 'auto_renew'; } + $this->_paymentProcessorObj = CRM_Utils_Array::value('object', $this->_paymentProcessor); + if ((!$this->_crid && !$this->_coid && !$this->_mid) || ($this->_subscriptionDetails == CRM_Core_DAO::$_nullObject) ) { diff --git a/CRM/Contribute/Form/UpdateSubscription.php b/CRM/Contribute/Form/UpdateSubscription.php index 63cbc3b78dc2..c07de932059a 100644 --- a/CRM/Contribute/Form/UpdateSubscription.php +++ b/CRM/Contribute/Form/UpdateSubscription.php @@ -158,7 +158,7 @@ public function buildQuickForm() { TRUE, 'currency', $this->_subscriptionDetails->currency, TRUE ); - $this->add('text', 'installments', ts('Number of Installments'), array('size' => 20), TRUE); + $this->add('text', 'installments', ts('Number of Installments'), array('size' => 20), FALSE); if ($this->_donorEmail) { $this->add('checkbox', 'is_notify', ts('Notify Contributor?')); diff --git a/CRM/Contribute/Page/ContributionRecur.php b/CRM/Contribute/Page/ContributionRecur.php index c0a197265225..fb3c2fed7d24 100644 --- a/CRM/Contribute/Page/ContributionRecur.php +++ b/CRM/Contribute/Page/ContributionRecur.php @@ -54,6 +54,7 @@ public function view() { if ($recur->find(TRUE)) { $values = array(); CRM_Core_DAO::storeValues($recur, $values); + $values['total_amount'] = $values['amount'] * $values['installments']; // if there is a payment processor ID, get the name of the payment processor if (!empty($values['payment_processor_id'])) { $values['payment_processor'] = CRM_Core_DAO::getFieldValue( diff --git a/CRM/Contribute/Page/Tab.php b/CRM/Contribute/Page/Tab.php index 757374bf2930..0e8a4a18dfe8 100644 --- a/CRM/Contribute/Page/Tab.php +++ b/CRM/Contribute/Page/Tab.php @@ -135,6 +135,7 @@ public function browse() { if (!empty($params)) { foreach ($params as $ids => $recur) { + $params[$ids]['total_amount'] = $params[$ids]['amount'] * $params[$ids]['installments']; $action = array_sum(array_keys($this->recurLinks($ids))); // no action allowed if it's not active $params[$ids]['is_active'] = ($recur['contribution_status_id'] != 3); diff --git a/CRM/Contribute/Selector/Search.php b/CRM/Contribute/Selector/Search.php index 875629a6a7d9..98a8109d9646 100644 --- a/CRM/Contribute/Selector/Search.php +++ b/CRM/Contribute/Selector/Search.php @@ -338,6 +338,7 @@ public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) { $qfKey = $this->_key; $componentId = $componentContext = NULL; if ($this->_context != 'contribute') { + // @todo explain the significance of context & why we do not get these i that context. $qfKey = CRM_Utils_Request::retrieve('key', 'String', CRM_Core_DAO::$_nullObject); $componentId = CRM_Utils_Request::retrieve('id', 'Positive', CRM_Core_DAO::$_nullObject); $componentAction = CRM_Utils_Request::retrieve('action', 'String', CRM_Core_DAO::$_nullObject); @@ -346,9 +347,17 @@ public function &getRows($action, $offset, $rowCount, $sort, $output = NULL) { if (!$componentContext && $this->_compContext ) { + // @todo explain when this condition might occur. $componentContext = $this->_compContext; $qfKey = CRM_Utils_Request::retrieve('qfKey', 'String', CRM_Core_DAO::$_nullObject, NULL, FALSE, 'REQUEST'); } + // CRM-17628 for some reason qfKey is not always set when searching from contribution search. + // as a result if the edit link is opened using right-click + open in new tab + // then the browser is not returned to the search results on save. + // This is an effort to getting the qfKey without, sadly, understanding the intent of those who came before me. + if (empty($qfKey)) { + $qfKey = CRM_Utils_Request::retrieve('qfKey', 'String', CRM_Core_DAO::$_nullObject, NULL, FALSE, 'REQUEST'); + } } // get all contribution status @@ -533,6 +542,7 @@ public function &getColumnHeaders($action = NULL, $output = NULL) { array('desc' => ts('Actions')), ) ); + CRM_Core_Smarty::singleton()->assign('softCreditColumns', $this->_includeSoftCredits); return self::$_columnHeaders; } diff --git a/CRM/Core/BAO/Address.php b/CRM/Core/BAO/Address.php index 49397fc8dc90..f9217b9bff51 100644 --- a/CRM/Core/BAO/Address.php +++ b/CRM/Core/BAO/Address.php @@ -525,10 +525,12 @@ public static function &getValues($entityBlock, $microformat = FALSE, $fieldName if (!empty($address->state_province_id)) { $address->state = CRM_Core_PseudoConstant::stateProvinceAbbreviation($address->state_province_id, FALSE); $address->state_name = CRM_Core_PseudoConstant::stateProvince($address->state_province_id, FALSE); + $values['state_province'] = $address->state; } if (!empty($address->country_id)) { $address->country = CRM_Core_PseudoConstant::country($address->country_id); + $values['country'] = $address->country; //get world region $regionId = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_Country', $address->country_id, 'region_id'); @@ -1299,6 +1301,8 @@ public static function buildOptions($fieldName, $context = NULL, $props = array( // Not a real field in this entity case 'world_region': + case 'worldregion': + case 'worldregion_id': return CRM_Core_PseudoConstant::worldRegion(); } return CRM_Core_PseudoConstant::get(__CLASS__, $fieldName, $params, $context); diff --git a/CRM/Core/BAO/ConfigSetting.php b/CRM/Core/BAO/ConfigSetting.php index 2183dbaff6c6..4e19b8a5327a 100644 --- a/CRM/Core/BAO/ConfigSetting.php +++ b/CRM/Core/BAO/ConfigSetting.php @@ -245,120 +245,136 @@ public static function retrieve(&$defaults) { else { $defaults['localeCustomStrings'] = NULL; } + } - // are we in a multi-language setup? - $multiLang = $domain->locales ? TRUE : FALSE; - - // set the current language - $lcMessages = NULL; + // dont add if its empty + if (!empty($defaults)) { + // retrieve directory and url preferences also + CRM_Core_BAO_Setting::retrieveDirectoryAndURLPreferences($defaults); - $session = CRM_Core_Session::singleton(); + // Pickup enabled-components from settings table if found. + $enableComponents = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'enable_components', NULL, array()); + if (!empty($enableComponents)) { + $defaults['enableComponents'] = $enableComponents; - // on multi-lang sites based on request and civicrm_uf_match - if ($multiLang) { - $lcMessagesRequest = CRM_Utils_Request::retrieve('lcMessages', 'String', $this); - $languageLimit = array(); - if (array_key_exists('languageLimit', $defaults) && is_array($defaults['languageLimit'])) { - $languageLimit = $defaults['languageLimit']; + // Lookup component IDs. Note: Do *not* instantiate components. + // Classloading may not be fully setup yet. + $components = CRM_Core_Component::getComponentIDs(); + $enabledComponentIDs = array(); + foreach ($defaults['enableComponents'] as $name) { + $enabledComponentIDs[] = $components[$name]; } + $defaults['enableComponentIDs'] = $enabledComponentIDs; + } + } + } + + + /** + * Evaluate locale preferences and activate a chosen locale by + * updating session+global variables. + */ + public static function applyLocale() { + $domain = CRM_Core_BAO_Domain::getDomain(); + $defaults = unserialize($domain->config_backend); + if ($defaults === FALSE || !is_array($defaults)) { + $defaults = array(); + return FALSE; + } + // are we in a multi-language setup? + $multiLang = $domain->locales ? TRUE : FALSE; + + // set the current language + $lcMessages = NULL; + + $session = CRM_Core_Session::singleton(); + + // on multi-lang sites based on request and civicrm_uf_match + if ($multiLang) { + $lcMessagesRequest = CRM_Utils_Request::retrieve('lcMessages', 'String'); + $languageLimit = array(); + if (array_key_exists('languageLimit', $defaults) && is_array($defaults['languageLimit'])) { + $languageLimit = $defaults['languageLimit']; + } - if (in_array($lcMessagesRequest, array_keys($languageLimit))) { - $lcMessages = $lcMessagesRequest; + if (in_array($lcMessagesRequest, array_keys($languageLimit))) { + $lcMessages = $lcMessagesRequest; - //CRM-8559, cache navigation do not respect locale if it is changed, so reseting cache. - CRM_Core_BAO_Cache::deleteGroup('navigation'); + //CRM-8559, cache navigation do not respect locale if it is changed, so reseting cache. + CRM_Core_BAO_Cache::deleteGroup('navigation'); + } + else { + $lcMessagesRequest = NULL; + } + + if (!$lcMessagesRequest) { + $lcMessagesSession = $session->get('lcMessages'); + if (in_array($lcMessagesSession, array_keys($languageLimit))) { + $lcMessages = $lcMessagesSession; } else { - $lcMessagesRequest = NULL; - } - - if (!$lcMessagesRequest) { - $lcMessagesSession = $session->get('lcMessages'); - if (in_array($lcMessagesSession, array_keys($languageLimit))) { - $lcMessages = $lcMessagesSession; - } - else { - $lcMessagesSession = NULL; - } + $lcMessagesSession = NULL; } + } - if ($lcMessagesRequest) { - $ufm = new CRM_Core_DAO_UFMatch(); - $ufm->contact_id = $session->get('userID'); - if ($ufm->find(TRUE)) { + if ($lcMessagesRequest) { + $ufm = new CRM_Core_DAO_UFMatch(); + $ufm->contact_id = $session->get('userID'); + if ($session->get('userID') && $ufm->find(TRUE)) { + if ($ufm->language != $lcMessages) { $ufm->language = $lcMessages; $ufm->save(); } - $session->set('lcMessages', $lcMessages); - } - - if (!$lcMessages and $session->get('userID')) { - $ufm = new CRM_Core_DAO_UFMatch(); - $ufm->contact_id = $session->get('userID'); - if ($ufm->find(TRUE) && - in_array($ufm->language, array_keys($languageLimit)) - ) { - $lcMessages = $ufm->language; - } - $session->set('lcMessages', $lcMessages); } + $session->set('lcMessages', $lcMessages); } - global $dbLocale; - - // try to inherit the language from the hosting CMS - if (!empty($defaults['inheritLocale'])) { - // FIXME: On multilanguage installs, CRM_Utils_System::getUFLocale() in many cases returns nothing if $dbLocale is not set - $dbLocale = $multiLang ? "_{$defaults['lcMessages']}" : ''; - $lcMessages = CRM_Utils_System::getUFLocale(); - if ($domain->locales and !in_array($lcMessages, explode(CRM_Core_DAO::VALUE_SEPARATOR, - $domain->locales - )) + + if (!$lcMessages and $session->get('userID')) { + $ufm = new CRM_Core_DAO_UFMatch(); + $ufm->contact_id = $session->get('userID'); + if ($ufm->find(TRUE) && + in_array($ufm->language, array_keys($languageLimit)) ) { - $lcMessages = NULL; + $lcMessages = $ufm->language; } + $session->set('lcMessages', $lcMessages); } - - if (empty($lcMessages)) { - //CRM-11993 - if a single-lang site, use default - $lcMessages = CRM_Utils_Array::value('lcMessages', $defaults); + } + global $dbLocale; + + // try to inherit the language from the hosting CMS + if (!empty($defaults['inheritLocale'])) { + // FIXME: On multilanguage installs, CRM_Utils_System::getUFLocale() in many cases returns nothing if $dbLocale is not set + $dbLocale = $multiLang ? "_{$defaults['lcMessages']}" : ''; + $lcMessages = CRM_Utils_System::getUFLocale(); + if ($domain->locales and !in_array($lcMessages, explode(CRM_Core_DAO::VALUE_SEPARATOR, + $domain->locales + )) + ) { + $lcMessages = NULL; } + } - // set suffix for table names - use views if more than one language - $dbLocale = $multiLang ? "_{$lcMessages}" : ''; - - // FIXME: an ugly hack to fix CRM-4041 - global $tsLocale; - $tsLocale = $lcMessages; - - // FIXME: as bad aplace as any to fix CRM-5428 - // (to be moved to a sane location along with the above) - if (function_exists('mb_internal_encoding')) { - mb_internal_encoding('UTF-8'); - } + if (empty($lcMessages)) { + //CRM-11993 - if a single-lang site, use default + $lcMessages = CRM_Utils_Array::value('lcMessages', $defaults); } - // dont add if its empty - if (!empty($defaults)) { - // retrieve directory and url preferences also - CRM_Core_BAO_Setting::retrieveDirectoryAndURLPreferences($defaults); + // set suffix for table names - use views if more than one language + $dbLocale = $multiLang ? "_{$lcMessages}" : ''; - // Pickup enabled-components from settings table if found. - $enableComponents = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'enable_components', NULL, array()); - if (!empty($enableComponents)) { - $defaults['enableComponents'] = $enableComponents; + // FIXME: an ugly hack to fix CRM-4041 + global $tsLocale; + $tsLocale = $lcMessages; - // Lookup component IDs. Note: Do *not* instantiate components. - // Classloading may not be fully setup yet. - $components = CRM_Core_Component::getComponentIDs(); - $enabledComponentIDs = array(); - foreach ($defaults['enableComponents'] as $name) { - $enabledComponentIDs[] = $components[$name]; - } - $defaults['enableComponentIDs'] = $enabledComponentIDs; - } + // FIXME: as bad aplace as any to fix CRM-5428 + // (to be moved to a sane location along with the above) + if (function_exists('mb_internal_encoding')) { + mb_internal_encoding('UTF-8'); } } + /** * @return array */ diff --git a/CRM/Core/BAO/CustomField.php b/CRM/Core/BAO/CustomField.php index e73f82ac102b..717459a10e0e 100644 --- a/CRM/Core/BAO/CustomField.php +++ b/CRM/Core/BAO/CustomField.php @@ -834,6 +834,12 @@ public static function addQuickFormElement( $qf->add('text', $elementName . '_to', ts('To'), $field->attributes); } else { + if ($field->text_length) { + $field->attributes .= ' maxlength=' . $field->text_length; + if ($field->text_length < 20) { + $field->attributes .= ' size=' . $field->text_length; + } + } $element = &$qf->add('text', $elementName, $label, $field->attributes, $useRequired && !$search @@ -1125,16 +1131,13 @@ public static function deleteField($field) { */ public static function getDisplayValue($value, $id, &$options, $contactID = NULL, $fieldID = NULL) { $option = &$options[$id]; - $attributes = &$option['attributes']; - $html_type = $attributes['html_type']; - $data_type = $attributes['data_type']; - $format = CRM_Utils_Array::value('format', $attributes); + $field = self::getFieldObject($id); return self::getDisplayValueCommon($value, $option, - $html_type, - $data_type, - $format, + $field->html_type, + $field->data_type, + NULL, $contactID, $fieldID ); @@ -1226,6 +1229,9 @@ public static function getDisplayValueCommon( case 'AdvMulti-Select': case 'Multi-Select': if (is_array($value)) { + if ($html_type == 'CheckBox') { + CRM_Utils_Array::formatArrayKeys($value); + } $checkedData = $value; } else { @@ -1721,14 +1727,27 @@ public static function formatCustomField( $fName = $value['name']; $mimeType = $value['type']; + // If we are already passing the file id as a value then retrieve and set the file data + if (CRM_Utils_Rule::integer($value)) { + $fileDAO = new CRM_Core_DAO_File(); + $fileDAO->id = $value; + $fileDAO->find(TRUE); + if ($fileDAO->N) { + $fileID = $value; + $fName = $fileDAO->uri; + $mimeType = $fileDAO->mime_type; + } + } + $filename = pathinfo($fName, PATHINFO_BASENAME); - // rename this file to go into the secure directory - if (!rename($fName, $config->customFileUploadDir . $filename)) { + // rename this file to go into the secure directory only if + // user has uploaded new file not existing verfied on the basis of $fileID + if (empty($fileID) && !rename($fName, $config->customFileUploadDir . $filename)) { CRM_Core_Error::statusBounce(ts('Could not move custom file to custom upload directory')); } - if ($customValueId) { + if ($customValueId && empty($fileID)) { $query = " SELECT $columnName FROM $tableName diff --git a/CRM/Core/BAO/CustomGroup.php b/CRM/Core/BAO/CustomGroup.php index 57e735752e71..060a3597103b 100644 --- a/CRM/Core/BAO/CustomGroup.php +++ b/CRM/Core/BAO/CustomGroup.php @@ -312,11 +312,12 @@ public static function autoCreateByActivityType($activityTypeId) { * * @param string $entityType * Of the contact whose contact type is needed. - * @param CRM_Core_Form $form - * Not used but required. + + * @param CRM_Core_Form $deprecated + * Not used. * @param int $entityID * @param int $groupID - * @param string $subType + * @param array $subTypes * @param string $subName * @param bool $fromCache * @param bool $onlySubType @@ -330,14 +331,13 @@ public static function autoCreateByActivityType($activityTypeId) { * @todo - review this - It also returns an array called 'info' with tables, select, from, where keys * The reason for the info array in unclear and it could be determined from parsing the group tree after creation * With caching the performance impact would be small & the function would be cleaner - * */ - public static function &getTree( + public static function getTree( $entityType, - &$form, + $deprecated = NULL, $entityID = NULL, $groupID = NULL, - $subType = NULL, + $subTypes = array(), $subName = NULL, $fromCache = TRUE, $onlySubType = NULL @@ -345,10 +345,22 @@ public static function &getTree( if ($entityID) { $entityID = CRM_Utils_Type::escape($entityID, 'Integer'); } + if (!is_array($subTypes)) { + if (empty($subTypes)) { + $subTypes = array(); + } + else { + if (stristr($subTypes, ',')) { + $subTypes = explode(',', $subTypes); + } + else { + $subTypes = explode(CRM_Core_DAO::VALUE_SEPARATOR, trim($subTypes, CRM_Core_DAO::VALUE_SEPARATOR)); + } + } + } // create a new tree - $strSelect = $strFrom = $strWhere = $orderBy = ''; - $tableData = array(); + $strWhere = $orderBy = ''; // using tableData to build the queryString $tableData = array( @@ -419,41 +431,15 @@ public static function &getTree( $in = "'$entityType'"; } - if ($subType) { - $subTypeClause = ''; - if (is_array($subType)) { - $subType = implode(',', $subType); + if (!empty($subTypes)) { + foreach ($subTypes as $key => $subType) { + // CRM-18559: the value returned from validateSubTypeByEntity does not + // include value separators, so they need to be added for the query. + $subTypeClauses[] = self::whereListHas("civicrm_custom_group.extends_entity_column_value", self::validateSubTypeByEntity($entityType, $subType)); } - if (strpos($subType, ',')) { - $subTypeParts = explode(',', $subType); - $subTypeClauses = array(); - foreach ($subTypeParts as $subTypePart) { - $subTypePart = CRM_Core_DAO::VALUE_SEPARATOR . - trim($subTypePart, CRM_Core_DAO::VALUE_SEPARATOR) . - CRM_Core_DAO::VALUE_SEPARATOR; - $subTypeClauses[] = "civicrm_custom_group.extends_entity_column_value LIKE '%$subTypePart%'"; - } - - if ($onlySubType) { - $subTypeClause = '(' . implode(' OR ', $subTypeClauses) . ')'; - } - else { - $subTypeClause = '(' . implode(' OR ', $subTypeClauses) . - " OR civicrm_custom_group.extends_entity_column_value IS NULL )"; - } - } - else { - $subType = CRM_Core_DAO::VALUE_SEPARATOR . - trim($subType, CRM_Core_DAO::VALUE_SEPARATOR) . - CRM_Core_DAO::VALUE_SEPARATOR; - - if ($onlySubType) { - $subTypeClause = "( civicrm_custom_group.extends_entity_column_value LIKE '%$subType%' )"; - } - else { - $subTypeClause = "( civicrm_custom_group.extends_entity_column_value LIKE '%$subType%' - OR civicrm_custom_group.extends_entity_column_value IS NULL )"; - } + $subTypeClause = '(' . implode(' OR ', $subTypeClauses) . ')'; + if (!$onlySubType) { + $subTypeClause = '(' . $subTypeClause . ' OR civicrm_custom_group.extends_entity_column_value IS NULL )'; } $strWhere = " @@ -547,8 +533,10 @@ public static function &getTree( continue; } // CRM-5507 - if ($fieldName == 'extends_entity_column_value' && $subType) { - $groupTree[$groupID]['subtype'] = trim($subType, CRM_Core_DAO::VALUE_SEPARATOR); + // This is an old bit of code - per the CRM number & probably does not work reliably if + // that one contact sub-type exists. + if ($fieldName == 'extends_entity_column_value' && !empty($subTypes[0])) { + $groupTree[$groupID]['subtype'] = self::validateSubTypeByEntity($entityType, $subType); } $groupTree[$groupID][$fieldName] = $crmDAO->$fullFieldName; } @@ -634,6 +622,49 @@ public static function &getTree( return $groupTree; } + /** + * Clean and validate the filter before it is used in a db query. + * + * @param string $entityType + * @param string $subType + * + * @return string + * @throws \CRM_Core_Exception + * @throws \CiviCRM_API3_Exception + */ + protected static function validateSubTypeByEntity($entityType, $subType) { + $subType = trim($subType, CRM_Core_DAO::VALUE_SEPARATOR); + if (is_numeric($subType)) { + return $subType; + } + + $contactTypes = CRM_Contact_BAO_ContactType::basicTypeInfo(TRUE); + if ($entityType != 'Contact' && !array_key_exists($entityType, $contactTypes)) { + throw new CRM_Core_Exception('Invalid Entity Filter'); + } + $subTypes = CRM_Contact_BAO_ContactType::subTypeInfo($entityType, TRUE); + if (!array_key_exists($subType, $subTypes)) { + throw new CRM_Core_Exception('Invalid Filter'); + } + return $subType; + } + + /** + * Suppose you have a SQL column, $column, which includes a delimited list, and you want + * a WHERE condition for rows that include $value. Use whereListHas(). + * + * @param string $column + * @param string $value + * @param string $delimiter + * @return string + * SQL condition. + */ + static private function whereListHas($column, $value, $delimiter = CRM_Core_DAO::VALUE_SEPARATOR) { + $bareValue = trim($value, $delimiter); // ? + $escapedValue = CRM_Utils_Type::escape("%{$delimiter}{$bareValue}{$delimiter}%", 'String', FALSE); + return "($column LIKE \"$escapedValue\")"; + } + /** * Check whether the custom group has any data for the given entity. * @@ -1578,7 +1609,7 @@ public static function extractGetParams(&$form, $type) { return array(); } - $groupTree = CRM_Core_BAO_CustomGroup::getTree($type, $form); + $groupTree = CRM_Core_BAO_CustomGroup::getTree($type); $customValue = array(); $htmlType = array( 'CheckBox', diff --git a/CRM/Core/BAO/CustomQuery.php b/CRM/Core/BAO/CustomQuery.php index 221cbdf4b64e..561bea973d40 100644 --- a/CRM/Core/BAO/CustomQuery.php +++ b/CRM/Core/BAO/CustomQuery.php @@ -30,8 +30,6 @@ * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * */ class CRM_Core_BAO_CustomQuery { const PREFIX = 'custom_value_'; @@ -81,7 +79,8 @@ class CRM_Core_BAO_CustomQuery { public $_qill; /** - * The cache to translate the option values into labels. + * @deprecated + * No longer needed due to CRM-17646 refactoring, but still used in some places * * @var array */ @@ -254,9 +253,6 @@ public function __construct($ids, $contactSearch = FALSE, $locationSpecificField /** * Generate the select clause and the associated tables. - * for the from clause - * - * @return void */ public function select() { if (empty($this->_fields)) { @@ -318,15 +314,12 @@ public function select() { } /** - * Generate the where clause and also the english language. - * equivalent - * - * @return void + * Generate the where clause and also the english language equivalent. */ public function where() { foreach ($this->_ids as $id => $values) { - // Fixed for Isuue CRM 607 + // Fixed for Issue CRM 607 if (CRM_Utils_Array::value($id, $this->_fields) === NULL || !$values ) { @@ -367,13 +360,7 @@ public function where() { case 'Country': if ($field['is_search_range'] && is_array($value)) { - $this->searchRange($field['id'], - $field['label'], - $field['data_type'], - $fieldName, - $value, - $grouping - ); + //didn't found any field under any of these three data-types as searchable by range } else { // fix $value here to escape sql injection attacks @@ -420,13 +407,8 @@ public function where() { break; case 'Int': - if ($field['is_search_range'] && is_array($value)) { - $this->searchRange($field['id'], $field['label'], $field['data_type'], $fieldName, $value, $grouping); - } - else { - $this->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause($fieldName, $op, $value, 'Integer'); - $this->_qill[$grouping][] = ts("%1 %2 %3", array(1 => $field['label'], 2 => $qillOp, 3 => $qillValue));; - } + $this->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause($fieldName, $op, $value, 'Integer'); + $this->_qill[$grouping][] = ts("%1 %2 %3", array(1 => $field['label'], 2 => $qillOp, 3 => $qillValue));; break; case 'Boolean': @@ -462,69 +444,14 @@ public function where() { } case 'Float': - if ($field['is_search_range']) { - $this->searchRange($field['id'], $field['label'], $field['data_type'], $fieldName, $value, $grouping); - } - else { - $this->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause($fieldName, $op, $value, 'Float'); - $this->_qill[$grouping][] = ts("%1 %2 %3", array(1 => $field['label'], 2 => $qillOp, 3 => $qillValue)); - } + $this->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause($fieldName, $op, $value, 'Float'); + $this->_qill[$grouping][] = ts("%1 %2 %3", array(1 => $field['label'], 2 => $qillOp, 3 => $qillValue)); break; case 'Date': - $fromValue = CRM_Utils_Array::value('from', $value); - $toValue = CRM_Utils_Array::value('to', $value); - $value = CRM_Utils_Array::value($op, $value, $value); - - if (!$fromValue && !$toValue) { - if (!is_array($value) && !CRM_Utils_Date::processDate($value) && !in_array($op, array('IS NULL', 'IS NOT NULL', 'IS EMPTY', 'IS NOT EMPTY'))) { - continue; - } - - // hack to handle yy format during search - if (is_numeric($value) && strlen($value) == 4) { - $value = "01-01-{$value}"; - } - - if (is_array($value)) { - $date = $qillValue = array(); - foreach ($value as $key => $val) { - $date[$key] = CRM_Utils_Date::processDate($val); - $qillValue[$key] = CRM_Utils_Date::customFormat($date[$key]); - } - } - else { - $date = CRM_Utils_Date::processDate($value); - $qillValue = CRM_Utils_Date::customFormat($date); - } - - $this->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause($fieldName, $op, $date, 'String'); - $this->_qill[$grouping][] = $field['label'] . " {$qillOp} " . implode(', ', (array) $qillValue); - } - else { - if (is_numeric($fromValue) && strlen($fromValue) == 4) { - $fromValue = "01-01-{$fromValue}"; - } - - if (is_numeric($toValue) && strlen($toValue) == 4) { - $toValue = "01-01-{$toValue}"; - } - - // TO DO: add / remove time based on date parts - $fromDate = CRM_Utils_Date::processDate($fromValue); - $toDate = CRM_Utils_Date::processDate($toValue); - if (!$fromDate && !$toDate) { - continue; - } - if ($fromDate) { - $this->_where[$grouping][] = "$fieldName >= $fromDate"; - $this->_qill[$grouping][] = $field['label'] . ' >= ' . CRM_Utils_Date::customFormat($fromDate); - } - if ($toDate) { - $this->_where[$grouping][] = "$fieldName <= $toDate"; - $this->_qill[$grouping][] = $field['label'] . ' <= ' . CRM_Utils_Date::customFormat($toDate); - } - } + $this->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause($fieldName, $op, $value, 'String'); + list($qillOp, $qillVal) = CRM_Contact_BAO_Query::buildQillForFieldValue(NULL, $field['label'], $value, $op, array(), CRM_Utils_Type::T_DATE); + $this->_qill[$grouping][] = "{$field['label']} $qillOp '$qillVal'"; break; case 'File': @@ -579,43 +506,4 @@ public function query() { ); } - /** - * @param int $id - * @param $label - * @param $type - * @param string $fieldName - * @param $value - * @param $grouping - */ - public function searchRange(&$id, &$label, $type, $fieldName, &$value, &$grouping) { - $qill = array(); - - if (isset($value['from'])) { - $val = CRM_Utils_Type::escape($value['from'], $type); - - if ($type == 'String') { - $this->_where[$grouping][] = "$fieldName >= '$val'"; - } - else { - $this->_where[$grouping][] = "$fieldName >= $val"; - } - $qill[] = ts('greater than or equal to \'%1\'', array(1 => $value['from'])); - } - - if (isset($value['to'])) { - $val = CRM_Utils_Type::escape($value['to'], $type); - if ($type == 'String') { - $this->_where[$grouping][] = "$fieldName <= '$val'"; - } - else { - $this->_where[$grouping][] = "$fieldName <= $val"; - } - $qill[] = ts('less than or equal to \'%1\'', array(1 => $value['to'])); - } - - if (!empty($qill)) { - $this->_qill[$grouping][] = $label . ' - ' . implode(' ' . ts('and') . ' ', $qill); - } - } - } diff --git a/CRM/Core/BAO/Dashboard.php b/CRM/Core/BAO/Dashboard.php index c7dcd923da71..0daa5b75df69 100644 --- a/CRM/Core/BAO/Dashboard.php +++ b/CRM/Core/BAO/Dashboard.php @@ -164,13 +164,16 @@ public static function initializeDashlets($flatFormat = FALSE) { $contactID = CRM_Core_Session::singleton()->get('userID'); $allDashlets = CRM_Utils_Array::index(array('name'), $getDashlets['values']); $defaultDashlets = array(); - if (!empty($allDashlets['blog'])) { - $defaultDashlets['blog'] = array( - 'dashboard_id' => $allDashlets['blog']['id'], - 'is_active' => 1, - 'column_no' => 1, - 'contact_id' => $contactID, - ); + $defaults = array('blog' => 1, 'getting-started' => '0'); + foreach ($defaults as $name => $column) { + if (!empty($allDashlets[$name])) { + $defaultDashlets[$name] = array( + 'dashboard_id' => $allDashlets[$name]['id'], + 'is_active' => 1, + 'column_no' => $column, + 'contact_id' => $contactID, + ); + } } CRM_Utils_Hook::dashboard_defaults($allDashlets, $defaultDashlets); if (is_array($defaultDashlets) && !empty($defaultDashlets)) { diff --git a/CRM/Core/BAO/Mapping.php b/CRM/Core/BAO/Mapping.php index 17a69245361b..e3ca41e98ba6 100644 --- a/CRM/Core/BAO/Mapping.php +++ b/CRM/Core/BAO/Mapping.php @@ -614,11 +614,11 @@ public static function buildMappingForm(&$form, $mappingType = 'Export', $mappin $relationshipType->id = $id; if ($relationshipType->find(TRUE)) { $direction = "contact_sub_type_$second"; + $target_type = 'contact_type_' . $second; if (isset($relationshipType->$direction)) { $relatedFields = array_merge((array) $relatedMapperFields[$relationshipType->$direction], (array) $relationshipCustomFields); } - else { - $target_type = 'contact_type_' . $second; + elseif (isset($relationshipType->$target_type)) { $relatedFields = array_merge((array) $relatedMapperFields[$relationshipType->$target_type], (array) $relationshipCustomFields); } } diff --git a/CRM/Core/BAO/OptionValue.php b/CRM/Core/BAO/OptionValue.php index 116bcbca485d..e250beb13f8f 100644 --- a/CRM/Core/BAO/OptionValue.php +++ b/CRM/Core/BAO/OptionValue.php @@ -518,4 +518,22 @@ public static function getOptionValuesAssocArrayFromName($optionGroupName) { return $options; } + /** + * Ensure an option value exists. + * + * This function is intended to be called from the upgrade script to ensure + * that an option value exists, without hitting an error if it already exists. + * + * This is sympathetic to sites who might pre-add it. + */ + public static function ensureOptionValueExists($params) { + $existingValues = civicrm_api3('OptionValue', 'get', array( + 'option_group_id' => $params['option_group_id'], + 'name' => $params['name'], + )); + if (!$existingValues['count']) { + civicrm_api3('OptionValue', 'create', $params); + } + } + } diff --git a/CRM/Core/BAO/Setting.php b/CRM/Core/BAO/Setting.php index e948b5dfc155..cf3c21c714af 100644 --- a/CRM/Core/BAO/Setting.php +++ b/CRM/Core/BAO/Setting.php @@ -793,11 +793,18 @@ public static function updateSettingsFromMetaData() { ); $existing = civicrm_api('setting', 'get', $apiParams); + global $civicrm_setting; + $override = array(); + foreach($civicrm_setting as $group => $keys) { + $override = array_merge($override, array_flip(array_keys($keys))); + } + if (!empty($existing['values'])) { $allSettings = civicrm_api('setting', 'getfields', array('version' => 3)); foreach ($existing['values'] as $domainID => $domainSettings) { CRM_Core_BAO_Domain::setDomain($domainID); $missing = array_diff_key($allSettings['values'], $domainSettings); + $missing = $missing + $override; foreach ($missing as $name => $settings) { self::convertConfigToSetting($name, $domainID); } @@ -839,7 +846,7 @@ public static function convertConfigToSetting($name, $domainID = NULL) { civicrm_api('setting', 'fill', array('version' => 3, 'name' => $name, 'domain_id' => $domainID)); } - if (empty($spec[$name]['prefetch']) && !empty($values[$configKey])) { + if (empty($spec[$name]['prefetch']) && isset($values[$configKey])) { unset($values[$configKey]); $domain->config_backend = serialize($values); $domain->save(); diff --git a/CRM/Core/Block.php b/CRM/Core/Block.php index 0f42416532ec..87c7f33bd13e 100644 --- a/CRM/Core/Block.php +++ b/CRM/Core/Block.php @@ -52,7 +52,8 @@ class CRM_Core_Block { ADD = 4, LANGSWITCH = 5, EVENT = 6, - FULLTEXT_SEARCH = 7; + FULLTEXT_SEARCH = 7, + DID_YOU_KNOW = 8; /** * Template file names for the above blocks. @@ -173,6 +174,18 @@ public static function initProperties() { 'pages' => "civicrm\ncivicrm/*", 'region' => $config->userSystem->getDefaultBlockLocation(), ), + self::DID_YOU_KNOW => array( + 'template' => 'DidYouKnow.tpl', + 'info' => ts('Cividesk tips'), + 'subject' => ts('Did you know?'), + 'active' => true, + 'cache' => BLOCK_NO_CACHE, + 'visibility' => 1, + 'weight' => -99, + 'status' => 1, + 'pages' => "civicrm\ncivicrm/*", + 'region' => $config->userSystem->getDefaultBlockLocation(), + ), ); ksort(self::$_properties); @@ -342,6 +355,33 @@ private static function setTemplateValues($id) { case self::EVENT: self::setTemplateEventValues(); break; + + case self::DID_YOU_KNOW: + $messages = array( // TODO: add a link properties to help pages + array( 'text' => 'Cividesk can print name badges for participants to your events.' ), // 'link' => 'http://www.example.com' ), + array( 'text' => 'Cividesk can do mass mailings, and we can help you with template design.' ), + array( 'text' => 'Cividesk can automatically email you any report on a regular basis.' ), + array( 'text' => 'Cividesk can synchronize your CRM contacts with Google Contacts.' ), + array( 'text' => 'Cividesk can sync your contacts with ConstantContact, Mailchimp, VerticalResponse and others.' ), + array( 'text' => 'We love referrals - tell your peers if you are satisfied with our services.' ), + array( 'text' => 'You can share addresses between contacts, and only update this one address in case of a move!' ), + array( 'text' => 'Time saver: you can create event templates for repetitive events.' ), + array( 'text' => 'Time saver: profiles can help you do mass updates on your database.' ), + array( 'text' => 'Every Cividesk user can personalize it\'s very own dashboard.'), + array( 'text' => 'Cividesk automates the sending of reminder emails for expired memberships.'), + array( 'text' => 'Cividesk can display maps for just about any address in your database.'), + array( 'text' => 'We can help you design custom reports if the predefined ones do not fit your needs.'), + array( 'text' => 'Cividesk has a lot of custom field types, including file attachement, web link, date and money amount.'), + array( 'text' => 'The More menu has many shortcuts that can take you places, quickly.'), + array( 'text' => 'Cividesk can do full-text searches on contacts, activities, contributions, memberships and more!'), + array( 'text' => 'Cividesk can find and merge duplicate contacts with just a few clicks - no excuses for that messy database anymore!'), + array( 'text' => 'Scheduling activities can help you stay on top of your todo list and never drop a ball again.'), + array( 'text' => 'You can export almost anything from Cividesk - in Excel, CSV or PDF formats.'), + array( 'text' => 'The Advanced Search screen is easy to use and immensely powerful - master it and find just about anything, fast.'), + ); + $message = $messages[ rand(0, count($messages)-1) ]; + self::setProperty( self::DID_YOU_KNOW, 'templateValues', array( 'message' => $message ) ); + break; } } diff --git a/CRM/Core/Config.php b/CRM/Core/Config.php index 1d8cd5a60862..c660a42f1e68 100644 --- a/CRM/Core/Config.php +++ b/CRM/Core/Config.php @@ -172,10 +172,6 @@ class CRM_Core_Config extends CRM_Core_Config_Variables { /// END: RUNTIME SET CLASS PROPERTIES /// - /** - * @var string - */ - public $recaptchaPublicKey; /** * The constructor. Sets domain id if defined, otherwise assumes @@ -358,8 +354,9 @@ private function _initialize($loadFromDB = TRUE) { // also make sure we create the config directory within this directory // the below statement will create both the templates directory and the config and log directory - $this->configAndLogDir - = CRM_Utils_File::baseFilePath($this->templateCompileDir) . + $this->configAndLogDir = defined('CIVICRM_CONFIGLOGDIR') ? + CRM_Utils_File::addTrailingSlash(CIVICRM_CONFIGLOGDIR) : + CRM_Utils_File::baseFilePath($this->templateCompileDir) . 'ConfigAndLog' . DIRECTORY_SEPARATOR; CRM_Utils_File::createDir($this->configAndLogDir); CRM_Utils_File::restrictAccess($this->configAndLogDir); @@ -499,6 +496,8 @@ private function _initVariables() { $this->$key = $value; } + CRM_Core_BAO_ConfigSetting::applyLocale(); + if ($this->userFrameworkResourceURL) { // we need to do this here so all blocks also load from an ssl server if (CRM_Utils_System::isSSL()) { diff --git a/CRM/Core/Config/Variables.php b/CRM/Core/Config/Variables.php index 09f82b2ee563..41091e0b863d 100644 --- a/CRM/Core/Config/Variables.php +++ b/CRM/Core/Config/Variables.php @@ -462,10 +462,6 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults { */ public $doNotAttachPDFReceipt = FALSE; - /** - * Path to wkhtmltopdf if available - */ - public $wkhtmltopdfPath = FALSE; /** * Allow second-degree relations permission to edit contacts diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index 3c5f3294b885..79861e228602 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | + | Copyright CiviCRM LLC (c) 2004-2016 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -29,9 +29,7 @@ * Our base DAO class. All DAO classes should inherit from this class. * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * + * @copyright CiviCRM LLC (c) 2004-2016 */ require_once 'PEAR.php'; @@ -99,8 +97,6 @@ public static function getTableName() { * * @param string $dsn * The database connection string. - * - * @return void */ public static function init($dsn) { $options = &PEAR::getStaticProperty('DB_DataObject', 'options'); @@ -133,26 +129,26 @@ protected function assignTestFK($fieldName, $fieldDef, $params) { if ($fkDAO->find(TRUE)) { $this->$dbName = $fkDAO->id; } - unset($fkDAO); + $fkDAO->free(); } elseif (in_array($FKClassName, CRM_Core_DAO::$_testEntitiesToSkip)) { $depObject = new $FKClassName(); $depObject->find(TRUE); $this->$dbName = $depObject->id; - unset($depObject); + $depObject->free(); } elseif ($daoName == 'CRM_Member_DAO_MembershipType' && $fieldName == 'member_of_contact_id') { // FIXME: the fields() metadata is not specific enough $depObject = CRM_Core_DAO::createTestObject($FKClassName, array('contact_type' => 'Organization')); $this->$dbName = $depObject->id; - unset($depObject); + $depObject->free(); } else { //if it is required we need to generate the dependency object first $depObject = CRM_Core_DAO::createTestObject($FKClassName, CRM_Utils_Array::value($dbName, $params, 1)); $this->$dbName = $depObject->id; - unset($depObject); + $depObject->free(); } } @@ -220,7 +216,7 @@ protected function assignTestValue($fieldName, &$fieldDef, $counter) { break; case CRM_Utils_Type::T_TIME: - CRM_Core_Error::fatal('T_TIME shouldnt be used.'); + CRM_Core_Error::fatal("T_TIME shouldn't be used."); //$object->$dbName='000000'; //break; case CRM_Utils_Type::T_CCNUM: @@ -267,11 +263,11 @@ protected function assignTestValue($fieldName, &$fieldDef, $counter) { } /** - * Reset the DAO object. DAO is kinda crappy in that there is an unwritten - * rule of one query per DAO. We attempt to get around this crappy restricrion - * by resetting some of DAO's internal fields. Use this with caution + * Reset the DAO object. + * + * DAO is kinda crappy in that there is an unwritten rule of one query per DAO. * - * @return void + * We attempt to get around this crappy restriction by resetting some of DAO's internal fields. Use this with caution */ public function reset() { @@ -330,8 +326,6 @@ public function query($query, $i18nRewrite = TRUE) { * * @param object $factory * The factory application object. - * - * @return void */ public static function setFactory(&$factory) { self::$_factory = &$factory; @@ -341,8 +335,6 @@ public static function setFactory(&$factory) { * Factory method to instantiate a new object from a table name. * * @param string $table - * - * @return void */ public function factory($table = '') { if (!isset(self::$_factory)) { @@ -355,8 +347,6 @@ public function factory($table = '') { /** * Initialization for all DAO objects. Since we access DB_DO programatically * we need to set the links manually. - * - * @return void */ public function initialize() { $this->_connect(); @@ -437,6 +427,8 @@ public function table() { } /** + * Save DAO object. + * * @return $this */ public function save() { @@ -489,6 +481,7 @@ public function delete($useWhere = FALSE) { $event = new \Civi\Core\DAO\Event\PostDelete($this, $result); \Civi\Core\Container::singleton()->get('dispatcher')->dispatch("DAO::post-delete", $event); + $this->free(); return $result; } @@ -571,8 +564,6 @@ public function copyValues(&$params) { * The object that we are extracting data from. * @param array $values * (reference ) associative array of name/value pairs. - * - * @return void */ public static function storeValues(&$object, &$values) { $fields = &$object->fields(); @@ -1138,8 +1129,6 @@ public static function commonRetrieve($daoName, &$params, &$defaults, $returnPro * Name of the dao object. * @param int $contactId * Id of the contact to delete. - * - * @return void */ public static function deleteEntityContact($daoName, $contactId) { $object = new $daoName(); @@ -1246,14 +1235,16 @@ public static function &singleValueQuery( } /** - * @param $query + * Compose the query by merging the parameters into it. + * + * @param string $query * @param array $params * @param bool $abort * * @return string * @throws Exception */ - public static function composeQuery($query, &$params, $abort = TRUE) { + public static function composeQuery($query, $params, $abort = TRUE) { $tr = array(); foreach ($params as $key => $item) { if (is_numeric($key)) { @@ -2252,6 +2243,8 @@ public function getFieldSpec($fieldName) { } /** + * Get SQL where clause for SQL filter syntax input parameters. + * * SQL version of api function to assign filters to the DAO based on the syntax * $field => array('IN' => array(4,6,9)) * OR @@ -2272,20 +2265,11 @@ public function getFieldSpec($fieldName) { * * @throws Exception * - * @todo a better solution would be for the query object to apply these filters based on the - * api supported format (but we don't want to risk breakage in alpha stage & query class is scary - * @todo @time of writing only IN & NOT IN are supported for the array style syntax (as test is - * required to extend further & it may be the comments per above should be implemented. It may be - * preferable to not double-banger the return context next refactor of this - but keeping the attention - * in one place has some advantages as we try to extend this format - * * @return NULL|string|array * a string is returned if $returnSanitisedArray is not set, otherwise and Array or NULL * depending on whether it is supported as yet */ - public static function createSQLFilter($fieldName, $filter, $type, $alias = NULL, $returnSanitisedArray = FALSE) { - // http://issues.civicrm.org/jira/browse/CRM-9150 - stick with 'simple' operators for now - // support for other syntaxes is discussed in ticket but being put off for now + public static function createSQLFilter($fieldName, $filter, $type = NULL, $alias = NULL, $returnSanitisedArray = FALSE) { foreach ($filter as $operator => $criteria) { if (in_array($operator, self::acceptedSQLOperators(), TRUE)) { switch ($operator) { @@ -2397,7 +2381,7 @@ public static function shortenSQLName($string, $length = 60, $makeRandom = FALSE } // the string is longer than the length and we need a uniq string - // for the same tablename we need the same uniq string everytime + // for the same tablename we need the same uniq string every time // hence we use md5 on the string, which is not random // we'll append 8 characters to the end of the tableName $md5string = substr(md5($string), 0, 8); @@ -2410,4 +2394,73 @@ public static function shortenSQLName($string, $length = 60, $makeRandom = FALSE public function setApiFilter(&$params) { } + /** + * Generates acl clauses suitable for adding to WHERE or ON when doing an api.get for this entity + * + * Return format is in the form of fieldname => clauses starting with an operator. e.g.: + * @code + * array( + * 'location_type_id' => array('IS NOT NULL', 'IN (1,2,3)') + * ) + * @endcode + * + * Note that all array keys must be actual field names in this entity. Use subqueries to filter on other tables e.g. custom values. + * + * @return array + */ + public function addSelectWhereClause() { + // This is the default fallback, and works for contact-related entities like Email, Relationship, etc. + $clauses = array(); + foreach ($this->fields() as $fieldName => $field) { + if (strpos($fieldName, 'contact_id') === 0 && CRM_Utils_Array::value('FKClassName', $field) == 'CRM_Contact_DAO_Contact') { + $clauses[$fieldName] = CRM_Utils_SQL::mergeSubquery('Contact'); + } + } + CRM_Utils_Hook::selectWhereClause($this, $clauses); + return $clauses; + } + + /** + * This returns the final permissioned query string for this entity + * + * With acls from related entities + additional clauses from hook_civicrm_selectWhereClause + * + * @param string $tableAlias + * @return array + */ + public static function getSelectWhereClause($tableAlias = NULL) { + $bao = new static(); + if ($tableAlias === NULL) { + $tableAlias = $bao->tableName(); + } + $clauses = array(); + foreach ((array) $bao->addSelectWhereClause() as $field => $vals) { + $clauses[$field] = NULL; + if ($vals) { + $clauses[$field] = "`$tableAlias`.`$field` " . implode(" AND `$tableAlias`.`$field` ", (array) $vals); + } + } + return $clauses; + } + + /** + * function to check valid db name containing only characters in [0-9,a-z,A-Z_] + * + * @param $database + * + * @return bool + */ + public static function requireValidDBName($database) { + $matches = array(); + preg_match( + "/^[0-9]*[a-zA-Z_]+[a-zA-Z0-9_]*$/", + $database, + $matches + ); + if (empty($matches)) { + return FALSE; + } + return TRUE; + } + } diff --git a/CRM/Core/DAO/permissions.php b/CRM/Core/DAO/permissions.php index 66012a56b1d4..44420d70b459 100644 --- a/CRM/Core/DAO/permissions.php +++ b/CRM/Core/DAO/permissions.php @@ -167,6 +167,16 @@ function _civicrm_api3_permissions($entity, $action, &$params) { ), ); + // Campaign permissions + $permissions['campaign'] = array( + 'get' => array('access CiviCRM'), + 'default' => array( + // nested array = OR + array('administer CiviCampaign', 'manage campaign'), + ), + ); + $permissions['survey'] = $permissions['campaign']; + // Financial permissions $permissions['contribution'] = array( 'get' => array( diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index b5fe44a2c95b..4b7343cf6677 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -226,7 +226,18 @@ public static function handle($pearError) { } } } - + + $config = CRM_Core_Config::singleton(); + if ($config->fatalErrorHandler && function_exists($config->fatalErrorHandler) ) { + $name = $config->fatalErrorHandler; + $ret = $name($error); + if ($ret) { + // the call has been successfully handled + // so we just exit + self::abend(CRM_Core_Error::FATAL_ERROR); + } + } + $template->assign_by_ref('error', $error); $errorDetails = CRM_Core_Error::debug('', $error, FALSE); $template->assign_by_ref('errorDetails', $errorDetails); @@ -607,7 +618,7 @@ public static function debug_log_message($message, $out = FALSE, $comp = '') { */ public static function debug_query($string) { if (defined('CIVICRM_DEBUG_LOG_QUERY')) { - if (CIVICRM_DEBUG_LOG_QUERY == 'backtrace') { + if (CIVICRM_DEBUG_LOG_QUERY === 'backtrace') { CRM_Core_Error::backtrace($string, TRUE); } elseif (CIVICRM_DEBUG_LOG_QUERY) { @@ -894,6 +905,24 @@ public static function reset() { * @throws PEAR_Exception */ public static function exceptionHandler($pearError) { + $config = CRM_Core_Config::singleton(true, true); // refresh config object, we have to overwrite cron job default handler + // create the error array + $error = array(); + $error['callback'] = $pearError->getCallback(); + $error['code'] = $pearError->getCode(); + $error['message'] = $pearError->getMessage(); + $error['mode'] = $pearError->getMode(); + $error['debug_info'] = $pearError->getDebugInfo(); + $error['type'] = $pearError->getType(); + $error['user_info'] = $pearError->getUserInfo(); + $error['to_string'] = $pearError->toString(); + if ($config->fatalErrorHandler && + function_exists($config->fatalErrorHandler) + ) { + $name = $config->fatalErrorHandler; + $ret = $name($error); + } + CRM_Core_Error::debug_var('Fatal Error Details', $error); CRM_Core_Error::backtrace('backTrace', TRUE); throw new PEAR_Exception($pearError->getMessage(), $pearError); } diff --git a/CRM/Core/Form/Search.php b/CRM/Core/Form/Search.php index 5a610b57fa28..99c66f3da7b8 100644 --- a/CRM/Core/Form/Search.php +++ b/CRM/Core/Form/Search.php @@ -150,4 +150,44 @@ public function addTaskMenu($tasks) { } } + /** + * Add the sort-name field to the form. + * + * There is a setting to determine whether email is included in the search & we look this up to determine + * which text to choose. + * + * Note that for translation purposes the full string works better than using 'prefix' hence we use override-able functions + * to define the string. + */ + protected function addSortNameField() { + $this->addElement( + 'text', + 'sort_name', + civicrm_api3('setting', 'getvalue', array('name' => 'includeEmailInName', 'group' => 'Search Preferences')) ? $this->getSortNameLabelWithEmail() : $this->getSortNameLabelWithOutEmail(), + CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Contact', 'sort_name') + ); + } + + /** + * Get the label for the sortName field if email searching is on. + * + * (email searching is a setting under search preferences). + * + * @return string + */ + protected function getSortNameLabelWithEmail() { + return ts('Name or Email'); + } + + /** + * Get the label for the sortName field if email searching is off. + * + * (email searching is a setting under search preferences). + * + * @return string + */ + protected function getSortNameLabelWithOutEmail() { + return ts('Name'); + } + } diff --git a/CRM/Core/I18n.php b/CRM/Core/I18n.php index f90967c6ba3a..8748bc833790 100644 --- a/CRM/Core/I18n.php +++ b/CRM/Core/I18n.php @@ -542,6 +542,16 @@ public static function setLcTime() { return $locales[$tsLocale]; } + /** + * Get the current locale + * + * @return string + */ + public static function getLocale() { + global $tsLocale; + return $tsLocale; + } + } /** diff --git a/CRM/Core/IDS.php b/CRM/Core/IDS.php index 889fa27e3867..ea7538f9fecc 100644 --- a/CRM/Core/IDS.php +++ b/CRM/Core/IDS.php @@ -58,7 +58,8 @@ class CRM_Core_IDS { */ public function check(&$args) { // lets bypass a few civicrm urls from this check - static $skip = array('civicrm/admin/setting/updateConfigBackend', 'civicrm/admin/messageTemplates'); + $skip = array('civicrm/admin/setting/updateConfigBackend', 'civicrm/admin/messageTemplates'); + CRM_Utils_Hook::idsException($skip); $path = implode('/', $args); if (in_array($path, $skip)) { return NULL; diff --git a/CRM/Core/Lock.php b/CRM/Core/Lock.php index 9c28de7fd244..30b31b4aa47e 100644 --- a/CRM/Core/Lock.php +++ b/CRM/Core/Lock.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | + | Copyright CiviCRM LLC (c) 2004-2016 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -24,25 +24,30 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ */ - /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2015 + * @copyright CiviCRM LLC (c) 2004-2016 * $Id$ * */ class CRM_Core_Lock implements \Civi\Core\Lock\LockInterface { - + /** + * This variable (despite it's name) roughly translates to 'lock that we actually care about'. + * + * Prior to version 5.7.5 mysql only supports a single named lock. This variable is + * part of the skullduggery involved in 'say it's no so Frank'. + * + * See further comments on the aquire function. + * + * @var bool + */ static $jobLog = FALSE; - // lets have a 3 second timeout for now const TIMEOUT = 3; - protected $_hasLock = FALSE; - protected $_name; - + protected $_id; /** * Use MySQL's GET_LOCK(). Locks are shared across all Civi instances * on the same MySQL server. @@ -58,7 +63,6 @@ class CRM_Core_Lock implements \Civi\Core\Lock\LockInterface { public static function createGlobalLock($name) { return new static($name, NULL, TRUE); } - /** * Use MySQL's GET_LOCK(), but apply prefixes to the lock names. * Locks are unique to each instance of Civi. @@ -74,7 +78,6 @@ public static function createGlobalLock($name) { public static function createScopedLock($name) { return new static($name); } - /** * Use MySQL's GET_LOCK(), but conditionally apply prefixes to the lock names * (if civimail_server_wide_lock is disabled). @@ -95,7 +98,6 @@ public static function createCivimailLock($name) { ); return new static($name, NULL, $serverWideLock); } - /** * Initialize the constants used during lock acquire / release * @@ -124,85 +126,105 @@ public function __construct($name, $timeout = NULL, $serverWideLock = FALSE) { else { $this->_name = $database . '.' . $domainID . '.' . $name; } + // MySQL 5.7 doesn't like long lock names so creating a lock id + $this->_id = sha1($this->_name); if (defined('CIVICRM_LOCK_DEBUG')) { - CRM_Core_Error::debug_log_message('trying to construct lock for ' . $this->_name); + CRM_Core_Error::debug_log_message('trying to construct lock for ' . $this->_name . '(' . $this->_id . ')'); } $this->_timeout = $timeout !== NULL ? $timeout : self::TIMEOUT; } - public function __destruct() { $this->release(); } - /** + * Acquire lock. + * + * The advantage of mysql locks is that they can be used across processes. However, only one + * can be used at once within a process. An attempt to use a second one within a process + * prior to mysql 5.7.5 results in the first being released. + * + * The process here is + * 1) first attempt to grab a lock for a mailing job - self::jobLog will be populated with the + * lock id & a mysql lock will be created for the ID. + * + * If a second function in the same process attempts to grab the lock it will enter the hackyHandleBrokenCode routine + * which says 'I won't break a mailing lock for you but if you are not a civimail send process I'll let you + * pretend you have a lock already and you can go ahead with whatever you were doing under the delusion you + * have a lock. + * + * @todo bypass hackyHandleBrokenCode for mysql version 5.7.5+ + * + * If a second function in a separate process attempts to grab the lock already in use it should be rejected, + * but it appears it IS allowed to grab a different lock & unlike in the same process the first lock won't be released. + * + * All this means CiviMail locks are first class citizens & any other process gets a 'best effort lock'. + * + * @todo document naming convention for CiviMail locks as this is key to ensuring they work properly. + * + * @param int $timeout + * * @return bool + * @throws \CRM_Core_Exception */ public function acquire($timeout = NULL) { if (!$this->_hasLock) { if (self::$jobLog && CRM_Core_DAO::singleValueQuery("SELECT IS_USED_LOCK( '" . self::$jobLog . "')")) { return $this->hackyHandleBrokenCode(self::$jobLog); } - $query = "SELECT GET_LOCK( %1, %2 )"; $params = array( - 1 => array($this->_name, 'String'), + 1 => array($this->_id, 'String'), 2 => array($timeout ? $timeout : $this->_timeout, 'Integer'), ); $res = CRM_Core_DAO::singleValueQuery($query, $params); if ($res) { if (defined('CIVICRM_LOCK_DEBUG')) { - CRM_Core_Error::debug_log_message('acquire lock for ' . $this->_name); + CRM_Core_Error::debug_log_message('acquire lock for ' . $this->_name . '(' . $this->_id . ')'); } $this->_hasLock = TRUE; if (stristr($this->_name, 'data.mailing.job.')) { - self::$jobLog = $this->_name; + self::$jobLog = $this->_id; } } else { if (defined('CIVICRM_LOCK_DEBUG')) { - CRM_Core_Error::debug_log_message('failed to acquire lock for ' . $this->_name); + CRM_Core_Error::debug_log_message('failed to acquire lock for ' . $this->_name . '(' . $this->_id . ')'); } } } return $this->_hasLock; } - /** * @return null|string */ public function release() { if ($this->_hasLock) { if (defined('CIVICRM_LOCK_DEBUG')) { - CRM_Core_Error::debug_log_message('release lock for ' . $this->_name); + CRM_Core_Error::debug_log_message('release lock for ' . $this->_name . '(' . $this->_id . ')'); } $this->_hasLock = FALSE; - - if (self::$jobLog == $this->_name) { + if (self::$jobLog == $this->_id) { self::$jobLog = FALSE; } - $query = "SELECT RELEASE_LOCK( %1 )"; - $params = array(1 => array($this->_name, 'String')); + $params = array(1 => array($this->_id, 'String')); return CRM_Core_DAO::singleValueQuery($query, $params); } } - /** * @return null|string */ public function isFree() { $query = "SELECT IS_FREE_LOCK( %1 )"; - $params = array(1 => array($this->_name, 'String')); + $params = array(1 => array($this->_id, 'String')); return CRM_Core_DAO::singleValueQuery($query, $params); } - /** * @return bool */ public function isAcquired() { return $this->_hasLock; } - /** * CRM-12856 locks were originally set up for jobs, but the concept was extended to caching & groups without * understanding that would undermine the job locks (because grabbing a lock implicitly releases existing ones) @@ -218,11 +240,11 @@ public function isAcquired() { */ public function hackyHandleBrokenCode($jobLog) { if (stristr($this->_name, 'job')) { - CRM_Core_Error::debug_log_message('lock acquisition for ' . $this->_name . ' attempted when ' . $jobLog . ' is not released'); - throw new CRM_Core_Exception('lock acquisition for ' . $this->_name . ' attempted when ' . $jobLog . ' is not released'); + CRM_Core_Error::debug_log_message('lock acquisition for ' . $this->_name . '(' . $this->_id . ')' . ' attempted when ' . $jobLog . ' is not released'); + throw new CRM_Core_Exception('lock acquisition for ' . $this->_name . '(' . $this->_id . ')' . ' attempted when ' . $jobLog . ' is not released'); } if (defined('CIVICRM_LOCK_DEBUG')) { - CRM_Core_Error::debug_log_message('(CRM-12856) faking lock for ' . $this->_name); + CRM_Core_Error::debug_log_message('(CRM-12856) faking lock for ' . $this->_name . '(' . $this->_id . ')'); } $this->_hasLock = TRUE; return TRUE; diff --git a/CRM/Core/Page/AJAX.php b/CRM/Core/Page/AJAX.php index 7d6604ea832f..e33dc666e6ee 100644 --- a/CRM/Core/Page/AJAX.php +++ b/CRM/Core/Page/AJAX.php @@ -214,4 +214,28 @@ public static function setJsHeaders($ttl = NULL) { header("Cache-Control: max-age=$ttl, public"); } + public static function defaultSortAndPagerParams($defaultOffset = 0, $defaultRowCount = 25, $defaultSort = NULL, $defaultsortOrder = 'asc') { + $params = array(); + + $sortMapper = array(); + foreach ($_GET['columns'] as $key => $value) { + $sortMapper[$key] = CRM_Utils_Type::validate($value['data'], 'MysqlColumnNameOrAlias'); + }; + + $offset = isset($_GET['start']) ? CRM_Utils_Type::validate($_GET['start'], 'Integer') : $defaultOffset; + $rowCount = isset($_GET['length']) ? CRM_Utils_Type::validate($_GET['length'], 'Integer') : $defaultRowCount; + // Why is the number of order by columns limited to 1? + $sort = isset($_GET['order'][0]['column']) ? CRM_Utils_Array::value(CRM_Utils_Type::validate($_GET['order'][0]['column'], 'Integer'), $sortMapper) : $defaultSort; + $sortOrder = isset($_GET['order'][0]['dir']) ? CRM_Utils_Type::validate($_GET['order'][0]['dir'], 'MysqlOrderByDirection') : $defaultsortOrder; + + if ($sort) { + $params['sortBy'] = "{$sort} {$sortOrder}"; + } + + $params['page'] = ($offset / $rowCount) + 1; + $params['rp'] = $rowCount; + + return $params; + } + } diff --git a/CRM/Core/Payment/AuthorizeNetIPN.php b/CRM/Core/Payment/AuthorizeNetIPN.php index 97f35ba2ec1d..f808053b922a 100644 --- a/CRM/Core/Payment/AuthorizeNetIPN.php +++ b/CRM/Core/Payment/AuthorizeNetIPN.php @@ -57,11 +57,11 @@ public function main($component = 'contribute') { //we only get invoice num as a key player from payment gateway response. //for ARB we get x_subscription_id and x_subscription_paynum $x_subscription_id = $this->retrieve('x_subscription_id', 'String'); + $ids = $objects = $input = array(); if ($x_subscription_id) { //Approved - $ids = $objects = array(); $input['component'] = $component; // load post vars in $input @@ -223,7 +223,9 @@ public function getInput(&$input, &$ids) { if ($input['trxn_id']) { $input['is_test'] = 0; } - else { + // Only assume trxn_id 'should' have been returned for success. + // Per CRM-17611 it would also not be passed back for a decline. + elseif ($input['response_code'] == 1) { $input['is_test'] = 1; $input['trxn_id'] = md5(uniqid(rand(), TRUE)); } @@ -272,10 +274,10 @@ public function getIDs(&$ids, &$input) { $ids['contact'] = $contRecur->contact_id; } if (!$ids['contributionRecur']) { - $message = ts("Could not find contributionRecur id: %1", array(1 => htmlspecialchars(print_r($input, TRUE)))); - CRM_Core_Error::debug_log_message($message); - echo "Failure: $message

"; - exit(); + $message = ts("Could not find contributionRecur id"); + $log = new CRM_Utils_SystemLogger(); + $log->error('payment_notification', array('message' => $message, 'ids' => $ids, 'input' => $input)); + throw new CRM_Core_Exception($message); } // get page id based on contribution id @@ -331,23 +333,31 @@ public function retrieve($name, $type, $abort = TRUE, $default = NULL) { } /** - * @param $ids - * @param $input + * Check that the MDs is valid. * - * @return bool + * Note that this only checks if it is provided. + * + * @param array $ids + * @param array $input + * + * @throws CRM_Core_Exception */ public function checkMD5($ids, $input) { + if (empty($input['trxn_id'])) { + // For decline we have nothing to check against. + return; + } $paymentProcessor = CRM_Financial_BAO_PaymentProcessor::getPayment($ids['paymentProcessor'], $input['is_test'] ? 'test' : 'live' ); $paymentObject = CRM_Core_Payment::singleton($input['is_test'] ? 'test' : 'live', $paymentProcessor); if (!$paymentObject->checkMD5($input['MD5_Hash'], $input['trxn_id'], $input['amount'], TRUE)) { - CRM_Core_Error::debug_log_message("MD5 Verification failed."); - echo "Failure: Security verification failed

"; - exit(); + $message = "Failure: Security verification failed"; + $log = new CRM_Utils_SystemLogger(); + $log->error('payment_notification', array('message' => $message, 'ids' => $ids, 'input' => $input)); + throw new CRM_Core_Exception($message); } - return TRUE; } } diff --git a/CRM/Core/Payment/BaseIPN.php b/CRM/Core/Payment/BaseIPN.php index fa5651d0897f..b9a32bdb68af 100644 --- a/CRM/Core/Payment/BaseIPN.php +++ b/CRM/Core/Payment/BaseIPN.php @@ -106,6 +106,15 @@ public function validateData(&$input, &$ids, &$objects, $required = TRUE, $payme echo "Failure: Could not find contribution record for {$contribution->id}

"; return FALSE; } + // CRM-16272 (& maybe CRM-13839) - we want to get the last recurring contribution in the series as a template for creating the next + if ($ids['contributionRecur']) { + $last_contribution = new CRM_Contribute_BAO_Contribution(); + $last_contribution->contribution_recur_id = $ids['contributionRecur']; + $last_contribution->orderBy('id DESC'); + if ($last_contribution->find(TRUE)) { + $contribution = $last_contribution; + } + } $contribution->receive_date = CRM_Utils_Date::isoToMysql($contribution->receive_date); $objects['contact'] = &$contact; @@ -646,6 +655,12 @@ public function completeTransaction(&$input, &$ids, &$objects, &$transaction, $r if (!empty($input['campaign_id'])) { $contribution->campaign_id = $input['campaign_id']; } + elseif (!empty($recurContrib->campaign_id)) { + $contribution->campaign_id = $recurContrib->campaign_id; + } + if (CRM_Contribute_BAO_Contribution::isSingleLineItem($primaryContributionID) && !empty($input['financial_type_id'])) { + $contribution->financial_type_id = $input['financial_type_id']; + } } $contributionStatuses = CRM_Core_PseudoConstant::get('CRM_Contribute_DAO_Contribution', 'contribution_status_id', array( @@ -1089,6 +1104,10 @@ public function addRecurLineItems($recurId, $contribution) { $lineItems = CRM_Price_BAO_LineItem::getLineItemsByContributionID($originalContributionID); if (count($lineItems) == 1) { foreach ($lineItems as $index => $lineItem) { + if (isset($contribution->financial_type_id)) { + // CRM-17718 allow for possibility of changed financial type ID having been set prior to calling this. + $lineItems[$index]['financial_type_id'] = $contribution->financial_type_id; + } if ($lineItem['line_total'] != $contribution->total_amount) { // We are dealing with a changed amount! Per CRM-16397 we can work out what to do with these // if there is only one line item, and the UI should prevent this situation for those with more than one. diff --git a/CRM/Core/Payment/PayPalIPN.php b/CRM/Core/Payment/PayPalIPN.php index 87df34f0400f..91e247f28dbe 100644 --- a/CRM/Core/Payment/PayPalIPN.php +++ b/CRM/Core/Payment/PayPalIPN.php @@ -37,28 +37,42 @@ class CRM_Core_Payment_PayPalIPN extends CRM_Core_Payment_BaseIPN { static $_paymentProcessor = NULL; /** - * Constructor. + * Input parameters from payment processor. Store these so that + * the code does not need to keep retrieving from the http request + * @var array */ - public function __construct() { + protected $_inputParameters = array(); + + /** + * Constructor function. + * + * @param array $inputData + * Contents of HTTP REQUEST. + * + * @throws CRM_Core_Exception + */ + public function __construct($inputData) { + $this->setInputParameters($inputData); parent::__construct(); } /** * @param string $name * @param $type - * @param string $location * @param bool $abort * * @return mixed */ - public static function retrieve($name, $type, $location = 'POST', $abort = TRUE) { + public function retrieve($name, $type, $abort = TRUE) { static $store = NULL; - $value = CRM_Utils_Request::retrieve($name, $type, $store, - FALSE, NULL, $location + $value = CRM_Utils_Type::validate( + CRM_Utils_Array::value($name, $this->_inputParameters), + $type, + FALSE ); if ($abort && $value === NULL) { - CRM_Core_Error::debug_log_message("Could not find an entry for $name in $location"); - echo "Failure: Missing Parameter

"; + CRM_Core_Error::debug_log_message("Could not find an entry for $name"); + echo "Failure: Missing Parameter

" . CRM_Utils_Type::escape($name, 'String'); exit(); } return $value; @@ -110,7 +124,7 @@ public function recur(&$input, &$ids, &$objects, $first) { $sendNotification = FALSE; $subscriptionPaymentStatus = NULL; //set transaction type - $txnType = $_POST['txn_type']; + $txnType = $this->retrieve('txn_type', 'String'); switch ($txnType) { case 'subscr_signup': $recur->create_date = $now; @@ -122,7 +136,7 @@ public function recur(&$input, &$ids, &$objects, $first) { if ($statusID != 5) { $recur->contribution_status_id = 2; } - $recur->processor_id = $_POST['subscr_id']; + $recur->processor_id = $this->retrieve('subscr_id', 'String'); $recur->trxn_id = $recur->processor_id; $sendNotification = TRUE; $subscriptionPaymentStatus = CRM_Core_Payment::RECURRING_PAYMENT_START; @@ -296,36 +310,43 @@ public function single( * @return bool */ public function main() { - //@todo - this could be refactored like PayPalProIPN & a test could be added $objects = $ids = $input = array(); - $component = CRM_Utils_Array::value('module', $_GET); + $component = $this->retrieve('module', 'String'); $input['component'] = $component; - // get the contribution and contact ids from the GET params - $ids['contact'] = self::retrieve('contactID', 'Integer', 'GET', TRUE); - $ids['contribution'] = self::retrieve('contributionID', 'Integer', 'GET', TRUE); + $ids['contact'] = $this->retrieve('contactID', 'Integer', TRUE); + $ids['contribution'] = $this->retrieve('contributionID', 'Integer', TRUE); $this->getInput($input, $ids); if ($component == 'event') { - $ids['event'] = self::retrieve('eventID', 'Integer', 'GET', TRUE); - $ids['participant'] = self::retrieve('participantID', 'Integer', 'GET', TRUE); + $ids['event'] = $this->retrieve('eventID', 'Integer', TRUE); + $ids['participant'] = $this->retrieve('participantID', 'Integer', TRUE); } else { // get the optional ids - $ids['membership'] = self::retrieve('membershipID', 'Integer', 'GET', FALSE); - $ids['contributionRecur'] = self::retrieve('contributionRecurID', 'Integer', 'GET', FALSE); - $ids['contributionPage'] = self::retrieve('contributionPageID', 'Integer', 'GET', FALSE); - $ids['related_contact'] = self::retrieve('relatedContactID', 'Integer', 'GET', FALSE); - $ids['onbehalf_dupe_alert'] = self::retrieve('onBehalfDupeAlert', 'Integer', 'GET', FALSE); + $ids['membership'] = $this->retrieve('membershipID', 'Integer', FALSE); + $ids['contributionRecur'] = $this->retrieve('contributionRecurID', 'Integer', FALSE); + $ids['contributionPage'] = $this->retrieve('contributionPageID', 'Integer', FALSE); + $ids['related_contact'] = $this->retrieve('relatedContactID', 'Integer', FALSE); + $ids['onbehalf_dupe_alert'] = $this->retrieve('onBehalfDupeAlert', 'Integer', FALSE); } - $paymentProcessorID = CRM_Core_DAO::getFieldValue('CRM_Financial_DAO_PaymentProcessorType', - 'PayPal_Standard', 'id', 'name' + $processorParams = array( + // receiver_email and business most of the time are same, if differ then use 'business' + // business email stored in payment processor table + // https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNandPDTVariables/ + 'user_name' => $this->retrieve('business', 'String', FALSE), + 'payment_processor_type_id' => CRM_Core_DAO::getFieldValue('CRM_Financial_DAO_PaymentProcessorType', 'PayPal_Standard', 'id', 'name'), + 'is_test' => empty($input['is_test']) ? 0 : 1, ); + $processorInfo = array(); + if (!CRM_Financial_BAO_PaymentProcessor::retrieve($processorParams, $processorInfo)) { + return FALSE; + } - if (!$this->validateData($input, $ids, $objects, TRUE, $paymentProcessorID)) { + if (!$this->validateData($input, $ids, $objects, TRUE, $processorInfo['id'])) { return FALSE; } @@ -359,11 +380,11 @@ public function getInput(&$input, &$ids) { return FALSE; } - $input['txnType'] = self::retrieve('txn_type', 'String', 'POST', FALSE); - $input['paymentStatus'] = self::retrieve('payment_status', 'String', 'POST', FALSE); - $input['invoice'] = self::retrieve('invoice', 'String', 'POST', TRUE); - $input['amount'] = self::retrieve('mc_gross', 'Money', 'POST', FALSE); - $input['reasonCode'] = self::retrieve('ReasonCode', 'String', 'POST', FALSE); + $input['txnType'] = $this->retrieve('txn_type', 'String', FALSE); + $input['paymentStatus'] = $this->retrieve('payment_status', 'String', FALSE); + $input['invoice'] = $this->retrieve('invoice', 'String', TRUE); + $input['amount'] = $this->retrieve('mc_gross', 'Money', FALSE); + $input['reasonCode'] = $this->retrieve('ReasonCode', 'String', FALSE); $billingID = $ids['billing']; $lookup = array( @@ -376,14 +397,14 @@ public function getInput(&$input, &$ids) { "country-{$billingID}" => 'address_country_code', ); foreach ($lookup as $name => $paypalName) { - $value = self::retrieve($paypalName, 'String', 'POST', FALSE); + $value = $this->retrieve($paypalName, 'String', FALSE); $input[$name] = $value ? $value : NULL; } - $input['is_test'] = self::retrieve('test_ipn', 'Integer', 'POST', FALSE); - $input['fee_amount'] = self::retrieve('mc_fee', 'Money', 'POST', FALSE); - $input['net_amount'] = self::retrieve('settle_amount', 'Money', 'POST', FALSE); - $input['trxn_id'] = self::retrieve('txn_id', 'String', 'POST', FALSE); + $input['is_test'] = $this->retrieve('test_ipn', 'Integer', FALSE); + $input['fee_amount'] = $this->retrieve('mc_fee', 'Money', FALSE); + $input['net_amount'] = $this->retrieve('settle_amount', 'Money', FALSE); + $input['trxn_id'] = $this->retrieve('txn_id', 'String', FALSE); } } diff --git a/CRM/Core/Payment/PayPalImpl.php b/CRM/Core/Payment/PayPalImpl.php index db76d97e7209..a493d66b8b6e 100644 --- a/CRM/Core/Payment/PayPalImpl.php +++ b/CRM/Core/Payment/PayPalImpl.php @@ -25,12 +25,16 @@ +--------------------------------------------------------------------+ */ +use Civi\Payment\Exception\PaymentProcessorException; + /** * * @package CRM * @copyright CiviCRM LLC (c) 2004-2015 - * $Id$ - * + */ + +/** + * Class CRM_Core_Payment_PayPalImpl for paypal pro, paypal standard & paypal express. */ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment { const CHARSET = 'iso-8859-1'; @@ -51,7 +55,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment { * @param string $mode * The mode of operation: live or test. * - * @param $paymentProcessor + * @param CRM_Core_Payment $paymentProcessor * * @return \CRM_Core_Payment_PayPalImpl */ @@ -416,7 +420,7 @@ public function doDirectPayment(&$params, $component = 'contribute') { */ public function doQuery($params) { if (empty($params['trxn_id'])) { - throw new \Civi\Payment\Exception\PaymentProcessorException('transaction id not set'); + return array(); } $args = array( 'TRANSACTIONID' => $params['trxn_id'], diff --git a/CRM/Core/Permission.php b/CRM/Core/Permission.php index 2742c8285edf..89d28717b462 100644 --- a/CRM/Core/Permission.php +++ b/CRM/Core/Permission.php @@ -838,6 +838,14 @@ public static function getCorePermissions() { $prefix . ts('view my invoices'), ts('Allow users to view/ download their own invoices'), ), + 'edit api keys' => array( + $prefix . ts('edit api keys'), + ts('Edit API keys'), + ), + 'edit own api keys' => array( + $prefix . ts('edit own api keys'), + ts('Edit user\'s own API keys'), + ), ); return $permissions; diff --git a/CRM/Core/Permission/Drupal.php b/CRM/Core/Permission/Drupal.php index af72352ce2a3..36120b52593b 100644 --- a/CRM/Core/Permission/Drupal.php +++ b/CRM/Core/Permission/Drupal.php @@ -123,6 +123,7 @@ public function isModulePermissionSupported() { * @inheritDoc */ public function upgradePermissions($permissions) { + if (defined('CIVICRM_STANDALONE_PLUS')) return; if (empty($permissions)) { throw new CRM_Core_Exception("Cannot upgrade permissions: permission list missing"); } diff --git a/CRM/Core/Permission/WordPress.php b/CRM/Core/Permission/WordPress.php index 2ab8a2eae2eb..37a6e32f0af7 100644 --- a/CRM/Core/Permission/WordPress.php +++ b/CRM/Core/Permission/WordPress.php @@ -47,9 +47,9 @@ class CRM_Core_Permission_WordPress extends CRM_Core_Permission_Base { * true if yes, else false */ public function check($str) { - // Generic cms 'administer users' role tranlates to 'administrator' WordPress role + // Generic cms 'administer users' role tranlates to users with the 'edit_users' capability' in WordPress $str = $this->translatePermission($str, 'WordPress', array( - 'administer users' => 'administrator', + 'administer users' => 'edit_users', )); if ($str == CRM_Core_Permission::ALWAYS_DENY_PERMISSION) { return FALSE; diff --git a/CRM/Core/Report/Excel.php b/CRM/Core/Report/Excel.php index 196f65fe07c5..773ce93a9134 100644 --- a/CRM/Core/Report/Excel.php +++ b/CRM/Core/Report/Excel.php @@ -64,6 +64,34 @@ public static function makeCSVTable(&$header, &$rows, $titleHeader = NULL, $prin $escaped = $enclosed; $add_character = "\015\012"; + // Add BOM for additional compatibility with Excel 2007 SP3 or more + // cf. http://stackoverflow.com/questions/155097/microsoft-excel-mangles-diacritics-in-csv-files + // and http://www.unicode.org/faq/utf_bom.html#bom1 + $BOM = array( + 'UTF-8' => "\xEF\xBB\xBF", + // Commented because these do not seem to work on Windows + // (we might need to use the 'pack' / 'unpack' functions) + // 'UTF-16BE' => "\xFE\xFF", + // 'UTF-16LE' => "\xFF\xFE", + // 'UTF-32BE' => "\x00\x00\xFE\xFF", + // 'UTF-32LE' => "\xFF\xFE\x00\x00", + ); + if (empty($config->legacyEncoding)) { + $out = $BOM['UTF-8']; + } + elseif (array_key_exists($config->legacyEncoding, $BOM)) { + $out = $BOM[$config->legacyEncoding]; + } + else { + $out = ''; + } + if ($print) { + echo $out; + } + else { + $result .= $out; + } + $schema_insert = ''; foreach ($header as $field) { if ($enclosed == '') { @@ -101,6 +129,9 @@ public static function makeCSVTable(&$header, &$rows, $titleHeader = NULL, $prin // loic1 : always enclose fields //$value = ereg_replace("\015(\012)?", "\012", $value); $value = preg_replace("/\015(\012)?/", "\012", $value); + if (!empty($config->legacyEncoding)) { + $value = mb_convert_encoding( $value , $config->legacyEncoding, 'UTF-8'); + } if ($enclosed == '') { $schema_insert .= $value; } diff --git a/CRM/Core/ScheduledJob.php b/CRM/Core/ScheduledJob.php index 5d9e9ad9e90a..5e3ff060f0bf 100644 --- a/CRM/Core/ScheduledJob.php +++ b/CRM/Core/ScheduledJob.php @@ -96,24 +96,24 @@ public function needsRunning() { } // run_frequency check - switch ($this->run_frequency) { - case 'Always': + $intervals = array( + 'Always' => '1 second', + 'Hourly' => '1 hour', + 'Daily' => '1 day', + 'Weekly' => '1 week', + 'Monthly' => '1 month', + 'Quarterly' => '3 month', + ); + if (CRM_Utils_Array::value($this->run_frequency, $intervals)) { + $now = CRM_Utils_Date::currentDBDate(); + $lastAgo = strtotime('-' . $intervals[$this->run_frequency], strtotime($now)); + $lastRun = strtotime($this->last_run); + if ($lastRun < $lastAgo) { return TRUE; - - case 'Hourly': - $format = 'YmdH'; - break; - - case 'Daily': - $format = 'Ymd'; - break; + } } - $now = CRM_Utils_Date::currentDBDate(); - $lastTime = date($format, strtotime($this->last_run)); - $thisTime = date($format, strtotime($now)); - - return ($lastTime <> $thisTime); + return FALSE; } public function __destruct() { diff --git a/CRM/Core/SelectValues.php b/CRM/Core/SelectValues.php index 0f77050577bf..6a80c035c234 100644 --- a/CRM/Core/SelectValues.php +++ b/CRM/Core/SelectValues.php @@ -569,6 +569,7 @@ public static function contributionTokens() { '{contribution.contribution_status_id}' => ts('Contribution Status'), //'{contribution.honor_type_id}' => ts('Honor Type ID'), //'{contribution.address_id}' => ts('Address ID'), + '{contribution.financial_type}' => ts('Financial Type'), '{contribution.check_number}' => ts('Check Number'), '{contribution.campaign}' => ts('Contribution Campaign'), ); diff --git a/CRM/Core/Smarty/plugins/function.crmNavigationMenu.php b/CRM/Core/Smarty/plugins/function.crmNavigationMenu.php index b86449df27ad..b8dcb916fb03 100644 --- a/CRM/Core/Smarty/plugins/function.crmNavigationMenu.php +++ b/CRM/Core/Smarty/plugins/function.crmNavigationMenu.php @@ -61,7 +61,7 @@ function smarty_function_crmNavigationMenu($params, &$smarty) { // These params force the browser to refresh the js file when switching user, domain, or language // We don't put them as a query string because some browsers will refuse to cache a page with a ? in the url // @see CRM_Admin_Page_AJAX::getNavigationMenu - $lang = $config->lcMessages; + $lang = CRM_Core_I18n::getLocale(); $domain = CRM_Core_Config::domainID(); $key = CRM_Core_BAO_Navigation::getCacheKey($contactID); $src = CRM_Utils_System::url("civicrm/ajax/menujs/$contactID/$lang/$domain/$key"); diff --git a/CRM/Core/xml/Menu/Contact.xml b/CRM/Core/xml/Menu/Contact.xml index 729452ed1ace..ed9c7ecf0d88 100644 --- a/CRM/Core/xml/Menu/Contact.xml +++ b/CRM/Core/xml/Menu/Contact.xml @@ -250,6 +250,11 @@ CiviCRM Blog CRM_Dashlet_Page_Blog + + civicrm/dashlet/getting-started + CiviCRM Getting Started + CRM_Dashlet_Page_GettingStarted + civicrm/ajax/relation CRM_Contact_Page_AJAX::relationship diff --git a/CRM/Custom/Form/CustomData.php b/CRM/Custom/Form/CustomData.php index f3176ce03172..9d3cefba5abe 100644 --- a/CRM/Custom/Form/CustomData.php +++ b/CRM/Custom/Form/CustomData.php @@ -60,6 +60,11 @@ public static function preProcess( $form->_type = CRM_Utils_Request::retrieve('type', 'String', $form); } + // Petitions are stored as surveys in the database: + if ($type == 'Petition') { + $type = 'Survey'; + } + if (isset($subType)) { $form->_subType = $subType; } @@ -120,7 +125,7 @@ public static function preProcess( $subType = str_replace(CRM_Core_DAO::VALUE_SEPARATOR, ',', trim($subType, CRM_Core_DAO::VALUE_SEPARATOR)); } - $groupTree = &CRM_Core_BAO_CustomGroup::getTree($form->_type, + $groupTree = CRM_Core_BAO_CustomGroup::getTree($form->_type, $form, $form->_entityId, $gid, diff --git a/CRM/Cxn/BAO/Cxn.php b/CRM/Cxn/BAO/Cxn.php index 7cb9311ae09a..36999cdef1b1 100644 --- a/CRM/Cxn/BAO/Cxn.php +++ b/CRM/Cxn/BAO/Cxn.php @@ -142,7 +142,9 @@ public static function getCACert() { */ public static function createRegistrationClient() { $cxnStore = new \CRM_Cxn_CiviCxnStore(); - $client = new \Civi\Cxn\Rpc\RegistrationClient($cxnStore, \CRM_Cxn_BAO_Cxn::getSiteCallbackUrl()); + $viaPort = defined('CIVICRM_CXN_VIA') ? CIVICRM_CXN_VIA : NULL; + $client = new \Civi\Cxn\Rpc\RegistrationClient( + $cxnStore, \CRM_Cxn_BAO_Cxn::getSiteCallbackUrl(), $viaPort); $client->setLog(new \CRM_Utils_SystemLogger()); $client->setCertValidator(self::createCertificateValidator()); $client->setHttp(CRM_Cxn_CiviCxnHttp::singleton()); diff --git a/CRM/Dashlet/Page/GettingStarted.php b/CRM/Dashlet/Page/GettingStarted.php new file mode 100644 index 000000000000..362fd74f7ce7 --- /dev/null +++ b/CRM/Dashlet/Page/GettingStarted.php @@ -0,0 +1,152 @@ + array( + 'configbackend' => 'civicrm/admin/configtask', + ), + ); + + /** + * Get the final, usable URL string (after interpolating any variables) + * + * @return FALSE|string + */ + public function gettingStartedUrl() { + // Note: We use "*default*" as the default (rather than self::GETTING_STARTED_URL) so that future + // developers can change GETTING_STARTED_URL without needing to update {civicrm_setting}. + $url = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'gettingStartedUrl', NULL, '*default*'); + if ($url === '*default*') { + $url = self::GETTING_STARTED_URL; + } + return CRM_Utils_System::evalUrl($url); + } + + /** + * List gettingStarted page as dashlet. + */ + public function run() { + $context = CRM_Utils_Request::retrieve('context', 'String', $this, FALSE, 'dashlet'); + $this->assign('context', $context); + + $this->assign('gettingStarted', $this->_gettingStarted()); + + return parent::run(); + } + + /** + * Load gettingStarted page from cache. + * Refresh cache if expired + * + * @return array + */ + private function _gettingStarted() { + // Fetch data from cache + $cache = CRM_Core_DAO::executeQuery("SELECT data, created_date FROM civicrm_cache + WHERE group_name = 'dashboard' AND path = 'gettingStarted'"); + if ($cache->fetch()) { + $expire = time() - (60 * 60 * 24 * self::CACHE_DAYS); + // Refresh data after CACHE_DAYS + if (strtotime($cache->created_date) < $expire) { + $new_data = $this->_getHtml($this->gettingStartedUrl()); + // If fetching the new html was successful, return it + // Otherwise use the old cached data - it's better than nothing + if ($new_data) { + return $new_data; + } + } + return unserialize($cache->data); + } + return $this->_getHtml($this->gettingStartedUrl()); + } + + /** + * Get html and cache results. + * + * @param $url + * + * @return array|NULL + * array of gettingStarted items; or NULL if not available + */ + public function _getHtml($url) { + + $httpClient = new CRM_Utils_HttpClient(self::CHECK_TIMEOUT); + list ($status, $html) = $httpClient->get($url); + if ($status !== CRM_Utils_HttpClient::STATUS_OK) { + return NULL; + } + + $tokensList = CRM_Utils_Token::getTokens($html); + $this->replaceLinkToken($tokensList, $html); + if ($html) { + CRM_Core_BAO_Cache::setItem($html, 'dashboard', 'gettingStarted'); + } + return $html; + } + + + /** + * @param array $tokensList + * @param string $str + * + */ + public function replaceLinkToken($tokensList, &$str) { + foreach ($tokensList as $categories => $tokens) { + foreach ($tokens as $token) { + $value = ''; + if (!empty(self::$_tokens[$categories][$token])) { + $value = self::$_tokens[$categories][$token]; + if ($categories == 'crmurl') { + $value = CRM_Utils_System::url($value, "reset=1", FALSE, NULL, TRUE, TRUE); + } + } + CRM_Utils_Token::token_replace($categories, $token, $value, $str); + } + } + } + +} diff --git a/CRM/Dedupe/Finder.php b/CRM/Dedupe/Finder.php index 2268bf865df9..e41de5526646 100644 --- a/CRM/Dedupe/Finder.php +++ b/CRM/Dedupe/Finder.php @@ -292,8 +292,9 @@ public static function formatParams($fields, $ctype) { // the -digit to civicrm_address.location_type_id and -Primary to civicrm_address.is_primary foreach ($flat as $key => $value) { $matches = array(); - if (preg_match('/(.*)-(\d+|Primary)$/', $key, $matches)) { - $flat[$matches[1]] = $value; + if (preg_match('/(.*)-(Primary-[\d+])$|(.*)-(\d+|Primary)$/', $key, $matches)) { + $return = array_values(array_filter($matches)); + $flat[$return[1]] = $value; unset($flat[$key]); } } diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index 2aaa2f183644..c9b1840f9463 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -1475,10 +1475,11 @@ public static function displayProfile(&$params, $gid, &$groupTitle, &$values, &$ break; } } - $customVal = ''; + $imProviders = CRM_Core_PseudoConstant::get('CRM_Core_DAO_IM', 'provider_id'); //start of code to set the default values foreach ($fields as $name => $field) { + $customVal = ''; $skip = FALSE; // skip fields that should not be displayed separately if ($field['skipDisplay']) { diff --git a/CRM/Event/BAO/Query.php b/CRM/Event/BAO/Query.php index 7205f861f1f1..d9ad1db9341a 100644 --- a/CRM/Event/BAO/Query.php +++ b/CRM/Event/BAO/Query.php @@ -522,7 +522,7 @@ public static function defaultReturnProperties( 'contact_type' => 1, 'contact_sub_type' => 1, 'sort_name' => 1, - 'display_name' => 1, + 'display_name' => 1, 'event_id' => 1, 'event_title' => 1, 'event_start_date' => 1, diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index ab8f474cc881..5732f1b3533c 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -856,6 +856,10 @@ public static function formRule($values, $files, $self) { $dupeCheck = new CRM_Event_BAO_Participant(); $dupeCheck->contact_id = $contactId; $dupeCheck->event_id = $eventId; + $dupeCheck->is_test = 0; + if ($self->_mode && $self->_mode == 'test') { + $dupeCheck->is_test = 1; + } $dupeCheck->find(TRUE); if (!empty($dupeCheck->id)) { $errorMsg['event_id'] = ts("This contact has already been assigned to this event."); diff --git a/CRM/Event/Form/ParticipantView.php b/CRM/Event/Form/ParticipantView.php index 5c9f3c851520..e473ddb7f4c8 100644 --- a/CRM/Event/Form/ParticipantView.php +++ b/CRM/Event/Form/ParticipantView.php @@ -130,7 +130,7 @@ public function preProcess() { foreach ($allRoleIDs as $k => $v) { $roleGroupTree = CRM_Core_BAO_CustomGroup::getTree('Participant', $this, $participantID, NULL, $v, $roleCustomDataTypeID); - $eventGroupTree = &CRM_Core_BAO_CustomGroup::getTree('Participant', $this, $participantID, NULL, + $eventGroupTree = CRM_Core_BAO_CustomGroup::getTree('Participant', $this, $participantID, NULL, $values[$participantID]['event_id'], $eventNameCustomDataTypeID ); $eventTypeID = CRM_Core_DAO::getFieldValue("CRM_Event_DAO_Event", $values[$participantID]['event_id'], 'event_type_id', 'id'); diff --git a/CRM/Event/Form/Registration/AdditionalParticipant.php b/CRM/Event/Form/Registration/AdditionalParticipant.php index e77b9158893b..a7eb12e3723d 100644 --- a/CRM/Event/Form/Registration/AdditionalParticipant.php +++ b/CRM/Event/Form/Registration/AdditionalParticipant.php @@ -154,6 +154,19 @@ public function setDefaultValues() { $defaults['participant_campaign_id'] = CRM_Utils_Array::value('campaign_id', $this->_values['event']); } + //CRM-17865 set custom field defaults + if (!empty($this->_fields)) { + foreach ($this->_fields as $name => $field) { + if ($customFieldID = CRM_Core_BAO_CustomField::getKeyID($name)) { + if (!isset($defaults[$name])) { + CRM_Core_BAO_CustomField::setProfileDefaults($customFieldID, $name, $defaults, + NULL, CRM_Profile_Form::MODE_REGISTER + ); + } + } + } + } + return $defaults; } diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index 5d77cbfd574b..f71addcb2f4b 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -170,7 +170,7 @@ public function preProcess() { */ public function buildQuickForm() { parent::buildQuickForm(); - $this->addElement('text', 'sort_name', ts('Participant Name or Email'), CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Contact', 'sort_name')); + $this->addSortNameField(); CRM_Event_BAO_Query::buildSearchForm($this); @@ -241,6 +241,28 @@ public function buildQuickForm() { } + /** + * Get the label for the sortName field if email searching is on. + * + * (email searching is a setting under search preferences). + * + * @return string + */ + protected function getSortNameLabelWithEmail() { + return ts('Participant Name or Email'); + } + + /** + * Get the label for the sortName field if email searching is off. + * + * (email searching is a setting under search preferences). + * + * @return string + */ + protected function getSortNameLabelWithOutEmail() { + return ts('Participant Name'); + } + /** * The post processing of the form gets done here. * diff --git a/CRM/Event/Selector/Search.php b/CRM/Event/Selector/Search.php index 022fbc3dd8ba..af189f7149a8 100644 --- a/CRM/Event/Selector/Search.php +++ b/CRM/Event/Selector/Search.php @@ -62,7 +62,7 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co static $_properties = array( 'contact_id', 'contact_type', - 'sort_name', + 'sort_name', 'event_id', 'participant_status_id', 'event_title', @@ -490,7 +490,7 @@ public function &getColumnHeaders($action = NULL, $output = NULL) { 'name' => ts('Participant'), 'sort' => 'sort_name', 'direction' => CRM_Utils_Sort::DONTCARE, - ), + ), ); self::$_columnHeaders = array_merge($pre, self::$_columnHeaders); } diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index d1c165299f15..89a59f2594f0 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -409,6 +409,12 @@ public static function exportComponents( FALSE, TRUE, TRUE, NULL, $queryOperator ); + //CRM-17595, CRM-17596 + //unset civicrm_activity to avoid inclusion of it in from clause if we are exporting case with custom fields. + if ($exportMode == CRM_Export_Form_Select::CASE_EXPORT && preg_grep('/^custom_/', array_keys($query->_select))) { + unset($query->_tables['civicrm_activity']); + } + //sort by state //CRM-15301 $query->_sort = $order; @@ -569,8 +575,6 @@ public static function exportComponents( $where .= " AND contact_a.is_deleted != 1"; } - $queryString = "$select $from $where $having"; - $groupBy = ""; if (!empty($returnProperties['tags']) || !empty($returnProperties['groups']) || CRM_Utils_Array::value('notes', $returnProperties) || @@ -596,7 +600,15 @@ public static function exportComponents( case CRM_Export_Form_Select::MEMBER_EXPORT: $groupBy = " GROUP BY civicrm_membership.id"; break; + + case CRM_Export_Form_Select::CASE_EXPORT: + //CRM-17595, CRM-17596 - replace civicrm_activity.id with case_activity.id if custom fields are included in export + if (preg_grep('/^custom_/', array_keys($query->_select))) { + $from = str_replace('`civicrm_activity`.id', '`case_activity`.id', $from); + } + break; } + $queryString = "$select $from $where $having"; if ($queryMode & CRM_Contact_BAO_Query::MODE_ACTIVITY) { $groupBy = " GROUP BY civicrm_activity.id "; @@ -1315,6 +1327,19 @@ public static function sqlColumnDefn(&$query, &$sqlColumns, $field) { $fieldName = 'civicrm_primary_id'; } + // relationship custom field + if (strpos($field,'_a_b-custom') !== false) { + $customField = explode('a_b-', $field); + if (!empty($customField) && !empty($customField['1'])) { + $field = $customField['1']; + } + } elseif (strpos($field,'_b_a-custom') !== false) { + $customField = explode('b_a-', $field); + if (!empty($customField) && !empty($customField['1'])) { + $field = $customField['1']; + } + } + // early exit for master_id, CRM-12100 // in the DB it is an ID, but in the export, we retrive the display_name of the master record // also for current_employer, CRM-16939 @@ -1348,7 +1373,7 @@ public static function sqlColumnDefn(&$query, &$sqlColumns, $field) { $sqlColumns[$fieldName] = "$fieldName varchar({$query->_fields[$field]['maxlength']})"; } else { - $sqlColumns[$fieldName] = "$fieldName varchar(64)"; + $sqlColumns[$fieldName] = "$fieldName varchar(255)"; } break; @@ -1423,12 +1448,12 @@ public static function sqlColumnDefn(&$query, &$sqlColumns, $field) { break; default: - $sqlColumns[$fieldName] = "$fieldName varchar(64)"; + $sqlColumns[$fieldName] = "$fieldName varchar(255)"; break; } } else { - $sqlColumns[$fieldName] = "$fieldName varchar(64)"; + $sqlColumns[$fieldName] = "$fieldName varchar(255)"; } } } diff --git a/CRM/Extension/Manager.php b/CRM/Extension/Manager.php index e18062fcc8af..54d7b2ca8e79 100644 --- a/CRM/Extension/Manager.php +++ b/CRM/Extension/Manager.php @@ -244,6 +244,8 @@ public function install($keys) { $this->statuses = NULL; $this->mapper->refresh(); CRM_Core_Invoke::rebuildMenuAndCaches(TRUE); + $schema = new CRM_Logging_Schema(); + $schema->fixSchemaDifferences(); foreach ($keys as $key) { list ($info, $typeManager) = $this->_getInfoTypeHandler($key); // throws Exception diff --git a/CRM/Extension/System.php b/CRM/Extension/System.php index 1e09e10f02b3..90ced111b424 100644 --- a/CRM/Extension/System.php +++ b/CRM/Extension/System.php @@ -208,7 +208,12 @@ public function getBrowser() { if ($this->browser === NULL) { $cacheDir = NULL; if ($this->getDefaultContainer()) { - $cacheDir = $this->getDefaultContainer()->getBaseDir() . DIRECTORY_SEPARATOR . 'cache'; + if (defined('CIVICRM_EXT_CACHE') && CIVICRM_EXT_CACHE) { + $cacheDir = CIVICRM_EXT_CACHE; + } + else { + $cacheDir = $this->getDefaultContainer()->getBaseDir() . DIRECTORY_SEPARATOR . 'cache'; + } } $this->browser = new CRM_Extension_Browser($this->getRepositoryUrl(), '', $cacheDir); } diff --git a/CRM/Financial/Page/AJAX.php b/CRM/Financial/Page/AJAX.php index 46a471b66421..694a72c2e5e6 100644 --- a/CRM/Financial/Page/AJAX.php +++ b/CRM/Financial/Page/AJAX.php @@ -284,7 +284,7 @@ public static function getFinancialTransactionsList() { $offset = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0; $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; $sort = isset($_REQUEST['iSortCol_0']) ? CRM_Utils_Array::value(CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer'), $sortMapper) : NULL; - $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; + $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'MysqlOrderByDirection') : 'asc'; $context = isset($_REQUEST['context']) ? CRM_Utils_Type::escape($_REQUEST['context'], 'String') : NULL; $entityID = isset($_REQUEST['entityID']) ? CRM_Utils_Type::escape($_REQUEST['entityID'], 'String') : NULL; $notPresent = isset($_REQUEST['notPresent']) ? CRM_Utils_Type::escape($_REQUEST['notPresent'], 'String') : NULL; diff --git a/CRM/Grant/BAO/Query.php b/CRM/Grant/BAO/Query.php index 3dae2c4ee2c9..2cf73c0d159f 100644 --- a/CRM/Grant/BAO/Query.php +++ b/CRM/Grant/BAO/Query.php @@ -50,40 +50,41 @@ public static function &getFields() { * @return void */ public static function select(&$query) { - if (($query->_mode & CRM_Contact_BAO_Query::MODE_GRANT) || !empty($query->_returnProperties)) { - if (!empty($query->_returnProperties['grant_status_id'])) { - $query->_select['grant_status_id'] = 'grant_status.id as grant_status_id'; - $query->_element['grant_status'] = 1; - $query->_tables['grant_status'] = $query->_whereTables['grant_status'] = 1; - $query->_tables['civicrm_grant'] = $query->_whereTables['civicrm_grant'] = 1; - } + if (!empty($query->_returnProperties['grant_status_id'])) { + $query->_select['grant_status_id'] = 'grant_status.id as grant_status_id'; + $query->_element['grant_status'] = 1; + $query->_tables['grant_status'] = $query->_whereTables['grant_status'] = 1; + $query->_tables['civicrm_grant'] = $query->_whereTables['civicrm_grant'] = 1; + } - if (!empty($query->_returnProperties['grant_status'])) { - $query->_select['grant_status'] = 'grant_status.label as grant_status'; - $query->_element['grant_status'] = 1; - $query->_tables['grant_status'] = $query->_whereTables['grant_status'] = 1; - $query->_tables['civicrm_grant'] = $query->_whereTables['civicrm_grant'] = 1; - } + if (!empty($query->_returnProperties['grant_status'])) { + $query->_select['grant_status'] = 'grant_status.label as grant_status'; + $query->_element['grant_status'] = 1; + $query->_tables['grant_status'] = $query->_whereTables['grant_status'] = 1; + $query->_tables['civicrm_grant'] = $query->_whereTables['civicrm_grant'] = 1; + } - if (!empty($query->_returnProperties['grant_type_id'])) { - $query->_select['grant_type_id'] = 'grant_type.id as grant_type_id'; - $query->_element['grant_type'] = 1; - $query->_tables['grant_type'] = $query->_whereTables['grant_type'] = 1; - $query->_tables['civicrm_grant'] = $query->_whereTables['civicrm_grant'] = 1; - } + if (!empty($query->_returnProperties['grant_type_id'])) { + $query->_select['grant_type_id'] = 'grant_type.id as grant_type_id'; + $query->_element['grant_type'] = 1; + $query->_tables['grant_type'] = $query->_whereTables['grant_type'] = 1; + $query->_tables['civicrm_grant'] = $query->_whereTables['civicrm_grant'] = 1; + } - if (!empty($query->_returnProperties['grant_type'])) { - $query->_select['grant_type'] = 'grant_type.label as grant_type'; - $query->_element['grant_type'] = 1; - $query->_tables['grant_type'] = $query->_whereTables['grant_type'] = 1; - $query->_tables['civicrm_grant'] = $query->_whereTables['civicrm_grant'] = 1; - } + if (!empty($query->_returnProperties['grant_type'])) { + $query->_select['grant_type'] = 'grant_type.label as grant_type'; + $query->_element['grant_type'] = 1; + $query->_tables['grant_type'] = $query->_whereTables['grant_type'] = 1; + $query->_tables['civicrm_grant'] = $query->_whereTables['civicrm_grant'] = 1; + } - if (!empty($query->_returnProperties['grant_note'])) { - $query->_select['grant_note'] = "civicrm_note.note as grant_note"; - $query->_element['grant_note'] = 1; - $query->_tables['grant_note'] = 1; - } + if (!empty($query->_returnProperties['grant_note'])) { + $query->_select['grant_note'] = "civicrm_note.note as grant_note"; + $query->_element['grant_note'] = 1; + $query->_tables['grant_note'] = 1; + } + + if ($query->_mode & CRM_Contact_BAO_Query::MODE_GRANT) { $query->_select['grant_amount_requested'] = 'civicrm_grant.amount_requested as grant_amount_requested'; $query->_select['grant_amount_granted'] = 'civicrm_grant.amount_granted as grant_amount_granted'; $query->_select['grant_amount_total'] = 'civicrm_grant.amount_total as grant_amount_total'; diff --git a/CRM/Grant/Form/GrantView.php b/CRM/Grant/Form/GrantView.php index 3f09c068d362..4b6b1942eb00 100644 --- a/CRM/Grant/Form/GrantView.php +++ b/CRM/Grant/Form/GrantView.php @@ -117,7 +117,8 @@ public function preProcess() { $this->assign('attachment', $attachment); $grantType = CRM_Core_DAO::getFieldValue("CRM_Grant_DAO_Grant", $this->_id, "grant_type_id"); - $groupTree = &CRM_Core_BAO_CustomGroup::getTree("Grant", $this, $this->_id, 0, $grantType); + + $groupTree = CRM_Core_BAO_CustomGroup::getTree("Grant", $this, $this->_id, 0, $grantType); CRM_Core_BAO_CustomGroup::buildCustomDataView($this, $groupTree); $this->assign('id', $this->_id); diff --git a/CRM/Grant/Form/Search.php b/CRM/Grant/Form/Search.php index 4b4c307e7073..7f09be2bc294 100644 --- a/CRM/Grant/Form/Search.php +++ b/CRM/Grant/Form/Search.php @@ -162,7 +162,7 @@ public function preProcess() { */ public function buildQuickForm() { parent::buildQuickForm(); - $this->addElement('text', 'sort_name', ts('Name or Email'), array('class' => 'twenty') + CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Contact', 'sort_name')); + $this->addSortNameField(); CRM_Grant_BAO_Query::buildSearchForm($this); diff --git a/CRM/Group/Page/AJAX.php b/CRM/Group/Page/AJAX.php index 6844ef559ecd..e27cc106225d 100644 --- a/CRM/Group/Page/AJAX.php +++ b/CRM/Group/Page/AJAX.php @@ -66,7 +66,7 @@ public static function getGroupList() { $offset = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0; $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; $sort = isset($_REQUEST['iSortCol_0']) ? CRM_Utils_Array::value(CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer'), $sortMapper) : NULL; - $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; + $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'MysqlOrderByDirection') : 'asc'; if ($sort && $sortOrder) { $params['sortBy'] = $sort . ' ' . $sortOrder; diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php index 9bc148351452..ba0c03805ed6 100644 --- a/CRM/Logging/Schema.php +++ b/CRM/Logging/Schema.php @@ -497,6 +497,7 @@ private function createLogTableFor($table) { // rewrite the queries into CREATE TABLE queries for log tables: $cols = <<verpSeparator, + $headers['Message-ID'] = '<' . implode(CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'verpSeparator'), array( $localpart . $prefix, $job_id, @@ -1087,7 +1087,7 @@ private function getVerpAndUrlsAndHeaders($job_id, $event_queue_id, $hash, $emai $emailDomain = CRM_Core_BAO_MailSettings::defaultDomain(); foreach ($verpTokens as $key => $value) { - $verp[$key] = implode($config->verpSeparator, + $verp[$key] = implode(CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'verpSeparator'), array( $localpart . $value, $job_id, @@ -1282,7 +1282,10 @@ public function &compose( // also add the contact tokens to the template $smarty->assign_by_ref('contact', $contact); } - + // Will test in the mail processor if the X-VERP is set in the bounced email. + // (As an option to replace real VERP for those that can't set it up) + $headers['X-CiviMail-Bounce'] = $verp['bounce']; + $mailParams = $headers; if ($text && ($test || $contact['preferred_mail_format'] == 'Text' || $contact['preferred_mail_format'] == 'Both' || @@ -1386,9 +1389,6 @@ public function &compose( $headers['To'] = "$toName <$toEmail>"; $headers['Precedence'] = 'bulk'; - // Will test in the mail processor if the X-VERP is set in the bounced email. - // (As an option to replace real VERP for those that can't set it up) - $headers['X-CiviMail-Bounce'] = $verp['bounce']; //CRM-5058 //token replacement of subject @@ -2432,6 +2432,19 @@ public static function mailingACLIDs() { while ($dao->fetch()) { $mailingIDs[] = $dao->id; } + //CRM-18181 Get all mailings that use the mailings found earlier as receipients + if (!empty($mailingIDs)) { + $mailings = implode(',', $mailingIDs); + $mailingQuery = " + SELECT DISTINCT ( m.id ) as id + FROM civicrm_mailing m + LEFT JOIN civicrm_mailing_group g ON g.mailing_id = m.id + WHERE g.entity_table like 'civicrm_mailing%' AND g.entity_id IN ($mailings)"; + $mailingDao = CRM_Core_DAO::executeQuery($mailingQuery); + while ($mailingDao->fetch()) { + $mailingIDs[] = $mailingDao->id; + } + } } return $mailingIDs; @@ -2905,9 +2918,9 @@ public static function processQueue($mode = NULL) { // check if we are enforcing number of parallel cron jobs // CRM-8460 $gotCronLock = FALSE; - - if (property_exists($config, 'mailerJobsMax') && $config->mailerJobsMax && $config->mailerJobsMax > 0) { - $lockArray = range(1, $config->mailerJobsMax); + $mailerJobsMax = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'mailerJobsMax'); + if ($mailerJobsMax && $mailerJobsMax > 0) { + $lockArray = range(1, $mailerJobsMax); shuffle($lockArray); // check if we are using global locks @@ -2934,7 +2947,7 @@ public static function processQueue($mode = NULL) { // load bootstrap to call hooks // Split up the parent jobs into multiple child jobs - $mailerJobSize = (property_exists($config, 'mailerJobSize')) ? $config->mailerJobSize : NULL; + $mailerJobSize = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'mailerJobSize'); CRM_Mailing_BAO_MailingJob::runJobs_pre($mailerJobSize, $mode); CRM_Mailing_BAO_MailingJob::runJobs(NULL, $mode); CRM_Mailing_BAO_MailingJob::runJobs_post($mode); diff --git a/CRM/Mailing/BAO/MailingJob.php b/CRM/Mailing/BAO/MailingJob.php index c42e8c680000..72d134b9ac13 100644 --- a/CRM/Mailing/BAO/MailingJob.php +++ b/CRM/Mailing/BAO/MailingJob.php @@ -571,10 +571,10 @@ public function deliver(&$mailer, $testParams = NULL) { // if ( ( $mailsProcessed % 100 ) == 0 ) { // CRM_Utils_System::xMemory( "$mailsProcessed: " ); // } - + $mailerBatchLimit = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'mailerBatchLimit'); if ( - $config->mailerBatchLimit > 0 && - self::$mailsProcessed >= $config->mailerBatchLimit + $mailerBatchLimit > 0 && + self::$mailsProcessed >= $mailerBatchLimit ) { if (!empty($fields)) { $this->deliverGroup($fields, $mailing, $mailer, $job_date, $attachments); @@ -799,8 +799,9 @@ public function deliverGroup(&$fields, &$mailing, &$mailer, &$job_date, &$attach } // If we have enabled the Throttle option, this is the time to enforce it. - if (isset($config->mailThrottleTime) && $config->mailThrottleTime > 0) { - usleep((int ) $config->mailThrottleTime); + $mailThrottleTime = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'mailThrottleTime'); + if (isset($mailThrottleTime) && $mailThrottleTime > 0) { + usleep((int ) $mailThrottleTime); } } diff --git a/CRM/Mailing/Event/BAO/Subscribe.php b/CRM/Mailing/Event/BAO/Subscribe.php index dabb5ca0fa15..f31e70171a98 100644 --- a/CRM/Mailing/Event/BAO/Subscribe.php +++ b/CRM/Mailing/Event/BAO/Subscribe.php @@ -219,7 +219,7 @@ public function send_confirm_request($email) { $localpart = CRM_Core_BAO_MailSettings::defaultLocalpart(); $emailDomain = CRM_Core_BAO_MailSettings::defaultDomain(); - $confirm = implode($config->verpSeparator, + $confirm = implode(CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'verpSeparator'), array( $localpart . 'c', $this->contact_id, diff --git a/CRM/Mailing/Event/BAO/TrackableURLOpen.php b/CRM/Mailing/Event/BAO/TrackableURLOpen.php index 3c17ae7c9e62..2f349f6d0d87 100755 --- a/CRM/Mailing/Event/BAO/TrackableURLOpen.php +++ b/CRM/Mailing/Event/BAO/TrackableURLOpen.php @@ -81,9 +81,16 @@ public static function track($queue_id, $url_id) { ); if (!$search->fetch()) { - /* Whoops, error, don't track it. Return the base url. */ + // Can't find either the URL or the queue. If we can find the URL then + // return the URL without tracking. Otherwise return the base URL. - return CRM_Utils_System::baseURL(); + $search->query("SELECT $turl.url as url from $turl + WHERE $turl.id = " . CRM_Utils_Type::escape($url_id, 'Integer') + ); + if (!$search->fetch()) { + return CRM_Utils_System::baseURL(); + } + return $search->url; } $open = new CRM_Mailing_Event_BAO_TrackableURLOpen(); diff --git a/CRM/Mailing/Form/Subscribe.php b/CRM/Mailing/Form/Subscribe.php index 174903fd2a36..dbb696a55e1f 100644 --- a/CRM/Mailing/Form/Subscribe.php +++ b/CRM/Mailing/Form/Subscribe.php @@ -133,8 +133,8 @@ public function buildQuickForm() { $session = CRM_Core_Session::singleton(); $contactID = $session->get('userID'); - if (empty($config->recaptchaPublicKey) || - empty($config->recaptchaPrivateKey) || + if (empty(CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'recaptchaPublicKey')) || + empty(CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'recaptchaPrivateKey')) || $contactID ) { $addCaptcha = FALSE; diff --git a/CRM/Mailing/Info.php b/CRM/Mailing/Info.php index e5f9aa840153..2c06ebf10416 100644 --- a/CRM/Mailing/Info.php +++ b/CRM/Mailing/Info.php @@ -74,6 +74,14 @@ public function getAngularModules() { return array(); } + $reportIds = array(); + $reportTypes = array('detail', 'opened', 'bounce', 'clicks'); + foreach ($reportTypes as $report) { + $result = civicrm_api3('ReportInstance', 'get', array( + 'sequential' => 1, + 'report_id' => 'mailing/' . $report)); + $reportIds[$report] = $result['values'][0]['id']; + } $result = array(); $result['crmMailing'] = array( 'ext' => 'civicrm', @@ -175,10 +183,12 @@ public function getAngularModules() { )), 'visibility' => CRM_Utils_Array::makeNonAssociative(CRM_Core_SelectValues::groupVisibility()), 'workflowEnabled' => CRM_Mailing_Info::workflowEnabled(), + 'reportIds' => $reportIds, ), )) ->addPermissions(array( 'view all contacts', + 'edit all contacts', 'access CiviMail', 'create mailings', 'schedule mailings', diff --git a/CRM/Mailing/Page/AJAX.php b/CRM/Mailing/Page/AJAX.php index e49519e2e178..13361ba88c15 100644 --- a/CRM/Mailing/Page/AJAX.php +++ b/CRM/Mailing/Page/AJAX.php @@ -78,7 +78,7 @@ public static function getContactMailings() { $offset = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0; $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; $sort = isset($_REQUEST['iSortCol_0']) ? CRM_Utils_Array::value(CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer'), $sortMapper) : NULL; - $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; + $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'MysqlOrderByDirection') : 'asc'; $params = $_POST; if ($sort && $sortOrder) { diff --git a/CRM/Mailing/Page/Browse.php b/CRM/Mailing/Page/Browse.php index a35708db1fb3..76ff28852b28 100644 --- a/CRM/Mailing/Page/Browse.php +++ b/CRM/Mailing/Page/Browse.php @@ -125,7 +125,7 @@ public function run() { $newArgs = $newArgs[0]; if (isset($_GET['runJobs']) || CRM_Utils_Array::value('2', $newArgs) == 'queue') { $config = CRM_Core_Config::singleton(); - CRM_Mailing_BAO_MailingJob::runJobs_pre($config->mailerJobSize); + CRM_Mailing_BAO_MailingJob::runJobs_pre(CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'mailerJobSize')); CRM_Mailing_BAO_MailingJob::runJobs(); CRM_Mailing_BAO_MailingJob::runJobs_post(); } diff --git a/CRM/Member/BAO/Membership.php b/CRM/Member/BAO/Membership.php index d72e1b419f26..227788162068 100644 --- a/CRM/Member/BAO/Membership.php +++ b/CRM/Member/BAO/Membership.php @@ -44,6 +44,8 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership { static $_renewalActType = NULL; static $_signupActType = NULL; + + static $_aclCache = NULL; static $_aclCache = NULL; /** @@ -630,7 +632,9 @@ public static function deleteMembership($membershipId) { $params = array('id' => $membershipId); $memValues = array(); $memberships = self::getValues($params, $memValues); - + if (empty($memberships[$membershipId])) { + return; + } if (empty($memberships[$membershipId])) { return; } @@ -1206,7 +1210,7 @@ public static function getMembershipStarts($membershipTypeId, $startDate, $endDa if (!self::$_signupActType || !self::$_renewalActType) { return 0; } - + $acl = self::getAclClause(); $acl = self::getAclClause(); $query = " SELECT COUNT(DISTINCT membership.id) as member_count @@ -1236,13 +1240,13 @@ public static function getAclClause() { if (! self::$_aclCache ) { $acl= new CRM_Contact_BAO_Query(); $acl->generatePermissionClause(false, true); - $aclFrom = CRM_Utils_Array::value('multisiteGroupTable', $acl->_whereTables); + $aclFrom = CRM_Utils_Array::value('civicrm_group_contact', $acl->_whereTables); $aclWhere = $acl->_permissionWhereClause ? ' AND '. $acl->_permissionWhereClause : ''; self::$_aclCache = array('aclFromClause' => $aclFrom, 'aclWhereClause' => $aclWhere); } return self::$_aclCache; } - + /** * Get a count of membership for a specified membership type, * optionally for a specified date. The date must have the form yyyy-mm-dd. @@ -1270,19 +1274,21 @@ public static function getMembershipCount($membershipTypeId, $date = NULL, $isTe if (!CRM_Utils_Rule::date($date)) { CRM_Core_Error::fatal(ts('Invalid date "%1" (must have form yyyy-mm-dd).', array(1 => $date))); } - + $acl = self::getAclClause(); $acl = self::getAclClause(); $params = array( 1 => array($membershipTypeId, 'Integer'), 2 => array($isTest, 'Boolean'), ); $query = "SELECT count(civicrm_membership.id ) as member_count - FROM civicrm_membership left join civicrm_membership_status on ( civicrm_membership.status_id = civicrm_membership_status.id ) + FROM civicrm_membership left join civicrm_membership_status on ( civicrm_membership.status_id = civicrm_membership_status.id ) LEFT JOIN civicrm_contact contact_a ON contact_a.id = civicrm_membership.contact_id "; $query .= $acl['aclFromClause']; - $query .= " WHERE civicrm_membership.membership_type_id = %1 - AND civicrm_membership.is_test = %2"; + $query .= " WHERE civicrm_membership.membership_type_id = %1 + AND civicrm_membership.is_test = %2"; + $query .= $acl['aclWhereClause']; + if (!$date) { $query .= " AND civicrm_membership_status.is_current_member = 1"; } @@ -1995,7 +2001,7 @@ public static function deleteMembershipPayment($membershipId) { * @return array */ public static function &buildMembershipTypeValues(&$form, $membershipTypeID = NULL) { - $whereClause = " WHERE domain_id = " . CRM_Core_Config::domainID(); + $whereClause = " WHERE (1) ";//" WHERE domain_id = ". CRM_Core_Config::domainID(); if (is_array($membershipTypeID)) { $allIDs = implode(',', $membershipTypeID); @@ -2160,7 +2166,7 @@ public static function getMembershipJoins($membershipTypeId, $startDate, $endDat return 0; } $acl = self::getAclClause(); - + $query = " SELECT COUNT(DISTINCT membership.id) as member_count FROM civicrm_membership membership @@ -2214,7 +2220,6 @@ public static function getMembershipRenewals($membershipTypeId, $startDate, $end if (!self::$_renewalActType) { return 0; } - $acl = self::getAclClause(); $query = " SELECT COUNT(DISTINCT membership.id) as member_count @@ -2993,6 +2998,7 @@ public static function recordMembershipContribution(&$params, $ids = array()) { 'membership_id', 'tax_amount', 'skipLineItem', + 'contribution_recur_id', ); foreach ($recordContribution as $f) { $contributionParams[$f] = CRM_Utils_Array::value($f, $params); diff --git a/CRM/Member/BAO/Query.php b/CRM/Member/BAO/Query.php index 46b00dffe08b..bf1f2f58fa2c 100644 --- a/CRM/Member/BAO/Query.php +++ b/CRM/Member/BAO/Query.php @@ -211,15 +211,15 @@ public static function whereClauseSingle(&$values, &$query) { case 'member_id': if (strpos($name, 'status') !== FALSE) { $name = 'status_id'; - $qillName = 'Membership Status(s)'; + $qillName = ts('Membership Status'); } elseif ($name == 'member_id') { $name = 'id'; - $qillName = 'Membership ID'; + $qillName = ts('Membership ID'); } else { $name = 'membership_type_id'; - $qillName = 'Membership Type(s)'; + $qillName = ts('Membership Type'); } $query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause("civicrm_membership.$name", $op, @@ -227,7 +227,7 @@ public static function whereClauseSingle(&$values, &$query) { "Integer" ); list($op, $value) = CRM_Contact_BAO_Query::buildQillForFieldValue('CRM_Member_DAO_Membership', $name, $value, $op); - $query->_qill[$grouping][] = ts('%1 %2 %3', array(1 => $qillName, 2 => $op, 3 => $value)); + $query->_qill[$grouping][] = $qillName . ' ' . $op . ' ' . $value; $query->_tables['civicrm_membership'] = $query->_whereTables['civicrm_membership'] = 1; return; @@ -397,7 +397,7 @@ public static function defaultReturnProperties( */ public static function buildSearchForm(&$form) { $membershipStatus = CRM_Member_PseudoConstant::membershipStatus(NULL, NULL, 'label', FALSE, FALSE); - $form->add('select', 'membership_status_id', ts('Membership Status(s)'), $membershipStatus, FALSE, + $form->add('select', 'membership_status_id', ts('Membership Status'), $membershipStatus, FALSE, array('id' => 'membership_status_id', 'multiple' => 'multiple', 'class' => 'crm-select2') ); diff --git a/CRM/Member/Form.php b/CRM/Member/Form.php index 47b220cd5bbd..f429a721965d 100644 --- a/CRM/Member/Form.php +++ b/CRM/Member/Form.php @@ -239,13 +239,13 @@ protected function processRecurringContribution($paymentParams) { $contributionRecurParams = array( 'contact_id' => $paymentParams['contactID'], 'amount' => $paymentParams['total_amount'], + 'contribution_status_id' => 'Pending', 'payment_processor_id' => $paymentParams['payment_processor_id'], 'campaign_id' => CRM_Utils_Array::value('campaign_id', $paymentParams), 'financial_type_id' => $paymentParams['financial_type_id'], - 'is_email_receipt' => CRM_Utils_Array::value('is_email_receipt', $paymentParams), - // This is not great as it could also be direct debit - but is consistent with elsewhere & all need fixing. + 'is_email_receipt' => $paymentParams['is_email_receipt'], 'payment_instrument_id' => 1, - 'invoice_id' => CRM_Utils_Array::value('invoiceID ', $paymentParams), + 'invoice_id' => $paymentParams['invoice_id'], ); $mapping = array( diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index 101b20fca480..c31cda73c2c6 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -772,7 +772,7 @@ public static function formRule($params, $files, $self) { CRM_Price_BAO_PriceField::priceSetValidation($priceSetId, $params, $errors); $priceFieldIDS = array(); - foreach ($self->_priceSet['fields'] as $priceIds => $dontCare) { + foreach ($self->_priceSet['fields'] as $priceIds => $field) { if (!empty($params['price_' . $priceIds])) { if (is_array($params['price_' . $priceIds])) { @@ -782,7 +782,7 @@ public static function formRule($params, $files, $self) { } } } - else { + elseif (!$field['is_enter_qty']) { $priceFieldIDS[] = $params['price_' . $priceIds]; } } @@ -1661,6 +1661,7 @@ public function postProcess() { } } + $mailSend = FALSE; if (!empty($formValues['send_receipt']) && $receiptSend) { $formValues['contact_id'] = $this->_contactID; $formValues['contribution_id'] = $contributionId; @@ -1678,7 +1679,7 @@ public function postProcess() { $endDate = CRM_Utils_Date::customFormat($endDate); $statusMsg .= ' ' . ts('The membership End Date is %1.', array(1 => $endDate)); } - if ($receiptSend) { + if ($mailSend) { $statusMsg .= ' ' . ts('A confirmation and receipt has been sent to %1.', array(1 => $this->_contributorEmail)); } } diff --git a/CRM/Member/Form/MembershipRenewal.php b/CRM/Member/Form/MembershipRenewal.php index 31f556e0efd9..fc53586fddf0 100644 --- a/CRM/Member/Form/MembershipRenewal.php +++ b/CRM/Member/Form/MembershipRenewal.php @@ -507,7 +507,7 @@ public static function formRule($params) { */ public function postProcess() { - $ids = array(); + $contributionRecurID = NULL; $config = CRM_Core_Config::singleton(); // get the submitted form values. @@ -597,15 +597,16 @@ public function postProcess() { $this->_params['amount'] = $formValues['total_amount']; $this->_params['currencyID'] = $config->defaultCurrency; $this->_params['payment_action'] = 'Sale'; - $paymentParams['invoiceID'] = $this->_params['invoiceID'] = md5(uniqid(rand(), TRUE)); - // at this point we've created a contact and stored its address etc // all the payment processors expect the name and address to be in the passed params // so we copy stuff over to first_name etc. $paymentParams = $this->_params; + $paymentParams['invoiceID'] = $paymentParams['invoice_id'] = $this->_params['invoiceID'] = md5(uniqid(rand(), TRUE)); + if (!empty($this->_params['send_receipt'])) { $paymentParams['email'] = $this->_contributorEmail; } + $paymentParams['is_email_receipt'] = !empty($this->_params['send_receipt']); $paymentParams['contactID'] = $this->_contributorContactID; @@ -615,7 +616,7 @@ public function postProcess() { if (!empty($paymentParams['auto_renew'])) { $contributionRecurParams = $this->processRecurringContribution($paymentParams); - $this->_params['contributionRecurID'] = $contributionRecurParams['contributionRecurID']; + $contributionRecurID = $this->_params['contributionRecurID'] = $contributionRecurParams['contributionRecurID']; $paymentParams = array_merge($paymentParams, $contributionRecurParams); } $result = $payment->doDirectPayment($paymentParams); @@ -713,7 +714,6 @@ public function postProcess() { $li['financial_type_id'] = $submittedFinancialType; } } - $formValues['total_amount'] = CRM_Utils_Array::value('amount', $this->_params); if (!empty($lineItem)) { $formValues['lineItems'] = $lineItem; $formValues['processPriceSet'] = TRUE; @@ -734,7 +734,7 @@ public function postProcess() { // not a great pattern & ideally it would not receive as a reference. We assign our params as a // temporary variable to avoid e-notice & to make it clear to future refactorer that // this function is NOT reliant on that var being set - $temporaryParams = array_merge($formValues, array('membership_id' => $renewMembership->id)); + $temporaryParams = array_merge($formValues, array('membership_id' => $renewMembership->id, 'contribution_recur_id' => $contributionRecurID)); CRM_Member_BAO_Membership::recordMembershipContribution($temporaryParams); } diff --git a/CRM/Member/Form/Search.php b/CRM/Member/Form/Search.php index 796b54b04f75..09f14305aef9 100644 --- a/CRM/Member/Form/Search.php +++ b/CRM/Member/Form/Search.php @@ -160,7 +160,7 @@ public function preProcess() { */ public function buildQuickForm() { parent::buildQuickForm(); - $this->addElement('text', 'sort_name', ts('Member Name or Email'), CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Contact', 'sort_name')); + $this->addSortNameField(); CRM_Member_BAO_Query::buildSearchForm($this); @@ -177,6 +177,28 @@ public function buildQuickForm() { } + /** + * Get the label for the sortName field if email searching is on. + * + * (email searching is a setting under search preferences). + * + * @return string + */ + protected function getSortNameLabelWithEmail() { + return ts('Member Name or Email'); + } + + /** + * Get the label for the sortName field if email searching is off. + * + * (email searching is a setting under search preferences). + * + * @return string + */ + protected function getSortNameLabelWithOutEmail() { + return ts('Member Name'); + } + /** * The post processing of the form gets done here. * diff --git a/CRM/PCP/Page/PCPInfo.php b/CRM/PCP/Page/PCPInfo.php index 22fbd5c582ef..57f30d392c3d 100644 --- a/CRM/PCP/Page/PCPInfo.php +++ b/CRM/PCP/Page/PCPInfo.php @@ -82,9 +82,11 @@ public function run() { // check if PCP is created by anonymous user $anonymousPCP = CRM_Utils_Request::retrieve('ap', 'Boolean', $this); if ($anonymousPCP) { - $loginURL = $config->userSystem->getLoginURL(); - $anonMessage = ts('Once you\'ve received your new account welcome email, you can click here to login and promote your campaign page.', array(1 => $loginURL)); - CRM_Core_Session::setStatus($anonMessage, ts('Success'), 'success'); + if (!defined('CIVICRM_STANDALONE_PLUS')) { + $loginURL = $config->userSystem->getLoginURL(); + $anonMessage = ts('Once you\'ve received your new account welcome email, you can click here to login and promote your campaign page.', array(1 => $loginURL)); + CRM_Core_Session::setStatus($anonMessage, ts('Success'), 'success'); + } } else { $statusMessage = ts('The personal campaign page you requested is currently unavailable. However you can still support the campaign by making a contribution here.'); diff --git a/CRM/Pledge/Form/Search.php b/CRM/Pledge/Form/Search.php index 74914ced03cf..8670624f8ddd 100644 --- a/CRM/Pledge/Form/Search.php +++ b/CRM/Pledge/Form/Search.php @@ -158,7 +158,7 @@ public function preProcess() { */ public function buildQuickForm() { parent::buildQuickForm(); - $this->addElement('text', 'sort_name', ts('Pledger Name or Email'), CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Contact', 'sort_name')); + $this->addSortNameField(); CRM_Pledge_BAO_Query::buildSearchForm($this); @@ -175,6 +175,28 @@ public function buildQuickForm() { } + /** + * Get the label for the sortName field if email searching is on. + * + * (email searching is a setting under search preferences). + * + * @return string + */ + protected function getSortNameLabelWithEmail() { + return ts('Pledger Name or Email'); + } + + /** + * Get the label for the sortName field if email searching is off. + * + * (email searching is a setting under search preferences). + * + * @return string + */ + protected function getSortNameLabelWithOutEmail() { + return ts('Pledger Name'); + } + /** * The post processing of the form gets done here. * diff --git a/CRM/Price/BAO/LineItem.php b/CRM/Price/BAO/LineItem.php index 290da64d813b..c1030652aa3b 100644 --- a/CRM/Price/BAO/LineItem.php +++ b/CRM/Price/BAO/LineItem.php @@ -68,11 +68,18 @@ public static function create(&$params) { unset($params['entity_id'], $params['entity_table']); } + $uniqueValues = array_flip(array('entity_table' ,'entity_id','contribution_id' ,'price_field_value_id' ,'price_field_id')); $lineItemBAO = new CRM_Price_BAO_LineItem(); - $lineItemBAO->copyValues($params); - - $return = $lineItemBAO->save(); - + $uniqueValues = array_intersect_key($params, $uniqueValues); + $lineItemBAO->copyValues($uniqueValues); + if ($lineItemBAO->find(TRUE)) { + $return = $lineItemBAO; + } + else { + $lineItemBAO = new CRM_Price_BAO_LineItem(); + $lineItemBAO->copyValues($params); + $return = $lineItemBAO->save(); + } if ($id) { CRM_Utils_Hook::post('edit', 'LineItem', $id, $lineItemBAO); } diff --git a/CRM/Price/BAO/PriceField.php b/CRM/Price/BAO/PriceField.php index cc0aee8609b3..bec88c4d80d5 100644 --- a/CRM/Price/BAO/PriceField.php +++ b/CRM/Price/BAO/PriceField.php @@ -445,6 +445,13 @@ public static function addQuickFormElement( } else { $none = ts('- none -'); + if (!empty($qf->_membershipBlock) && empty($qf->_quickConfig)) { + foreach ($fieldOptions as $fieldOption) { + if (CRM_Utils_Array::value('membership_type_id', $fieldOption)) { + $none = ts('No thank you'); + } + } + } } $choice[] = $qf->createElement('radio', NULL, '', $none, '0', diff --git a/CRM/Profile/Page/MultipleRecordFieldsListing.php b/CRM/Profile/Page/MultipleRecordFieldsListing.php index e0bee925f395..09644e080179 100644 --- a/CRM/Profile/Page/MultipleRecordFieldsListing.php +++ b/CRM/Profile/Page/MultipleRecordFieldsListing.php @@ -228,6 +228,7 @@ public function browse() { 'time_format', 'default_value', 'is_required', + 'is_view', ); foreach ($fieldIDs as $key => $fieldID) { $fieldIDs[$key] = !is_numeric($fieldID) ? CRM_Core_BAO_CustomField::getKeyID($fieldID) : $fieldID; @@ -252,6 +253,7 @@ public function browse() { $options[$fieldIDs[$key]]['attributes']['data_type'] = $returnValues['data_type']; $options[$fieldIDs[$key]]['attributes']['is_required'] = !empty($returnValues['is_required']); $options[$fieldIDs[$key]]['attributes']['default_value'] = CRM_Utils_Array::value('default_value', $returnValues); + $options[$fieldIDs[$key]]['attributes']['is_view'] = CRM_Utils_Array::value('is_view', $returnValues); $options[$fieldIDs[$key]]['attributes']['format'] = $options[$fieldIDs[$key]]['attributes']['date_format'] = CRM_Utils_Array::value('date_format', $returnValues); @@ -335,7 +337,7 @@ public function browse() { // TODO: Not all widget types and validation rules are supported by crmEditable so some fields will not be in-place editable $fieldAttributes = array('class' => "crmf-custom_{$fieldId}_$recId"); $editable = FALSE; - if ($linkAction & CRM_Core_Action::UPDATE) { + if (!$options[$fieldId]['attributes']['is_view'] && $linkAction & CRM_Core_Action::UPDATE) { $spec = $options[$fieldId]['attributes']; switch ($spec['html_type']) { case 'Text': diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index af72c422ecdb..8a54de487b00 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -1666,7 +1666,7 @@ public function whereClause(&$field, $op, $value, $min, $max) { $clauses[] = "( {$field['dbAlias']} >= $min )"; } else { - $clauses[] = "( {$field['dbAlias']} < $min )"; + $clauses[] = "( {$field['dbAlias']} < $min OR {$field['dbAlias']} IS NULL )"; } } if ($max) { @@ -1683,7 +1683,7 @@ public function whereClause(&$field, $op, $value, $min, $max) { $clause = implode(' AND ', $clauses); } else { - $clause = implode(' OR ', $clauses); + $clause = '(' . implode('OR', $clauses) . ')'; } } } @@ -1737,22 +1737,13 @@ public function whereClause(&$field, $op, $value, $min, $max) { break; case 'mhas': - // mhas == multiple has - if ($value !== NULL && count($value) > 0) { - $sqlOP = $this->getSQLOperator($op); - $clause - = "{$field['dbAlias']} REGEXP '[[:cntrl:]]" . implode('|', $value) . - "[[:cntrl:]]'"; - } - break; - case 'mnot': - // mnot == multiple is not one of + // multiple has or multiple not if ($value !== NULL && count($value) > 0) { - $sqlOP = $this->getSQLOperator($op); - $clause - = "( {$field['dbAlias']} NOT REGEXP '[[:cntrl:]]" . implode('|', $value) . - "[[:cntrl:]]' OR {$field['dbAlias']} IS NULL )"; + $value = CRM_Utils_Type::escapeAll($value, $type); + $operator = $op == 'mnot' ? 'NOT' : ''; + $regexp = "[[:cntrl:]]*" . implode('[[:>:]]*|[[:<:]]*', (array) $value) . "[[:cntrl:]]*"; + $clause = "{$field['dbAlias']} {$operator} REGEXP '{$regexp}'"; } break; @@ -4349,7 +4340,7 @@ public function getBasicContactFields() { ), 'postal_greeting_display' => array('title' => ts('Postal Greeting')), 'email_greeting_display' => array('title' => ts('Email Greeting')), - 'addressee_display' => array('title' => ts('Address Greeting')), + 'addressee_display' => array('title' => ts('Addressee')), 'contact_type' => array( 'title' => ts('Contact Type'), ), diff --git a/CRM/Report/Form/Activity.php b/CRM/Report/Form/Activity.php index 49bdb737ae01..d07400a291b4 100644 --- a/CRM/Report/Form/Activity.php +++ b/CRM/Report/Form/Activity.php @@ -49,13 +49,26 @@ public function __construct() { $config = CRM_Core_Config::singleton(); $campaignEnabled = in_array("CiviCampaign", $config->enableComponents); + $caseEnabled = in_array("CiviCase", $config->enableComponents); if ($campaignEnabled) { $getCampaigns = CRM_Campaign_BAO_Campaign::getPermissionedCampaigns(NULL, NULL, TRUE, FALSE, TRUE); $this->activeCampaigns = $getCampaigns['campaigns']; asort($this->activeCampaigns); $this->engagementLevels = CRM_Campaign_PseudoConstant::engagementLevel(); } - $this->activityTypes = CRM_Core_PseudoConstant::activityType(TRUE, FALSE, FALSE, 'label', TRUE); + $components = CRM_Core_Component::getEnabledComponents(); + foreach ($components as $componentName => $componentInfo) { + if (CRM_Core_Permission::check("access $componentName")) { + $accessAllowed[] = $componentInfo->componentID; + } + } + + $include = ''; + if (!empty($accessAllowed)) { + $include = 'OR v.component_id IN (' . implode(', ', $accessAllowed) . ')'; + } + $condition = " AND ( v.component_id IS NULL {$include} )"; + $this->activityTypes = CRM_Core_OptionGroup::values('activity_type', FALSE, FALSE, FALSE, $condition); asort($this->activityTypes); $this->_columns = array( @@ -247,6 +260,16 @@ public function __construct() { ), ) + $this->addressFields(TRUE); + if ($caseEnabled && CRM_Core_Permission::check('access all cases and activities')) { + $this->_columns['civicrm_activity']['filters']['include_case_activities'] = array( + 'name' => 'include_case_activities', + 'title' => ts('Include Case Activities'), + 'type' => CRM_Utils_Type::T_INT, + 'operatorType' => CRM_Report_Form::OP_SELECT, + 'options' => array('0' => ts('No'), '1' => ts('Yes')), + ); + } + if ($campaignEnabled) { // Add display column and filter for Survey Results, Campaign and Engagement Index if CiviCampaign is enabled @@ -502,17 +525,23 @@ public function where($recordType = NULL) { } else { $op = CRM_Utils_Array::value("{$fieldName}_op", $this->_params); - if ($op && ($op != 'nnll' || $op != 'nll')) { + if ($op && ($op != 'nnll' && $op != 'nll')) { $clause = $this->whereClause($field, $op, CRM_Utils_Array::value("{$fieldName}_value", $this->_params), CRM_Utils_Array::value("{$fieldName}_min", $this->_params), CRM_Utils_Array::value("{$fieldName}_max", $this->_params) ); + if ($field['name'] == 'include_case_activities') { + $clause = NULL; + } if ($fieldName == 'activity_type_id' && empty($this->_params['activity_type_id_value']) ) { - $actTypes = array_flip(CRM_Core_PseudoConstant::activityType(TRUE, FALSE, FALSE, 'label', TRUE)); + if (empty($this->_params['include_case_activities_value'])) { + $this->activityTypes = CRM_Core_PseudoConstant::activityType(TRUE, FALSE, FALSE, 'label', TRUE); + } + $actTypes = array_flip($this->activityTypes); $clause = "( {$this->_aliases['civicrm_activity']}.activity_type_id IN (" . implode(',', $actTypes) . ") )"; } @@ -635,6 +664,29 @@ public function add2group($groupID) { } } + /** + * @param $fields + * @param $files + * @param $self + * + * @return array + */ + public static function formRule($fields, $files, $self) { + $errors = array(); + $config = CRM_Core_Config::singleton(); + if (in_array("CiviCase", $config->enableComponents)) { + $caseActivityTypes = array_map('current', CRM_Case_PseudoConstant::caseActivityType()); + if (!empty($fields['activity_type_id_value']) && is_array($fields['activity_type_id_value']) && empty($fields['include_case_activities_value'])) { + foreach ($fields['activity_type_id_value'] as $activityTypeId) { + if (in_array($activityTypeId, $caseActivityTypes)) { + $errors['fields'] = ts("Please enable 'Include Case Activities' to filter with Case Activity types."); + } + } + } + } + return $errors; + } + public function postProcess() { $this->beginPostProcess(); diff --git a/CRM/Report/Form/Case/Detail.php b/CRM/Report/Form/Case/Detail.php index 77071a324ef7..99a4fe17210e 100644 --- a/CRM/Report/Form/Case/Detail.php +++ b/CRM/Report/Form/Case/Detail.php @@ -52,6 +52,8 @@ class CRM_Report_Form_Case_Detail extends CRM_Report_Form { protected $_caseDetailExtra = array(); + protected $_customGroupExtends = array('Case'); + /** */ /** diff --git a/CRM/Report/Form/Case/Summary.php b/CRM/Report/Form/Case/Summary.php index 9aafef26ade5..1aaa15a55da4 100644 --- a/CRM/Report/Form/Case/Summary.php +++ b/CRM/Report/Form/Case/Summary.php @@ -38,6 +38,8 @@ class CRM_Report_Form_Case_Summary extends CRM_Report_Form { protected $_relField = FALSE; protected $_exposeContactID = FALSE; + protected $_customGroupExtends = array('Case'); + /** */ /** @@ -291,8 +293,13 @@ public function where() { if ($fieldName == 'case_type_id') { $value = CRM_Utils_Array::value("{$fieldName}_value", $this->_params); if (!empty($value)) { - $clause = "( {$field['dbAlias']} REGEXP '[[:<:]]" . - implode('[[:>:]]|[[:<:]]', $value) . "[[:>:]]' )"; + $operator = ''; + if ($op == 'notin') { + $operator = 'NOT'; + } + + $regexp = "[[:cntrl:]]*" . implode('[[:>:]]*|[[:<:]]*', $value) . "[[:cntrl:]]*"; + $clause = "{$field['dbAlias']} {$operator} REGEXP '{$regexp}'"; } $op = NULL; } diff --git a/CRM/Report/Form/Contact/CurrentEmployer.php b/CRM/Report/Form/Contact/CurrentEmployer.php index b0160edc4d92..c587cacce96c 100644 --- a/CRM/Report/Form/Contact/CurrentEmployer.php +++ b/CRM/Report/Form/Contact/CurrentEmployer.php @@ -180,6 +180,7 @@ public function __construct() { 'grouping' => 'contact-fields', 'fields' => array( 'street_address' => NULL, + 'supplemental_address_1' => NULL, 'city' => NULL, 'postal_code' => NULL, 'state_province_id' => array( diff --git a/CRM/Report/Form/Contact/Relationship.php b/CRM/Report/Form/Contact/Relationship.php index 97e49c6760c4..7fcffab5cfd3 100644 --- a/CRM/Report/Form/Contact/Relationship.php +++ b/CRM/Report/Form/Contact/Relationship.php @@ -35,6 +35,7 @@ class CRM_Report_Form_Contact_Relationship extends CRM_Report_Form { protected $_summary = NULL; + protected $_exposeContactID = FALSE; protected $_emailField_a = FALSE; protected $_emailField_b = FALSE; protected $_phoneField_a = FALSE; @@ -57,9 +58,10 @@ public function __construct() { 'name' => 'sort_name', 'required' => TRUE, ), - 'id' => array( + 'id_a' => array( 'no_display' => TRUE, 'required' => TRUE, + 'name' => 'id', ), 'contact_type_a' => array( 'title' => ts('Contact Type (Contact A)'), @@ -69,6 +71,11 @@ public function __construct() { 'title' => ts('Contact Subtype (Contact A)'), 'name' => 'contact_sub_type', ), + 'exposed_id' => array( + 'name' => 'id', + 'title' => 'Contact ID (Contact A)', + 'no_repeat' => TRUE, + ), ), 'filters' => array( 'sort_name_a' => array( @@ -87,6 +94,67 @@ public function __construct() { ), 'grouping' => 'contact_a_fields', ), + 'civicrm_email' => array( + 'dao' => 'CRM_Core_DAO_Email', + 'fields' => array( + 'email_a' => array( + 'title' => ts('Email (Contact A)'), + 'name' => 'email', + ), + ), + 'grouping' => 'contact_a_fields', + ), + 'civicrm_phone' => array( + 'dao' => 'CRM_Core_DAO_Phone', + 'alias' => 'phone_a', + 'fields' => array( + 'phone_a' => array( + 'title' => ts('Phone (Contact A)'), + 'name' => 'phone', + ), + 'phone_ext_a' => array( + 'title' => ts('Phone Ext (Contact A)'), + 'name' => 'phone_ext', + ), + ), + 'grouping' => 'contact_a_fields', + ), + 'civicrm_address' => array( + 'dao' => 'CRM_Core_DAO_Address', + 'fields' => array( + 'city_a' => array( + 'title' => ts('City (Contact A)'), + 'name' => 'city', + ), + 'postal_code_a' => array( + 'title' => ts('Zip (Contact A)'), + 'name' => 'postal_code', + ), + 'state_province_id_a' => array( + 'title' => ts('State/Province (Contact A)'), + 'name' => 'state_province_id', + ), + 'country_id_a' => array( + 'title' => ts('Country (Contact A)'), + 'name' => 'country_id', + ), + ), + 'filters' => array( + 'country_id_a' => array( + 'title' => ts('Country (Contact A)'), + 'name' => 'country_id', + 'operatorType' => CRM_Report_Form::OP_MULTISELECT, + 'options' => CRM_Core_PseudoConstant::country(), + ), + 'state_province_id_a' => array( + 'title' => ts('State/Province (Contact A)'), + 'name' => 'state_province_id', + 'operatorType' => CRM_Report_Form::OP_MULTISELECT, + 'options' => CRM_Core_PseudoConstant::stateProvince(), + ), + ), + 'grouping' => 'contact_a_fields', + ), 'civicrm_contact_b' => array( 'dao' => 'CRM_Contact_DAO_Contact', 'alias' => 'contact_b', @@ -96,9 +164,10 @@ public function __construct() { 'name' => 'sort_name', 'required' => TRUE, ), - 'id' => array( + 'id_b' => array( 'no_display' => TRUE, 'required' => TRUE, + 'name' => 'id', ), 'contact_type_b' => array( 'title' => ts('Contact Type (Contact B)'), @@ -108,6 +177,11 @@ public function __construct() { 'title' => ts('Contact Subtype (Contact B)'), 'name' => 'contact_sub_type', ), + 'exposed_id_b' => array( + 'name' => 'id', + 'title' => 'Contact ID (Contact B)', + 'no_repeat' => TRUE, + ), ), 'filters' => array( 'sort_name_b' => array( @@ -126,16 +200,6 @@ public function __construct() { ), 'grouping' => 'contact_b_fields', ), - 'civicrm_email' => array( - 'dao' => 'CRM_Core_DAO_Email', - 'fields' => array( - 'email_a' => array( - 'title' => ts('Email (Contact A)'), - 'name' => 'email', - ), - ), - 'grouping' => 'contact_a_fields', - ), 'civicrm_email_b' => array( 'dao' => 'CRM_Core_DAO_Email', 'alias' => 'email_b', @@ -147,21 +211,6 @@ public function __construct() { ), 'grouping' => 'contact_b_fields', ), - 'civicrm_phone' => array( - 'dao' => 'CRM_Core_DAO_Phone', - 'alias' => 'phone_a', - 'fields' => array( - 'phone_a' => array( - 'title' => ts('Phone (Contact A)'), - 'name' => 'phone', - ), - 'phone_ext_a' => array( - 'title' => ts('Phone Ext (Contact A)'), - 'name' => 'phone_ext', - ), - ), - 'grouping' => 'contact_a_fields', - ), 'civicrm_phone_b' => array( 'dao' => 'CRM_Core_DAO_Phone', 'alias' => 'phone_b', @@ -177,6 +226,43 @@ public function __construct() { ), 'grouping' => 'contact_b_fields', ), + 'civicrm_address_b' => array( + 'dao' => 'CRM_Core_DAO_Address', + 'alias' => 'address_b', + 'fields' => array( + 'city_b' => array( + 'title' => ts('City (Contact B)'), + 'name' => 'city', + ), + 'postal_code_b' => array( + 'title' => ts('Zip (Contact B)'), + 'name' => 'postal_code', + ), + 'state_province_id_b' => array( + 'title' => ts('State/Province (Contact B)'), + 'name' => 'state_province_id', + ), + 'country_id_b' => array( + 'title' => ts('Country (Contact B)'), + 'name' => 'country_id', + ), + ), + 'filters' => array( + 'country_id_b' => array( + 'title' => ts('Country (Contact B)'), + 'name' => 'country_id', + 'operatorType' => CRM_Report_Form::OP_MULTISELECT, + 'options' => CRM_Core_PseudoConstant::country(), + ), + 'state_province_id_b' => array( + 'title' => ts('State/Province (Contact B)'), + 'name' => 'state_province_id', + 'operatorType' => CRM_Report_Form::OP_MULTISELECT, + 'options' => CRM_Core_PseudoConstant::stateProvince(), + ), + ), + 'grouping' => 'contact_b_fields', + ), 'civicrm_relationship_type' => array( 'dao' => 'CRM_Contact_DAO_RelationshipType', 'fields' => array( @@ -201,14 +287,23 @@ public function __construct() { 'title' => ts('Relationship End Date'), ), 'description' => array( - 'title' => ts('Description'), + 'title' => ts('Relationship Description'), ), 'relationship_id' => array( - 'title' => ts('Rel ID'), + 'title' => ts('Relationship ID'), 'name' => 'id', ), ), 'filters' => array( + 'relationship_type_id' => array( + 'title' => ts('Relationship Type'), + 'operatorType' => CRM_Report_Form::OP_SELECT, + 'options' => array( + '' => '- any relationship type -', + ) + + CRM_Contact_BAO_Relationship::getContactRelationshipType(NULL, 'null', NULL, NULL, TRUE), + 'type' => CRM_Utils_Type::T_INT, + ), 'is_active' => array( 'title' => ts('Relationship Status'), 'operatorType' => CRM_Report_Form::OP_SELECT, @@ -219,33 +314,42 @@ public function __construct() { ), 'type' => CRM_Utils_Type::T_INT, ), - 'relationship_type_id' => array( - 'title' => ts('Relationship'), + 'is_valid' => array( + 'title' => ts('Relationship Dates Validity'), 'operatorType' => CRM_Report_Form::OP_SELECT, 'options' => array( - '' => '- any relationship type -', - ) + - CRM_Contact_BAO_Relationship::getContactRelationshipType(NULL, 'null', NULL, NULL, TRUE), + NULL => ts('- Any -'), + 1 => ts('Not expired'), + 0 => ts('Expired'), + ), 'type' => CRM_Utils_Type::T_INT, ), + 'start_date' => array( + 'title' => ts('Relationship Start Date'), + 'type' => CRM_Utils_Type::T_DATE, + ), + 'end_date' => array( + 'title' => ts('Relationship End Date'), + 'type' => CRM_Utils_Type::T_DATE, + ), ), 'grouping' => 'relation-fields', ), - 'civicrm_address' => array( - 'dao' => 'CRM_Core_DAO_Address', - 'filters' => array( - 'country_id' => array( - 'title' => ts('Country'), - 'operatorType' => CRM_Report_Form::OP_MULTISELECT, - 'options' => CRM_Core_PseudoConstant::country(), + 'civicrm_note' => array( + 'dao' => 'CRM_Core_DAO_Note', + 'fields' => array( + 'note' => array( + 'title' => ts('Relationship Note'), ), - 'state_province_id' => array( - 'title' => ts('State/Province'), - 'operatorType' => CRM_Report_Form::OP_MULTISELECT, - 'options' => CRM_Core_PseudoConstant::stateProvince(), + ), + 'filters' => array( + 'note' => array( + 'title' => ts('Relationship Note'), + 'operator' => 'like', + 'type' => CRM_Report_Form::OP_STRING, ), ), - 'grouping' => 'contact-fields', + 'grouping' => 'relation-fields', ), ); @@ -304,23 +408,34 @@ public function from() { {$this->_aclFrom} "; - if (!empty($this->_params['country_id_value']) || - !empty($this->_params['state_province_id_value']) - ) { + if ($this->isTableSelected('civicrm_address')) { $this->_from .= " INNER JOIN civicrm_address {$this->_aliases['civicrm_address']} - ON (( {$this->_aliases['civicrm_address']}.contact_id = - {$this->_aliases['civicrm_contact']}.id OR - {$this->_aliases['civicrm_address']}.contact_id = - {$this->_aliases['civicrm_contact_b']}.id ) AND + ON ( {$this->_aliases['civicrm_address']}.contact_id = + {$this->_aliases['civicrm_contact']}.id AND {$this->_aliases['civicrm_address']}.is_primary = 1 ) "; } + if ($this->isTableSelected('civicrm_address_b')) { + $this->_from .= " + INNER JOIN civicrm_address {$this->_aliases['civicrm_address_b']} + ON ( {$this->_aliases['civicrm_address_b']}.contact_id = + {$this->_aliases['civicrm_contact_b']}.id AND + {$this->_aliases['civicrm_address_b']}.is_primary = 1 ) "; + } + $this->_from .= " INNER JOIN civicrm_relationship_type {$this->_aliases['civicrm_relationship_type']} ON ( {$this->_aliases['civicrm_relationship']}.relationship_type_id = {$this->_aliases['civicrm_relationship_type']}.id ) "; + if ($this->isTableSelected('civicrm_note')) { + $this->_from .= " + LEFT JOIN civicrm_note {$this->_aliases['civicrm_note']} + ON ( {$this->_aliases['civicrm_note']}.entity_id = + {$this->_aliases['civicrm_relationship']}.id AND + {$this->_aliases['civicrm_note']}.entity_table = 'civicrm_relationship' )"; + } // include Email Field if ($this->_emailField_a) { $this->_from .= " @@ -420,13 +535,17 @@ public function where() { } } else { - - $clause = $this->whereClause($field, - $op, - CRM_Utils_Array::value("{$fieldName}_value", $this->_params), - CRM_Utils_Array::value("{$fieldName}_min", $this->_params), - CRM_Utils_Array::value("{$fieldName}_max", $this->_params) - ); + if ($fieldName == 'is_valid') { + $clause = $this->buildValidityQuery(CRM_Utils_Array::value("{$fieldName}_value", $this->_params)); + } + else { + $clause = $this->whereClause($field, + $op, + CRM_Utils_Array::value("{$fieldName}_value", $this->_params), + CRM_Utils_Array::value("{$fieldName}_min", $this->_params), + CRM_Utils_Array::value("{$fieldName}_max", $this->_params) + ); + } } } } @@ -566,16 +685,29 @@ public function alterDisplay(&$rows) { foreach ($rows as $rowNum => $row) { // handle country - if (array_key_exists('civicrm_address_country_id', $row)) { - if ($value = $row['civicrm_address_country_id']) { - $rows[$rowNum]['civicrm_address_country_id'] = CRM_Core_PseudoConstant::country($value, FALSE); + if (array_key_exists('civicrm_address_country_id_a', $row)) { + if ($value = $row['civicrm_address_country_id_a']) { + $rows[$rowNum]['civicrm_address_country_id_a'] = CRM_Core_PseudoConstant::country($value, FALSE); + } + $entryFound = TRUE; + } + if (array_key_exists('civicrm_address_b_country_id_b', $row)) { + if ($value = $row['civicrm_address_b_country_id_b']) { + $rows[$rowNum]['civicrm_address_b_country_id_b'] = CRM_Core_PseudoConstant::country($value, FALSE); + } + $entryFound = TRUE; + } + + if (array_key_exists('civicrm_address_state_province_id_a', $row)) { + if ($value = $row['civicrm_address_state_province_id_a']) { + $rows[$rowNum]['civicrm_address_state_province_id_a'] = CRM_Core_PseudoConstant::stateProvince($value, FALSE); } $entryFound = TRUE; } - if (array_key_exists('civicrm_address_state_province_id', $row)) { - if ($value = $row['civicrm_address_state_province_id']) { - $rows[$rowNum]['civicrm_address_state_province_id'] = CRM_Core_PseudoConstant::stateProvince($value, FALSE); + if (array_key_exists('civicrm_address_b_state_province_id_b', $row)) { + if ($value = $row['civicrm_address_b_state_province_id_b']) { + $rows[$rowNum]['civicrm_address_b_state_province_id_b'] = CRM_Core_PseudoConstant::stateProvince($value, FALSE); } $entryFound = TRUE; } @@ -629,4 +761,22 @@ public function alterDisplay(&$rows) { } } + /** + * @param $valid bool - set to 1 if we are looking for a valid relationship, 0 if not + * + * @return array + */ + public function buildValidityQuery($valid) { + $clause = NULL; + if ($valid == '1') { + // relationships dates are not expired + $clause = "((start_date <= CURDATE() OR start_date is null) AND (end_date >= CURDATE() OR end_date is null))"; + } + elseif ($valid == '0') { + // relationships dates are expired or has not started yet + $clause = "(start_date >= CURDATE() OR end_date < CURDATE())"; + } + return $clause; + } + } diff --git a/CRM/Report/Form/Contribute/Bookkeeping.php b/CRM/Report/Form/Contribute/Bookkeeping.php index e084aefe927e..fd4c64cea046 100644 --- a/CRM/Report/Form/Contribute/Bookkeeping.php +++ b/CRM/Report/Form/Contribute/Bookkeeping.php @@ -226,6 +226,21 @@ public function __construct() { 'financial_type_id' => array('title' => ts('Financial Type')), ), ), + 'civicrm_batch' => array( + 'dao' => 'CRM_Batch_DAO_Batch', + 'fields' => array( + 'title' => array( + 'title' => ts('Batch Title'), + 'alias' => 'batch', + 'default' => FALSE, + ), + 'name' => array( + 'title' => ts('Batch Name'), + 'alias' => 'batch', + 'default' => TRUE, + ), + ), + ), 'civicrm_contribution' => array( 'dao' => 'CRM_Contribute_DAO_Contribution', 'fields' => array( @@ -410,6 +425,12 @@ public function from() { ON fitem.financial_account_id = {$this->_aliases['civicrm_financial_account']}_credit_2.id LEFT JOIN civicrm_line_item {$this->_aliases['civicrm_line_item']} ON fitem.entity_id = {$this->_aliases['civicrm_line_item']}.id AND fitem.entity_table = 'civicrm_line_item' "; + if ($this->isTableSelected('civicrm_batch')) { + $this->_from .= "LEFT JOIN civicrm_entity_batch ent_batch + ON {$this->_aliases['civicrm_financial_trxn']}.id = ent_batch.entity_id AND ent_batch.entity_table = 'civicrm_financial_trxn' + LEFT JOIN civicrm_batch batch + ON ent_batch.batch_id = batch.id"; + } } public function orderBy() { diff --git a/CRM/Report/Form/Contribute/Detail.php b/CRM/Report/Form/Contribute/Detail.php index 4534637a0474..5add4e5c4a95 100644 --- a/CRM/Report/Form/Contribute/Detail.php +++ b/CRM/Report/Form/Contribute/Detail.php @@ -63,41 +63,7 @@ public function __construct() { $this->_columns = array( 'civicrm_contact' => array( 'dao' => 'CRM_Contact_DAO_Contact', - 'fields' => array( - 'sort_name' => array( - 'title' => ts('Donor Name'), - 'required' => TRUE, - ), - 'first_name' => array( - 'title' => ts('First Name'), - ), - 'middle_name' => array( - 'title' => ts('Middle Name'), - ), - 'last_name' => array( - 'title' => ts('Last Name'), - ), - 'id' => array( - 'no_display' => TRUE, - 'required' => TRUE, - ), - 'gender_id' => array( - 'title' => ts('Gender'), - ), - 'birth_date' => array( - 'title' => ts('Birth Date'), - ), - 'age' => array( - 'title' => ts('Age'), - 'dbAlias' => 'TIMESTAMPDIFF(YEAR, contact_civireport.birth_date, CURDATE())', - ), - 'contact_type' => array( - 'title' => ts('Contact Type'), - ), - 'contact_sub_type' => array( - 'title' => ts('Contact Subtype'), - ), - ), + 'fields' => $this->getBasicContactFields(), 'filters' => array( 'sort_name' => array( 'title' => ts('Donor Name'), @@ -335,7 +301,8 @@ public function __construct() { ), ), ) + $this->addAddressFields(FALSE); - + // The tests test for this variation of the sort_name field. Don't argue with the tests :-). + $this->_columns['civicrm_contact']['fields']['sort_name']['title'] = ts('Donor Name'); $this->_groupFilter = TRUE; $this->_tagFilter = TRUE; @@ -400,7 +367,7 @@ public function orderBy() { // This is a solution to not throw fatal errors when there is a column in order-by, not present in select/display columns. foreach ($this->_orderByFields as $orderBy) { if (!array_key_exists($orderBy['name'], $this->_params['fields']) && - empty($orderBy['section']) + empty($orderBy['section']) && (strpos($this->_select, $orderBy['dbAlias']) === FALSE) ) { $this->_select .= ", {$orderBy['dbAlias']} as {$orderBy['tplField']}"; } @@ -659,6 +626,19 @@ public function postProcess() { $orderClause = array(); foreach ($this->_orderByArray as $clause) { list($alias, $rest) = explode('.', $clause); + // CRM-17280 -- In case, we are ordering by custom fields + // modify $rest to match the alias used for them in temp3 table + $grp = new CRM_Core_DAO_CustomGroup(); + $grp->table_name = $aliases[$alias]; + if ($grp->find()) { + list($fld, $order) = explode(' ', $rest); + foreach ($this->_columns[$aliases[$alias]]['fields'] as $fldName => $value) { + if ($value['name'] == $fld) { + $fld = $fldName; + } + } + $rest = "{$fld} {$order}"; + } $orderClause[] = $aliases[$alias] . "_" . $rest; } $orderBy = (!empty($orderClause)) ? "ORDER BY " . implode(', ', $orderClause) : ''; @@ -737,6 +717,7 @@ public function alterDisplay(&$rows) { unset($rows[$rowNum]['civicrm_contribution_soft_soft_credit_type_id']); } + $entryFound = $this->alterDisplayContactFields($row, $rows, $rowNum, 'contribution/detail', ts('View Contribution Details')) ? TRUE : $entryFound; // convert donor sort name to link if (array_key_exists('civicrm_contact_sort_name', $row) && !empty($rows[$rowNum]['civicrm_contact_sort_name']) && @@ -850,24 +831,6 @@ public function alterDisplay(&$rows) { $entryFound = $this->alterDisplayAddressFields($row, $rows, $rowNum, 'contribute/detail', 'List all contribution(s) for this ') ? TRUE : $entryFound; - //handle gender - if (array_key_exists('civicrm_contact_gender_id', $row)) { - if ($value = $row['civicrm_contact_gender_id']) { - $gender = CRM_Core_PseudoConstant::get('CRM_Contact_DAO_Contact', 'gender_id'); - $rows[$rowNum]['civicrm_contact_gender_id'] = $gender[$value]; - } - $entryFound = TRUE; - } - - // display birthday in the configured custom format - if (array_key_exists('civicrm_contact_birth_date', $row)) { - $birthDate = $row['civicrm_contact_birth_date']; - if ($birthDate) { - $rows[$rowNum]['civicrm_contact_birth_date'] = CRM_Utils_Date::customFormat($birthDate, '%Y%m%d'); - } - $entryFound = TRUE; - } - // skip looking further in rows, if first row itself doesn't // have the column we need if (!$entryFound) { diff --git a/CRM/Report/Form/Contribute/Lybunt.php b/CRM/Report/Form/Contribute/Lybunt.php index 67c063412c32..31b1475850a7 100644 --- a/CRM/Report/Form/Contribute/Lybunt.php +++ b/CRM/Report/Form/Contribute/Lybunt.php @@ -424,6 +424,7 @@ public function postProcess() { $this->buildACLClause($this->_aliases['civicrm_contact']); $this->select(); $this->from(); + $this->customDataFrom(); $this->where(); $this->groupBy(); diff --git a/CRM/Report/Form/Contribute/Recur.php b/CRM/Report/Form/Contribute/Recur.php index 5b0f8afc59c6..d107ed235c2a 100644 --- a/CRM/Report/Form/Contribute/Recur.php +++ b/CRM/Report/Form/Contribute/Recur.php @@ -174,7 +174,7 @@ public function __construct() { 'title' => ts('Frequency Unit'), 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 'options' => CRM_Core_OptionGroup::values('recur_frequency_units'), - 'type' => CRM_Utils_Type::T_INT, + 'type' => CRM_Utils_Type::T_STRING, ), 'frequency_interval' => array( 'title' => ts('Frequency Interval'), diff --git a/CRM/Report/Form/Contribute/Sybunt.php b/CRM/Report/Form/Contribute/Sybunt.php index e214895f7bb3..e4aff4d7efd2 100644 --- a/CRM/Report/Form/Contribute/Sybunt.php +++ b/CRM/Report/Form/Contribute/Sybunt.php @@ -428,6 +428,7 @@ public function postProcess() { $this->buildACLClause($this->_aliases['civicrm_contact']); $this->select(); $this->from(); + $this->customDataFrom(); $this->where(); $this->groupBy(); diff --git a/CRM/Report/Form/Event/ParticipantListing.php b/CRM/Report/Form/Event/ParticipantListing.php index b1ef746849d8..291fd2091a10 100644 --- a/CRM/Report/Form/Event/ParticipantListing.php +++ b/CRM/Report/Form/Event/ParticipantListing.php @@ -297,6 +297,9 @@ public function __construct() { 'default_weight' => '2', 'default_order' => 'ASC', ), + 'event_start_date' => array( + 'title' => ts('Event Start Date'), + ), ), ), 'civicrm_contribution' => array( @@ -572,8 +575,13 @@ public function where() { if ($fieldName == 'rid') { $value = CRM_Utils_Array::value("{$fieldName}_value", $this->_params); if (!empty($value)) { - $clause = "( {$field['dbAlias']} REGEXP '[[:<:]]" . - implode('[[:>:]]|[[:<:]]', $value) . "[[:>:]]' )"; + $operator = ''; + if ($op == 'notin') { + $operator = 'NOT'; + } + + $regexp = "[[:cntrl:]]*" . implode('[[:>:]]*|[[:<:]]*', $value) . "[[:cntrl:]]*"; + $clause = "{$field['dbAlias']} {$operator} REGEXP '{$regexp}'"; } $op = NULL; } diff --git a/CRM/Report/Form/Instance.php b/CRM/Report/Form/Instance.php index c80479627552..b812e069b83b 100644 --- a/CRM/Report/Form/Instance.php +++ b/CRM/Report/Form/Instance.php @@ -222,11 +222,18 @@ public static function setDefaultValues(&$form, &$defaults) { } $config = CRM_Core_Config::singleton(); + + // Add a special region for the default HTML header of printed reports. It + // won't affect reports with customized headers, just ones with the default. + $printHeaderRegion = CRM_Core_Region::instance('default-report-header', FALSE); + $htmlHeader = ($printHeaderRegion) ? $printHeaderRegion->render('', FALSE) : ''; + $defaults['report_header'] = $report_header = " CiviCRM Report + {$htmlHeader}

"; @@ -237,8 +244,12 @@ public static function setDefaultValues(&$form, &$defaults) { if ($instanceID) { // this is already retrieved via Form.php $defaults['description'] = CRM_Utils_Array::value('description', $defaults); - $defaults['report_header'] = CRM_Utils_Array::value('header', $defaults); - $defaults['report_footer'] = CRM_Utils_Array::value('footer', $defaults); + if (!empty($defaults['header'])) { + $defaults['report_header'] = $defaults['header']; + } + if (!empty($defaults['footer'])) { + $defaults['report_footer'] = $defaults['footer']; + } if (!empty($defaults['navigation_id'])) { // Get the default navigation parent id. diff --git a/CRM/Report/Form/Mailing/Clicks.php b/CRM/Report/Form/Mailing/Clicks.php index e3753b1d09d3..9bb69ce671cf 100644 --- a/CRM/Report/Form/Mailing/Clicks.php +++ b/CRM/Report/Form/Mailing/Clicks.php @@ -283,7 +283,7 @@ public function buildChart(&$rows) { } $chartInfo = array( - 'legend' => ts('Mail Clickthrough Report'), + 'legend' => ts('Mail Click-Through Report'), 'xname' => ts('Mailing'), 'yname' => ts('Clicks'), 'xLabelAngle' => 20, diff --git a/CRM/Report/Form/Mailing/Detail.php b/CRM/Report/Form/Mailing/Detail.php index d6a6d9c93e7e..7bbfb9eb1c6c 100644 --- a/CRM/Report/Form/Mailing/Detail.php +++ b/CRM/Report/Form/Mailing/Detail.php @@ -36,8 +36,6 @@ class CRM_Report_Form_Mailing_Detail extends CRM_Report_Form { protected $_exposeContactID = FALSE; - /** - */ /** */ public function __construct() { @@ -271,7 +269,7 @@ public function select() { $columns[$tableName][$fieldName] = $field; } elseif ($fieldName == 'delivery_id') { - $select[] = "IF(mailing_event_delivered_civireport.id IS NOT NULL, 'Successful', IF(mailing_event_bounce_civireport.id IS NOT NULL, 'Bounced ', 'Unknown')) as {$tableName}_{$fieldName}"; + $select[] = "IF(mailing_event_bounce_civireport.id IS NOT NULL, 'Bounced', IF(mailing_event_delivered_civireport.id IS NOT NULL, 'Successful', 'Unknown')) as {$tableName}_{$fieldName}"; $this->_columnHeaders["{$tableName}_{$fieldName}"]['type'] = CRM_Utils_Array::value('type', $field); $this->_columnHeaders["{$tableName}_{$fieldName}"]['no_display'] = CRM_Utils_Array::value('no_display', $field); $this->_columnHeaders["{$tableName}_{$fieldName}"]['title'] = CRM_Utils_Array::value('title', $field); @@ -323,7 +321,7 @@ public function from() { elseif (CRM_Utils_Array::value('delivery_status_value', $this->_params) == 'successful' ) { - $this->_columns['civicrm_mailing_event_delivered']['filters']['delivery_status']['clause'] = "{$this->_aliases['civicrm_mailing_event_delivered']}.id IS NOT NULL"; + $this->_columns['civicrm_mailing_event_delivered']['filters']['delivery_status']['clause'] = "{$this->_aliases['civicrm_mailing_event_delivered']}.id IS NOT NULL AND {$this->_aliases['civicrm_mailing_event_bounce']}.id IS NULL"; } } else { diff --git a/CRM/UF/Page/Field.php b/CRM/UF/Page/Field.php index 9e10d2f7a8e8..12cc49594f7c 100644 --- a/CRM/UF/Page/Field.php +++ b/CRM/UF/Page/Field.php @@ -125,8 +125,8 @@ public function browse() { $isGroupReserved = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_UFGroup', $this->_gid, 'is_reserved'); $this->assign('isGroupReserved', $isGroupReserved); - $profileType = CRM_Core_BAO_UFField::getProfileType($this->_gid); - if ($profileType == 'Contribution' || $profileType == 'Membership' || $profileType == 'Activity' || $profileType == 'Participant') { + $isMixedProfile = CRM_Core_BAO_UFField::checkProfileType($this->_gid); + if ($isMixedProfile) { $this->assign('skipCreate', TRUE); } diff --git a/CRM/UF/Page/Group.php b/CRM/UF/Page/Group.php index 4d0fdf717926..d08c024fc06a 100644 --- a/CRM/UF/Page/Group.php +++ b/CRM/UF/Page/Group.php @@ -342,12 +342,14 @@ public function browse($action = NULL) { } $groupTypes = self::extractGroupTypes($value['group_type']); - $groupComponents = array('Contribution', 'Membership', 'Activity', 'Participant', 'Case'); - // drop Create, Edit and View mode links if profile group_type is Contribution, Membership, Activities or Participant - $componentFound = array_intersect($groupComponents, array_keys($groupTypes)); - if (!empty($componentFound)) { + // drop Create, Edit and View mode links if profile group_type is one of the following: + // Contribution, Membership, Activity, Participant, Case, Grant + $isMixedProfile = CRM_Core_BAO_UFField::checkProfileType($id); + if ($isMixedProfile) { $action -= CRM_Core_Action::ADD; + $action -= CRM_Core_Action::BASIC; + $action -= CRM_Core_Action::PROFILE; } $groupTypesString = ''; diff --git a/CRM/Upgrade/Incremental/php/FourFour.php b/CRM/Upgrade/Incremental/php/FourFour.php index c6357d1cb3d4..81a0e8be0951 100644 --- a/CRM/Upgrade/Incremental/php/FourFour.php +++ b/CRM/Upgrade/Incremental/php/FourFour.php @@ -436,7 +436,10 @@ public static function changeSavedSearch(CRM_Queue_TaskContext $ctx) { $dao = new CRM_Contact_DAO_SavedSearch(); $dao->find(); while ($dao->fetch()) { - $formValues = CRM_Contact_BAO_SavedSearch::getFormValues($dao->id); + $formValues = NULL; + if (!empty($dao->form_values)) { + $formValues = unserialize($dao->form_values); + } if (!empty($formValues['mapper'])) { foreach ($formValues['mapper'] as $key => $value) { foreach ($value as $k => $v) { diff --git a/CRM/Upgrade/Incremental/php/FourSix.php b/CRM/Upgrade/Incremental/php/FourSix.php index d3ad74d7c8d1..89787b890759 100644 --- a/CRM/Upgrade/Incremental/php/FourSix.php +++ b/CRM/Upgrade/Incremental/php/FourSix.php @@ -258,4 +258,39 @@ public static function task_4_6_x_runOnlySql(CRM_Queue_TaskContext $ctx, $rev) { return TRUE; } + + /** + * Upgrade function. + * + * @param string $rev + */ + public function upgrade_4_6_12($rev) { + $this->addTask(ts('Upgrade DB to %1: SQL', array(1 => $rev)), 'task_4_6_x_runSql', $rev); + $this->addTask('Add Getting Started dashlet', 'addGettingStartedDashlet', $rev); + } + + /** + * Add Getting Started dashlet to dashboard + * + * @param \CRM_Queue_TaskContext $ctx + * + * @return bool + */ + public function addGettingStartedDashlet(CRM_Queue_TaskContext $ctx) { + $sql = "SELECT count(*) FROM civicrm_dashboard WHERE name='gettingStarted'"; + $res = CRM_Core_DAO::singleValueQuery($sql); + $domainId = CRM_Core_Config::domainID(); + if ($res <= 0) { + $sql = "INSERT INTO `civicrm_dashboard` + ( `domain_id`, `name`, `label`, `url`, `permission`, `permission_operator`, `column_no`, `is_minimized`, `is_active`, `weight`, `fullscreen_url`, `is_fullscreen`, `is_reserved`) VALUES ( {$domainId}, 'getting-started', 'Getting Started', 'civicrm/dashlet/getting-started?reset=1&snippet=5', 'access CiviCRM', NULL, 0, 0, 1, 0, 'civicrm/dashlet/getting-started?reset=1&snippet=5&context=dashletFullscreen', 1, 1)"; + CRM_Core_DAO::executeQuery($sql); + // Add default position for Getting Started Dashlet ( left column) + $sql = "INSERT INTO `civicrm_dashboard_contact` (dashboard_id, contact_id, column_no, is_active) +SELECT (SELECT MAX(id) FROM `civicrm_dashboard`), contact_id, 0, IF (SUM(is_active) > 0, 1, 0) +FROM `civicrm_dashboard_contact` JOIN `civicrm_contact` WHERE civicrm_dashboard_contact.contact_id = civicrm_contact.id GROUP BY contact_id"; + CRM_Core_DAO::executeQuery($sql); + } + return TRUE; + } + } diff --git a/CRM/Upgrade/Incremental/sql/4.6.11.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.6.11.mysql.tpl new file mode 100644 index 000000000000..14ccb97a5a7b --- /dev/null +++ b/CRM/Upgrade/Incremental/sql/4.6.11.mysql.tpl @@ -0,0 +1 @@ +{* file to handle db changes in 4.6.11 during upgrade *} diff --git a/CRM/Upgrade/Incremental/sql/4.6.12.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.6.12.mysql.tpl new file mode 100644 index 000000000000..6ae76a7d9dea --- /dev/null +++ b/CRM/Upgrade/Incremental/sql/4.6.12.mysql.tpl @@ -0,0 +1,13 @@ +{* file to handle db changes in 4.6.12 during upgrade *} + +-- CRM-16173, CRM-16831 +SELECT @parent_id := id from `civicrm_navigation` where name = 'System Settings' AND domain_id = {$domainID}; +SELECT @add_weight_id := weight from `civicrm_navigation` where `name` = 'Manage Extensions' and `parent_id` = @parent_id; +UPDATE `civicrm_navigation` +SET `weight` = `weight`+1 +WHERE `parent_id` = @parent_id +AND `weight` > @add_weight_id; +INSERT INTO `civicrm_navigation` +( domain_id, url, label, name, permission, permission_operator, parent_id, is_active, has_separator, weight ) +VALUES +( {$domainID}, 'civicrm/a/#/cxn', '{ts escape="sql" skip="true"}Connections{/ts}', 'Connections', 'administer CiviCRM', '', @parent_id , '1', NULL, @add_weight_id + 1 ); diff --git a/CRM/Upgrade/Incremental/sql/4.6.13.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.6.13.mysql.tpl new file mode 100644 index 000000000000..acd29c995396 --- /dev/null +++ b/CRM/Upgrade/Incremental/sql/4.6.13.mysql.tpl @@ -0,0 +1 @@ +{* file to handle db changes in 4.6.13 during upgrade *} diff --git a/CRM/Upgrade/Incremental/sql/4.6.14.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.6.14.mysql.tpl new file mode 100644 index 000000000000..78249cac24b2 --- /dev/null +++ b/CRM/Upgrade/Incremental/sql/4.6.14.mysql.tpl @@ -0,0 +1 @@ +{* file to handle db changes in 4.6.14 during upgrade *} diff --git a/CRM/Upgrade/Incremental/sql/4.6.15.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.6.15.mysql.tpl new file mode 100644 index 000000000000..b1e34c4a141b --- /dev/null +++ b/CRM/Upgrade/Incremental/sql/4.6.15.mysql.tpl @@ -0,0 +1 @@ +{* file to handle db changes in 4.6.15 during upgrade *} diff --git a/CRM/Upgrade/Incremental/sql/4.6.16.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.6.16.mysql.tpl new file mode 100644 index 000000000000..a5f039eed386 --- /dev/null +++ b/CRM/Upgrade/Incremental/sql/4.6.16.mysql.tpl @@ -0,0 +1 @@ +{* file to handle db changes in 4.6.16 during upgrade *} diff --git a/CRM/Upgrade/Incremental/sql/4.6.17.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.6.17.mysql.tpl new file mode 100644 index 000000000000..7aab40c4967f --- /dev/null +++ b/CRM/Upgrade/Incremental/sql/4.6.17.mysql.tpl @@ -0,0 +1 @@ +{* file to handle db changes in 4.6.17 during upgrade *} diff --git a/CRM/Upgrade/Incremental/sql/4.6.18.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.6.18.mysql.tpl new file mode 100644 index 000000000000..09edb026191b --- /dev/null +++ b/CRM/Upgrade/Incremental/sql/4.6.18.mysql.tpl @@ -0,0 +1,4 @@ +{* file to handle db changes in 4.6.18 during upgrade *} +-- CRM-18516 Convert the date fields relating to group caching and acl caching timestamp +ALTER TABLE civicrm_group CHANGE cache_date cache_date timestamp NULL DEFAULT NULL , CHANGE refresh_date refresh_date timestamp NULL DEFAULT NULL; +ALTER TABLE civicrm_acl_cache CHANGE modified_date modified_date timestamp NULL DEFAULT NULL; diff --git a/CRM/Utils/Array.php b/CRM/Utils/Array.php index d82ff2df4c32..9ac18f90ab07 100644 --- a/CRM/Utils/Array.php +++ b/CRM/Utils/Array.php @@ -964,4 +964,25 @@ public static function pathSet(&$arr, $pathParts, $value) { $r[$last] = $value; } + /** + * Convert array where key(s) holds the actual value and value(s) as 1 into array of actual values + * Ex: array('foobar' => 1, 4 => 1) formatted into array('foobar', 4) + * + * @param array $array + * @return void + */ + public static function formatArrayKeys(&$array) { + $keys = array_keys($array, 1); + if (count($keys) > 1 || + (count($keys) == 1 && + (current($keys) > 1 || + is_string(current($keys)) || + (current($keys) == 1 && $array[1] == 1) // handle (0 => 4), (1 => 1) + ) + ) + ) { + $array = $keys; + } + } + } diff --git a/CRM/Utils/Date.php b/CRM/Utils/Date.php index f58994f6b3b1..1a313cfc1b63 100644 --- a/CRM/Utils/Date.php +++ b/CRM/Utils/Date.php @@ -1785,25 +1785,6 @@ public static function getDateFormat($formatType = NULL) { return $format; } - /** - * Get the time in UTC for the current time. You can optionally send an offset from the current time if needed - * - * @param int $offset - * the offset from the current time in seconds. - * - * @return string - * the time in UTC - */ - public static function getUTCTime($offset = 0) { - $originalTimezone = date_default_timezone_get(); - date_default_timezone_set('UTC'); - $time = time() + $offset; - $now = date('YmdHis', $time); - date_default_timezone_set($originalTimezone); - return $now; - } - - /** * @param $date * @param $dateType diff --git a/CRM/Utils/DeprecatedUtils.php b/CRM/Utils/DeprecatedUtils.php index 5d3ae2552fe6..9fbccf19a91a 100644 --- a/CRM/Utils/DeprecatedUtils.php +++ b/CRM/Utils/DeprecatedUtils.php @@ -76,12 +76,7 @@ function _civicrm_api3_deprecated_participant_formatted_param($params, &$values, if ((strtolower(trim($customLabel['label'])) == strtolower(trim($v1))) || (strtolower(trim($customValue)) == strtolower(trim($v1))) ) { - if ($type == 'CheckBox') { - $values[$key][$customValue] = 1; - } - else { - $values[$key][] = $customValue; - } + $values[$key][] = $customValue; } } } @@ -252,12 +247,7 @@ function _civicrm_api3_deprecated_formatted_param($params, &$values, $create = F if ((strtolower($customLabel['label']) == strtolower(trim($v1))) || (strtolower($customValue) == strtolower(trim($v1))) ) { - if ($type == 'CheckBox') { - $values[$key][$customValue] = 1; - } - else { - $values[$key][] = $customValue; - } + $values[$key][] = $customValue; } } } @@ -730,12 +720,7 @@ function _civicrm_api3_deprecated_activity_formatted_param(&$params, &$values, $ if ((strtolower(trim($customLabel['label'])) == strtolower(trim($v1))) || (strtolower(trim($customValue)) == strtolower(trim($v1))) ) { - if ($type == 'CheckBox') { - $values[$key][$customValue] = 1; - } - else { - $values[$key][] = $customValue; - } + $values[$key][] = $customValue; } } } @@ -967,7 +952,7 @@ function _civicrm_api3_deprecated_add_formatted_param(&$values, &$params) { /* Check for custom field values */ if (empty($fields['custom'])) { - $fields['custom'] = &CRM_Core_BAO_CustomField::getFields(CRM_Utils_Array::value('contact_type', $values), + $fields['custom'] = CRM_Core_BAO_CustomField::getFields(CRM_Utils_Array::value('contact_type', $values), FALSE, FALSE, NULL, NULL, FALSE, FALSE, FALSE ); } diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index 2d7dca8563e8..9d1ac305172b 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -28,9 +28,7 @@ /** * * @package CiviCRM_Hook - * @copyright CiviCRM LLC (c) 2004-2015 - * $Id: $ - * + * @copyright CiviCRM LLC (c) 2004-2016 */ abstract class CRM_Utils_Hook { @@ -44,9 +42,9 @@ abstract class CRM_Utils_Hook { // by default - place content below existing content const SUMMARY_BELOW = 1; - // pace hook content above + // place hook content above const SUMMARY_ABOVE = 2; - // create your own summarys + // create your own summaries const SUMMARY_REPLACE = 3; static $_nullObject = NULL; @@ -489,6 +487,19 @@ public static function aclGroup($type, $contactID, $tableName, &$allGroups, &$cu ->invoke(5, $type, $contactID, $tableName, $allGroups, $currentGroups, self::$_nullObject, 'civicrm_aclGroup'); } + /** + * @param string|CRM_Core_DAO $entity + * @param array $clauses + * @return mixed + */ + public static function selectWhereClause($entity, &$clauses) { + $entityName = is_object($entity) ? _civicrm_api_get_entity_name_from_dao($entity) : $entity; + return self::singleton()->invoke(2, $entityName, $clauses, + self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, + 'civicrm_selectWhereClause' + ); + } + /** * This hook is called when building the menu table. * @@ -640,6 +651,7 @@ public static function buildStateProvinceForCountry($countryID, &$states) { * The contactID for whom the dashboard is being rendered. * * @return null + * @deprecated Use tabset() instead. */ public static function tabs(&$tabs, $contactID) { return self::singleton()->invoke(2, $tabs, $contactID, @@ -1880,12 +1892,13 @@ public static function angularModules(&$angularModules) { * This hook fires whenever a record in a case changes. * * @param \Civi\CCase\Analyzer $analyzer + * A bundle of data about the case (such as the case and activity records). */ public static function caseChange(\Civi\CCase\Analyzer $analyzer) { $event = new \Civi\CCase\Event\CaseChangeEvent($analyzer); \Civi\Core\Container::singleton()->get('dispatcher')->dispatch("hook_civicrm_caseChange", $event); - return self::singleton()->invoke(1, $angularModules, + self::singleton()->invoke(1, $analyzer, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, 'civicrm_caseChange' ); @@ -1965,4 +1978,15 @@ public static function coreResourceList(&$list, $region) { ); } + /** + * This hook is called for bypass a few civicrm urls from IDS check + * @param array $skip list of civicrm url; + */ + public static function idsException(&$skip) { + return self::singleton()->invoke(1, $skip, self::$_nullObject, + self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, + 'civicrm_idsException' + ); + } + } diff --git a/CRM/Utils/Mail/EmailProcessor.php b/CRM/Utils/Mail/EmailProcessor.php index 4370446b3788..57a72dd254fb 100644 --- a/CRM/Utils/Mail/EmailProcessor.php +++ b/CRM/Utils/Mail/EmailProcessor.php @@ -133,6 +133,30 @@ public static function process($civiMail = TRUE) { } } + // Recursively peels & filter Multipart layers in an email + // to only return individual Parts of the specific subtype + static function _get_parts( $part, $subtype = "" ) { + $ret = array(); + if ($part instanceof ezcMailMultipart) { + if ($part instanceof ezcMailMultipartRelated) { + foreach ($part->getRelatedParts() as $subpart) { + $ret += self::_get_parts($subpart, $subtype); + } + } + else { + foreach ($part->getParts() as $subpart) { + $ret += self::_get_parts($subpart, $subtype); + } + } + } + elseif ($part instanceof ezcMailPart) { + if (empty($subtype) || (isset($part->subType) && ($part->subType == $subtype))) { + $ret[] = $part; + } + } + return $ret; + } + /** * @param $civiMail * @param CRM_Core_DAO $dao @@ -155,7 +179,7 @@ public static function _process($civiMail, $dao) { } $config = CRM_Core_Config::singleton(); - $verpSeperator = preg_quote($config->verpSeparator); + $verpSeperator = preg_quote(CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'verpSeparator')); $twoDigitStringMin = $verpSeperator . '(\d+)' . $verpSeperator . '(\d+)'; $twoDigitString = $twoDigitStringMin . $verpSeperator; $threeDigitString = $twoDigitString . '(\d+)' . $verpSeperator; @@ -285,26 +309,10 @@ public static function _process($civiMail, $dao) { case 'b': case 'bounce': $text = ''; - if ($mail->body instanceof ezcMailText) { - $text = $mail->body->text; - } - elseif ($mail->body instanceof ezcMailMultipart) { - if ($mail->body instanceof ezcMailMultipartRelated) { - foreach ($mail->body->getRelatedParts() as $part) { - if (isset($part->subType) and $part->subType == 'plain') { - $text = $part->text; - break; - } - } - } - else { - foreach ($mail->body->getParts() as $part) { - if (isset($part->subType) and $part->subType == 'plain') { - $text = $part->text; - break; - } - } - } + $parts = self::_get_parts( $mail->body, 'plain' ); + if (!empty($parts)) { + $part = reset($parts); + $text = $part->text; } if ( diff --git a/CRM/Utils/PDF/Label.php b/CRM/Utils/PDF/Label.php index 38d97a4d422a..d77fe93c5772 100644 --- a/CRM/Utils/PDF/Label.php +++ b/CRM/Utils/PDF/Label.php @@ -34,8 +34,6 @@ * */ -require_once 'tcpdf/tcpdf.php'; - /** * Class CRM_Utils_PDF_Label */ diff --git a/CRM/Utils/PDF/Utils.php b/CRM/Utils/PDF/Utils.php index f2c9bd855888..661c8b636ff5 100644 --- a/CRM/Utils/PDF/Utils.php +++ b/CRM/Utils/PDF/Utils.php @@ -86,12 +86,18 @@ public static function html2pdf(&$text, $fileName = 'civicrm.pdf', $output = FAL $margins = array($metric, $t, $r, $b, $l); $config = CRM_Core_Config::singleton(); + + // Add a special region for the HTML header of PDF files: + $pdfHeaderRegion = CRM_Core_Region::instance('export-document-header', FALSE); + $htmlHeader = ($pdfHeaderRegion) ? $pdfHeaderRegion->render('', FALSE) : ''; + $html = " + {$htmlHeader}
\n"; @@ -119,7 +125,7 @@ public static function html2pdf(&$text, $fileName = 'civicrm.pdf', $output = FAL
"; - if ($config->wkhtmltopdfPath) { + if (CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'wkhtmltopdfPath')) { return self::_html2pdf_wkhtmltopdf($paper_size, $orientation, $margins, $html, $output, $fileName); } else { @@ -220,7 +226,7 @@ public static function _html2pdf_dompdf($paper_size, $orientation, $html, $outpu public static function _html2pdf_wkhtmltopdf($paper_size, $orientation, $margins, $html, $output, $fileName) { require_once 'packages/snappy/src/autoload.php'; $config = CRM_Core_Config::singleton(); - $snappy = new Knp\Snappy\Pdf($config->wkhtmltopdfPath); + $snappy = new Knp\Snappy\Pdf(CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'wkhtmltopdfPath')); $snappy->setOption("page-width", $paper_size[2] . "pt"); $snappy->setOption("page-height", $paper_size[3] . "pt"); $snappy->setOption("orientation", $orientation); diff --git a/CRM/Utils/ReCAPTCHA.php b/CRM/Utils/ReCAPTCHA.php index 080a2450865d..d14ca7bfe557 100644 --- a/CRM/Utils/ReCAPTCHA.php +++ b/CRM/Utils/ReCAPTCHA.php @@ -83,7 +83,7 @@ public static function add(&$form) { if (CRM_Utils_System::isSSL()) { $useSSL = TRUE; } - $html = recaptcha_get_html($config->recaptchaPublicKey, $error, $useSSL); + $html = recaptcha_get_html(CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'recaptchaPublicKey'), $error, $useSSL); $form->assign('recaptchaHTML', $html); $form->assign('recaptchaOptions', $config->recaptchaOptions); diff --git a/CRM/Utils/Rule.php b/CRM/Utils/Rule.php index d2a111984b8a..aff62b8ac6cc 100644 --- a/CRM/Utils/Rule.php +++ b/CRM/Utils/Rule.php @@ -89,6 +89,64 @@ public static function variable($str) { return TRUE; } + /** + * Validate that a string is a valid MySQL column name or alias. + * + * @param $str + * + * @return bool + */ + public static function mysqlColumnNameOrAlias($str) { + // Check not empty. + if (empty($str)) { + return FALSE; + } + + // Ensure the string contains only valid characters: + // For column names: alphanumeric and underscores + // For aliases: backticks, alphanumeric hyphens and underscores. + if (!preg_match('/^((`[\w-]{1,64}`|[\w-]{1,64})\.)?(`[\w-]{1,64}`|[\w-]{1,64})$/i', $str)) { + return FALSE; + } + + return TRUE; + } + + /** + * Validate that a string is ASC or DESC. + * + * Empty string should be treated as invalid and ignored => default = ASC. + * + * @param $str + * @return bool + */ + public static function mysqlOrderByDirection($str) { + if (!preg_match('/^(asc|desc)$/i', $str)) { + return FALSE; + } + + return TRUE; + } + + /** + * Validate that a string is valid order by clause. + * + * @param $str + * @return bool + */ + public static function mysqlOrderBy($str) { + // Making a regex for a comma separated list is quite hard and not readable + // at all, so we split and loop over. + $parts = explode(',', $str); + foreach ($parts as $part) { + if (!preg_match('/^((`[\w-]{1,64}`|[\w-]{1,64})\.)?(`[\w-]{1,64}`|[\w-]{1,64})( (asc|desc))?$/i', trim($part))) { + return FALSE; + } + } + + return TRUE; + } + /** * @param $str * diff --git a/CRM/Utils/SQL.php b/CRM/Utils/SQL.php new file mode 100644 index 000000000000..b46e4396c2f8 --- /dev/null +++ b/CRM/Utils/SQL.php @@ -0,0 +1,62 @@ +addSelectWhereClause() as $field => $vals) { + if ($vals && $field == $joinColumn) { + $clauses = array_merge($clauses, (array) $vals); + } + elseif ($vals) { + $subclauses[] = "$field " . implode(" AND $field ", (array) $vals); + } + } + if ($subclauses) { + $clauses[] = "IN (SELECT `$joinColumn` FROM `" . $bao->tableName() . "` WHERE " . implode(' AND ', $subclauses) . ")"; + } + return $clauses; + } + +} diff --git a/CRM/Utils/Sort.php b/CRM/Utils/Sort.php index 22d7d1b68ff9..d8dd68b1eac8 100644 --- a/CRM/Utils/Sort.php +++ b/CRM/Utils/Sort.php @@ -129,7 +129,7 @@ public function __construct(&$vars, $defaultSortOrder = NULL) { foreach ($vars as $weight => $value) { $this->_vars[$weight] = array( - 'name' => $value['sort'], + 'name' => CRM_Utils_Type::validate($value['sort'], 'MysqlColumnNameOrAlias'), 'direction' => CRM_Utils_Array::value('direction', $value), 'title' => $value['name'], ); @@ -160,11 +160,11 @@ public function orderBy() { $this->_vars[$this->_currentSortID]['direction'] == self::DONTCARE ) { $this->_vars[$this->_currentSortID]['name'] = str_replace(' ', '_', $this->_vars[$this->_currentSortID]['name']); - return $this->_vars[$this->_currentSortID]['name'] . ' asc'; + return CRM_Utils_Type::escape($this->_vars[$this->_currentSortID]['name'], 'MysqlColumnNameOrAlias') . ' asc'; } else { $this->_vars[$this->_currentSortID]['name'] = str_replace(' ', '_', $this->_vars[$this->_currentSortID]['name']); - return $this->_vars[$this->_currentSortID]['name'] . ' desc'; + return CRM_Utils_Type::escape($this->_vars[$this->_currentSortID]['name'], 'MysqlColumnNameOrAlias') . ' desc'; } } diff --git a/CRM/Utils/String.php b/CRM/Utils/String.php index 90a09b45343b..8488130702f6 100644 --- a/CRM/Utils/String.php +++ b/CRM/Utils/String.php @@ -651,7 +651,12 @@ public static function ellipsify($string, $maxLen) { return $string; } else { - return substr($string, 0, $maxLen - 3) . '...'; + $end = $maxLen - 3; + while (strlen($string) > $maxLen - 3) { + $string = mb_substr($string, 0, $end, 'UTF-8'); + $end = $end - 1; + } + return $string . '...'; } } diff --git a/CRM/Utils/System/DrupalBase.php b/CRM/Utils/System/DrupalBase.php index b2c1274a729c..0a51ba7d81a9 100644 --- a/CRM/Utils/System/DrupalBase.php +++ b/CRM/Utils/System/DrupalBase.php @@ -100,8 +100,12 @@ public function formatResourceUrl(&$url) { // compares $url (which is some unknown/untrusted value from a third-party dev) to the CMS's base url (which is independent of civi's url) // to see if the url is within our drupal dir, if it is we are able to treated it as an internal url if (strpos($url, $base_url) === 0) { - $internal = TRUE; - $url = trim(str_replace($base_url, '', $url), '/'); + $file = trim(str_replace($base_url, '', $url), '/'); + // CRM-18130: Custom CSS URL not working if aliased or rewritten + if (file_exists(DRUPAL_ROOT . $file)) { + $url = $file; + $internal = TRUE; + } } // Handle relative urls that are within the CiviCRM module directory elseif (strpos($url, $base) === 0) { diff --git a/CRM/Utils/System/WordPress.php b/CRM/Utils/System/WordPress.php index 277eda2472d3..4c01b45e4780 100644 --- a/CRM/Utils/System/WordPress.php +++ b/CRM/Utils/System/WordPress.php @@ -336,7 +336,11 @@ public function getUFLocale() { * @return bool */ public function loadBootStrap($name = NULL, $pass = NULL) { - global $wp, $wp_rewrite, $wp_the_query, $wp_query, $wpdb; + global $wp, $wp_rewrite, $wp_the_query, $wp_query, $wpdb, $current_site, $current_blog, $current_user; + + if (!defined('WP_USE_THEMES')) { + define('WP_USE_THEMES', FALSE); + } $cmsRootPath = $this->cmsRootPath(); if (!$cmsRootPath) { @@ -363,7 +367,7 @@ public function loadBootStrap($name = NULL, $pass = NULL) { $name = $name ? $name : trim(CRM_Utils_Array::value('name', $_REQUEST)); $pass = $pass ? $pass : trim(CRM_Utils_Array::value('pass', $_REQUEST)); if ($name) { - $uid = wp_authenticate($name, $pass); + $uid = wp_authenticate($name, $pass); // this returns a WP_User object if successful if (!$uid) { if ($throwError) { echo '
Sorry, unrecognized username or password.'; @@ -374,7 +378,12 @@ public function loadBootStrap($name = NULL, $pass = NULL) { } } if ($uid) { - $account = wp_set_current_user($uid); + if ($uid instanceof WP_User) { + $account = wp_set_current_user($uid->ID); + } + else { + $account = wp_set_current_user($uid); + } if ($account && $account->data->ID) { global $user; $user = $account; diff --git a/CRM/Utils/Type.php b/CRM/Utils/Type.php index 81efac86b067..c1bd663f9c68 100644 --- a/CRM/Utils/Type.php +++ b/CRM/Utils/Type.php @@ -142,6 +142,18 @@ public static function typeToString($type) { return (isset($string)) ? $string : ""; } + /** + * Helper function to call escape on arrays + * + * @see escape + */ + public static function escapeAll($data, $type, $abort = TRUE) { + foreach ($data as $key => $value) { + $data[$key] = CRM_Utils_Type::escape($value, $type, $abort); + } + return $data; + } + /** * Verify that a variable is of a given type, and apply a bit of processing. * @@ -246,6 +258,32 @@ public static function escape($data, $type, $abort = TRUE) { } break; + case 'MysqlColumnNameOrAlias': + if (CRM_Utils_Rule::mysqlColumnNameOrAlias($data)) { + $data = str_replace('`', '', $data); + $parts = explode('.', $data); + $data = '`' . implode('`.`', $parts) . '`'; + + return $data; + } + break; + + case 'MysqlOrderByDirection': + if (CRM_Utils_Rule::mysqlOrderByDirection($data)) { + return strtolower($data); + } + break; + + case 'MysqlOrderBy': + if (CRM_Utils_Rule::mysqlOrderBy($data)) { + $parts = explode(',', $data); + foreach ($parts as &$part) { + $part = preg_replace_callback('/^(?:(?:((?:`[\w-]{1,64}`|[\w-]{1,64}))(?:\.))?(`[\w-]{1,64}`|[\w-]{1,64})(?: (asc|desc))?)$/i', array('CRM_Utils_Type', 'mysqlOrderByCallback'), trim($part)); + } + return implode(', ', $parts); + } + break; + default: CRM_Core_Error::fatal( $type . " is not a recognised (camel cased) data type." @@ -349,6 +387,24 @@ public static function validate($data, $type, $abort = TRUE, $name = 'One of par } break; + case 'MysqlColumnNameOrAlias': + if (CRM_Utils_Rule::mysqlColumnNameOrAlias($data)) { + return $data; + } + break; + + case 'MysqlOrderByDirection': + if (CRM_Utils_Rule::mysqlOrderByDirection($data)) { + return strtolower($data); + } + break; + + case 'MysqlOrderBy': + if (CRM_Utils_Rule::mysqlOrderBy($data)) { + return $data; + } + break; + default: CRM_Core_Error::fatal("Cannot recognize $type for $data"); break; @@ -362,4 +418,25 @@ public static function validate($data, $type, $abort = TRUE, $name = 'One of par return NULL; } + /** + * preg_replace_callback for MysqlOrderBy escape. + */ + public static function mysqlOrderByCallback($matches) { + $output = ''; + $matches = str_replace('`', '', $matches); + // Table name. + if (isset($matches[1]) && $matches[1]) { + $output .= '`' . $matches[1] . '`.'; + } + // Column name. + if (isset($matches[2]) && $matches[2]) { + $output .= '`' . $matches[2] . '`'; + } + // Sort order. + if (isset($matches[3]) && $matches[3]) { + $output .= ' ' . $matches[3]; + } + return $output; + } + } diff --git a/CRM/Utils/VersionCheck.php b/CRM/Utils/VersionCheck.php index e41f9ffaf21a..48796afe343d 100644 --- a/CRM/Utils/VersionCheck.php +++ b/CRM/Utils/VersionCheck.php @@ -36,7 +36,7 @@ class CRM_Utils_VersionCheck { const PINGBACK_URL = 'http://latest.civicrm.org/stable.php?format=json', // timeout for when the connection or the server is slow - CHECK_TIMEOUT = 5, + CHECK_TIMEOUT = 1, // relative to $civicrm_root LOCALFILE_NAME = 'civicrm-version.php', // relative to $config->uploadDir @@ -179,12 +179,15 @@ public function getMajorVersion($minorVersion) { public function isSecurityUpdateAvailable() { $thisVersion = $this->getReleaseInfo($this->localVersion); $localVersionDate = CRM_Utils_Array::value('date', $thisVersion, 0); - foreach ($this->versionInfo as $majorVersion) { + + foreach ($this->versionInfo as $majorVersionNumber => $majorVersion) { foreach ($majorVersion['releases'] as $release) { if (!empty($release['security']) && $release['date'] > $localVersionDate && version_compare($this->localVersion, $release['version']) < 0 ) { - if (!$this->ignoreDate || $this->ignoreDate < $release['date']) { + if ((!$this->ignoreDate || $this->ignoreDate < $release['date']) + && (!$this->isThisReleaseTheLTS() || $majorVersionNumber === $this->localMajorVersion) + ) { return TRUE; } } @@ -192,6 +195,25 @@ public function isSecurityUpdateAvailable() { } } + /** + * Is this the LTS release. + * + * This function is only really being used in 4.6 & is a bit heavy on the enotice + * handling for test reasons + */ + public function isThisReleaseTheLTS() { + if (empty($this->versionInfo)) { + return FALSE; + } + if (empty($this->versionInfo[$this->localMajorVersion])) { + return FALSE; + } + if ($this->versionInfo[$this->localMajorVersion]['status'] === 'lts') { + return TRUE; + } + return FALSE; + } + /** * Get the latest version number if it's newer than the local one * diff --git a/Civi.php b/Civi.php new file mode 100644 index 000000000000..86a153259349 --- /dev/null +++ b/Civi.php @@ -0,0 +1,64 @@ +get($id); + } + + /** + * Reset all ephemeral system state, e.g. statics, + * singletons, containers. + */ + public static function reset() { + self::$statics = array(); + Civi\Core\Container::singleton(); + } + + /** + * @return CRM_Core_Resources + */ + public static function resources() { + return CRM_Core_Resources::singleton(); + } + +} diff --git a/Civi/API/SelectQuery.php b/Civi/API/SelectQuery.php new file mode 100644 index 000000000000..fe5023441650 --- /dev/null +++ b/Civi/API/SelectQuery.php @@ -0,0 +1,586 @@ +entity = _civicrm_api_get_entity_name_from_dao($bao); + $this->params = $params; + $this->isFillUniqueFields = $isFillUniqueFields; + $this->checkPermissions = \CRM_Utils_Array::value('check_permissions', $this->params, FALSE); + $this->options = _civicrm_api3_get_options_from_params($this->params); + + $this->entityFieldNames = _civicrm_api3_field_names(_civicrm_api3_build_fields_array($bao)); + // Call this function directly instead of using the api wrapper to force unique field names off + require_once 'api/v3/Generic.php'; + $apiSpec = \civicrm_api3_generic_getfields(array('entity' => $this->entity, 'version' => 3, 'params' => array('action' => 'get')), FALSE); + $this->apiFieldSpec = $apiSpec['values']; + + $this->query = \CRM_Utils_SQL_Select::from($bao->tableName() . ' ' . self::MAIN_TABLE_ALIAS); + $bao->free(); + + // Add ACLs first to avoid redundant subclauses + $this->query->where($this->getAclClause(self::MAIN_TABLE_ALIAS, $baoName)); + } + + /** + * Build & execute the query and return results array + * + * @return array + * @throws \API_Exception + * @throws \CRM_Core_Exception + * @throws \Exception + */ + public function run() { + // $select_fields maps column names to the field names of the result values. + $select_fields = $custom_fields = array(); + + // populate $select_fields + $return_all_fields = (empty($this->options['return']) || !is_array($this->options['return'])); + $return = $return_all_fields ? array_fill_keys($this->entityFieldNames, 1) : $this->options['return']; + + // core return fields + foreach ($return as $field_name => $include) { + if ($include) { + $field = $this->getField($field_name); + if ($field && in_array($field['name'], $this->entityFieldNames)) { + $select_fields[self::MAIN_TABLE_ALIAS . ".{$field['name']}"] = $field['name']; + } + elseif ($include && strpos($field_name, '.')) { + $fkField = $this->addFkField($field_name, 'LEFT'); + if ($fkField) { + $select_fields[implode('.', $fkField)] = $field_name; + } + } + } + } + + // Do custom fields IF the params contain the word "custom" or we are returning * + if ($return_all_fields || strpos(json_encode($this->params), 'custom')) { + $custom_fields = _civicrm_api3_custom_fields_for_entity($this->entity); + foreach ($custom_fields as $cf_id => $custom_field) { + $field_name = "custom_$cf_id"; + if ($return_all_fields || !empty($this->options['return'][$field_name]) + || + // This is a tested format so we support it. + !empty($this->options['return']['custom']) + ) { + list($table_name, $column_name) = $this->addCustomField($custom_field, 'LEFT'); + + if ($custom_field["data_type"] != "ContactReference") { + // 'ordinary' custom field. We will select the value as custom_XX. + $select_fields["$table_name.$column_name"] = $field_name; + } + else { + // contact reference custom field. The ID will be stored in custom_XX_id. + // custom_XX will contain the sort name of the contact. + $this->query->join("c_$cf_id", "LEFT JOIN civicrm_contact c_$cf_id ON c_$cf_id.id = `$table_name`.`$column_name`"); + $select_fields["$table_name.$column_name"] = $field_name . "_id"; + // We will call the contact table for the join c_XX. + $select_fields["c_$cf_id.sort_name"] = $field_name; + } + } + } + } + // Always select the ID. + $select_fields[self::MAIN_TABLE_ALIAS . ".id"] = "id"; + + // populate where_clauses + foreach ($this->params as $key => $value) { + $table_name = NULL; + $column_name = NULL; + + if (substr($key, 0, 7) == 'filter.') { + // Legacy support for old filter syntax per the test contract. + // (Convert the style to the later one & then deal with them). + $filterArray = explode('.', $key); + $value = array($filterArray[1] => $value); + $key = 'filters'; + } + + // Legacy support for 'filter's construct. + if ($key == 'filters') { + foreach ($value as $filterKey => $filterValue) { + if (substr($filterKey, -4, 4) == 'high') { + $key = substr($filterKey, 0, -5); + $value = array('<=' => $filterValue); + } + + if (substr($filterKey, -3, 3) == 'low') { + $key = substr($filterKey, 0, -4); + $value = array('>=' => $filterValue); + } + + if ($filterKey == 'is_current' || $filterKey == 'isCurrent') { + // Is current is almost worth creating as a 'sql filter' in the DAO function since several entities have the concept. + $todayStart = date('Ymd000000', strtotime('now')); + $todayEnd = date('Ymd235959', strtotime('now')); + $a = self::MAIN_TABLE_ALIAS; + $this->query->where("($a.start_date <= '$todayStart' OR $a.start_date IS NULL) + AND ($a.end_date >= '$todayEnd' OR $a.end_date IS NULL) + AND a.is_active = 1"); + } + } + } + // Ignore the "options" param if it is referring to api options and not a field in this entity + if ( + $key === 'options' && is_array($value) + && !in_array(\CRM_Utils_Array::first(array_keys($value)), \CRM_Core_DAO::acceptedSQLOperators()) + ) { + continue; + } + $field = $this->getField($key); + if ($field) { + $key = $field['name']; + } + if (in_array($key, $this->entityFieldNames)) { + $table_name = self::MAIN_TABLE_ALIAS; + $column_name = $key; + } + elseif (($cf_id = \CRM_Core_BAO_CustomField::getKeyID($key)) != FALSE) { + list($table_name, $column_name) = $this->addCustomField($custom_fields[$cf_id], 'INNER'); + } + elseif (strpos($key, '.')) { + $fkInfo = $this->addFkField($key, 'INNER'); + if ($fkInfo) { + list($table_name, $column_name) = $fkInfo; + $this->validateNestedInput($key, $value); + } + } + // I don't know why I had to specifically exclude 0 as a key - wouldn't the others have caught it? + // We normally silently ignore null values passed in - if people want IS_NULL they can use acceptedSqlOperator syntax. + if ((!$table_name) || empty($key) || is_null($value)) { + // No valid filter field. This might be a chained call or something. + // Just ignore this for the $where_clause. + continue; + } + if (!is_array($value)) { + $this->query->where(array("`$table_name`.`$column_name` = @value"), array( + "@value" => $value, + )); + } + else { + // We expect only one element in the array, of the form + // "operator" => "rhs". + $operator = \CRM_Utils_Array::first(array_keys($value)); + if (!in_array($operator, \CRM_Core_DAO::acceptedSQLOperators())) { + $this->query->where(array( + "{$table_name}.{$column_name} = @value"), array("@value" => $value) + ); + } + else { + $this->query->where(\CRM_Core_DAO::createSQLFilter("{$table_name}.{$column_name}", $value)); + } + } + } + + if (!$this->options['is_count']) { + foreach ($select_fields as $column => $alias) { + $this->query->select("$column as `$alias`"); + } + } + else { + $this->query->select("count(*) as c"); + } + + // Order by + if (!empty($this->options['sort'])) { + $this->orderBy($this->options['sort']); + } + + // Limit + if (!empty($this->options['limit']) || !empty($this->options['offset'])) { + $this->query->limit($this->options['limit'], $this->options['offset']); + } + + $result_entities = array(); + $result_dao = \CRM_Core_DAO::executeQuery($this->query->toSQL()); + + while ($result_dao->fetch()) { + if ($this->options['is_count']) { + $result_dao->free(); + return (int) $result_dao->c; + } + $result_entities[$result_dao->id] = array(); + foreach ($select_fields as $column => $alias) { + $returnName = $alias; + $alias = str_replace('.', '_', $alias); + if (property_exists($result_dao, $alias) && $result_dao->$alias != NULL) { + $result_entities[$result_dao->id][$returnName] = $result_dao->$alias; + } + // Backward compatibility on fields names. + if ($this->isFillUniqueFields && !empty($this->apiFieldSpec[$alias]['uniqueName'])) { + $result_entities[$result_dao->id][$this->apiFieldSpec[$alias]['uniqueName']] = $result_dao->$alias; + } + foreach ($this->apiFieldSpec as $returnName => $spec) { + if (empty($result_entities[$result_dao->id][$returnName]) && !empty($result_entities[$result_dao->id][$spec['name']])) { + $result_entities[$result_dao->id][$returnName] = $result_entities[$result_dao->id][$spec['name']]; + } + } + }; + } + $result_dao->free(); + return $result_entities; + } + + /** + * @param \CRM_Utils_SQL_Select $sqlFragment + * @return $this + */ + public function merge($sqlFragment) { + $this->query->merge($sqlFragment); + return $this; + } + + /** + * Joins onto an fk field + * + * Adds one or more joins to the query to make this field available for use in a clause. + * + * Enforces permissions at the api level and by appending the acl clause for that entity to the join. + * + * @param $fkFieldName + * @param $side + * + * @return array|null + * Returns the table and field name for adding this field to a SELECT or WHERE clause + * @throws \API_Exception + * @throws \Civi\API\Exception\UnauthorizedException + */ + private function addFkField($fkFieldName, $side) { + $stack = explode('.', $fkFieldName); + if (count($stack) < 2) { + return NULL; + } + $prev = self::MAIN_TABLE_ALIAS; + foreach ($stack as $depth => $fieldName) { + // Setup variables then skip the first level + if (!$depth) { + $fk = $fieldName; + // We only join on core fields + // @TODO: Custom contact ref fields could be supported too + if (!in_array($fk, $this->entityFieldNames)) { + return NULL; + } + $fkField = &$this->apiFieldSpec[$fk]; + continue; + } + // More than 4 joins deep seems excessive - DOS attack? + if ($depth > self::MAX_JOINS) { + throw new UnauthorizedException("Maximum number of joins exceeded in parameter $fkFieldName"); + } + if (!isset($fkField['FKApiName']) || !isset($fkField['FKClassName'])) { + // Join doesn't exist - might be another param with a dot in it for some reason, we'll just ignore it. + return NULL; + } + $subStack = array_slice($stack, 0, $depth); + // Ensure we have permission to access the other api + if (!$this->checkPermissionToJoin($fkField['FKApiName'], $subStack)) { + throw new UnauthorizedException("Authorization failed to join onto {$fkField['FKApiName']} api in parameter $fkFieldName"); + } + if (!isset($fkField['FKApiSpec'])) { + $fkField['FKApiSpec'] = \_civicrm_api_get_fields($fkField['FKApiName']); + } + $fieldInfo = \CRM_Utils_Array::value($fieldName, $fkField['FKApiSpec']); + + // FIXME: What if the foreign key is not the "id" column? + if (!$fieldInfo || !isset($fkField['FKApiSpec']['id'])) { + // Join doesn't exist - might be another param with a dot in it for some reason, we'll just ignore it. + return NULL; + } + $fkTable = \CRM_Core_DAO_AllCoreTables::getTableForClass($fkField['FKClassName']); + $tableAlias = implode('_to_', $subStack) . "_to_$fkTable"; + + // Add acl condition + $joinCondition = array_merge( + array("$prev.$fk = $tableAlias.id"), + $this->getAclClause($tableAlias, \_civicrm_api3_get_BAO($fkField['FKApiName']), $subStack) + ); + + $this->join($side, $fkTable, $tableAlias, $joinCondition); + + if (strpos($fieldName, 'custom_') === 0) { + list($tableAlias, $fieldName) = $this->addCustomField($fieldInfo, $side, $tableAlias); + } + + // Get ready to recurse to the next level + $fk = $fieldName; + $fkField = &$fkField['FKApiSpec'][$fieldName]; + $prev = $tableAlias; + } + return array($tableAlias, $fieldName); + } + + /** + * Joins onto a custom field + * + * Adds a join to the query to make this field available for use in a clause. + * + * @param array $customField + * @param string $side + * @param string $baseTable + * @return array + * Returns the table and field name for adding this field to a SELECT or WHERE clause + */ + private function addCustomField($customField, $side, $baseTable = self::MAIN_TABLE_ALIAS) { + $tableName = $customField["table_name"]; + $columnName = $customField["column_name"]; + $tableAlias = "{$baseTable}_to_$tableName"; + $this->join($side, $tableName, $tableAlias, array("`$tableAlias`.entity_id = `$baseTable`.id")); + return array($tableAlias, $columnName); + } + + /** + * Fetch a field from the getFields list + * + * Searches by name, uniqueName, and api.aliases + * + * @param string $fieldName + * @return array|null + */ + private function getField($fieldName) { + if (!$fieldName) { + return NULL; + } + if (isset($this->apiFieldSpec[$fieldName])) { + return $this->apiFieldSpec[$fieldName]; + } + foreach ($this->apiFieldSpec as $field) { + if ( + $fieldName == \CRM_Utils_Array::value('uniqueName', $field) || + array_search($fieldName, \CRM_Utils_Array::value('api.aliases', $field, array())) !== FALSE + ) { + return $field; + } + } + return NULL; + } + + /** + * Perform input validation on params that use the join syntax + * + * Arguably this should be done at the api wrapper level, but doing it here provides a bit more consistency + * in that api permissions to perform the join are checked first. + * + * @param $fieldName + * @param $value + * @throws \Exception + */ + private function validateNestedInput($fieldName, &$value) { + $stack = explode('.', $fieldName); + $spec = $this->apiFieldSpec; + $fieldName = array_pop($stack); + foreach ($stack as $depth => $name) { + $entity = $spec[$name]['FKApiName']; + $spec = $spec[$name]['FKApiSpec']; + } + $params = array($fieldName => $value); + \_civicrm_api3_validate_fields($entity, 'get', $params, $spec); + $value = $params[$fieldName]; + } + + /** + * Check permission to join onto another api entity + * + * @param string $entity + * @param array $fieldStack + * The stack of fields leading up to this join + * @return bool + */ + private function checkPermissionToJoin($entity, $fieldStack) { + if (!$this->checkPermissions) { + return TRUE; + } + // Build an array of params that relate to the joined entity + $params = array( + 'version' => 3, + 'return' => array(), + 'check_permissions' => $this->checkPermissions, + ); + $prefix = implode('.', $fieldStack) . '.'; + $len = strlen($prefix); + foreach ($this->options['return'] as $key => $ret) { + if (strpos($key, $prefix) === 0) { + $params['return'][substr($key, $len)] = $ret; + } + } + foreach ($this->params as $key => $param) { + if (strpos($key, $prefix) === 0) { + $params[substr($key, $len)] = $param; + } + } + + return \Civi::service('civi_api_kernel')->runAuthorize($entity, 'get', $params); + } + + /** + * Get acl clause for an entity + * + * @param string $tableAlias + * @param string $baoName + * @param array $stack + * @return array + */ + private function getAclClause($tableAlias, $baoName, $stack = array()) { + if (!$this->checkPermissions) { + return array(); + } + // Prevent (most) redundant acl sub clauses if they have already been applied to the main entity. + // FIXME: Currently this only works 1 level deep, but tracking through multiple joins would increase complexity + // and just doing it for the first join takes care of most acl clause deduping. + if (count($stack) === 1 && in_array($stack[0], $this->aclFields)) { + return array(); + } + $clauses = $baoName::getSelectWhereClause($tableAlias); + if (!$stack) { + // Track field clauses added to the main entity + $this->aclFields = array_keys($clauses); + } + return array_filter($clauses); + } + + /** + * Orders the query by one or more fields + * + * e.g. + * @code + * $this->orderBy(array('last_name DESC', 'birth_date')); + * @endcode + * + * @param string|array $sortParams + * @throws \API_Exception + * @throws \Civi\API\Exception\UnauthorizedException + */ + public function orderBy($sortParams) { + $orderBy = array(); + foreach (is_array($sortParams) ? $sortParams : explode(',', $sortParams) as $item) { + $words = preg_split("/[\s]+/", trim($item)); + if ($words) { + // Direction defaults to ASC unless DESC is specified + $direction = strtoupper(\CRM_Utils_Array::value(1, $words, '')) == 'DESC' ? ' DESC' : ''; + $field = $this->getField($words[0]); + if ($field) { + $orderBy[] = self::MAIN_TABLE_ALIAS . '.' . $field['name'] . $direction; + } + elseif (strpos($words[0], '.')) { + $join = $this->addFkField($words[0], 'LEFT'); + if ($join) { + $orderBy[] = "`{$join[0]}`.`{$join[1]}`$direction"; + } + } + else { + throw new \API_Exception("Unknown field specified for sort. Cannot order by '$item'"); + } + } + } + $this->query->orderBy($orderBy); + } + + /** + * @param string $side + * @param string $tableName + * @param string $tableAlias + * @param array $conditions + */ + public function join($side, $tableName, $tableAlias, $conditions) { + // INNER JOINs take precedence over LEFT JOINs + if ($side != 'LEFT' || !isset($this->joins[$tableAlias])) { + $this->joins[$tableAlias] = $side; + $this->query->join($tableAlias, "$side JOIN `$tableName` `$tableAlias` ON " . implode(' AND ', $conditions)); + } + } + +} diff --git a/Civi/Payment/Exception/PaymentProcessorException.php b/Civi/Payment/Exception/PaymentProcessorException.php new file mode 100644 index 000000000000..6a441f591fae --- /dev/null +++ b/Civi/Payment/Exception/PaymentProcessorException.php @@ -0,0 +1,9 @@ + +
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ang/crmCxn/AboutCtrl.js b/ang/crmCxn/AboutCtrl.js new file mode 100644 index 000000000000..f9b9491e4e0d --- /dev/null +++ b/ang/crmCxn/AboutCtrl.js @@ -0,0 +1,5 @@ +(function(angular, $, _) { + angular.module('crmCxn').controller('CrmCxnConfirmAboutCtrl', function($scope) { + $scope.ts = CRM.ts(null); + }); +})(angular, CRM.$, CRM._); diff --git a/ang/crmCxn/AdvTable.html b/ang/crmCxn/AdvTable.html new file mode 100644 index 000000000000..7080fdd7a902 --- /dev/null +++ b/ang/crmCxn/AdvTable.html @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + +
{{ts('Property')}}{{ts('Value')}}
App ID{{appMeta.appId}}
App URL{{appMeta.appUrl}}
diff --git a/ang/crmCxn/AdvTable.js b/ang/crmCxn/AdvTable.js new file mode 100644 index 000000000000..3ea2bc39e0df --- /dev/null +++ b/ang/crmCxn/AdvTable.js @@ -0,0 +1,20 @@ +(function(angular, $, _) { + + // This directive formats the data in appMeta as a nice table. + // example:
+ angular.module('crmCxn').directive('crmCxnAdvTable', function crmCxnAdvTable() { + return { + restrict: 'EA', + scope: { + crmCxnAdvTable: '=' + }, + templateUrl: '~/crmCxn/AdvTable.html', + link: function(scope, element, attrs) { + scope.ts = CRM.ts(null); + scope.$watch('crmCxnAdvTable', function(crmCxnAdvTable){ + scope.appMeta = crmCxnAdvTable.appMeta; + }); + } + }; + }); +})(angular, CRM.$, CRM._); diff --git a/ang/crmCxn/CheckAddress.js b/ang/crmCxn/CheckAddress.js new file mode 100644 index 000000000000..2313ddd01754 --- /dev/null +++ b/ang/crmCxn/CheckAddress.js @@ -0,0 +1,33 @@ +(function (angular, $, _) { + + angular.module('crmCxn').factory('crmCxnCheckAddr', function($q, $timeout) { + var TIMEOUT = 6000, CHECK_ADDR = 'https://mycivi.org/check-addr'; + return function(url) { + var dfr = $q.defer(), result = null; + + function onErr() { + if (result !== null) return; + result = {url: url, valid: false}; + dfr.resolve(result); + } + + $.ajax({ + url: CHECK_ADDR, + data: {url: url}, + jsonp: "callback", + dataType: "jsonp" + }).fail(onErr) + .done(function(response) { + if (result !== null) return; + result = {url: url, valid: response.result}; + dfr.resolve(result); + } + ); + // JSONP may not provide errors directly. + $timeout(onErr, TIMEOUT); + + return dfr.promise; + }; + }); + +})(angular, CRM.$, CRM._); diff --git a/ang/crmCxn/ConfirmConnectCtrl.html b/ang/crmCxn/ConfirmConnectCtrl.html index 599be449ed66..eadee337aaba 100644 --- a/ang/crmCxn/ConfirmConnectCtrl.html +++ b/ang/crmCxn/ConfirmConnectCtrl.html @@ -9,4 +9,7 @@
+
+
+
diff --git a/ang/crmCxn/ConfirmReconnectCtrl.html b/ang/crmCxn/ConfirmReconnectCtrl.html new file mode 100644 index 000000000000..0b60bd8792b0 --- /dev/null +++ b/ang/crmCxn/ConfirmReconnectCtrl.html @@ -0,0 +1,23 @@ +
+

{{ts('Are you sure you want to reconnect \"%1\"?', {1: appMeta.title})}}

+ +

{{ts('Reconnecting will change the connection details (such as callback URLs and permissions). This can be useful in a few cases, such as:')}}

+ +
    +
  • {{ts('After your site has migrated to a new URL.')}}
  • +
  • {{ts('After the application has migrated to a new URL.')}}
  • +
  • {{ts('After the application has changed permission requirements.')}}
  • +
  • {{ts('After the application has a major failure or reset.')}}
  • +
+ +
+
+
+
+
+
+
+
+
+ +
diff --git a/ang/crmCxn/ConfirmReconnectCtrl.js b/ang/crmCxn/ConfirmReconnectCtrl.js new file mode 100644 index 000000000000..211d415d5d43 --- /dev/null +++ b/ang/crmCxn/ConfirmReconnectCtrl.js @@ -0,0 +1,5 @@ +(function(angular, $, _) { + angular.module('crmCxn').controller('CrmCxnConfirmReconnectCtrl', function($scope) { + $scope.ts = CRM.ts(null); + }); +})(angular, CRM.$, CRM._); diff --git a/ang/crmCxn/Connectivity.html b/ang/crmCxn/Connectivity.html new file mode 100644 index 000000000000..e8a14d8aaa67 --- /dev/null +++ b/ang/crmCxn/Connectivity.html @@ -0,0 +1,4 @@ +

{{ts('There was a problem verifying that this site is available on the public Internet.')}}

+

{{ts('See also:')}} + {{ts('Firewalls and Proxies')}} +

\ No newline at end of file diff --git a/ang/crmCxn/ManageCtrl.html b/ang/crmCxn/ManageCtrl.html index 8a402e239b60..b0cebeb97d8c 100644 --- a/ang/crmCxn/ManageCtrl.html +++ b/ang/crmCxn/ManageCtrl.html @@ -9,6 +9,10 @@ * Extant connections can be portrayed as enabled or disabled. --> +
+

{{ts('Connections provide a simplified way to link your CiviCRM installation to an external service.')}}

+
+

{{ts('Existing Connections')}}

@@ -22,26 +26,59 @@

{{ts('Existing Connections')}}

- - {{cxn.app_meta.title}} + + + {{cxn.app_meta.title}} +
- {{cxn.is_active ? ts('Enabled') : ts('Disabled')}} + {{cxn.is_active=="1" ? ts('Enabled') : ts('Disabled')}} - - {{ts('Settings')}} - {{ts('Logs')}} - {{ts('Docs')}} - {{ts('Support')}} - {{ts('Disconnect')}} + + {{ts('Settings')}} + {{ts('more')}} + + + + +
@@ -57,12 +94,15 @@

{{ts('New Connections')}}

- - {{appMeta.title}} + + + {{appMeta.title}} +
{{ts('Connect')}} diff --git a/ang/crmCxn/ManageCtrl.js b/ang/crmCxn/ManageCtrl.js index 9e7d127c7545..b23901b0cf4f 100644 --- a/ang/crmCxn/ManageCtrl.js +++ b/ang/crmCxn/ManageCtrl.js @@ -1,6 +1,6 @@ (function(angular, $, _) { - angular.module('crmCxn').controller('CrmCxnManageCtrl', function CrmCxnManageCtrl($scope, apiCalls, crmApi, crmUiAlert, crmBlocker, crmStatus, $timeout, dialogService) { + angular.module('crmCxn').controller('CrmCxnManageCtrl', function CrmCxnManageCtrl($scope, apiCalls, crmApi, crmUiAlert, crmBlocker, crmStatus, $timeout, dialogService, crmCxnCheckAddr) { var ts = $scope.ts = CRM.ts(null); if (apiCalls.appMetas.is_error) { $scope.appMetas = []; @@ -12,6 +12,17 @@ $scope.cxns = apiCalls.cxns.values; $scope.alerts = _.where(apiCalls.sysCheck.values, {name: 'checkCxnOverrides'}); + crmCxnCheckAddr(apiCalls.cfg.values.siteCallbackUrl).then(function(response) { + if (response.valid) return; + crmUiAlert({ + type: 'warning', + title: ts('Internet Access Required'), + templateUrl: '~/crmCxn/Connectivity.html', + scope: $scope.$new(), + options: {expires: false} + }); + }); + $scope.filter = {}; var block = $scope.block = crmBlocker(); @@ -19,18 +30,30 @@ crmUiAlert({text: alert.message, title: alert.title, type: 'error'}); }); - $scope.findCxnByAppId = function(appId) { - var result = _.where($scope.cxns, { - app_guid: appId - }); + // Convert array [x] to x|null|error + function asOne(result, msg) { switch (result.length) { case 0: return null; case 1: return result[0]; default: - throw "Error: Too many connections for appId: " + appId; + throw msg; } + } + + $scope.findCxnByAppId = function(appId) { + var result = _.where($scope.cxns, { + app_guid: appId + }); + return asOne(result, "Error: Too many connections for appId: " + appId); + }; + + $scope.findAppByAppId = function(appId) { + var result = _.where($scope.appMetas, { + appId: appId + }); + return asOne(result, "Error: Too many apps for appId: " + appId); }; $scope.hasAvailApps = function() { @@ -56,20 +79,26 @@ return block(crmStatus({start: ts('Connecting...'), success: ts('Connected')}, reg)); }; + $scope.reregister = function(appMeta) { + var reg = crmApi('Cxn', 'register', {app_guid: appMeta.appId}).then($scope.refreshCxns); + return block(crmStatus({start: ts('Reconnecting...'), success: ts('Reconnected')}, reg)); + }; + $scope.unregister = function(appMeta) { var reg = crmApi('Cxn', 'unregister', {app_guid: appMeta.appId, debug: 1}).then($scope.refreshCxns); return block(crmStatus({start: ts('Disconnecting...'), success: ts('Disconnected')}, reg)); }; $scope.toggleCxn = function toggleCxn(cxn) { - var reg = crmApi('Cxn', 'create', {id: cxn.id, is_active: !cxn.is_active, debug: 1}).then(function(){ - cxn.is_active = !cxn.is_active; + var is_active = (cxn.is_active=="1" ? 0 : 1); // we switch the flag + var reg = crmApi('Cxn', 'create', {id: cxn.id, app_guid: cxn.app_meta.appId, is_active: is_active, debug: 1}).then(function(){ + cxn.is_active = is_active; }); return block(crmStatus({start: ts('Saving...'), success: ts('Saved')}, reg)); }; $scope.openLink = function openLink(appMeta, page, options) { - var promise = crmApi('Cxn', 'getlink', {app_guid: appMeta.appId, page: page}).then(function(result) { + var promise = crmApi('Cxn', 'getlink', {app_guid: appMeta.appId, page_name: page}).then(function(result) { var mode = result.values.mode ? result.values.mode : 'popup'; switch (result.values.mode) { case 'iframe': diff --git a/ang/crmMailing/FromAddress.js b/ang/crmMailing/FromAddress.js index 9034da6a22df..aae6499f1c33 100644 --- a/ang/crmMailing/FromAddress.js +++ b/ang/crmMailing/FromAddress.js @@ -18,6 +18,10 @@ var addr = crmFromAddresses.getByLabel(newValue); mailing.from_name = addr.author; mailing.from_email = addr.email; + // CRM-18364: set replyTo as from_email only if custom replyTo is disabled in mail settings. + if (!CRM.crmMailing.enableReplyTo) { + mailing.replyto_email = crmFromAddresses.getByAuthorEmail(mailing.from_name, mailing.from_email, true).label; + } }); // FIXME: Shouldn't we also be watching mailing.from_name and mailing.from_email? } diff --git a/ang/crmMailing/RadioDate.js b/ang/crmMailing/RadioDate.js index 8be382e3d87a..c747f2e275f2 100644 --- a/ang/crmMailing/RadioDate.js +++ b/ang/crmMailing/RadioDate.js @@ -1,7 +1,7 @@ (function(angular, $, _) { // Represent a datetime field as if it were a radio ('schedule.mode') and a datetime ('schedule.datetime'). // example:
...
- angular.module('crmMailing').directive('crmMailingRadioDate', function() { + angular.module('crmMailing').directive('crmMailingRadioDate', function(crmUiAlert) { return { require: 'ngModel', link: function($scope, element, attrs, ngModel) { @@ -48,6 +48,28 @@ if (context === 'userInput' && $(this).val() === '' && $(this).siblings('.crm-form-date').val().length) { schedule.mode = 'at'; schedule.datetime = '?'; + } else { + var d = new Date(), + month = '' + (d.getMonth() + 1), + day = '' + d.getDate(), + year = d.getFullYear(), + hours = '' + d.getHours(), + minutes = '' + d.getMinutes(); + var submittedDate = $(this).val(); + if (month.length < 2) month = '0' + month; + if (day.length < 2) day = '0' + day; + if (hours.length < 2) hours = '0' + hours; + if (minutes.length < 2) minutes = '0' + minutes; + date = [year, month, day].join('-'); + time = [hours, minutes, "00"].join(':'); + currentDate = date + ' ' + time; + ngModel.$setValidity('dateTimeInThePast', !($(this).val().length && submittedDate < currentDate)); + if ($(this).val().length && submittedDate < currentDate) { + crmUiAlert({ + text: ts('The scheduled date and time is in the past'), + title: ts('Error') + }); + } } }); diff --git a/ang/crmMailing/services.js b/ang/crmMailing/services.js index c76da9238f53..420135718265 100644 --- a/ang/crmMailing/services.js +++ b/ang/crmMailing/services.js @@ -453,15 +453,15 @@ angular.module('crmMailing').factory('crmMailingStats', function (crmApi, crmLegacy) { var statTypes = [ - // {name: 'Recipients', title: ts('Intended Recipients'), searchFilter: '', eventsFilter: '&event=queue'}, - {name: 'Delivered', title: ts('Successful Deliveries'), searchFilter: '&mailing_delivery_status=Y', eventsFilter: '&event=delivered'}, - {name: 'Opened', title: ts('Tracked Opens'), searchFilter: '&mailing_open_status=Y', eventsFilter: '&event=opened'}, - {name: 'Unique Clicks', title: ts('Click-throughs'), searchFilter: '&mailing_click_status=Y', eventsFilter: '&event=click&distinct=1'}, - // {name: 'Forward', title: ts('Forwards'), searchFilter: '&mailing_forward=1', eventsFilter: '&event=forward'}, - // {name: 'Replies', title: ts('Replies'), searchFilter: '&mailing_reply_status=Y', eventsFilter: '&event=reply'}, - {name: 'Bounces', title: ts('Bounces'), searchFilter: '&mailing_delivery_status=N', eventsFilter: '&event=bounce'}, - {name: 'Unsubscribers', title: ts('Unsubscribes'), searchFilter: '&mailing_unsubscribe=1', eventsFilter: '&event=unsubscribe'} - // {name: 'OptOuts', title: ts('Opt-Outs'), searchFilter: '&mailing_optout=1', eventsFilter: '&event=optout'} + // {name: 'Recipients', title: ts('Intended Recipients'), searchFilter: '', eventsFilter: '&event=queue', reportType: 'detail', reportFilter: ''}, + {name: 'Delivered', title: ts('Successful Deliveries'), searchFilter: '&mailing_delivery_status=Y', eventsFilter: '&event=delivered', reportType: 'detail', reportFilter: '&delivery_status_value=successful'}, + {name: 'Opened', title: ts('Tracked Opens'), searchFilter: '&mailing_open_status=Y', eventsFilter: '&event=opened', reportType: 'opened', reportFilter: ''}, + {name: 'Unique Clicks', title: ts('Click-throughs'), searchFilter: '&mailing_click_status=Y', eventsFilter: '&event=click&distinct=1', reportType: 'clicks', reportFilter: ''}, + // {name: 'Forward', title: ts('Forwards'), searchFilter: '&mailing_forward=1', eventsFilter: '&event=forward', reportType: 'detail', reportFilter: '&is_forwarded_value=1'}, + // {name: 'Replies', title: ts('Replies'), searchFilter: '&mailing_reply_status=Y', eventsFilter: '&event=reply', reportType: 'detail', reportFilter: '&is_replied_value=1'}, + {name: 'Bounces', title: ts('Bounces'), searchFilter: '&mailing_delivery_status=N', eventsFilter: '&event=bounce', reportType: 'bounce', reportFilter: ''}, + {name: 'Unsubscribers', title: ts('Unsubscribes'), searchFilter: '&mailing_unsubscribe=1', eventsFilter: '&event=unsubscribe', reportType: 'detail', reportFilter: '&is_unsubscribed_value=1'}, + // {name: 'OptOuts', title: ts('Opt-Outs'), searchFilter: '&mailing_optout=1', eventsFilter: '&event=optout', reportType: 'detail', reportFilter: ''} ]; return { @@ -505,12 +505,13 @@ var retParams = returnPath ? '&context=angPage&angPage=' + returnPath : ''; return crmLegacy.url('civicrm/mailing/report/event', 'reset=1&mid=' + mailing.id + statType.eventsFilter + retParams); - case 'search': return crmLegacy.url('civicrm/contact/search/advanced', 'force=1&mailing_id=' + mailing.id + statType.searchFilter); - - // TODO: case 'report': + case 'report': + var reportIds = CRM.crmMailing.reportIds; + return crmLegacy.url('civicrm/report/instance/' + reportIds[statType.reportType], + 'reset=1&mailing_id_value=' + mailing.id + statType.reportFilter); default: return null; } diff --git a/ang/crmMailingAB/EditCtrl/report.html b/ang/crmMailingAB/EditCtrl/report.html index e049b14021d8..89b20a3ec9ef 100644 --- a/ang/crmMailingAB/EditCtrl/report.html +++ b/ang/crmMailingAB/EditCtrl/report.html @@ -70,7 +70,7 @@ @@ -79,6 +79,12 @@ ng-href="{{statUrl(am.mailing, statType, 'events')}}" title="{{ts('Browse events of type \'%1\'', {1: statType.title})}}" >{{stats[am.name][statType.name] || ts('n/a')}} + diff --git a/ang/crmUi.js b/ang/crmUi.js index 448e8809195e..5efa2a48019b 100644 --- a/ang/crmUi.js +++ b/ang/crmUi.js @@ -630,7 +630,7 @@ $timeout(function () { // ex: msg_template_id adds new item then selects it; use $timeout to ensure that // new item is added before selection is made - element.select2('val', ngModel.$viewValue); + element.select2('val', ngModel.$modelValue); }); }; } @@ -673,7 +673,7 @@ $timeout(function () { // ex: msg_template_id adds new item then selects it; use $timeout to ensure that // new item is added before selection is made - element.select2('val', ngModel.$viewValue); + element.select2('val', ngModel.$modelValue); }); }; function refreshModel() { diff --git a/ang/crmUtil.js b/ang/crmUtil.js index b6a0d0131044..fd2d36112870 100644 --- a/ang/crmUtil.js +++ b/ang/crmUtil.js @@ -16,6 +16,11 @@ var deferred = $q.defer(); var p; var backend = crmApi.backend || CRM.api3; + if (params && params.body_html) { + // CRM-18474 - remove Unicode Character 'LINE SEPARATOR' (U+2028) + // and 'PARAGRAPH SEPARATOR' (U+2029) from the html if present. + params.body_html = params.body_html.replace(/([\u2028]|[\u2029])/g, '\n'); + } if (_.isObject(entity)) { // eval content is locally generated. /*jshint -W061 */ diff --git a/api/v3/Acl.php b/api/v3/Acl.php index 3ba552797023..ff022630919d 100644 --- a/api/v3/Acl.php +++ b/api/v3/Acl.php @@ -37,6 +37,7 @@ * @param array $params * * @return array + * API result array */ function civicrm_api3_acl_create($params) { return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params); @@ -48,7 +49,7 @@ function civicrm_api3_acl_create($params) { * @param array $params * * @return array - * Array of retrieved Acl property values. + * API result array */ function civicrm_api3_acl_get($params) { return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params); @@ -60,7 +61,7 @@ function civicrm_api3_acl_get($params) { * @param array $params * * @return array - * Array of deleted values. + * API result array */ function civicrm_api3_acl_delete($params) { return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params); diff --git a/api/v3/Contact.php b/api/v3/Contact.php index f375d0666916..7142453d30b9 100644 --- a/api/v3/Contact.php +++ b/api/v3/Contact.php @@ -57,6 +57,18 @@ function civicrm_api3_contact_create($params) { return $values; } + if (array_key_exists('api_key', $params) && !empty($params['check_permissions'])) { + if (CRM_Core_Permission::check('edit api keys') || CRM_Core_Permission::check('administer CiviCRM')) { + // OK + } + elseif ($contactID && CRM_Core_Permission::check('edit own api keys') && CRM_Core_Session::singleton()->get('userID') == $contactID) { + // OK + } + else { + throw new \Civi\API\Exception\UnauthorizedException('Permission denied to modify api key'); + } + } + if (!$contactID) { // If we get here, we're ready to create a new contact if (($email = CRM_Utils_Array::value('email', $params)) && !is_array($params['email'])) { @@ -217,30 +229,51 @@ function _civicrm_api3_contact_get_spec(&$params) { $params['state_province_id'] = array( 'title' => 'Primary Address State Province ID', 'type' => CRM_Utils_Type::T_INT, + 'pseudoconstant' => array( + 'table' => 'civicrm_state_province', + ), ); $params['state_province_name'] = array( 'title' => 'Primary Address State Province Name', 'type' => CRM_Utils_Type::T_STRING, + 'pseudoconstant' => array( + 'table' => 'civicrm_state_province', + ), ); $params['state_province'] = array( 'title' => 'Primary Address State Province', 'type' => CRM_Utils_Type::T_STRING, + 'pseudoconstant' => array( + 'table' => 'civicrm_state_province', + ), ); $params['country_id'] = array( 'title' => 'Primary Address Country ID', 'type' => CRM_Utils_Type::T_INT, + 'pseudoconstant' => array( + 'table' => 'civicrm_country', + ), ); $params['country'] = array( 'title' => 'Primary Address country', 'type' => CRM_Utils_Type::T_STRING, + 'pseudoconstant' => array( + 'table' => 'civicrm_country', + ), ); $params['worldregion_id'] = array( 'title' => 'Primary Address World Region ID', 'type' => CRM_Utils_Type::T_INT, + 'pseudoconstant' => array( + 'table' => 'civicrm_world_region', + ), ); $params['worldregion'] = array( 'title' => 'Primary Address World Region', 'type' => CRM_Utils_Type::T_STRING, + 'pseudoconstant' => array( + 'table' => 'civicrm_world_region', + ), ); $params['phone_id'] = array( 'title' => 'Primary Phone ID', diff --git a/api/v3/Contribution.php b/api/v3/Contribution.php index 8d1df05359b2..e836eda93cea 100644 --- a/api/v3/Contribution.php +++ b/api/v3/Contribution.php @@ -483,6 +483,14 @@ function _civicrm_api3_contribution_completetransaction_spec(&$params) { */ function civicrm_api3_contribution_repeattransaction(&$params) { $input = $ids = array(); + civicrm_api3_verify_one_mandatory($params, NULL, array('contribution_recur_id', 'original_contribution_id')); + if (empty($params['original_contribution_id'])) { + $params['original_contribution_id'] = civicrm_api3('contribution', 'getvalue', array( + 'return' => 'id', + 'contribution_recur_id' => $params['contribution_recur_id'], + 'options' => array('limit' => 1, 'sort' => 'id DESC'), + )); + } $contribution = new CRM_Contribute_BAO_Contribution(); $contribution->id = $params['original_contribution_id']; if (!$contribution->find(TRUE)) { @@ -499,7 +507,7 @@ function civicrm_api3_contribution_repeattransaction(&$params) { $contribution->contribution_status_id = $params['contribution_status_id']; $contribution->receive_date = $params['receive_date']; - $passThroughParams = array('trxn_id', 'total_amount', 'campaign_id', 'fee_amount'); + $passThroughParams = array('trxn_id', 'total_amount', 'campaign_id', 'fee_amount', 'financial_type_id'); $input = array_intersect_key($params, array_fill_keys($passThroughParams, NULL)); $params = _ipn_process_transaction($params, $contribution, $input, $ids, $original_contribution); @@ -535,7 +543,9 @@ function _ipn_process_transaction(&$params, $contribution, $input, $ids, $firstC $input['component'] = $contribution->_component; $input['is_test'] = $contribution->is_test; $input['amount'] = empty($input['total_amount']) ? $contribution->total_amount : $input['total_amount']; - + if (isset($params['fee_amount'])) { + $input['fee_amount'] = $params['fee_amount']; + } if (isset($params['is_email_receipt'])) { $input['is_email_receipt'] = $params['is_email_receipt']; } @@ -563,8 +573,12 @@ function _ipn_process_transaction(&$params, $contribution, $input, $ids, $firstC function _civicrm_api3_contribution_repeattransaction_spec(&$params) { $params['original_contribution_id'] = array( 'title' => 'Original Contribution ID', + 'description' => 'Contribution ID to copy (will be calculated from recurring contribution if not provided)', + 'type' => CRM_Utils_Type::T_INT, + ); + $params['contribution_recur_id'] = array( + 'title' => 'Recurring contribution ID', 'type' => CRM_Utils_Type::T_INT, - 'api.required' => TRUE, ); $params['trxn_id'] = array( 'title' => 'Transaction ID', @@ -594,6 +608,26 @@ function _civicrm_api3_contribution_repeattransaction_spec(&$params) { 'name' => 'trxn_id', 'type' => CRM_Utils_Type::T_STRING, ); + $params['campaign_id'] = array( + 'title' => 'Campaign ID', + 'name' => 'campaign_id', + 'type' => CRM_Utils_Type::T_INT, + 'pseudoconstant' => array( + 'table' => 'civicrm_campaign', + 'keyColumn' => 'id', + 'labelColumn' => 'title', + ), + ); + $params['financial_type_id'] = array( + 'title' => 'Financial ID (ignored if more than one line item)', + 'name' => 'financial_type_id', + 'type' => CRM_Utils_Type::T_INT, + 'pseudoconstant' => array( + 'table' => 'civicrm_financial_type', + 'keyColumn' => 'id', + 'labelColumn' => 'name', + ), + ); $params['payment_processor_id'] = array( 'description' => ts('Payment processor ID, will be loaded from contribution_recur if not provided'), 'title' => 'Payment processor ID', diff --git a/api/v3/ContributionRecur.php b/api/v3/ContributionRecur.php index 2db4c8dc3c5d..403865b0b891 100644 --- a/api/v3/ContributionRecur.php +++ b/api/v3/ContributionRecur.php @@ -57,6 +57,7 @@ function _civicrm_api3_contribution_recur_create_spec(&$params) { $params['create_date']['api.default'] = 'now'; $params['frequency_interval']['api.required'] = 1; $params['start_date']['api.default'] = 'now'; + $params['modified_date']['api.default'] = 'now'; } /** diff --git a/api/v3/Cxn.php b/api/v3/Cxn.php index cf1a1710f20c..0a31d3c9e420 100644 --- a/api/v3/Cxn.php +++ b/api/v3/Cxn.php @@ -212,13 +212,14 @@ function _civicrm_api3_cxn_getlink_spec(&$spec) { $daoFields = CRM_Cxn_DAO_Cxn::fields(); $spec['app_guid'] = $daoFields['app_guid']; $spec['cxn_guid'] = $daoFields['cxn_guid']; - $spec['page'] = array( - 'name' => 'page', + $spec['page_name'] = array( + 'name' => 'page_name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Page Type'), 'description' => 'The type of page (eg "settings")', 'maxlength' => 63, 'size' => CRM_Utils_Type::HUGE, + 'api.aliases' => array('page'), ); } @@ -235,13 +236,78 @@ function civicrm_api3_cxn_getlink($params) { $cxnId = _civicrm_api3_cxn_parseCxnId($params); $appMeta = CRM_Cxn_BAO_Cxn::getAppMeta($cxnId); - if (empty($params['page']) || !is_string($params['page'])) { + if (empty($params['page_name']) || !is_string($params['page_name'])) { throw new API_Exception("Invalid page"); } /** @var \Civi\Cxn\Rpc\RegistrationClient $client */ $client = \Civi\Core\Container::singleton()->get('cxn_reg_client'); return $client->call($appMeta, 'Cxn', 'getlink', array( - 'page' => $params['page'], + 'page' => $params['page_name'], )); } + +/** + * + * @param array $params + * @return array + * @throws Exception + */ +function civicrm_api3_cxn_getcfg($params) { + $result = array( + 'CIVICRM_CXN_CA' => defined('CIVICRM_CXN_CA') ? CIVICRM_CXN_CA : NULL, + 'CIVICRM_CXN_VIA' => defined('CIVICRM_CXN_VIA') ? CIVICRM_CXN_VIA : NULL, + 'CIVICRM_CXN_APPS_URL' => defined('CIVICRM_CXN_APPS_URL') ? CIVICRM_CXN_APPS_URL : NULL, + 'siteCallbackUrl' => CRM_Cxn_BAO_Cxn::getSiteCallbackUrl(), + ); + return civicrm_api3_create_success($result); +} + +/** + * Creates or modifies a Cxn row. + * + * @param array $params + * Array with keys: + * - id, cxn_guid OR app_guid: string. + * - is_active: boolean. + * - options: JSON + * @return page + * @throws Exception + */ +function civicrm_api3_cxn_create($params) { + $result = ""; + + try { + // get the ID + if (!empty($params['id'])) { + $cxnId = $params['id']; + } + else { + $cxnId = _civicrm_api3_cxn_parseCxnId($params); + } + + // see if it's sth to update + if (isset($params['options']) || isset($params['is_active'])) { + + $dao = new CRM_Cxn_DAO_Cxn(); + $dao->id = $cxnId; + + if ($dao->find()) { + if (isset($params['is_active'])) { + $dao->is_active = (int) $params['is_active']; + } + if (isset($params['options'])) { + $dao->options = $params['options']; + } + + $result = $dao->save(); + } + + } + return civicrm_api3_create_success($result, $params, 'Cxn', 'create'); + + } + catch(Exception $ex){ + throw $ex; + } +} diff --git a/api/v3/EntityFinancialTrxn.php b/api/v3/EntityFinancialTrxn.php new file mode 100644 index 000000000000..d3da3bb07b62 --- /dev/null +++ b/api/v3/EntityFinancialTrxn.php @@ -0,0 +1,82 @@ + array( + 'title' => 'Field name', + 'description' => 'Name or alias of field to lookup', + 'api.required' => 1, + 'type' => CRM_Utils_Type::T_STRING, + ), + 'action' => array( + 'title' => 'API Action', + 'api.required' => 1, + 'type' => CRM_Utils_Type::T_STRING, + 'api.aliases' => array('api_action'), + ), + 'get_options' => array( + 'title' => 'Get Options', + 'description' => 'Context for which to get field options, or null to skip fetching options.', + 'type' => CRM_Utils_Type::T_STRING, + 'options' => CRM_Core_DAO::buildOptionsContext(), + 'api.aliases' => array('context'), + ), + ); + // Add available options to these params if requested + if (array_intersect(array('all', 'action'), $apiRequest['params']['options']['get_options'])) { + $actions = civicrm_api3($apiRequest['entity'], 'getactions'); + $actions = array_combine($actions['values'], $actions['values']); + // Let's not go meta-crazy + CRM_Utils_Array::remove($actions, 'getactions', 'getoptions', 'getfields', 'getfield', 'getcount', 'getrefcount', 'getsingle', 'getlist', 'getvalue', 'setvalue', 'update'); + $params['action']['options'] = $actions; + } +} + /** * API return function to reformat results as count. * diff --git a/api/v3/OptionGroup.php b/api/v3/OptionGroup.php index 68ed79bd8ad8..b7b0e7ebdc60 100644 --- a/api/v3/OptionGroup.php +++ b/api/v3/OptionGroup.php @@ -66,6 +66,7 @@ function civicrm_api3_option_group_create($params) { */ function _civicrm_api3_option_group_create_spec(&$params) { $params['name']['api.unique'] = 1; + $params['is_active']['api.default'] = TRUE; } /** diff --git a/api/v3/System.php b/api/v3/System.php index 09affcba060e..5afe35c06f1e 100644 --- a/api/v3/System.php +++ b/api/v3/System.php @@ -182,14 +182,19 @@ function civicrm_api3_system_get($params) { 'uf' => CIVICRM_UF, // deprecated in favor of cms.type 'php' => array( 'version' => phpversion(), + 'time' => time(), 'tz' => date_default_timezone_get(), + 'sapi' => php_sapi_name(), 'extensions' => get_loaded_extensions(), 'ini' => _civicrm_api3_system_get_redacted_ini(), ), 'mysql' => array( 'version' => CRM_Core_DAO::singleValueQuery('SELECT @@version'), + 'time' => CRM_Core_DAO::singleValueQuery('SELECT unix_timestamp()'), + 'vars' => _civicrm_api3_system_get_redacted_mysql(), ), 'cms' => array( + 'version' => $config->userSystem->getVersion(), 'type' => CIVICRM_UF, 'modules' => CRM_Core_Module::collectStatuses($config->userSystem->getModules()), ), @@ -202,8 +207,21 @@ function civicrm_api3_system_get($params) { CRM_Extension_System::singleton()->getManager()->getStatuses(), PREG_GREP_INVERT ), + 'multidomain' => CRM_Core_DAO::singleValueQuery('SELECT count(*) FROM civicrm_domain') > 1, + 'settings' => _civicrm_api3_system_get_redacted_settings(), 'exampleUrl' => CRM_Utils_System::url('civicrm/example', NULL, TRUE, NULL, FALSE), ), + 'http' => array( + 'software' => CRM_Utils_Array::value('SERVER_SOFTWARE', $_SERVER), + 'forwarded' => !empty($_SERVER['HTTP_X_FORWARDED_FOR']) || !empty($_SERVER['X_FORWARDED_PROTO']), + 'port' => (empty($_SERVER['SERVER_PORT']) || $_SERVER['SERVER_PORT'] == 80 || $_SERVER['SERVER_PORT'] == 443) ? 'Standard' : 'Nonstandard', + ), + 'os' => array( + 'type' => php_uname('s'), + 'release' => php_uname('r'), + 'version' => php_uname('v'), + 'machine' => php_uname('m'), + ), ), ); @@ -234,13 +252,7 @@ function civicrm_api3_system_get($params) { function _civicrm_api3_system_get_redacted_ini() { static $whitelist = NULL; if ($whitelist === NULL) { - $whitelistFile = __DIR__ . '/System/ini-whitelist.txt'; - $whitelist = array_filter( - explode("\n", file_get_contents($whitelistFile)), - function ($k) { - return !empty($k) && !preg_match('/^\s*#/', $k); - } - ); + $whitelist = _civicrm_api3_system_get_whitelist(__DIR__ . '/System/ini-whitelist.txt'); } $inis = ini_get_all(NULL, FALSE); @@ -256,3 +268,66 @@ function ($k) { return $result; } + +/** + * Generate ae sanitized/anonymized/redacted dump of MySQL configuration. + * + * @return array + * @see _civicrm_api3_system_get_redacted_ini + */ +function _civicrm_api3_system_get_redacted_mysql() { + static $whitelist = NULL; + if ($whitelist === NULL) { + $whitelist = _civicrm_api3_system_get_whitelist(__DIR__ . '/System/mysql-whitelist.txt'); + } + + $inis = ini_get_all(NULL, FALSE); + $result = array(); + $dao = CRM_Core_DAO::executeQuery('SHOW VARIABLES'); + while ($dao->fetch()) { + if (empty($dao->Variable_name) || in_array($dao->Variable_name, $whitelist)) { + $result[$dao->Variable_name] = $dao->Value; + } + else { + $result[$dao->Variable_name] = 'REDACTED'; + } + } + + return $result; +} + +function _civicrm_api3_system_get_redacted_settings() { + static $whitelist = NULL; + if ($whitelist === NULL) { + $whitelist = _civicrm_api3_system_get_whitelist(__DIR__ . '/System/setting-whitelist.txt'); + } + + $apiResult = civicrm_api3('Setting', 'get', array()); + $result = array(); + foreach ($apiResult['values'] as $settings) { + foreach ($settings as $key => $value) { + if (in_array($key, $whitelist)) { + $result[$key] = $value; + } + } + } + + return $result; +} + +/** + * Read a whitelist. + * + * @param string $whitelistFile + * Name of a file. Each line is a field name. Comments begin with "#". + * @return array + */ +function _civicrm_api3_system_get_whitelist($whitelistFile) { + $whitelist = array_filter( + explode("\n", file_get_contents($whitelistFile)), + function ($k) { + return !empty($k) && !preg_match('/^\s*#/', $k); + } + ); + return $whitelist; +} diff --git a/api/v3/System/mysql-whitelist.txt b/api/v3/System/mysql-whitelist.txt new file mode 100644 index 000000000000..bd5419e8a8a4 --- /dev/null +++ b/api/v3/System/mysql-whitelist.txt @@ -0,0 +1,328 @@ +auto_increment_increment +auto_increment_offset +autocommit +automatic_sp_privileges +back_log +#|| basedir | /Applications/MAMP/Library/ | +big_tables +binlog_cache_size +binlog_direct_non_transactional_updates +binlog_format +binlog_stmt_cache_size +bulk_insert_buffer_size +character_set_client +character_set_connection +character_set_database +character_set_filesystem +character_set_results +character_set_server +character_set_system +#|| character_sets_dir | /Applications/MAMP/Library/share/charsets/ | +collation_connection +collation_database +collation_server +#|| completion_type | NO_CHAIN | +concurrent_insert +connect_timeout +#|| datadir | /Users/foobar/.amp/ram_disk/mysql/ | +date_format +datetime_format +default_storage_engine +default_week_format +delay_key_write +delayed_insert_limit +delayed_insert_timeout +delayed_queue_size +#|| div_precision_increment | 4 | +#|| engine_condition_pushdown | ON | +error_count +#|| event_scheduler | OFF | +#|| expire_logs_days | 0 | +#|| external_user | | +flush +flush_time +foreign_key_checks +ft_boolean_syntax +ft_max_word_len +ft_min_word_len +ft_query_expansion_limit +#|| ft_stopword_file | (built-in) | +#|| general_log | OFF | +#|| general_log_file | /Users/foobar/.amp/ram_disk/mysql/whizbangz.log | +group_concat_max_len +have_compress +have_crypt +have_csv +have_dynamic_loading +have_geometry +have_innodb +have_ndbcluster +have_openssl +have_partitioning +have_profiling +have_query_cache +have_rtree_keys +have_ssl +have_symlink +#|| hostname | whizbangz.local | +#|| identity | 0 | +ignore_builtin_innodb +#|| init_connect | | +#|| init_file | | +#|| init_slave | | +innodb_adaptive_flushing +innodb_adaptive_hash_index +innodb_additional_mem_pool_size +innodb_autoextend_increment +innodb_autoinc_lock_mode +innodb_buffer_pool_instances +innodb_buffer_pool_size +#|| innodb_change_buffering | all | +#|| innodb_checksums | ON | +innodb_commit_concurrency +innodb_concurrency_tickets +#|| innodb_data_file_path | ibdata1:10M:autoextend | +#|| innodb_data_home_dir | | +innodb_doublewrite +innodb_fast_shutdown +innodb_file_format +innodb_file_format_check +innodb_file_format_max +innodb_file_per_table +innodb_flush_log_at_trx_commit +#|| innodb_flush_method | | +#|| innodb_force_load_corrupted | OFF | +#|| innodb_force_recovery | 0 | +innodb_io_capacity +#|| innodb_large_prefix | OFF | +innodb_lock_wait_timeout +#|| innodb_locks_unsafe_for_binlog | OFF | +innodb_log_buffer_size +innodb_log_file_size +innodb_log_files_in_group +#|| innodb_log_group_home_dir | ./ | +#|| innodb_max_dirty_pages_pct | 75 | +#|| innodb_max_purge_lag | 0 | +#|| innodb_mirrored_log_groups | 1 | +#|| innodb_old_blocks_pct | 37 | +#|| innodb_old_blocks_time | 0 | +innodb_open_files +innodb_print_all_deadlocks +#|| innodb_purge_batch_size | 20 | +#|| innodb_purge_threads | 0 | +#|| innodb_random_read_ahead | OFF | +#|| innodb_read_ahead_threshold | 56 | +#|| innodb_read_io_threads | 4 | +innodb_replication_delay +innodb_rollback_on_timeout +innodb_rollback_segments +innodb_spin_wait_delay +innodb_stats_method +#|| innodb_stats_on_metadata | ON | +#|| innodb_stats_sample_pages | 8 | +innodb_strict_mode +innodb_support_xa +innodb_sync_spin_loops +innodb_table_locks +innodb_thread_concurrency +#|| innodb_thread_sleep_delay | 10000 | +#|| innodb_use_native_aio | OFF | +#|| innodb_use_sys_malloc | ON | +innodb_version +innodb_write_io_threads +#|| insert_id | 0 | +#|| interactive_timeout | 28800 | +join_buffer_size +#|| keep_files_on_create | OFF | +key_buffer_size +key_cache_age_threshold +key_cache_block_size +key_cache_division_limit +large_files_support +large_page_size +large_pages +#|| last_insert_id | 0 | +lc_messages +#|| lc_messages_dir | /Applications/MAMP/Library/share/ | +lc_time_names +#|| license | GPL | +#|| local_infile | ON | +lock_wait_timeout +#|| locked_in_memory | OFF | +#|| log | OFF | +#|| log_bin | OFF | +#|| log_bin_trust_function_creators | OFF | +#|| log_error | | +#|| log_output | FILE | +#|| log_queries_not_using_indexes | OFF | +#|| log_slave_updates | OFF | +#|| log_slow_queries | OFF | +#|| log_warnings | 1 | +long_query_time +#|| low_priority_updates | OFF | +lower_case_file_system +lower_case_table_names +max_allowed_packet +max_binlog_cache_size +max_binlog_size +max_binlog_stmt_cache_size +max_connect_errors +max_connections +max_delayed_threads +max_error_count +max_heap_table_size +max_insert_delayed_threads +max_join_size +max_length_for_sort_data +max_long_data_size +max_prepared_stmt_count +max_relay_log_size +max_seeks_for_key +max_sort_length +max_sp_recursion_depth +max_tmp_tables +max_user_connections +max_write_lock_count +metadata_locks_cache_size +#|| min_examined_row_limit | 0 | +#|| multi_range_count | 256 | +#|| myisam_data_pointer_size | 6 | +#|| myisam_max_sort_file_size | 9223372036853727232 | +#|| myisam_mmap_size | 18446744073709551615 | +#|| myisam_recover_options | OFF | +#|| myisam_repair_threads | 1 | +#|| myisam_sort_buffer_size | 8388608 | +#|| myisam_stats_method | nulls_unequal | +#|| myisam_use_mmap | OFF | +net_buffer_length +net_read_timeout +net_retry_count +net_write_timeout +#|| new | OFF | +#|| old | OFF | +#|| old_alter_table | OFF | +#|| old_passwords | OFF | +#|| open_files_limit | 961 | +optimizer_prune_level +optimizer_search_depth +#|| optimizer_switch | index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on | +#|| performance_schema | OFF | +#|| performance_schema_events_waits_history_long_size | 10000 | +#|| performance_schema_events_waits_history_size | 10 | +#|| performance_schema_max_cond_classes | 80 | +#|| performance_schema_max_cond_instances | 1000 | +#|| performance_schema_max_file_classes | 50 | +#|| performance_schema_max_file_handles | 32768 | +#|| performance_schema_max_file_instances | 10000 | +#|| performance_schema_max_mutex_classes | 200 | +#|| performance_schema_max_mutex_instances | 1000000 | +#|| performance_schema_max_rwlock_classes | 30 | +#|| performance_schema_max_rwlock_instances | 1000000 | +#|| performance_schema_max_table_handles | 100000 | +#|| performance_schema_max_table_instances | 50000 | +#|| performance_schema_max_thread_classes | 50 | +#|| performance_schema_max_thread_instances | 1000 | +#|| pid_file | /Users/foobar/.amp/ram_disk/tmp/mysqld.pid | +#|| plugin_dir | /Applications/MAMP/Library/lib/plugin/ | +#|| port | 3307 | +#|| preload_buffer_size | 32768 | +profiling +profiling_history_size +protocol_version +#|| proxy_user | | +#|| pseudo_slave_mode | OFF | +#|| pseudo_thread_id | 834 | +query_alloc_block_size +query_cache_limit +query_cache_min_res_unit +query_cache_size +query_cache_type +query_cache_wlock_invalidate +query_prealloc_size +#|| rand_seed1 | 0 | +#|| rand_seed2 | 0 | +#|| range_alloc_block_size | 4096 | +read_buffer_size +read_only +read_rnd_buffer_size +#|| relay_log | | +#|| relay_log_index | | +#|| relay_log_info_file | relay-log.info | +#|| relay_log_purge | ON | +#|| relay_log_recovery | OFF | +#|| relay_log_space_limit | 0 | +#|| report_host | | +#|| report_password | | +#|| report_port | 3307 | +#|| report_user | | +#|| rpl_recovery_rank | 0 | +#|| secure_auth | OFF | +#|| secure_file_priv | | +#|| server_id | 0 | +#|| skip_external_locking | ON | +#|| skip_name_resolve | OFF | +skip_networking +#|| skip_show_database | OFF | +#|| slave_compressed_protocol | OFF | +#|| slave_exec_mode | STRICT | +#|| slave_load_tmpdir | /Users/foobar/.amp/ram_disk/tmp | +#|| slave_max_allowed_packet | 1073741824 | +#|| slave_net_timeout | 3600 | +#|| slave_skip_errors | OFF | +#|| slave_transaction_retries | 10 | +#|| slave_type_conversions | | +#|| slow_launch_time | 2 | +#|| slow_query_log | OFF | +#|| slow_query_log_file | /Users/foobar/.amp/ram_disk/mysql/whizbangz-slow.log | +#|| socket | /Users/foobar/.amp/ram_disk/tmp/mysqld.sock | +#|| sort_buffer_size | 2097152 | +sql_auto_is_null +sql_big_selects +sql_big_tables +sql_log_bin +sql_log_off +sql_low_priority_updates +sql_max_join_size +sql_mode +sql_notes +sql_quote_show_create +sql_safe_updates +sql_select_limit +sql_slave_skip_counter +sql_warnings +#|| ssl_ca | | +#|| ssl_capath | | +#|| ssl_cert | | +#|| ssl_cipher | | +#|| ssl_key | | +storage_engine +stored_program_cache +#|| sync_binlog | 0 | +#|| sync_frm | ON | +#|| sync_master_info | 0 | +#|| sync_relay_log | 0 | +#|| sync_relay_log_info | 0 | +system_time_zone +table_definition_cache +table_open_cache +thread_cache_size +thread_concurrency +thread_handling +thread_stack +time_format +time_zone +timed_mutexes +#|| timestamp | 1449353441 | +tmp_table_size +#|| tmpdir | /Users/foobar/.amp/ram_disk/tmp | +transaction_alloc_block_size +transaction_prealloc_size +tx_isolation +unique_checks +updatable_views_with_limit +version +version_comment +version_compile_machine +version_compile_os +wait_timeout +warning_count diff --git a/api/v3/System/setting-whitelist.txt b/api/v3/System/setting-whitelist.txt new file mode 100644 index 000000000000..5f4b74bd9bfe --- /dev/null +++ b/api/v3/System/setting-whitelist.txt @@ -0,0 +1,41 @@ +## As a rule of thumb, we include booleans/integer/enum settings +## but omit free-form settings which could include identifying info. +ajaxPopupsEnabled +allowPermDeleteFinancial +backtrace +civimail_multiple_bulk_emails +civimail_server_wide_lock +civimail_workflow +contact_ajax_check_similar +contact_undelete +debug_enabled +disable_core_css +disable_mandatory_tokens_check +editor_id +enableSSL +enable_cart +enable_innodb_fts +fts_query_mode +includeAlphabeticalPager +includeEmailInName +includeNickNameInName +includeOrderByClause +includeWildCardInName +inheritLocale +languageLimit +lcMessages +legacyEncoding +logging +mailThrottleTime +mailerBatchLimit +mailerJobSize +mailerJobsMax +maxFileSize +max_attachments +replyTo +secondDegRelPermissions +securityAlert +smartGroupCacheTimeout +track_civimail_replies +uniq_email_per_site +verifySSL diff --git a/api/v3/utils.php b/api/v3/utils.php index 911419489ed0..3754a00017f4 100644 --- a/api/v3/utils.php +++ b/api/v3/utils.php @@ -373,7 +373,7 @@ function _civicrm_api3_get_DAO($name) { } /** - * Return the DAO of the function or Entity. + * Return the BAO name of the function or Entity. * * @param string $name * Is either a function of the api (civicrm_{entity}_create or the entity name. @@ -460,6 +460,75 @@ function _civicrm_api3_store_values(&$fields, &$params, &$values) { return $valueFound; } +/** + * Returns field names of the given entity fields. + * + * @param array $fields + * Fields array to retrieve the field names for. + * @return array + */ +function _civicrm_api3_field_names($fields) { + $result = array(); + foreach ($fields as $key => $value) { + if (!empty($value['name'])) { + $result[] = $value['name']; + } + } + return $result; +} + +/** + * Returns an array with database information for the custom fields of an + * entity. + * + * Something similar might already exist in CiviCRM. But I was not + * able to find it. + * + * @param string $entity + * + * @return array + * an array that maps the custom field ID's to table name and + * column name. E.g.: + * { + * '1' => array { + * 'table_name' => 'table_name_1', + * 'column_name' => 'column_name_1', + * 'data_type' => 'data_type_1', + * }, + * } + */ +function _civicrm_api3_custom_fields_for_entity($entity) { + $result = array(); + + $query = " +SELECT f.id, f.label, f.data_type, + f.html_type, f.is_search_range, + f.option_group_id, f.custom_group_id, + f.column_name, g.table_name, + f.date_format,f.time_format + FROM civicrm_custom_field f + JOIN civicrm_custom_group g ON f.custom_group_id = g.id + WHERE g.is_active = 1 + AND f.is_active = 1 + AND g.extends = %1"; + + $params = array( + '1' => array($entity, 'String'), + ); + + $dao = CRM_Core_DAO::executeQuery($query, $params); + while ($dao->fetch()) { + $result[$dao->id] = array( + 'table_name' => $dao->table_name, + 'column_name' => $dao->column_name, + 'data_type' => $dao->data_type, + ); + } + $dao->free(); + + return $result; +} + /** * Get function for query object api. * @@ -480,10 +549,16 @@ function _civicrm_api3_store_values(&$fields, &$params, &$values) { * Array of options (so we can modify the filter). * @param bool $getCount * Are we just after the count. + * @param int $mode + * This basically correlates to the component. + * @param null|array $defaultReturnProperties + * Default return properties for the entity + * (used if return not set - but don't do that - set return!). * * @return array + * @throws API_Exception */ -function _civicrm_api3_get_using_query_object($entity, $params, $additional_options = array(), $getCount = NULL) { +function _civicrm_api3_get_using_query_object($entity, $params, $additional_options = array(), $getCount = NULL, $mode = 1, $defaultReturnProperties = NULL) { $lowercase_entity = _civicrm_api_get_entity_name_from_camel($entity); // Convert id to e.g. contact_id if (empty($params[$lowercase_entity . '_id']) && isset($params['id'])) { @@ -502,7 +577,7 @@ function _civicrm_api3_get_using_query_object($entity, $params, $additional_opti CRM_Utils_Array::value('return', $additional_options, array()) ); if (empty($returnProperties)) { - $returnProperties = NULL; + $returnProperties = $defaultReturnProperties; } if (!empty($params['check_permissions'])) { // we will filter query object against getfields @@ -540,7 +615,7 @@ function _civicrm_api3_get_using_query_object($entity, $params, $additional_opti $skipPermissions = !empty($params['check_permissions']) ? 0 : 1; - list($entities, $options) = CRM_Contact_BAO_Query::apiQuery( + list($entities) = CRM_Contact_BAO_Query::apiQuery( $newParams, $returnProperties, NULL, @@ -549,7 +624,8 @@ function _civicrm_api3_get_using_query_object($entity, $params, $additional_opti $limit, $smartGroupCache, $getCount, - $skipPermissions + $skipPermissions, + $mode ); if ($getCount) { // only return the count of contacts @@ -605,14 +681,19 @@ function _civicrm_api3_get_query_object($params, $mode, $entity) { /** * Function transfers the filters being passed into the DAO onto the params object. * + * @deprecated DAO based retrieval is being phased out. + * * @param CRM_Core_DAO $dao * @param array $params * @param bool $unique + * @param array $extraSql + * API specific queries eg for event isCurrent would be converted to + * $extraSql['where'] = array('civicrm_event' => array('(start_date >= CURDATE() || end_date >= CURDATE())')); * * @throws API_Exception * @throws Exception */ -function _civicrm_api3_dao_set_filter(&$dao, $params, $unique = TRUE) { +function _civicrm_api3_dao_set_filter(&$dao, $params, $unique = TRUE, $extraSql = array()) { $entity = _civicrm_api_get_entity_name_from_dao($dao); $lowercase_entity = _civicrm_api_get_entity_name_from_camel($entity); if (!empty($params[$lowercase_entity . "_id"]) && empty($params['id'])) { @@ -668,6 +749,13 @@ function _civicrm_api3_dao_set_filter(&$dao, $params, $unique = TRUE) { } } } + if (!empty($extraSql['where'])) { + foreach ($extraSql['where'] as $table => $sqlWhere) { + foreach ($sqlWhere as $where) { + $dao->whereAdd($where); + } + } + } if (!empty($options['return']) && is_array($options['return']) && empty($options['is_count'])) { $dao->selectAdd(); // Ensure 'id' is included. @@ -807,7 +895,7 @@ function _civicrm_api3_get_options_from_params(&$params, $queryObject = FALSE, $ return $options; } //here comes the legacy support for $returnProperties, $inputParams e.g for contat_get - // if the queryobject is being used this should be used + // if the query object is being used this should be used $inputParams = array(); $legacyreturnProperties = array(); $otherVars = array( @@ -906,6 +994,8 @@ function _civicrm_api3_get_unique_name_array(&$bao) { /** * Converts an DAO object to an array. * + * @deprecated - DAO based retrieval is being phased out. + * * @param CRM_Core_DAO $dao * Object to convert. * @param array $params @@ -931,8 +1021,7 @@ function _civicrm_api3_dao_to_array($dao, $params = NULL, $uniqueFields = TRUE, return $dao->count; } - $fields = array_keys(_civicrm_api3_build_fields_array($dao, $uniqueFields)); - + $fields = array_keys(_civicrm_api3_build_fields_array($dao, FALSE)); while ($dao->fetch()) { $tmp = array(); foreach ($fields as $key) { @@ -977,6 +1066,7 @@ function _civicrm_api3_custom_fields_are_required($entity, $params) { return TRUE; } } + /** * Converts an object to an array. * @@ -1178,7 +1268,7 @@ function formatCheckBoxField(&$checkboxFieldValue, $customFieldLabel, $entity) { * @param string $daoName * @param bool $return * - * @daoName string DAO to check params agains + * @daoName string DAO to check params against * * @return bool * Should the missing fields be returned as an array (core error created as default) @@ -1238,18 +1328,22 @@ function _civicrm_api3_check_required_fields($params, $daoName, $return = FALSE) * @param bool $returnAsSuccess * Return in api success format. * @param string $entity + * @param CRM_Utils_SQL_Select|NULL $sql + * Extra SQL bits to add to the query. For filtering current events, this might be: + * CRM_Utils_SQL_Select::fragment()->where('(start_date >= CURDATE() || end_date >= CURDATE())'); + * @param bool $uniqueFields + * Should unique field names be returned (for backward compatibility) * * @return array */ -function _civicrm_api3_basic_get($bao_name, &$params, $returnAsSuccess = TRUE, $entity = "") { - $bao = new $bao_name(); - _civicrm_api3_dao_set_filter($bao, $params, TRUE); +function _civicrm_api3_basic_get($bao_name, $params, $returnAsSuccess = TRUE, $entity = "", $sql = NULL, $uniqueFields = FALSE) { + $query = new \Civi\API\SelectQuery($bao_name, $params, $uniqueFields); + $query->merge($sql); + $result = $query->run(); if ($returnAsSuccess) { - return civicrm_api3_create_success(_civicrm_api3_dao_to_array($bao, $params, FALSE, $entity), $params, $entity, 'get'); - } - else { - return _civicrm_api3_dao_to_array($bao, $params, FALSE, $entity, 'get'); + return civicrm_api3_create_success($result, $params, $entity, 'get'); } + return $result; } /** @@ -1292,7 +1386,7 @@ function _civicrm_api3_basic_create($bao_name, &$params, $entity = NULL) { return civicrm_api3_create_error('Entity not created (' . $fct_name . ')'); } elseif (is_a($bao, 'CRM_Core_Error')) { - //some wierd circular thing means the error takes itself as an argument + //some weird circular thing means the error takes itself as an argument $msg = $bao->getMessages($bao); // the api deals with entities on a one-by-one basis. However, the contribution bao pushes entities // onto the error object - presumably because the contribution import is not handling multiple errors correctly @@ -1405,7 +1499,7 @@ function _civicrm_api3_basic_delete($bao_name, &$params) { */ function _civicrm_api3_custom_data_get(&$returnArray, $entity, $entity_id, $groupID = NULL, $subType = NULL, $subName = NULL) { $groupTree = CRM_Core_BAO_CustomGroup::getTree($entity, - CRM_Core_DAO::$_nullObject, + NULL, $entity_id, $groupID, $subType, @@ -1798,6 +1892,9 @@ function _civicrm_api_get_fields($entity, $unique = FALSE, &$params = array()) { } } $fields += _civicrm_api_get_custom_fields($entity, $params); + if ($entity == 'Contact') { + $fields += _civicrm_api_get_fields('Address'); + } return $fields; } @@ -2185,6 +2282,9 @@ function _civicrm_api3_api_match_pseudoconstant_value(&$value, $options, $fieldN * fieldName or FALSE if the field does not exist */ function _civicrm_api3_api_resolve_alias($entity, $fieldName, $action = 'create') { + if (!$fieldName) { + return FALSE; + } if (strpos($fieldName, 'custom_') === 0 && is_numeric($fieldName[7])) { return $fieldName; } @@ -2203,7 +2303,7 @@ function _civicrm_api3_api_resolve_alias($entity, $fieldName, $action = 'create' return $meta[$fieldName]['name']; } foreach ($meta as $info) { - if ($fieldName == CRM_Utils_Array::value('uniqueName', $info)) { + if ($fieldName == $info['name'] || $fieldName == CRM_Utils_Array::value('uniqueName', $info)) { return $info['name']; } if (array_search($fieldName, CRM_Utils_Array::value('api.aliases', $info, array())) !== FALSE) { @@ -2266,6 +2366,7 @@ function _civicrm_api3_field_value_check(&$params, $fieldName) { * _civicrm_api3_basic_get but does not use DAO/BAO. This is useful for * small/mid-size data loaded from external JSON or XML documents. * + * @param $entity * @param array $params * API parameters. * @param array $records @@ -2274,7 +2375,9 @@ function _civicrm_api3_field_value_check(&$params, $fieldName) { * The property which defines the ID of a record * @param array $fields * List of filterable fields. + * * @return array + * @throws \API_Exception */ function _civicrm_api3_basic_array_get($entity, $params, $records, $idCol, $fields) { $options = _civicrm_api3_get_options_from_params($params, TRUE, $entity, 'get'); diff --git a/composer.json b/composer.json index 5637ddf612f4..35e32382ee11 100644 --- a/composer.json +++ b/composer.json @@ -2,9 +2,11 @@ "autoload": { "psr-0": { "PHPUnit_": ["packages/"], + "Civi": "", "Civi\\": [".", "tests/phpunit/"] } }, + "include-path": ["vendor/tecnickcom"], "require": { "dompdf/dompdf" : "0.6.*", "symfony/dependency-injection": "2.3.*", @@ -12,15 +14,18 @@ "symfony/process": "2.3.*", "psr/log": "1.0.0", "symfony/finder": "2.3.*", + "tecnickcom/tcpdf" : "6.2.*", "totten/ca-config": "~13.02", - "civicrm/civicrm-cxn-rpc": "~0.15.07.27" + "civicrm/civicrm-cxn-rpc": "~0.15.12.04" }, "scripts": { "post-install-cmd": [ - "bash tools/scripts/composer/dompdf-cleanup.sh" + "bash tools/scripts/composer/dompdf-cleanup.sh", + "bash tools/scripts/composer/tcpdf-cleanup.sh" ], "post-update-cmd": [ - "bash tools/scripts/composer/dompdf-cleanup.sh" + "bash tools/scripts/composer/dompdf-cleanup.sh", + "bash tools/scripts/composer/tcpdf-cleanup.sh" ] } } diff --git a/composer.lock b/composer.lock index 7450d256de22..070798ee6442 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,21 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "94145c3d8822e929bea514a67dd54f15", + "hash": "e4049717f3ff5f9f303ea41e24167cd7", + "content-hash": "24925810ee175da5ce6472dfa2b8f3bb", "packages": [ { "name": "civicrm/civicrm-cxn-rpc", - "version": "v0.15.07.27", + "version": "v0.15.12.04", "source": { "type": "git", "url": "https://github.com/civicrm/civicrm-cxn-rpc.git", - "reference": "b6738943aec5b94be5bdc157453142c87851b684" + "reference": "6e3a0f956860908a240758ab8c80a020549a6f03" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/civicrm/civicrm-cxn-rpc/zipball/b6738943aec5b94be5bdc157453142c87851b684", - "reference": "b6738943aec5b94be5bdc157453142c87851b684", + "url": "https://api.github.com/repos/civicrm/civicrm-cxn-rpc/zipball/6e3a0f956860908a240758ab8c80a020549a6f03", + "reference": "6e3a0f956860908a240758ab8c80a020549a6f03", "shasum": "" }, "require": { @@ -44,20 +45,20 @@ } ], "description": "RPC library for CiviConnect", - "time": "2015-07-28 02:17:20" + "time": "2015-12-05 04:41:02" }, { "name": "dompdf/dompdf", - "version": "v0.6.1", + "version": "v0.6.2", "source": { "type": "git", "url": "https://github.com/dompdf/dompdf.git", - "reference": "cf7d8a0a27270418850cc7d7ea532159e5eeb3eb" + "reference": "cc06008f75262510ee135b8cbb14e333a309f651" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dompdf/dompdf/zipball/cf7d8a0a27270418850cc7d7ea532159e5eeb3eb", - "reference": "cf7d8a0a27270418850cc7d7ea532159e5eeb3eb", + "url": "https://api.github.com/repos/dompdf/dompdf/zipball/cc06008f75262510ee135b8cbb14e333a309f651", + "reference": "cc06008f75262510ee135b8cbb14e333a309f651", "shasum": "" }, "require": { @@ -85,7 +86,7 @@ ], "description": "DOMPDF is a CSS 2.1 compliant HTML to PDF converter", "homepage": "https://github.com/dompdf/dompdf", - "time": "2014-03-11 01:59:52" + "time": "2015-12-07 04:07:13" }, { "name": "phenx/php-font-lib", @@ -263,12 +264,12 @@ "target-dir": "Symfony/Component/DependencyInjection", "source": { "type": "git", - "url": "https://github.com/symfony/DependencyInjection.git", + "url": "https://github.com/symfony/dependency-injection.git", "reference": "f165ee0e0b3522b5158def22622b2f171a8ecd59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/DependencyInjection/zipball/f165ee0e0b3522b5158def22622b2f171a8ecd59", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/f165ee0e0b3522b5158def22622b2f171a8ecd59", "reference": "f165ee0e0b3522b5158def22622b2f171a8ecd59", "shasum": "" }, @@ -319,12 +320,12 @@ "target-dir": "Symfony/Component/EventDispatcher", "source": { "type": "git", - "url": "https://github.com/symfony/EventDispatcher.git", + "url": "https://github.com/symfony/event-dispatcher.git", "reference": "36a40695d94e948d7a85347db0b12ba446c400fa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/36a40695d94e948d7a85347db0b12ba446c400fa", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/36a40695d94e948d7a85347db0b12ba446c400fa", "reference": "36a40695d94e948d7a85347db0b12ba446c400fa", "shasum": "" }, @@ -373,12 +374,12 @@ "target-dir": "Symfony/Component/Finder", "source": { "type": "git", - "url": "https://github.com/symfony/Finder.git", + "url": "https://github.com/symfony/finder.git", "reference": "d533aea3400dc463c4d0ba9c3ecf40bd80d49dbd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Finder/zipball/d533aea3400dc463c4d0ba9c3ecf40bd80d49dbd", + "url": "https://api.github.com/repos/symfony/finder/zipball/d533aea3400dc463c4d0ba9c3ecf40bd80d49dbd", "reference": "d533aea3400dc463c4d0ba9c3ecf40bd80d49dbd", "shasum": "" }, @@ -420,12 +421,12 @@ "target-dir": "Symfony/Component/Process", "source": { "type": "git", - "url": "https://github.com/symfony/Process.git", + "url": "https://github.com/symfony/process.git", "reference": "a8fe947ac58e081f8773e0d160807dcffbff7ed8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Process/zipball/a8fe947ac58e081f8773e0d160807dcffbff7ed8", + "url": "https://api.github.com/repos/symfony/process/zipball/a8fe947ac58e081f8773e0d160807dcffbff7ed8", "reference": "a8fe947ac58e081f8773e0d160807dcffbff7ed8", "shasum": "" }, @@ -464,6 +465,69 @@ "homepage": "https://symfony.com", "time": "2015-05-01 14:06:45" }, + { + "name": "tecnickcom/tcpdf", + "version": "6.2.12", + "source": { + "type": "git", + "url": "https://github.com/tecnickcom/TCPDF.git", + "reference": "2f732eaa91b5665274689b1d40b285a7bacdc37f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/2f732eaa91b5665274689b1d40b285a7bacdc37f", + "reference": "2f732eaa91b5665274689b1d40b285a7bacdc37f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "fonts", + "config", + "include", + "tcpdf.php", + "tcpdf_parser.php", + "tcpdf_import.php", + "tcpdf_barcodes_1d.php", + "tcpdf_barcodes_2d.php", + "include/tcpdf_colors.php", + "include/tcpdf_filters.php", + "include/tcpdf_font_data.php", + "include/tcpdf_fonts.php", + "include/tcpdf_images.php", + "include/tcpdf_static.php", + "include/barcodes/datamatrix.php", + "include/barcodes/pdf417.php", + "include/barcodes/qrcode.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPLv3" + ], + "authors": [ + { + "name": "Nicola Asuni", + "email": "info@tecnick.com", + "homepage": "http://nicolaasuni.tecnick.com" + } + ], + "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", + "homepage": "http://www.tcpdf.org/", + "keywords": [ + "PDFD32000-2008", + "TCPDF", + "barcodes", + "datamatrix", + "pdf", + "pdf417", + "qrcode" + ], + "time": "2015-09-12 10:08:34" + }, { "name": "totten/ca-config", "version": "v13.02.0", diff --git a/css/civicrm.css b/css/civicrm.css index fe5095009a6f..cd0208a7dd91 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -3554,6 +3554,7 @@ div.m ul#civicrm-menu, text-align: center; height: 23px; width: 32px; + z-index: 1; } .crm-editable-form button[type=cancel] { @@ -3752,6 +3753,7 @@ span.crm-status-icon { } .crm-container.crm-public .select2-container .select2-choice { padding: 5px 5px 5px 8px; + height: auto; } .crm-container.crm-public .select2-container-multi .select2-choices { padding: 4px; diff --git a/css/civicrmNavigation.css b/css/civicrmNavigation.css index feb8325a3d0c..b45a5389ca86 100644 --- a/css/civicrmNavigation.css +++ b/css/civicrmNavigation.css @@ -132,4 +132,13 @@ li.menu-separator{ width: 16px; height: 16px; vertical-align:middle; -} \ No newline at end of file +} + +/* No results */ +.crm-quickSearch-results.ui-menu-disabled { + opacity: .9; + background-color: #f8f8f8; +} +.crm-quickSearch-results.ui-menu-disabled li { + cursor: default; +} diff --git a/css/print.css b/css/print.css index 8a8b2d3248ef..0eb326d7fe55 100644 --- a/css/print.css +++ b/css/print.css @@ -74,8 +74,9 @@ table.form-layout td, table.form-layout th { border-top : 2px groove #DCDCDC; } -#crm-container table.report-layout tr.crm-report-sectionHeader.page-break { +#crm-container div.page-break { page-break-before: always; + height: 0; } #crm-container .report-label { diff --git a/distmaker/dists/common.sh b/distmaker/dists/common.sh index e7831ca48ac2..26aeb13d6c65 100644 --- a/distmaker/dists/common.sh +++ b/distmaker/dists/common.sh @@ -70,7 +70,7 @@ function dm_install_core() { done dm_install_files "$repo" "$to" {agpl-3.0,agpl-3.0.exception,gpl,README,CONTRIBUTORS}.txt - dm_install_files "$repo" "$to" composer.json composer.lock bower.json package.json + dm_install_files "$repo" "$to" composer.json composer.lock bower.json package.json Civi.php mkdir -p "$to/sql" pushd "$repo" >> /dev/null diff --git a/extern/authorizeIPN.php b/extern/authorizeIPN.php index 35547f18a5cc..8bf4b3370ff6 100644 --- a/extern/authorizeIPN.php +++ b/extern/authorizeIPN.php @@ -35,6 +35,25 @@ require_once '../civicrm.config.php'; $config = CRM_Core_Config::singleton(); + +// Log all IPN transactions - from Eileen +$logTableExists = FALSE; +$checkTable = "SHOW TABLES LIKE 'civicrm_notification_log'"; +$dao = CRM_Core_DAO::executeQuery($checkTable); +if(!$dao->N) { + CRM_Core_DAO::executeQuery("CREATE TABLE IF NOT EXISTS `civicrm_notification_log` ( +`id` INT(10) NOT NULL AUTO_INCREMENT, +`timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, +`message_type` VARCHAR(255) NULL DEFAULT NULL, +`message_raw` LONGTEXT NULL, +PRIMARY KEY (`id`) +)"); +} +$msgType = 'authorize.net'; +$dao = CRM_Core_DAO::executeQuery("INSERT INTO civicrm_notification_log (message_raw, message_type) VALUES (%1, %2)", + array(1 => array(json_encode($_REQUEST), 'String'), 2 => array($msgType, 'String')) +); + $log = new CRM_Utils_SystemLogger(); $log->alert('payment_notification processor_name=AuthNet', $_REQUEST); diff --git a/extern/ipn.php b/extern/ipn.php index 619c688a4695..5d74686733c5 100644 --- a/extern/ipn.php +++ b/extern/ipn.php @@ -38,6 +38,26 @@ /* Cache the real UF, override it with the SOAP environment */ $config = CRM_Core_Config::singleton(); + +// Log all IPN transactions - from Eileen +$logTableExists = FALSE; +$checkTable = "SHOW TABLES LIKE 'civicrm_notification_log'"; +$dao = CRM_Core_DAO::executeQuery($checkTable); +if(!$dao->N) { + CRM_Core_DAO::executeQuery(" +CREATE TABLE IF NOT EXISTS `civicrm_notification_log` ( + `id` INT(10) NOT NULL AUTO_INCREMENT, + `timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, + `message_type` VARCHAR(255) NULL DEFAULT NULL, + `message_raw` LONGTEXT NULL, +PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;"); +} +$msgType = (empty($_GET) ? 'paypalpro-ipn' : 'paypal-ipn'); +$dao = CRM_Core_DAO::executeQuery("INSERT INTO civicrm_notification_log (message_raw, message_type) VALUES (%1, %2)", + array(1 => array(json_encode($_REQUEST), 'String'), 2 => array($msgType, 'String')) +); + $log = new CRM_Utils_SystemLogger(); if (empty($_GET)) { $log->alert('payment_notification processor_name=PayPal', $_REQUEST); @@ -45,7 +65,7 @@ } else { $log->alert('payment_notification PayPal_Standard', $_REQUEST); - $paypalIPN = new CRM_Core_Payment_PayPalIPN(); + $paypalIPN = new CRM_Core_Payment_PayPalIPN($_REQUEST); // @todo upgrade standard per Pro } try { diff --git a/i/logos/cividesk.png b/i/logos/cividesk.png new file mode 100644 index 0000000000000000000000000000000000000000..6f5ccc77c32dc2219077e18ed17ead47bd31743b GIT binary patch literal 8706 zcmV+dBK_ToP)VO11SR20x; z5ey|1gG-U3R0-)Mr00dS*L#2W-r4`3bI&<5bLxG-?tHwQbLLL@=byjNe-12_N&#aG zsBq53m7eKdt~c-Xc0tejIC?v|jeM2+>-T2y>+97<|4oKV@8j3btBo7J^tv!>@|xQX zcY1N#w@lX_1Y1~oa2qS=IZPX`J#m9442*sy6T0%^9i@%TbY27#RKoP}V`8_qZVLzt zhgToJ-^2FxfgBWqNxF1dNnm1DzGZCnM9j9*VaibfZfc1IgdULP6*5rjNuWJ~*>TB^@pS~t9diP^^w<`+*Oh!)FdcQXR z7t(yRbNqj4o{xJSLH#owH;e{!>tmL%7LMOInU0Z(kBc5cF zyE~zKFaccyNuX(qa$-oparnU*HE_v-in>@NvMdv)-Yd{!7C&D`Z{ud>9_Sq6553z6 z&ungk{hfmddlH6|9P;B4D9nz*lA|i&hiBG6SzZ?No5OEUWcaMP2lsQ>avpMfJIF1m z1(WVUelA!DY|ct_IO5F9?{T9MKicrZVI~17w{~7_yl~|ynCQCi4i1eEsko5Ga>Lh@ z{{*Q15|hVrD_*=Im@aGwH=+%L%rFkB8{&Hg6a1@>?}W!Uw7^J;QzLl*2|FBK{>FSb zZF;FM@dnx6Vbvxg_+m%@4V)AU^PEv;6wCYcnhKhuiwL(b6$)!+JKu?k^>ypE(GY` zrU)bxNA_IyGm8}g9Q8Ip{u~Fb`Qb)hOGHM9e3hL?H|JO%*v%<+la6wbB*+Q=&a->q zk#)^vp4r4>{s}Y@)fkks?m(|=P)1+4{<|O2!Ulo#HNCl~yPkwabMLSXx5;o8{7n3} z@lY?IJgE;GFmT&gRRAP8YkADXPP#6A1&Pr>s*B_SD?dB^J9n(hZLj?TZ$bO*g=4=U zPLTho3qgG>*SUJv0t{@k@kD>jZG7pzU_LcRBG)T z;ZJRDH9H$Cwg7E4GzgN4UzG0rdaO1WH zK`YIF1_y|mL6t_Kb!Amwz<;6+UtGQhSwohlb7LGgBG#o>Cd?ERewOQS2FQs;Y-Tf; zZc&h7BNd`wx9prLFn4UerSA2yz19(Q?+3Gd)%)aRMcj8y(lHeK`Rt5RSbF*-2VTA4 z*5`J;Z+QaErha95UAr-+5mM!1tcx+fx%Bn=;Z(Pn+}0B`zPXqBTw(h8;m@MoL?`F% z&ndgYiNAwBFFhgn~qA7c+JnZa*)dN*uo z>XR7H&=3XLF<3mm0={+f1UPbRUR_YMREEdRO!hmU^h2r}PAIU`-ai6QY;1)@QZg&k z<@hPZaMMZS;oKw3Nw6ry?q#xjnY)S^$P=8mKIH+UjXlMeql(H)E%6>iM1Hsox(2mz z^V2fXo?!wxR$ccy0E7FDdh>Vb!Sdte=}Jxo9^!{{@U@vX& zOVsaf8-NW5`zQ(vpPEnr(<*YIEI$i~*TM*fAovtG`3UEITkv57*nyv;*0aqgxvLpS zF$n22;PYM(n$B-Of_y74qIX-9P7h%sp?WKsT`aYe za03z(#w&p@Tnmsrfq5~0(B7COrZ@B&Onye8%@1}B!M5gpXzCt@&4>G-V;}+9=z|?O zHXp_p#i14@`pn8a^j&~$YwG7+g9*pjE0eaR6jRx^CMj#}2DnQ;50FfNVdfov(u*1TUF^2IVow8uxD&Q3t zDD!v;FzY!vh#R#XSl63qqTwIGGTe*|{=P9+_Be!Pnt+RuIacx+baJQE0gEp45^`S5 zAqx6ltZyU0&>`UcTa39PabS5zin$y`jF*(*et2VX56@S{M zi5ccxfvDyXB__M$crll`j$5DI0}sE~q>6XY#-n2f&Xh5)UQ`VaUN%$Q-}&M`_~kzi zs`FYR(1z(e^vRyQYEE7IK%)MP-)w?IUBh4oc$^{=6g6}A`L%G%DHB}@&XSt+&(Hx5 zjVl0}AI1B9sKt7eDeNdfHk};-8+Rjz-Zf~#BpmT4WsB%ibONNZ#?(c$z1H_%z?0}e zIQ|HXOja^sQ);lr0+>uTWDs%R@))pKDL}G|HLn@V6%KEp}v;98< z-uWu4xJPbo>L%Ude@ zr%AL(de#D?GdFFmVtdQZLdGvq&|$5w^=TAhgK{uj#g*ABJ{C3INon|6Ids0H$Wk5Q zT;KMBdBF4MiXQ~id6||}pGc&ZzPO{K{@c&&MpM$o+%m&p%#Enst~N1VFt-AVv!iup z^QN8={`#ISt*v8wl`$_xqL<4PsD(QRbTgLO4CVmJ!1Q!9g%^x35Nm#IXBP^Y;q;nh zhF9mO6tpvEm5Rs5ab9ZpIt}je$oQ7)kOUzq}vrd}$vf-7>{w+eX%Oa^{8Agi9h3fQ}X~ zO=}5rxYb+RL{6o{>(^J1o~x=L3rL3Nv;vSTe+cG z-2unCjcPiKFU^V7A(I>0)gd4>BrqEuTDzwo-TVlLonJ)_(QBJK9-w&EyZxp!Drx|T z7T3A=#m*gnbI~*TQ}OX=&h`t9BQ&lwk79HTpb$CqJAj%xX{xl~Ne$z= zuLm;s+%yL(IT={hpeQ?rrV8#+f=ec-jD36j2_@NZ!jvNGnX>R7Ti>GEONtF4?OytNVr?-@D9*NE z-`6n+|J>JYQ-gPGNEtT^d2R80Lu0n|4)a%cb%MGRGKCqHBquMyKG7&!_RPB0`aVYh zMTZ?MhoLMlCYaoH=UP{B*l`^a;Gnt$H*J!x=O&@a{2j=kcvE$mAS9U>tV!CRM~3?{ znNoIl9i=P=eA4%EGjBmDUO=bK91i^oVD~NF@KPOW7dGj8oU%HUpb4EXwm$0wl}hdu zfH~+(W>qsoOQm5Rdp#HZwqIlUmPEaY;Hw`~w+R^^H-ji;EEx(|x=lS*=+0R77H{46y0ip1LA+usW% zXf_fPbqypWLN+?)qHvi%E*~mT%bqr)R77#teApxArPp=_6G@x;6-~=6#v{{`&KPZ8 zOXI$8Bj-D=2Zla|Z0!Ij{A3ggPK^7SNZn#+Lh)YQ`2EX7Um4ZPJ=k)P=S&2KK8n4a zQmDOW4To)4peAY4t#CWKM|&`FDX^OFV^zf19m;5_Sj;&xo#sg><{ukAgnn2rHZPVK z9U1oU19+2E$jp-O!%e{V{|unyBo2i~ZcHubLx&XyLX@IK3NzRT z?g>sQV0w_t(i0#F3^EO~N)1;alEq-kod{+x65J0^bMI6b))*!VY#drD6TgcLpD!Y< zB-|8N!hE&I-27FWTKQ!wKA=o_a26YTMEX}BI|hDn;WTluuJ4B&Iwj(+(Tl%lW%g zZ3dGW)f_8c4eXdLR`}fL*T7-jLY%+TbzbY4p(#ZgB)1kAG9NEJQv@j>8-++D+qRQD zGC?dF?cd4yn%NYEQRJ$_h@<<3?*K1cWbbJ2I>X*Yfae4bX31IN}BD$*4R zpCJRmvlQtBc`hwtnEpHWh;p1)T@+<_WaB?{Zl@$hJDeHgx3>NfF$Se!nd_&whn7CK z7a494WI(deZvN@{Q|bLThFzGPpiKQY9qyxd=NvfF6P{^}bj)Dl$%-5|t^iJFUf{xT zG6P3(Z8IJa45v{QI{RnX#HmrMK%d+LeGJFh5_LN83)HyptM&4|xt(LbA{b65aNhpB zHl~VxV@skUhf(QAnf?;Pne#flWHjj@(J9U-Ir)ZLE(UmSKETG)fbXm4d|($3mGIoU z3XPql%`6(utoyv_X={QBZOjhe&)KFkZH8mgy2_Bz=D&;#cL6iAd%O}3tUwAq-2c{L zl-9$bn^kt0$e4r#xf z!kl6#(19`?^y--$!_9_IW~13f)ugNT{yRX!?Oa(h-Jmb392-b9W2sft20W6_6qA-T zRkVQ2HmkiE^|bm+>rjFo$$qpD-U8PB7Mj?10aRbXVM;v`TCw9W+}Mf{D{3i&Xyu{G z_@m@zG-2tbV7Bw?C{+GRQO`8qC2cqXeZ1Pcg#Q>OGbLi4kMs{GIlU~ZMjyF$=waM_ z4t=tD;|i2PD#$@#SDECq!7;e9=L764w zb1D60%%-JNdw)XNkf+{ntEaO_u2Jk2M_0k^XVpL~{YeNt3734>7k6~1w{VFG%KA=xGVcml5pW^o!zEaF(Q(T91su7v>iGB@jk&e(feDCNr<;PZ zrs9bn)PTPRzWq9cWrVvXO!sZZzpeJVbUHJeqc6rQ&I8`|G>46+BEzjVG_5qB6|};2 za|$eJ=Z|iwej+2q9AtZQKWsYOYlnZl;?-o{p@|e_;Luh&Be>-|TJ#`2Q}ogZ+{ilK zG!4~|+(mOMpgb?8`b5$^WM+P5dI?{%uLraV6-;e9)N8@<`kqcsejr6&t+rSeBa_^> zcsgW7BTQeHS)Sa~3T=G}n>v|`$i%fwMYH8c&bl{)5#2EX)j8v z!?qmZL7!V$hy{;1?&14^k$GQvp|US-=demf%J${~7)r=efvdM^9>~p#!lxz_YHP6> z>+id}`19M^;h2eq;vB6cH>!NQL`OK4eH}wUQ9wtS&0J|3E3qiR1#@km$SZBBwme7O z1w{oISJJA3BPrg2zTLmB+yUJpT4`gF-U#^ZB{QHP?K`?9)6&`CQ=3|C1nE>~Q3{9C zXOxl_u2bPgVn^bTwVSNvltQ6r^c9?myh+Xu-U}?zrkF^kytKRo`Yne75T8=^O{^z@ znrm>cjc$n`Wms4=7hvk$DA|gbV?ViNBY+&%SMgw6UCq8o7Go1`M#5df#XEs*$Q&K7 zTBf!+j0}&==(1L3l#`myo>6F&4{<<^?uc_~`zF9FKOar@Z6esBGnpfAg6tzYDk=H2 zb@1<3tc;X5_I63c&NN7za?Fk3DcP6;F&hu{SxBB!omYR{|nHWw#PcF-aV{3{W8dN95&(17^IQpH#azIGgF*+In@v)$*9@#Dux9xV6 zM4bn#t~r8^6C4pS`ATPlZ#8tOc(Np~ZKk5ofs5uZTfr4HVsp6JM+$a1XWBH>TT`zCNlueA&|xQ0!Yl&FHE(9A8gm5oa(m;9{L ziT)ay+wUxU90N2p>5oy$Rok<`J6;0lStAa#O;{|g$29>(&mFChbk*y&^l)elMr{KA* zZRpeGD;r12&`XwoU@)9C2)zflwW%K-dgm~FHQMfXJYJ$Fjg1#haM|)DH zBf%CibR=-&s-1At$rJeOYL$58#nBhSvXHZFreo52jC-2*tB>u3w;Q^Z-zS#lz{)G< zz@+rs4{|Z*d1P%9e{EN%2>x^pCM8qcTga_=uSt9z?CN93*xD*Npk~nNQAe4U`nLkx z|5GH!uVd#d3bUisxEpxOpDp*%G{>y|k_-^@biEF2$MqcYX5l#BtRw$Wz(H?BM+=oC zW}C5W)GY;A~u-3nbtPnQRY|k&7(u4=f=%+U>=(+y`4rmFGKgQ6X(k&qWR&cxo_+s#kAZ=>;*FS)&| zh_>e@)A8M#7m|=*Zd%TKzTm<4`7`ggrN`6#Q#m+f&s&inho`SSf)22mmrt5Va=!5H zwXpe+8EIoGigcADt!35KN6OmQItzH$8|u0kD4NpNR|x0KhXAUtRAL^kM+W4B&8*530TqRP zMGsl*a_B+n{{6o;Xhf`;q>`wltd-?ooMkZ_74n5f1jEZaYmUQpKDW%wv*(lvh69%( zn=f=;XE2>9zCeXla};vWVf@V{)8T~4MT$wOBW?5HUZK4`GjBZv)#S2lII*@!HH)*# zfaNa$juKqPnQrp1^cFZa*sL?Pr9?npzKZx3Rpny!2TGNyxR?tQPHM{~1~j5{eL&|_ zyz*i+bMxr6Bk{@+Pp6B?$Eg;a(E{L;}I7C-z#+tuzH!*_k56P2e}#&sqCwHF_#-i`?JR50nUA{&{=2 z{+NriK%AdxzOLmjoA}56tn6$sk9FK$o3nhnGW1`5cK%d;>GG}6H=F{{b+84j8xcz= zlRRJgK+g>)j)NbaJ%!HpEY7DSVKPx|)6pDL3r$&+VyrHT^m6e$?_^=Qo(}Kp|0YF% zEG%gh4aNtM?pr*Kaxj_OSn~5@8(Kim9Z)#N?N}FaLV=XhyqNMW7e?Oggqu0r@fB<{ z>|ivi~^ zN;*=IM0|8Nce>J$6(5g2%e82x-lyW!#Ta9ypGEvuDq7Bh+e`+L&l5g3yNo@sWTwdA zcO22nn6Z2a4|kngYcZTT*SZ5eu#?iPtnRvQd{hPx*`FGMKdjfKscB!vl3L z9WJKAp>RO<1b`|31u*X=fT9x=gjhK3eg|E;{R;Uodt2-|HJNEvDa&SY!v~!AJS9il zXOPV+l}IO-#!${3L7KnvBA`HsgAQtbfadWGm3%aui2AA}jx%d}d_()ibid`Yg;i|+ z_roUpTj% zUI2ASO-FWy2&QDi)bdIzgQ8$%NsiO*bCwgKbUy7CeqHp_MYB zs-ZE3aX5Kui348oOi8qp??C5&I){CCh|e)tD9{zYm@NXVU@n?K=b+>M5KyA89thw} zlVj;|7zH{?PPa@S8E0bb_;@B>G^LkL52Ihyw+Y)xANtjmxJ+|I_!K;;{*oX($f|I> ztg4vmXqH;&leHUVr%?USeme_ATAw23>23M4&!Lw7CWY%kIZ{DCmCo6i#Lx~+DvfVV zK|)ZXEvv+<8Pxocvu#%b9V0l#6m7-iYEY|CpoG43m7g7{L%y)0Hg3tMzkmC%NG#5@(6|3_4i=^@eU0nk z_nPZPPNYYnh%J5AJUGg3QNOp79`I`7d z0SxRC(KgPq#5Yhx`WC%bLf;(8oreAe?!%$qg86c(7Wi~OeaWf>G?T#04fOlC5D_h- z@3C~ef`VX=_%;bMzt2MLQl18!nYVN04;zt267vN=COfUW6Y;VtI}024@f)qiL6^v?8{#RML=F<=MjkIRxIyE1tuxFTbphlDW6-nPm|^DjTT{>)f^h2P&SZ)oFBpT? g?nkd);|0O@zhsmZ@hF9dJ@&Et; literal 0 HcmV?d00001 diff --git a/install/index.php b/install/index.php index 354fc51cd7e8..80fca78f0a2d 100644 --- a/install/index.php +++ b/install/index.php @@ -76,8 +76,8 @@ CRM_Core_ClassLoader::singleton()->register(); // Load civicrm database config -if (isset($_REQUEST['mysql'])) { - $databaseConfig = $_REQUEST['mysql']; +if (isset($_POST['mysql'])) { + $databaseConfig = $_POST['mysql']; } else { $databaseConfig = array( @@ -90,8 +90,8 @@ if ($installType == 'drupal') { // Load drupal database config - if (isset($_REQUEST['drupal'])) { - $drupalConfig = $_REQUEST['drupal']; + if (isset($_POST['drupal'])) { + $drupalConfig = $_POST['drupal']; } else { $drupalConfig = array( @@ -104,7 +104,7 @@ } $loadGenerated = 0; -if (isset($_REQUEST['loadGenerated'])) { +if (isset($_POST['loadGenerated'])) { $loadGenerated = 1; } @@ -134,6 +134,9 @@ $tsLocale = 'en_US'; $seedLanguage = 'en_US'; +// CRM-16801 This validates that seedLanguage is valid by looking in $langs. +// NB: the variable is initial a $_REQUEST for the initial page reload, +// then becomes a $_POST when the installation form is submitted. if (isset($_REQUEST['seedLanguage']) and isset($langs[$_REQUEST['seedLanguage']])) { $seedLanguage = $_REQUEST['seedLanguage']; $tsLocale = $_REQUEST['seedLanguage']; @@ -261,14 +264,14 @@ } // Actual processor -if (isset($_REQUEST['go']) && !$req->hasErrors() && !$dbReq->hasErrors()) { +if (isset($_POST['go']) && !$req->hasErrors() && !$dbReq->hasErrors()) { // Confirm before reinstalling - if (!isset($_REQUEST['force_reinstall']) && $alreadyInstalled) { + if (!isset($_POST['force_reinstall']) && $alreadyInstalled) { include $installDirPath . 'template.html'; } else { $inst = new Installer(); - $inst->install($_REQUEST); + $inst->install($_POST); } // Show the config form @@ -340,6 +343,18 @@ public function checkdatabase($databaseConfig, $dbName) { ts("An auto_increment_increment value greater than 1 is not currently supported. Please see issue CRM-7923 for further details and potential workaround."), ) ); + $testDetails = array( + ts("MySQL %1 Configuration", array(1 => $dbName)), + ts("Is the provided database name valid?"), + ts("The database name provided is not valid. Please use only 0-9, a-z, A-Z and _ as characters in the name."), + ); + if (!CRM_Core_DAO::requireValidDBName($databaseConfig['database'])) { + $this->error($testDetails); + return FALSE; + } + else { + $this->testing($testDetails); + } $this->requireMySQLThreadStack($databaseConfig['server'], $databaseConfig['username'], $databaseConfig['password'], @@ -1096,7 +1111,8 @@ public function requireDatabaseOrCreatePermissions( return; } else { - if (@mysql_query("CREATE DATABASE $database")) { + $query = sprintf("CREATE DATABASE %s", mysql_real_escape_string($database)); + if (@mysql_query($query)) { $okay = ts("Able to create a new database."); } else { @@ -1228,8 +1244,8 @@ public function createDatabaseIfNotExists($server, $username, $password, $databa // skip if database already present return; } - - if (@mysql_query("CREATE DATABASE $database")) { + $query = sprintf("CREATE DATABASE %s", mysql_real_escape_string($database)); + if (@mysql_query($query)) { } else { $errorTitle = ts("Oops! Could not create database %1", array(1 => $database)); diff --git a/js/crm.ajax.js b/js/crm.ajax.js index 7c180cd72414..ead47f874e59 100644 --- a/js/crm.ajax.js +++ b/js/crm.ajax.js @@ -256,6 +256,10 @@ if (this.options.crmForm) $('form', this.element).ajaxFormUnbind(); if (this.options.block) this.element.block(); $.getJSON(url, function(data) { + if (data.status === 'redirect') { + that.options.url = data.userContext; + return that.refresh(); + } if (that.options.block) that.element.unblock(); if (!$.isPlainObject(data)) { that._onFailure(data); @@ -470,7 +474,7 @@ }, settings.ajaxForm)); if (settings.openInline) { settings.autoClose = $el.crmSnippet('isOriginalUrl'); - $(this).on('click', settings.openInline, function(e) { + $(this).off('.openInline').on('click.openInline', settings.openInline, function(e) { if ($(this).is(exclude + ', .crm-popup')) { return; } diff --git a/js/crm.searchForm.js b/js/crm.searchForm.js index bf993611cb94..37de1a42b90f 100644 --- a/js/crm.searchForm.js +++ b/js/crm.searchForm.js @@ -24,6 +24,7 @@ } function clearSelections(e) { + /* jshint validthis: true */ if (selected) { var $form = $(this).closest('form'); $('input.select-row, input.select-rows', $form).prop('checked', false).closest('tr').removeClass('crm-row-selected'); diff --git a/js/jquery/jquery.dashboard.js b/js/jquery/jquery.dashboard.js index ca58657545ff..f2e5043bba07 100644 --- a/js/jquery/jquery.dashboard.js +++ b/js/jquery/jquery.dashboard.js @@ -36,8 +36,11 @@ * Draggable * UI Core * + * NOTE: This file is viewed as "legacy" and shouldn't be used to + * develop new functionality. Its lint problems are grandfathered + * (although if someone wants to cleanup+test, please feel welcome). */ - +/* jshint ignore:start */ (function($) { // Create closure. // Constructor for dashboard object. $.fn.dashboard = function(options) { @@ -78,19 +81,19 @@ var params = {}; // For each column... - for (var c in dashboard.columns) { + for (var c2 in dashboard.columns) { // IDs of the sortable elements in this column. - if( typeof dashboard.columns[c] == 'object' ) var ids = dashboard.columns[c].element.sortable('toArray'); + var ids = (typeof dashboard.columns[c2] == 'object') ? dashboard.columns[c2].element.sortable('toArray') : undefined; // For each id... for (var w in ids) { // Chop 'widget-' off of the front so that we have the real widget id. - if( typeof ids[w] == 'string' ) var id = ids[w].substring('widget-'.length); + var id = (typeof ids[w] == 'string') ? ids[w].substring('widget-'.length) : undefined; // Add one flat property to the params object that will look like an array element to the PHP server. // Unfortunately jQuery doesn't do this for us. - if ( typeof dashboard.widgets[id] == 'object' ) params['columns[' + c + '][' + id + ']'] = (dashboard.widgets[id].minimized ? '1' : '0'); + if ( typeof dashboard.widgets[id] == 'object' ) params['columns[' + c2 + '][' + id + ']'] = (dashboard.widgets[id].minimized ? '1' : '0'); } } @@ -266,7 +269,7 @@ // Callback for when a user starts resorting a list. Hides all the empty placeholders. function hideEmptyPlaceholders(e, ui) { for (var c in dashboard.columns) { - if( typeof dashboard.columns[c] == 'object ' ) dashboard.columns[c].emptyPlaceholder.hide(); + if( (typeof dashboard.columns[c]) == 'object' ) dashboard.columns[c].emptyPlaceholder.hide(); } } diff --git a/settings/Core.setting.php b/settings/Core.setting.php index 1484bc778a51..50788aa4a8da 100644 --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@ -460,10 +460,6 @@ 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'wkhtmltopdfPath', - 'prefetch' => 1, - // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent - 'config_only' => 1, - //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', 'html_attributes' => array( @@ -483,10 +479,6 @@ 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'recaptchaPublicKey', - 'prefetch' => 1, - // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent - 'config_only' => 1, - //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', 'html_attributes' => array( @@ -506,10 +498,6 @@ 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'recaptchaPrivateKey', - 'prefetch' => 1, - // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent - 'config_only' => 1, - //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', 'html_attributes' => array( diff --git a/settings/Mailing.setting.php b/settings/Mailing.setting.php index 70d372b8d439..cf5cf692db60 100644 --- a/settings/Mailing.setting.php +++ b/settings/Mailing.setting.php @@ -178,4 +178,99 @@ 'description' => 'If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID', 'help_text' => NULL, ), + 'mailerBatchLimit' => array( + 'group_name' => 'Mailing Preferences', + 'group' => 'mailing', + 'name' => 'mailerBatchLimit', + 'type' => 'Integer', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => array( + 'size' => 4, + 'maxlength' => 8, + ), + 'default' => 0, + 'add' => '4.6', + 'title' => 'Mailer Batch Limit', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'Throttle email delivery by setting the maximum number of emails sent during each CiviMail run (0 = unlimited).', + 'help_text' => NULL, + ), + 'mailerJobSize' => array( + 'group_name' => 'Mailing Preferences', + 'group' => 'mailing', + 'name' => 'mailerJobSize', + 'type' => 'Integer', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => array( + 'size' => 4, + 'maxlength' => 8, + ), + 'default' => 0, + 'add' => '4.6', + 'title' => 'Mailer Job Size', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'If you want to utilize multi-threading enter the size you want your sub jobs to be split into. Recommended values are between 1,000 and 10,000. Use a lower value if your server has multiple cron jobs running simultaneously, but do not use values smaller than 1,000. Enter "0" to disable multi-threading and process mail as one single job - batch limits still apply.', + 'help_text' => NULL, + ), + 'mailerJobsMax' => array( + 'group_name' => 'Mailing Preferences', + 'group' => 'mailing', + 'name' => 'mailerJobsMax', + 'type' => 'Integer', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => array( + 'size' => 4, + 'maxlength' => 8, + ), + 'default' => 0, + 'add' => '4.6', + 'title' => 'Mailer Cron Job Limit', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'The maximum number of mailer delivery jobs executing simultaneously (0 = allow as many processes to execute as started by cron)', + 'help_text' => NULL, + ), + 'mailThrottleTime' => array( + 'group_name' => 'Mailing Preferences', + 'group' => 'mailing', + 'name' => 'mailThrottleTime', + 'type' => 'Integer', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => array( + 'size' => 4, + 'maxlength' => 8, + ), + 'default' => 0, + 'add' => '4.6', + 'title' => 'Mailer Throttle Time', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'The time to sleep in between each e-mail in micro seconds. Setting this above 0 allows you to control the rate at which e-mail messages are sent to the mail server, avoiding filling up the mail queue very quickly. Set to 0 to disable.', + 'help_text' => NULL, + ), + 'verpSeparator' => array( + 'group_name' => 'Mailing Preferences', + 'group' => 'mailing', + 'name' => 'verpSeparator', + 'type' => 'String', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => array( + 'size' => 4, + 'maxlength' => 32, + ), + 'default' => '.', + 'add' => '4.6', + 'title' => 'VERP Separator', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'Separator character used when CiviMail generates VERP (variable envelope return path) Mail-From addresses.', + 'help_text' => NULL, + ), ); diff --git a/sql/civicrm_generated.mysql b/sql/civicrm_generated.mysql index dc8128a2b323..3d1c0aaf491a 100644 --- a/sql/civicrm_generated.mysql +++ b/sql/civicrm_generated.mysql @@ -1,8 +1,8 @@ --- MySQL dump 10.13 Distrib 5.5.34, for osx10.6 (i386) +-- MySQL dump 10.13 Distrib 5.5.42, for osx10.6 (i386) -- --- Host: 127.0.0.1 Database: d46civi_hc3u1 +-- Host: 127.0.0.1 Database: d46civi_3rt8y -- ------------------------------------------------------ --- Server version 5.5.34 +-- Server version 5.5.42 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; @@ -87,7 +87,7 @@ 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`) VALUES (1,NULL,9,'Subject for Tell a Friend','2015-07-25 04:17:38',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(2,NULL,10,'Subject for Pledge Acknowledgment','2015-03-10 03:00:30',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(3,NULL,9,'Subject for Tell a Friend','2015-02-05 04:30:36',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(4,NULL,10,'Subject for Pledge Acknowledgment','2015-03-29 11:25:34',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(5,NULL,9,'Subject for Tell a Friend','2015-03-18 09:00:18',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(6,NULL,9,'Subject for Tell a Friend','2014-11-08 02:33:11',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(7,NULL,10,'Subject for Pledge Acknowledgment','2015-02-18 01:58:20',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(8,NULL,9,'Subject for Tell a Friend','2015-05-10 12:15:40',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(9,NULL,10,'Subject for Pledge Acknowledgment','2015-08-11 07:36:16',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(10,NULL,10,'Subject for Pledge Acknowledgment','2015-06-28 10:50:58',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(11,NULL,10,'Subject for Pledge Acknowledgment','2015-04-02 06:09:01',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(12,NULL,10,'Subject for Pledge Acknowledgment','2015-04-20 03:13:19',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(13,NULL,9,'Subject for Tell a Friend','2015-01-22 07:13:25',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(14,NULL,10,'Subject for Pledge Acknowledgment','2015-06-12 04:21:01',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(15,NULL,9,'Subject for Tell a Friend','2015-07-05 03:56:34',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(16,NULL,10,'Subject for Pledge Acknowledgment','2014-12-11 03:38:37',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(17,NULL,9,'Subject for Tell a Friend','2015-07-27 09:57:54',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(18,NULL,10,'Subject for Pledge Acknowledgment','2015-10-06 07:59:31',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(19,NULL,9,'Subject for Tell a Friend','2015-02-28 05:17:58',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(20,NULL,10,'Subject for Pledge Acknowledgment','2014-11-23 10:08:26',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(21,NULL,10,'Subject for Pledge Acknowledgment','2015-06-03 03:24:00',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(22,NULL,10,'Subject for Pledge Acknowledgment','2015-10-01 10:13:41',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(23,NULL,9,'Subject for Tell a Friend','2014-12-21 01:23:34',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(24,NULL,10,'Subject for Pledge Acknowledgment','2015-02-16 01:32:32',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(25,NULL,9,'Subject for Tell a Friend','2015-04-30 08:57:25',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(26,NULL,10,'Subject for Pledge Acknowledgment','2014-12-16 08:37:51',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(27,NULL,10,'Subject for Pledge Acknowledgment','2015-02-02 03:45:38',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(28,NULL,9,'Subject for Tell a Friend','2015-03-27 09:59:52',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(29,NULL,10,'Subject for Pledge Acknowledgment','2014-10-31 09:25:54',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(30,NULL,9,'Subject for Tell a Friend','2014-11-07 07:10:27',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(31,NULL,9,'Subject for Tell a Friend','2015-09-15 01:45:07',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(32,NULL,10,'Subject for Pledge Acknowledgment','2015-05-20 11:30:50',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(33,NULL,10,'Subject for Pledge Acknowledgment','2015-06-07 06:48:43',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(34,NULL,10,'Subject for Pledge Acknowledgment','2015-04-04 09:10:38',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(35,NULL,10,'Subject for Pledge Acknowledgment','2015-08-04 07:18:26',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(36,NULL,9,'Subject for Tell a Friend','2015-09-28 03:52:32',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(37,NULL,9,'Subject for Tell a Friend','2014-11-11 09:48:42',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(38,NULL,9,'Subject for Tell a Friend','2015-08-12 09:11:02',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(39,NULL,10,'Subject for Pledge Acknowledgment','2015-06-25 09:07:10',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(40,NULL,10,'Subject for Pledge Acknowledgment','2014-12-01 04:44:07',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(41,NULL,10,'Subject for Pledge Acknowledgment','2015-04-08 10:13:16',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(42,NULL,9,'Subject for Tell a Friend','2014-12-30 11:07:48',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(43,NULL,9,'Subject for Tell a Friend','2015-07-14 01:39:42',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(44,NULL,9,'Subject for Tell a Friend','2015-03-31 04:26:02',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(45,NULL,9,'Subject for Tell a Friend','2015-04-10 02:54:54',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(46,NULL,9,'Subject for Tell a Friend','2015-04-04 05:20:11',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(47,NULL,10,'Subject for Pledge Acknowledgment','2015-07-20 07:06:03',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(48,NULL,9,'Subject for Tell a Friend','2015-09-24 08:13:54',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(49,NULL,9,'Subject for Tell a Friend','2014-12-27 05:23:18',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(50,NULL,9,'Subject for Tell a Friend','2015-06-26 02:30:30',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(51,NULL,10,'Subject for Pledge Acknowledgment','2015-07-17 01:25:21',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(52,NULL,9,'Subject for Tell a Friend','2015-05-16 05:57:19',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(53,NULL,10,'Subject for Pledge Acknowledgment','2015-01-14 01:10:17',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(54,NULL,9,'Subject for Tell a Friend','2014-12-29 11:56:08',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(55,NULL,10,'Subject for Pledge Acknowledgment','2015-05-21 02:43:29',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(56,NULL,10,'Subject for Pledge Acknowledgment','2014-12-27 08:41:53',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(57,NULL,10,'Subject for Pledge Acknowledgment','2015-02-13 04:08:06',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(58,NULL,10,'Subject for Pledge Acknowledgment','2015-03-02 10:46:46',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(59,NULL,9,'Subject for Tell a Friend','2014-11-24 08:41:44',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(60,NULL,9,'Subject for Tell a Friend','2015-08-01 09:30:11',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(61,NULL,9,'Subject for Tell a Friend','2015-01-04 05:31:37',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(62,NULL,10,'Subject for Pledge Acknowledgment','2015-01-23 03:49:01',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(63,NULL,9,'Subject for Tell a Friend','2015-05-07 01:34:48',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(64,NULL,9,'Subject for Tell a Friend','2015-04-08 06:04:52',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(65,NULL,10,'Subject for Pledge Acknowledgment','2015-01-04 09:40:44',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(66,NULL,9,'Subject for Tell a Friend','2015-05-17 09:33:29',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(67,NULL,10,'Subject for Pledge Acknowledgment','2015-05-23 03:51:54',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(68,NULL,10,'Subject for Pledge Acknowledgment','2014-10-19 04:52:50',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(69,NULL,10,'Subject for Pledge Acknowledgment','2015-06-30 09:15:23',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(70,NULL,9,'Subject for Tell a Friend','2015-06-26 01:00:23',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(71,NULL,10,'Subject for Pledge Acknowledgment','2014-12-13 06:56:46',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(72,NULL,10,'Subject for Pledge Acknowledgment','2014-12-28 11:01:00',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(73,NULL,10,'Subject for Pledge Acknowledgment','2015-02-10 01:03:10',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(74,NULL,9,'Subject for Tell a Friend','2015-08-15 03:03:12',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(75,NULL,9,'Subject for Tell a Friend','2015-04-06 07:33:14',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(76,NULL,10,'Subject for Pledge Acknowledgment','2014-11-14 07:13:06',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(77,NULL,9,'Subject for Tell a Friend','2015-06-12 08:54:15',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(78,NULL,9,'Subject for Tell a Friend','2015-04-12 09:09:48',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(79,NULL,9,'Subject for Tell a Friend','2015-08-12 03:58:40',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(80,NULL,9,'Subject for Tell a Friend','2015-01-28 03:42:58',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(81,NULL,9,'Subject for Tell a Friend','2015-07-20 09:25:56',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(82,NULL,10,'Subject for Pledge Acknowledgment','2015-03-16 10:25:05',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(83,NULL,9,'Subject for Tell a Friend','2015-09-02 08:50:29',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(84,NULL,9,'Subject for Tell a Friend','2015-08-16 12:53:33',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(85,NULL,10,'Subject for Pledge Acknowledgment','2014-11-03 04:41:18',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(86,NULL,10,'Subject for Pledge Acknowledgment','2014-10-23 02:30:31',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(87,NULL,10,'Subject for Pledge Acknowledgment','2015-07-25 02:08:58',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(88,NULL,9,'Subject for Tell a Friend','2015-08-10 12:41:31',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(89,NULL,9,'Subject for Tell a Friend','2015-03-19 02:21:03',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(90,NULL,10,'Subject for Pledge Acknowledgment','2014-12-12 09:58:54',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(91,NULL,10,'Subject for Pledge Acknowledgment','2015-02-07 09:30:44',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(92,NULL,10,'Subject for Pledge Acknowledgment','2014-10-22 11:21:21',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(93,NULL,10,'Subject for Pledge Acknowledgment','2015-04-24 04:48:35',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(94,NULL,10,'Subject for Pledge Acknowledgment','2015-09-21 01:42:58',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(95,NULL,9,'Subject for Tell a Friend','2015-03-29 03:10:41',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(96,NULL,9,'Subject for Tell a Friend','2015-04-30 09:17:31',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(97,NULL,9,'Subject for Tell a Friend','2015-09-19 11:04:49',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(98,NULL,10,'Subject for Pledge Acknowledgment','2015-07-30 10:47:30',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(99,NULL,9,'Subject for Tell a Friend','2015-07-14 01:00:51',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(100,NULL,9,'Subject for Tell a Friend','2015-07-13 11:43:04',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(101,NULL,9,'Subject for Tell a Friend','2015-01-14 10:15:45',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(102,NULL,10,'Subject for Pledge Acknowledgment','2015-01-06 04:56:27',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(103,NULL,10,'Subject for Pledge Acknowledgment','2015-07-25 11:51:24',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(104,NULL,9,'Subject for Tell a Friend','2015-05-20 06:21:40',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(105,NULL,10,'Subject for Pledge Acknowledgment','2015-01-06 04:03:04',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(106,NULL,10,'Subject for Pledge Acknowledgment','2014-11-18 06:09:59',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(107,NULL,10,'Subject for Pledge Acknowledgment','2015-06-01 08:21:47',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(108,NULL,9,'Subject for Tell a Friend','2015-03-31 02:26:18',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(109,NULL,9,'Subject for Tell a Friend','2015-06-09 01:33:59',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(110,NULL,9,'Subject for Tell a Friend','2014-10-19 12:31:06',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(111,NULL,9,'Subject for Tell a Friend','2015-06-09 07:31:04',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(112,NULL,10,'Subject for Pledge Acknowledgment','2015-04-19 10:35:31',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(113,NULL,10,'Subject for Pledge Acknowledgment','2015-05-17 01:20:38',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(114,NULL,9,'Subject for Tell a Friend','2015-01-10 02:16:13',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(115,NULL,10,'Subject for Pledge Acknowledgment','2015-05-31 03:23:00',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(116,NULL,10,'Subject for Pledge Acknowledgment','2015-04-30 11:38:55',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(117,NULL,9,'Subject for Tell a Friend','2015-08-22 04:57:42',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(118,NULL,10,'Subject for Pledge Acknowledgment','2015-04-14 02:57:12',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(119,NULL,9,'Subject for Tell a Friend','2015-06-16 07:19:39',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(120,NULL,10,'Subject for Pledge Acknowledgment','2015-02-24 10:52:09',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(121,NULL,9,'Subject for Tell a Friend','2014-10-31 03:31:40',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(122,NULL,10,'Subject for Pledge Acknowledgment','2015-09-25 08:42:01',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(123,NULL,9,'Subject for Tell a Friend','2015-01-23 06:13:28',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(124,NULL,10,'Subject for Pledge Acknowledgment','2014-12-28 04:24:39',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(125,NULL,9,'Subject for Tell a Friend','2015-05-02 11:23:42',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(126,NULL,10,'Subject for Pledge Acknowledgment','2014-11-11 04:24:04',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(127,NULL,10,'Subject for Pledge Acknowledgment','2015-01-22 06:18:55',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(128,NULL,10,'Subject for Pledge Acknowledgment','2015-05-12 11:25:03',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(129,NULL,9,'Subject for Tell a Friend','2015-07-28 05:50:40',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(130,NULL,10,'Subject for Pledge Acknowledgment','2015-03-08 03:34:57',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(131,NULL,10,'Subject for Pledge Acknowledgment','2015-06-30 09:38:21',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(132,NULL,10,'Subject for Pledge Acknowledgment','2015-01-19 09:30:15',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(133,NULL,9,'Subject for Tell a Friend','2015-02-16 03:00:41',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(134,NULL,10,'Subject for Pledge Acknowledgment','2015-05-12 01:36:13',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(135,NULL,10,'Subject for Pledge Acknowledgment','2015-03-21 02:02:27',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(136,NULL,10,'Subject for Pledge Acknowledgment','2015-01-05 01:41:53',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(137,NULL,9,'Subject for Tell a Friend','2015-06-27 12:54:44',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(138,NULL,10,'Subject for Pledge Acknowledgment','2014-10-16 09:36:43',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(139,NULL,9,'Subject for Tell a Friend','2014-11-11 07:51:41',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(140,NULL,9,'Subject for Tell a Friend','2015-08-16 12:47:14',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(141,NULL,9,'Subject for Tell a Friend','2015-06-13 09:20:01',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(142,NULL,10,'Subject for Pledge Acknowledgment','2015-02-16 04:47:53',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(143,NULL,10,'Subject for Pledge Acknowledgment','2015-07-20 02:11:18',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(144,NULL,9,'Subject for Tell a Friend','2015-05-11 06:39:41',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(145,NULL,10,'Subject for Pledge Acknowledgment','2015-04-27 11:36:33',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(146,NULL,10,'Subject for Pledge Acknowledgment','2015-04-13 12:27:31',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(147,NULL,10,'Subject for Pledge Acknowledgment','2015-06-19 03:33:11',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(148,NULL,9,'Subject for Tell a Friend','2015-10-01 06:58:18',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(149,NULL,10,'Subject for Pledge Acknowledgment','2015-02-12 03:58:24',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(150,NULL,9,'Subject for Tell a Friend','2014-10-16 04:11:28',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(151,NULL,10,'Subject for Pledge Acknowledgment','2014-10-19 04:27:45',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(152,NULL,10,'Subject for Pledge Acknowledgment','2015-07-06 10:53:22',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(153,NULL,10,'Subject for Pledge Acknowledgment','2015-07-06 05:51:15',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(154,NULL,10,'Subject for Pledge Acknowledgment','2015-01-13 01:13:38',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(155,NULL,9,'Subject for Tell a Friend','2015-04-03 09:59:42',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(156,NULL,9,'Subject for Tell a Friend','2015-01-26 10:15:39',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(157,NULL,10,'Subject for Pledge Acknowledgment','2015-01-04 03:51:02',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(158,NULL,9,'Subject for Tell a Friend','2015-03-06 04:54:47',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(159,NULL,9,'Subject for Tell a Friend','2015-08-26 04:07:39',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(160,NULL,9,'Subject for Tell a Friend','2015-04-24 03:29:01',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(161,NULL,9,'Subject for Tell a Friend','2015-04-25 07:00:21',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(162,NULL,10,'Subject for Pledge Acknowledgment','2015-01-16 11:21:14',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(163,NULL,10,'Subject for Pledge Acknowledgment','2015-07-19 10:26:11',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(164,NULL,9,'Subject for Tell a Friend','2015-03-19 12:37:51',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(165,NULL,10,'Subject for Pledge Acknowledgment','2015-02-08 10:27:09',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(166,NULL,10,'Subject for Pledge Acknowledgment','2015-08-18 01:18:47',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(167,NULL,9,'Subject for Tell a Friend','2015-07-07 06:33:37',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(168,NULL,9,'Subject for Tell a Friend','2014-10-25 01:00:51',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(169,NULL,9,'Subject for Tell a Friend','2015-01-02 07:39:06',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(170,NULL,9,'Subject for Tell a Friend','2015-09-18 01:48:29',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(171,NULL,9,'Subject for Tell a Friend','2015-05-21 10:24:57',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(172,NULL,9,'Subject for Tell a Friend','2015-01-09 12:04:41',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(173,NULL,10,'Subject for Pledge Acknowledgment','2015-09-13 03:58:47',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(174,NULL,9,'Subject for Tell a Friend','2015-10-09 07:29:31',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(175,NULL,9,'Subject for Tell a Friend','2015-04-06 09:44:02',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(176,NULL,9,'Subject for Tell a Friend','2015-04-06 08:19:50',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(177,NULL,10,'Subject for Pledge Acknowledgment','2015-08-04 06:56:32',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(178,NULL,9,'Subject for Tell a Friend','2015-02-21 10:48:50',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(179,NULL,9,'Subject for Tell a Friend','2015-03-04 07:13:06',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(180,NULL,10,'Subject for Pledge Acknowledgment','2015-10-07 10:25:35',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(181,NULL,9,'Subject for Tell a Friend','2015-09-30 02:04:48',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(182,NULL,10,'Subject for Pledge Acknowledgment','2015-01-27 06:42:33',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(183,NULL,9,'Subject for Tell a Friend','2015-09-29 03:15:45',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(184,NULL,10,'Subject for Pledge Acknowledgment','2014-12-15 07:09:47',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(185,NULL,9,'Subject for Tell a Friend','2015-02-03 02:48:09',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(186,NULL,10,'Subject for Pledge Acknowledgment','2014-11-03 12:53:50',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(187,NULL,9,'Subject for Tell a Friend','2015-01-22 09:27:54',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(188,NULL,9,'Subject for Tell a Friend','2015-08-05 03:36:38',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(189,NULL,9,'Subject for Tell a Friend','2015-05-09 04:53:52',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(190,NULL,9,'Subject for Tell a Friend','2015-04-03 02:13:38',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(191,NULL,9,'Subject for Tell a Friend','2015-07-15 03:34:34',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(192,NULL,10,'Subject for Pledge Acknowledgment','2015-05-17 06:11:26',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(193,NULL,9,'Subject for Tell a Friend','2015-06-05 09:27:20',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(194,NULL,10,'Subject for Pledge Acknowledgment','2015-04-19 12:26:40',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(195,NULL,10,'Subject for Pledge Acknowledgment','2015-06-24 10:46:38',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(196,NULL,10,'Subject for Pledge Acknowledgment','2015-07-21 08:22:28',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(197,NULL,10,'Subject for Pledge Acknowledgment','2015-02-21 05:37:40',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(198,NULL,10,'Subject for Pledge Acknowledgment','2014-10-16 04:05:06',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(199,NULL,9,'Subject for Tell a Friend','2015-03-29 04:30:17',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(200,NULL,9,'Subject for Tell a Friend','2015-01-22 04:01:30',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(201,NULL,9,'Subject for Tell a Friend','2015-04-28 09:49:12',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(202,NULL,10,'Subject for Pledge Acknowledgment','2014-10-25 09:54:04',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(203,NULL,10,'Subject for Pledge Acknowledgment','2014-11-06 08:15:21',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(204,NULL,9,'Subject for Tell a Friend','2015-02-06 01:38:52',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(205,NULL,10,'Subject for Pledge Acknowledgment','2015-07-27 10:47:49',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(206,NULL,10,'Subject for Pledge Acknowledgment','2014-11-20 11:42:13',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(207,NULL,10,'Subject for Pledge Acknowledgment','2015-02-25 10:11:55',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(208,NULL,9,'Subject for Tell a Friend','2015-09-19 11:16:06',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(209,NULL,10,'Subject for Pledge Acknowledgment','2015-08-16 03:53:20',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(210,NULL,10,'Subject for Pledge Acknowledgment','2015-06-17 08:08:25',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(211,NULL,10,'Subject for Pledge Acknowledgment','2015-04-16 08:31:53',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(212,NULL,10,'Subject for Pledge Acknowledgment','2015-06-21 12:28:21',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(213,NULL,10,'Subject for Pledge Acknowledgment','2015-08-28 11:05:46',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(214,NULL,9,'Subject for Tell a Friend','2015-04-13 11:15:50',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(215,NULL,10,'Subject for Pledge Acknowledgment','2015-03-20 11:33:04',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(216,NULL,10,'Subject for Pledge Acknowledgment','2015-08-03 02:17:13',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(217,NULL,9,'Subject for Tell a Friend','2015-08-17 04:48:09',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(218,NULL,10,'Subject for Pledge Acknowledgment','2014-11-06 11:43:38',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(219,NULL,10,'Subject for Pledge Acknowledgment','2015-05-05 08:27:15',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(220,NULL,9,'Subject for Tell a Friend','2015-01-21 09:57:48',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(221,NULL,10,'Subject for Pledge Acknowledgment','2015-04-03 01:46:21',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(222,NULL,9,'Subject for Tell a Friend','2015-07-20 07:03:31',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(223,NULL,10,'Subject for Pledge Acknowledgment','2014-11-25 04:22:48',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(224,NULL,9,'Subject for Tell a Friend','2015-08-30 11:45:53',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(225,NULL,9,'Subject for Tell a Friend','2015-04-15 11:12:59',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(226,NULL,10,'Subject for Pledge Acknowledgment','2015-06-23 07:29:07',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(227,NULL,10,'Subject for Pledge Acknowledgment','2015-06-09 12:39:42',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(228,NULL,10,'Subject for Pledge Acknowledgment','2015-02-08 05:08:07',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(229,NULL,10,'Subject for Pledge Acknowledgment','2015-05-08 12:10:56',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(230,NULL,9,'Subject for Tell a Friend','2014-10-14 02:38:46',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(231,NULL,10,'Subject for Pledge Acknowledgment','2015-02-16 06:30:35',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(232,NULL,9,'Subject for Tell a Friend','2014-10-30 06:56:25',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(233,NULL,10,'Subject for Pledge Acknowledgment','2014-12-31 10:37:20',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(234,NULL,9,'Subject for Tell a Friend','2015-05-29 08:29:55',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(235,NULL,10,'Subject for Pledge Acknowledgment','2015-07-05 02:40:10',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(236,NULL,9,'Subject for Tell a Friend','2015-03-16 12:49:02',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(237,NULL,10,'Subject for Pledge Acknowledgment','2015-04-19 07:50:38',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(238,NULL,9,'Subject for Tell a Friend','2015-04-22 02:52:01',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(239,NULL,10,'Subject for Pledge Acknowledgment','2014-10-28 02:50:13',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(240,NULL,9,'Subject for Tell a Friend','2015-10-05 07:57:26',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(241,NULL,9,'Subject for Tell a Friend','2015-09-25 05:05:29',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(242,NULL,10,'Subject for Pledge Acknowledgment','2015-07-04 01:01:41',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(243,NULL,10,'Subject for Pledge Acknowledgment','2015-07-31 02:09:25',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(244,NULL,10,'Subject for Pledge Acknowledgment','2014-12-20 11:36:06',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(245,NULL,9,'Subject for Tell a Friend','2015-04-05 02:38:54',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(246,NULL,9,'Subject for Tell a Friend','2014-11-23 01:09:25',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(247,NULL,9,'Subject for Tell a Friend','2015-03-17 08:48:06',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(248,NULL,9,'Subject for Tell a Friend','2015-06-19 04:50:21',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(249,NULL,10,'Subject for Pledge Acknowledgment','2015-03-22 01:36:37',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(250,NULL,9,'Subject for Tell a Friend','2015-07-09 08:56:02',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(251,NULL,9,'Subject for Tell a Friend','2015-06-01 10:47:32',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(252,NULL,10,'Subject for Pledge Acknowledgment','2015-03-30 01:37:34',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(253,NULL,9,'Subject for Tell a Friend','2014-11-01 09:01:27',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(254,NULL,10,'Subject for Pledge Acknowledgment','2015-09-26 04:35:27',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(255,NULL,9,'Subject for Tell a Friend','2015-01-16 11:00:01',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(256,NULL,9,'Subject for Tell a Friend','2015-09-02 02:20:11',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(257,NULL,10,'Subject for Pledge Acknowledgment','2015-06-26 02:07:17',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(258,NULL,9,'Subject for Tell a Friend','2015-07-12 10:39:13',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(259,NULL,10,'Subject for Pledge Acknowledgment','2015-05-14 09:13:38',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(260,NULL,10,'Subject for Pledge Acknowledgment','2015-08-05 08:16:07',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(261,NULL,9,'Subject for Tell a Friend','2014-10-23 09:05:06',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(262,NULL,10,'Subject for Pledge Acknowledgment','2015-07-17 12:08:59',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(263,NULL,10,'Subject for Pledge Acknowledgment','2014-11-09 11:47:51',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(264,NULL,10,'Subject for Pledge Acknowledgment','2015-10-04 07:42:59',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(265,NULL,10,'Subject for Pledge Acknowledgment','2015-06-23 09:44:15',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(266,NULL,9,'Subject for Tell a Friend','2015-10-10 02:31:38',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(267,NULL,10,'Subject for Pledge Acknowledgment','2015-07-24 07:37:14',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(268,NULL,10,'Subject for Pledge Acknowledgment','2014-10-23 06:56:53',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(269,NULL,10,'Subject for Pledge Acknowledgment','2015-07-29 12:52:48',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(270,NULL,10,'Subject for Pledge Acknowledgment','2015-04-18 06:26:07',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(271,NULL,9,'Subject for Tell a Friend','2015-07-15 02:36:51',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(272,NULL,9,'Subject for Tell a Friend','2014-11-16 04:40:54',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(273,NULL,10,'Subject for Pledge Acknowledgment','2015-01-31 06:22:56',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(274,NULL,9,'Subject for Tell a Friend','2014-12-09 06:39:27',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(275,NULL,10,'Subject for Pledge Acknowledgment','2015-07-11 09:45:09',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(276,NULL,10,'Subject for Pledge Acknowledgment','2015-01-05 06:03:51',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(277,NULL,10,'Subject for Pledge Acknowledgment','2015-01-07 07:01:51',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(278,NULL,10,'Subject for Pledge Acknowledgment','2015-01-20 06:08:51',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(279,NULL,10,'Subject for Pledge Acknowledgment','2015-09-14 08:27:10',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(280,NULL,9,'Subject for Tell a Friend','2015-05-13 08:21:38',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(281,NULL,10,'Subject for Pledge Acknowledgment','2015-01-24 08:13:10',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(282,NULL,9,'Subject for Tell a Friend','2015-02-04 06:48:15',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(283,NULL,10,'Subject for Pledge Acknowledgment','2015-01-13 05:51:47',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(284,NULL,9,'Subject for Tell a Friend','2015-06-08 02:32:06',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(285,NULL,9,'Subject for Tell a Friend','2015-08-02 10:10:59',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(286,NULL,9,'Subject for Tell a Friend','2015-04-23 11:59:17',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(287,NULL,10,'Subject for Pledge Acknowledgment','2015-01-31 11:04:23',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(288,NULL,10,'Subject for Pledge Acknowledgment','2015-09-17 08:09:21',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(289,NULL,9,'Subject for Tell a Friend','2014-12-26 05:42:57',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(290,NULL,9,'Subject for Tell a Friend','2015-09-18 12:32:15',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(291,NULL,10,'Subject for Pledge Acknowledgment','2015-03-29 09:20:01',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(292,NULL,9,'Subject for Tell a Friend','2015-09-11 03:24:56',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(293,NULL,9,'Subject for Tell a Friend','2014-11-29 03:01:18',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(294,NULL,10,'Subject for Pledge Acknowledgment','2015-02-14 10:20:11',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(295,NULL,9,'Subject for Tell a Friend','2015-05-12 09:37:11',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(296,NULL,9,'Subject for Tell a Friend','2014-10-24 02:42:59',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(297,NULL,9,'Subject for Tell a Friend','2014-10-17 03:31:05',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(298,NULL,9,'Subject for Tell a Friend','2015-01-01 02:00:59',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(299,NULL,10,'Subject for Pledge Acknowledgment','2014-10-14 01:14:24',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(300,NULL,10,'Subject for Pledge Acknowledgment','2015-03-17 04:37:20',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(301,NULL,9,'Subject for Tell a Friend','2014-10-19 08:21:37',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(302,NULL,9,'Subject for Tell a Friend','2014-11-04 09:08:10',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(303,NULL,9,'Subject for Tell a Friend','2015-07-14 05:34:00',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(304,NULL,10,'Subject for Pledge Acknowledgment','2014-10-16 12:35:58',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(305,NULL,9,'Subject for Tell a Friend','2015-06-04 02:17:40',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(306,NULL,10,'Subject for Pledge Acknowledgment','2015-03-02 08:05:18',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(307,NULL,10,'Subject for Pledge Acknowledgment','2015-08-12 12:49:01',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(308,NULL,9,'Subject for Tell a Friend','2015-04-18 09:04:12',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(309,NULL,9,'Subject for Tell a Friend','2015-05-24 10:41:03',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(310,NULL,9,'Subject for Tell a Friend','2015-08-22 05:53:10',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(311,NULL,10,'Subject for Pledge Acknowledgment','2015-03-24 01:15:21',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(312,NULL,9,'Subject for Tell a Friend','2015-02-27 03:11:58',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(313,NULL,9,'Subject for Tell a Friend','2015-06-11 03:12:17',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(314,NULL,10,'Subject for Pledge Acknowledgment','2014-12-16 09:13:01',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(315,NULL,9,'Subject for Tell a Friend','2014-11-27 11:01:23',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(316,NULL,9,'Subject for Tell a Friend','2015-01-02 11:01:51',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(317,NULL,10,'Subject for Pledge Acknowledgment','2015-07-20 02:50:01',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(318,NULL,9,'Subject for Tell a Friend','2015-03-02 02:01:05',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(319,NULL,10,'Subject for Pledge Acknowledgment','2014-12-28 11:23:39',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(320,NULL,9,'Subject for Tell a Friend','2015-05-07 02:46:27',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(321,NULL,10,'Subject for Pledge Acknowledgment','2015-06-27 03:50:25',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(322,NULL,9,'Subject for Tell a Friend','2014-10-23 12:30:25',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(323,NULL,10,'Subject for Pledge Acknowledgment','2015-04-22 09:17:06',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(324,NULL,9,'Subject for Tell a Friend','2015-02-09 01:03:48',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(325,NULL,10,'Subject for Pledge Acknowledgment','2014-11-23 04:21:12',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(326,NULL,9,'Subject for Tell a Friend','2014-12-23 02:57:33',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(327,NULL,9,'Subject for Tell a Friend','2015-05-24 03:47:33',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(328,NULL,10,'Subject for Pledge Acknowledgment','2015-02-25 11:23:19',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(329,NULL,10,'Subject for Pledge Acknowledgment','2015-01-04 05:54:49',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(330,NULL,10,'Subject for Pledge Acknowledgment','2015-08-04 11:23:38',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(331,NULL,9,'Subject for Tell a Friend','2015-04-10 01:31:11',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(332,NULL,10,'Subject for Pledge Acknowledgment','2015-05-14 12:08:27',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(333,NULL,9,'Subject for Tell a Friend','2014-12-23 03:51:41',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(334,NULL,9,'Subject for Tell a Friend','2015-06-16 08:13:35',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(335,NULL,9,'Subject for Tell a Friend','2015-01-31 06:47:44',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(336,NULL,9,'Subject for Tell a Friend','2015-09-16 04:34:09',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(337,NULL,10,'Subject for Pledge Acknowledgment','2015-04-30 06:59:32',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(338,NULL,10,'Subject for Pledge Acknowledgment','2014-10-31 11:38:22',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(339,NULL,10,'Subject for Pledge Acknowledgment','2015-07-01 09:39:26',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(340,NULL,10,'Subject for Pledge Acknowledgment','2015-06-25 03:30:37',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(341,NULL,9,'Subject for Tell a Friend','2015-07-27 12:04:43',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(342,NULL,9,'Subject for Tell a Friend','2015-09-28 09:53:16',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(343,NULL,9,'Subject for Tell a Friend','2015-01-25 12:06:30',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(344,NULL,9,'Subject for Tell a Friend','2015-09-16 11:05:28',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(345,NULL,9,'Subject for Tell a Friend','2015-10-01 07:36:56',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(346,NULL,9,'Subject for Tell a Friend','2015-02-27 11:30:13',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(347,NULL,9,'Subject for Tell a Friend','2015-04-20 09:52:31',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(348,NULL,9,'Subject for Tell a Friend','2015-07-11 12:20:49',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(349,NULL,10,'Subject for Pledge Acknowledgment','2015-08-15 03:58:34',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(350,NULL,9,'Subject for Tell a Friend','2014-10-26 02:12:56',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(351,NULL,9,'Subject for Tell a Friend','2015-06-30 11:05:24',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(352,NULL,10,'Subject for Pledge Acknowledgment','2014-11-21 08:22:04',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(353,NULL,10,'Subject for Pledge Acknowledgment','2015-07-10 06:26:02',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(354,NULL,9,'Subject for Tell a Friend','2015-07-21 10:31:36',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(355,NULL,10,'Subject for Pledge Acknowledgment','2015-05-25 04:12:49',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(356,NULL,9,'Subject for Tell a Friend','2015-09-08 07:34:57',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(357,NULL,10,'Subject for Pledge Acknowledgment','2015-08-09 03:57:55',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(358,NULL,10,'Subject for Pledge Acknowledgment','2015-09-10 07:47:37',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(359,NULL,9,'Subject for Tell a Friend','2015-06-16 07:20:49',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(360,NULL,10,'Subject for Pledge Acknowledgment','2015-07-02 04:04:18',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(361,NULL,10,'Subject for Pledge Acknowledgment','2015-09-16 05:50:27',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(362,NULL,9,'Subject for Tell a Friend','2015-06-15 10:09:46',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(363,NULL,10,'Subject for Pledge Acknowledgment','2015-01-17 05:19:15',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(364,NULL,10,'Subject for Pledge Acknowledgment','2014-10-27 08:24:41',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(365,NULL,9,'Subject for Tell a Friend','2015-09-23 04:39:36',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(366,NULL,10,'Subject for Pledge Acknowledgment','2015-08-16 11:29:14',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(367,NULL,9,'Subject for Tell a Friend','2015-07-27 09:07:15',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(368,NULL,10,'Subject for Pledge Acknowledgment','2015-10-10 01:07:44',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(369,NULL,9,'Subject for Tell a Friend','2014-10-15 02:11:09',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(370,NULL,9,'Subject for Tell a Friend','2015-06-14 05:06:08',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(371,NULL,9,'Subject for Tell a Friend','2015-02-23 04:29:32',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(372,NULL,9,'Subject for Tell a Friend','2015-01-14 03:17:07',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(373,NULL,9,'Subject for Tell a Friend','2015-07-13 06:03:56',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(374,NULL,9,'Subject for Tell a Friend','2015-06-14 05:16:59',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(375,NULL,9,'Subject for Tell a Friend','2014-12-09 08:27:40',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(376,NULL,9,'Subject for Tell a Friend','2015-03-25 10:58:30',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(377,NULL,10,'Subject for Pledge Acknowledgment','2015-07-03 03:14:28',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(378,NULL,10,'Subject for Pledge Acknowledgment','2015-01-25 10:35:04',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(379,NULL,10,'Subject for Pledge Acknowledgment','2015-03-15 09:22:03',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(380,NULL,9,'Subject for Tell a Friend','2015-09-02 10:22:17',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(381,NULL,9,'Subject for Tell a Friend','2015-03-30 07:32:28',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(382,NULL,10,'Subject for Pledge Acknowledgment','2015-07-19 04:26:17',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(383,NULL,10,'Subject for Pledge Acknowledgment','2015-08-09 08:24:28',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(384,NULL,10,'Subject for Pledge Acknowledgment','2015-04-28 05:06:25',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(385,NULL,9,'Subject for Tell a Friend','2015-01-21 08:36:30',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(386,NULL,9,'Subject for Tell a Friend','2014-12-09 10:47:29',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(387,NULL,10,'Subject for Pledge Acknowledgment','2014-12-17 10:34:56',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(388,NULL,10,'Subject for Pledge Acknowledgment','2015-08-18 05:58:41',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(389,NULL,10,'Subject for Pledge Acknowledgment','2015-03-13 03:59:21',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(390,NULL,9,'Subject for Tell a Friend','2015-01-06 01:17:40',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(391,NULL,9,'Subject for Tell a Friend','2014-11-02 07:37:31',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(392,NULL,10,'Subject for Pledge Acknowledgment','2015-01-17 07:31:13',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(393,NULL,10,'Subject for Pledge Acknowledgment','2015-09-17 11:29:12',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(394,NULL,10,'Subject for Pledge Acknowledgment','2015-05-07 02:57:51',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(395,NULL,9,'Subject for Tell a Friend','2014-11-24 05:53:54',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(396,NULL,10,'Subject for Pledge Acknowledgment','2014-11-24 09:46:42',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(397,NULL,9,'Subject for Tell a Friend','2015-06-06 11:23:29',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(398,NULL,10,'Subject for Pledge Acknowledgment','2015-09-05 06:42:10',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(399,NULL,10,'Subject for Pledge Acknowledgment','2015-03-27 05:44:16',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(400,NULL,9,'Subject for Tell a Friend','2015-05-04 10:45:02',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(401,NULL,9,'Subject for Tell a Friend','2014-11-19 08:57:05',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(402,NULL,10,'Subject for Pledge Acknowledgment','2015-02-15 08:03:03',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(403,NULL,10,'Subject for Pledge Acknowledgment','2015-03-12 02:41:11',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(404,NULL,10,'Subject for Pledge Acknowledgment','2015-06-12 11:44:56',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(405,NULL,9,'Subject for Tell a Friend','2015-07-08 10:09:07',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(406,NULL,10,'Subject for Pledge Acknowledgment','2015-01-26 03:59:03',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(407,NULL,10,'Subject for Pledge Acknowledgment','2015-04-17 07:49:15',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(408,NULL,10,'Subject for Pledge Acknowledgment','2015-09-10 10:28:17',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(409,NULL,10,'Subject for Pledge Acknowledgment','2015-05-12 04:25:11',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(410,NULL,10,'Subject for Pledge Acknowledgment','2015-06-10 07:44:37',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(411,NULL,10,'Subject for Pledge Acknowledgment','2015-09-26 12:27:52',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(412,NULL,10,'Subject for Pledge Acknowledgment','2015-06-01 06:49:34',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(413,NULL,10,'Subject for Pledge Acknowledgment','2015-01-16 12:56:20',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(414,NULL,10,'Subject for Pledge Acknowledgment','2015-01-22 12:55:08',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(415,NULL,9,'Subject for Tell a Friend','2014-11-06 08:37:17',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(416,NULL,10,'Subject for Pledge Acknowledgment','2015-09-22 10:16:53',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(417,NULL,9,'Subject for Tell a Friend','2014-11-05 06:39:44',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(418,NULL,10,'Subject for Pledge Acknowledgment','2015-10-05 03:02:17',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(419,NULL,10,'Subject for Pledge Acknowledgment','2014-12-27 06:31:07',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(420,NULL,9,'Subject for Tell a Friend','2015-02-18 09:27:38',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(421,NULL,10,'Subject for Pledge Acknowledgment','2014-10-16 11:16:58',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(422,NULL,9,'Subject for Tell a Friend','2015-04-12 08:52:46',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(423,NULL,10,'Subject for Pledge Acknowledgment','2015-03-09 01:40:52',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(424,NULL,9,'Subject for Tell a Friend','2015-08-04 11:15:55',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(425,NULL,10,'Subject for Pledge Acknowledgment','2015-04-28 02:30:56',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(426,NULL,9,'Subject for Tell a Friend','2014-11-25 07:55:58',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(427,NULL,10,'Subject for Pledge Acknowledgment','2015-06-29 03:00:40',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(428,NULL,9,'Subject for Tell a Friend','2015-03-30 04:20:13',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(429,NULL,10,'Subject for Pledge Acknowledgment','2015-06-19 02:54:07',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(430,NULL,10,'Subject for Pledge Acknowledgment','2015-02-09 03:36:40',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(431,NULL,10,'Subject for Pledge Acknowledgment','2015-04-24 11:43:53',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(432,NULL,10,'Subject for Pledge Acknowledgment','2015-03-20 02:47:05',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(433,NULL,9,'Subject for Tell a Friend','2015-09-02 12:24:27',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(434,NULL,10,'Subject for Pledge Acknowledgment','2015-02-11 09:37:57',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(435,NULL,10,'Subject for Pledge Acknowledgment','2015-08-10 01:57:15',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(436,NULL,9,'Subject for Tell a Friend','2015-08-23 05:12:40',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(437,NULL,10,'Subject for Pledge Acknowledgment','2015-06-28 01:10:25',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(438,NULL,9,'Subject for Tell a Friend','2015-05-30 09:01:35',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(439,NULL,10,'Subject for Pledge Acknowledgment','2014-12-21 01:19:32',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(440,NULL,10,'Subject for Pledge Acknowledgment','2015-09-16 08:18:32',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(441,NULL,10,'Subject for Pledge Acknowledgment','2015-07-18 07:46:57',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(442,NULL,9,'Subject for Tell a Friend','2015-02-22 03:44:28',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(443,NULL,9,'Subject for Tell a Friend','2015-02-11 07:52:40',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(444,NULL,9,'Subject for Tell a Friend','2015-10-02 01:55:51',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(445,NULL,10,'Subject for Pledge Acknowledgment','2014-10-29 05:42:07',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(446,NULL,9,'Subject for Tell a Friend','2015-03-10 07:01:11',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(447,NULL,10,'Subject for Pledge Acknowledgment','2015-06-30 07:02:08',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(448,NULL,9,'Subject for Tell a Friend','2015-02-05 07:59:04',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(449,NULL,10,'Subject for Pledge Acknowledgment','2015-01-18 08:11:44',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(450,NULL,9,'Subject for Tell a Friend','2014-12-12 05:53:05',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(464,1,7,'General','2015-10-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(465,2,7,'Student','2015-10-12 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(466,3,7,'General','2015-10-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(467,4,7,'Student','2015-10-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(468,5,7,'Student','2014-10-09 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(469,6,7,'Student','2015-10-08 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(470,7,7,'General','2015-10-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(471,8,7,'Student','2015-10-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(472,9,7,'General','2015-10-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(473,10,7,'Student','2014-10-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(474,11,7,'Lifetime','2015-10-03 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(475,12,7,'Student','2015-10-02 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(476,13,7,'General','2015-10-01 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(477,14,7,'Student','2015-09-30 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(478,15,7,'General','2013-06-23 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(479,16,7,'Student','2015-09-28 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(480,17,7,'General','2015-09-27 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(481,18,7,'Student','2015-09-26 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(482,19,7,'General','2015-09-25 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(483,20,7,'Student','2014-09-24 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(484,21,7,'General','2015-09-23 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(485,22,7,'Lifetime','2015-09-22 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(486,23,7,'General','2015-09-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(487,24,7,'Student','2015-09-20 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(488,25,7,'General','2013-04-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(489,26,7,'Student','2015-09-18 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(490,27,7,'General','2015-09-17 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(491,28,7,'Student','2015-09-16 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(492,29,7,'General','2015-09-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(493,30,7,'General','2013-02-23 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(494,14,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(495,15,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(496,16,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(497,17,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(498,18,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(499,19,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(500,20,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(501,21,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(502,22,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(503,23,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(504,24,6,'$ 1200.00 - Lifetime Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(505,25,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(506,26,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(507,27,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(508,28,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(509,29,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(510,30,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(511,31,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(512,32,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(513,33,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(514,34,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(515,35,6,'$ 1200.00 - Lifetime Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(516,36,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(517,37,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(518,38,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(519,39,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(520,40,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(521,41,6,'$ 50.00 - Student Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(522,42,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(523,43,6,'$ 100.00 - General Membership: Offline signup','2015-10-13 22:43:55',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(575,45,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(576,46,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(577,47,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(578,48,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(579,49,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(580,50,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(581,51,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(582,52,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(583,53,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(584,54,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(585,55,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(586,56,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(587,57,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(588,58,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(589,59,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(590,60,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(591,61,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(592,62,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(593,63,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(594,64,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(595,65,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(596,66,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(597,67,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(598,68,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(599,69,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(600,70,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(601,71,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(602,72,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(603,73,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(604,74,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(605,75,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(606,76,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(607,77,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(608,78,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(609,79,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(610,80,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(611,81,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(612,82,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(613,83,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(614,84,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(615,85,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(616,86,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(617,87,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(618,88,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(619,89,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(620,90,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(621,91,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(622,92,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(623,93,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(624,94,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2015-10-13 22:43:56',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL); +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`) VALUES (1,NULL,10,'Subject for Pledge Acknowledgment','2015-10-02 10:06:53',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(2,NULL,9,'Subject for Tell a Friend','2015-12-28 12:23:39',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(3,NULL,10,'Subject for Pledge Acknowledgment','2015-09-09 04:57:19',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(4,NULL,9,'Subject for Tell a Friend','2015-02-25 01:13:31',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(5,NULL,10,'Subject for Pledge Acknowledgment','2015-02-25 11:04:20',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(6,NULL,9,'Subject for Tell a Friend','2015-06-23 02:57:14',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(7,NULL,10,'Subject for Pledge Acknowledgment','2015-06-30 10:34:35',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(8,NULL,9,'Subject for Tell a Friend','2015-06-06 01:05:43',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(9,NULL,10,'Subject for Pledge Acknowledgment','2015-01-10 12:07:21',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(10,NULL,9,'Subject for Tell a Friend','2015-02-20 10:03:48',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(11,NULL,9,'Subject for Tell a Friend','2015-04-11 03:27:55',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(12,NULL,9,'Subject for Tell a Friend','2015-11-13 07:54:06',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(13,NULL,10,'Subject for Pledge Acknowledgment','2015-03-31 06:01:05',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(14,NULL,10,'Subject for Pledge Acknowledgment','2015-08-23 10:19:01',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(15,NULL,9,'Subject for Tell a Friend','2015-07-07 08:44:30',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(16,NULL,10,'Subject for Pledge Acknowledgment','2015-07-26 06:58:17',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(17,NULL,9,'Subject for Tell a Friend','2015-07-14 05:01:31',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(18,NULL,10,'Subject for Pledge Acknowledgment','2015-11-05 03:58:34',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(19,NULL,10,'Subject for Pledge Acknowledgment','2015-08-19 12:01:38',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(20,NULL,10,'Subject for Pledge Acknowledgment','2015-06-29 06:56:30',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(21,NULL,9,'Subject for Tell a Friend','2015-07-24 11:03:18',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(22,NULL,10,'Subject for Pledge Acknowledgment','2015-03-16 02:33:21',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(23,NULL,9,'Subject for Tell a Friend','2015-01-18 01:48:07',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(24,NULL,9,'Subject for Tell a Friend','2016-01-02 11:21:06',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(25,NULL,10,'Subject for Pledge Acknowledgment','2015-06-30 12:31:34',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(26,NULL,9,'Subject for Tell a Friend','2015-04-10 01:17:33',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(27,NULL,10,'Subject for Pledge Acknowledgment','2015-12-04 01:10:25',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(28,NULL,9,'Subject for Tell a Friend','2015-03-03 02:56:22',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(29,NULL,10,'Subject for Pledge Acknowledgment','2015-07-11 03:16:32',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(30,NULL,9,'Subject for Tell a Friend','2015-12-09 09:08:24',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(31,NULL,10,'Subject for Pledge Acknowledgment','2015-05-10 06:40:58',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(32,NULL,9,'Subject for Tell a Friend','2015-02-25 06:29:17',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(33,NULL,10,'Subject for Pledge Acknowledgment','2015-11-19 02:34:55',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(34,NULL,9,'Subject for Tell a Friend','2015-02-13 10:06:05',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(35,NULL,10,'Subject for Pledge Acknowledgment','2015-12-30 12:59:30',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(36,NULL,10,'Subject for Pledge Acknowledgment','2015-02-12 09:45:13',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(37,NULL,9,'Subject for Tell a Friend','2015-04-23 06:47:08',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(38,NULL,10,'Subject for Pledge Acknowledgment','2015-05-06 11:36:48',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(39,NULL,10,'Subject for Pledge Acknowledgment','2015-07-28 07:26:56',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(40,NULL,9,'Subject for Tell a Friend','2015-11-22 10:42:10',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(41,NULL,10,'Subject for Pledge Acknowledgment','2015-12-30 09:59:22',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(42,NULL,10,'Subject for Pledge Acknowledgment','2015-10-06 03:12:12',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(43,NULL,10,'Subject for Pledge Acknowledgment','2015-05-13 06:15:21',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(44,NULL,9,'Subject for Tell a Friend','2015-05-08 05:54:42',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(45,NULL,10,'Subject for Pledge Acknowledgment','2015-02-17 11:31:31',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(46,NULL,9,'Subject for Tell a Friend','2015-01-12 12:40:05',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(47,NULL,9,'Subject for Tell a Friend','2015-04-24 01:01:13',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(48,NULL,9,'Subject for Tell a Friend','2015-12-09 10:45:03',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(49,NULL,10,'Subject for Pledge Acknowledgment','2015-12-10 02:15:10',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(50,NULL,10,'Subject for Pledge Acknowledgment','2015-04-09 10:02:37',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(51,NULL,9,'Subject for Tell a Friend','2015-01-24 07:17:51',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(52,NULL,9,'Subject for Tell a Friend','2015-12-30 01:42:14',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(53,NULL,9,'Subject for Tell a Friend','2015-01-18 08:28:54',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(54,NULL,10,'Subject for Pledge Acknowledgment','2016-01-03 05:07:53',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(55,NULL,9,'Subject for Tell a Friend','2015-11-20 09:11:44',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(56,NULL,10,'Subject for Pledge Acknowledgment','2015-09-18 12:11:54',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(57,NULL,10,'Subject for Pledge Acknowledgment','2015-05-06 04:53:17',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(58,NULL,10,'Subject for Pledge Acknowledgment','2015-02-27 12:14:36',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(59,NULL,10,'Subject for Pledge Acknowledgment','2015-06-22 09:55:50',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(60,NULL,9,'Subject for Tell a Friend','2015-07-22 05:14:21',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(61,NULL,10,'Subject for Pledge Acknowledgment','2015-12-14 03:38:36',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(62,NULL,9,'Subject for Tell a Friend','2015-03-27 04:12:09',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(63,NULL,10,'Subject for Pledge Acknowledgment','2015-07-05 04:54:26',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(64,NULL,9,'Subject for Tell a Friend','2015-04-18 02:33:57',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(65,NULL,9,'Subject for Tell a Friend','2015-06-01 03:58:51',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(66,NULL,9,'Subject for Tell a Friend','2015-05-06 05:09:27',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(67,NULL,9,'Subject for Tell a Friend','2015-07-24 10:46:33',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(68,NULL,9,'Subject for Tell a Friend','2015-02-23 11:31:29',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(69,NULL,10,'Subject for Pledge Acknowledgment','2015-08-09 07:33:40',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(70,NULL,10,'Subject for Pledge Acknowledgment','2015-03-17 12:47:30',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(71,NULL,10,'Subject for Pledge Acknowledgment','2015-05-03 06:52:23',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(72,NULL,9,'Subject for Tell a Friend','2015-04-18 09:37:27',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(73,NULL,10,'Subject for Pledge Acknowledgment','2015-02-17 01:16:14',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(74,NULL,9,'Subject for Tell a Friend','2015-05-20 03:35:10',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(75,NULL,9,'Subject for Tell a Friend','2016-01-06 12:34:47',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(76,NULL,9,'Subject for Tell a Friend','2015-12-07 05:23:14',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(77,NULL,10,'Subject for Pledge Acknowledgment','2015-09-04 02:08:20',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(78,NULL,10,'Subject for Pledge Acknowledgment','2015-08-11 11:06:24',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(79,NULL,9,'Subject for Tell a Friend','2015-10-13 11:20:06',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(80,NULL,10,'Subject for Pledge Acknowledgment','2015-12-05 06:52:27',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(81,NULL,9,'Subject for Tell a Friend','2015-11-23 10:07:59',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(82,NULL,10,'Subject for Pledge Acknowledgment','2015-08-07 11:25:18',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(83,NULL,10,'Subject for Pledge Acknowledgment','2015-04-07 07:12:18',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(84,NULL,9,'Subject for Tell a Friend','2015-10-13 09:02:40',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(85,NULL,9,'Subject for Tell a Friend','2015-07-15 06:26:24',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(86,NULL,10,'Subject for Pledge Acknowledgment','2015-06-22 02:22:56',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(87,NULL,10,'Subject for Pledge Acknowledgment','2015-10-26 07:02:55',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(88,NULL,9,'Subject for Tell a Friend','2015-01-21 01:35:08',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(89,NULL,9,'Subject for Tell a Friend','2015-07-23 04:42:42',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(90,NULL,10,'Subject for Pledge Acknowledgment','2015-11-02 07:46:26',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(91,NULL,9,'Subject for Tell a Friend','2015-09-11 08:27:37',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(92,NULL,10,'Subject for Pledge Acknowledgment','2015-01-14 11:18:49',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(93,NULL,10,'Subject for Pledge Acknowledgment','2015-08-09 12:02:44',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(94,NULL,10,'Subject for Pledge Acknowledgment','2015-02-04 12:10:43',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(95,NULL,10,'Subject for Pledge Acknowledgment','2015-12-28 07:42:08',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(96,NULL,10,'Subject for Pledge Acknowledgment','2015-11-04 04:54:19',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(97,NULL,9,'Subject for Tell a Friend','2015-06-29 07:28:04',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(98,NULL,10,'Subject for Pledge Acknowledgment','2015-01-26 09:04:24',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(99,NULL,10,'Subject for Pledge Acknowledgment','2015-03-10 11:34:40',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(100,NULL,10,'Subject for Pledge Acknowledgment','2015-01-18 01:24:53',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(101,NULL,9,'Subject for Tell a Friend','2015-04-03 01:24:49',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(102,NULL,9,'Subject for Tell a Friend','2015-08-03 11:52:00',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(103,NULL,9,'Subject for Tell a Friend','2015-06-19 02:23:38',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(104,NULL,9,'Subject for Tell a Friend','2015-06-26 09:27:35',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(105,NULL,10,'Subject for Pledge Acknowledgment','2015-09-03 06:04:11',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(106,NULL,10,'Subject for Pledge Acknowledgment','2015-09-03 09:39:11',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(107,NULL,9,'Subject for Tell a Friend','2015-10-04 06:06:23',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(108,NULL,9,'Subject for Tell a Friend','2015-04-03 07:37:41',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(109,NULL,9,'Subject for Tell a Friend','2015-11-14 08:58:57',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(110,NULL,9,'Subject for Tell a Friend','2015-11-29 12:53:08',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(111,NULL,9,'Subject for Tell a Friend','2015-04-10 08:23:55',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(112,NULL,10,'Subject for Pledge Acknowledgment','2015-05-23 06:05:40',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(113,NULL,10,'Subject for Pledge Acknowledgment','2015-12-22 06:05:18',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(114,NULL,9,'Subject for Tell a Friend','2015-06-10 05:27:40',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(115,NULL,10,'Subject for Pledge Acknowledgment','2015-01-18 02:31:03',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(116,NULL,9,'Subject for Tell a Friend','2015-03-20 12:53:11',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(117,NULL,9,'Subject for Tell a Friend','2015-09-17 12:14:07',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(118,NULL,9,'Subject for Tell a Friend','2015-07-06 03:30:50',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(119,NULL,10,'Subject for Pledge Acknowledgment','2015-05-09 04:26:17',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(120,NULL,10,'Subject for Pledge Acknowledgment','2015-10-31 07:59:12',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(121,NULL,9,'Subject for Tell a Friend','2015-09-11 05:28:26',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(122,NULL,9,'Subject for Tell a Friend','2015-07-31 07:31:44',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(123,NULL,10,'Subject for Pledge Acknowledgment','2015-11-17 04:40:53',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(124,NULL,10,'Subject for Pledge Acknowledgment','2015-07-17 08:49:18',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(125,NULL,9,'Subject for Tell a Friend','2015-04-04 10:35:07',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(126,NULL,10,'Subject for Pledge Acknowledgment','2015-12-22 03:45:12',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(127,NULL,9,'Subject for Tell a Friend','2015-02-19 05:33:12',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(128,NULL,10,'Subject for Pledge Acknowledgment','2015-03-09 03:30:26',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(129,NULL,10,'Subject for Pledge Acknowledgment','2015-03-16 10:40:46',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(130,NULL,9,'Subject for Tell a Friend','2015-04-15 10:23:57',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(131,NULL,10,'Subject for Pledge Acknowledgment','2015-04-25 08:07:52',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(132,NULL,10,'Subject for Pledge Acknowledgment','2015-02-05 01:39:47',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(133,NULL,10,'Subject for Pledge Acknowledgment','2015-08-04 07:49:35',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(134,NULL,10,'Subject for Pledge Acknowledgment','2015-06-15 07:38:46',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(135,NULL,10,'Subject for Pledge Acknowledgment','2016-01-01 10:17:51',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(136,NULL,10,'Subject for Pledge Acknowledgment','2015-10-22 10:02:39',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(137,NULL,9,'Subject for Tell a Friend','2015-10-05 03:53:03',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(138,NULL,9,'Subject for Tell a Friend','2015-08-25 07:49:23',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(139,NULL,10,'Subject for Pledge Acknowledgment','2015-03-03 06:24:16',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(140,NULL,9,'Subject for Tell a Friend','2015-12-31 04:16:54',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(141,NULL,9,'Subject for Tell a Friend','2015-11-09 04:57:58',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(142,NULL,9,'Subject for Tell a Friend','2015-04-10 12:34:51',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(143,NULL,9,'Subject for Tell a Friend','2015-04-08 07:36:20',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(144,NULL,10,'Subject for Pledge Acknowledgment','2015-12-16 02:24:59',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(145,NULL,9,'Subject for Tell a Friend','2015-02-09 09:25:17',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(146,NULL,10,'Subject for Pledge Acknowledgment','2015-02-06 08:21:53',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(147,NULL,10,'Subject for Pledge Acknowledgment','2015-01-18 03:01:45',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(148,NULL,9,'Subject for Tell a Friend','2016-01-05 09:25:04',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(149,NULL,9,'Subject for Tell a Friend','2015-10-02 07:54:00',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(150,NULL,10,'Subject for Pledge Acknowledgment','2015-04-27 11:27:11',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(151,NULL,10,'Subject for Pledge Acknowledgment','2015-10-29 07:03:12',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(152,NULL,9,'Subject for Tell a Friend','2015-07-14 05:35:22',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(153,NULL,9,'Subject for Tell a Friend','2015-07-27 10:05:10',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(154,NULL,10,'Subject for Pledge Acknowledgment','2015-10-01 02:12:08',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(155,NULL,9,'Subject for Tell a Friend','2015-08-20 11:46:57',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(156,NULL,10,'Subject for Pledge Acknowledgment','2015-12-19 12:13:40',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(157,NULL,10,'Subject for Pledge Acknowledgment','2015-07-06 07:03:03',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(158,NULL,10,'Subject for Pledge Acknowledgment','2015-07-24 07:21:40',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(159,NULL,9,'Subject for Tell a Friend','2015-03-14 02:36:01',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(160,NULL,10,'Subject for Pledge Acknowledgment','2015-01-07 05:04:12',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(161,NULL,10,'Subject for Pledge Acknowledgment','2015-01-17 09:27:50',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(162,NULL,9,'Subject for Tell a Friend','2015-09-26 07:27:38',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(163,NULL,9,'Subject for Tell a Friend','2015-07-10 05:33:02',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(164,NULL,10,'Subject for Pledge Acknowledgment','2015-10-14 12:51:09',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(165,NULL,9,'Subject for Tell a Friend','2015-02-05 11:04:04',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(166,NULL,10,'Subject for Pledge Acknowledgment','2015-08-14 12:01:00',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(167,NULL,9,'Subject for Tell a Friend','2015-04-13 09:17:29',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(168,NULL,9,'Subject for Tell a Friend','2015-04-27 01:14:29',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(169,NULL,10,'Subject for Pledge Acknowledgment','2015-10-08 03:15:29',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(170,NULL,9,'Subject for Tell a Friend','2015-08-27 11:04:17',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(171,NULL,9,'Subject for Tell a Friend','2015-12-07 06:29:51',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(172,NULL,9,'Subject for Tell a Friend','2015-06-23 03:48:06',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(173,NULL,10,'Subject for Pledge Acknowledgment','2015-06-27 12:32:53',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(174,NULL,10,'Subject for Pledge Acknowledgment','2015-03-13 03:25:45',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(175,NULL,9,'Subject for Tell a Friend','2015-10-24 09:29:40',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(176,NULL,9,'Subject for Tell a Friend','2015-01-17 09:13:47',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(177,NULL,9,'Subject for Tell a Friend','2015-11-09 05:39:58',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(178,NULL,9,'Subject for Tell a Friend','2015-06-08 03:01:20',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(179,NULL,10,'Subject for Pledge Acknowledgment','2015-07-26 10:06:47',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(180,NULL,10,'Subject for Pledge Acknowledgment','2015-12-05 12:23:39',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(181,NULL,9,'Subject for Tell a Friend','2015-10-02 01:59:19',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(182,NULL,9,'Subject for Tell a Friend','2015-09-28 05:12:18',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(183,NULL,9,'Subject for Tell a Friend','2015-05-01 05:06:25',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(184,NULL,10,'Subject for Pledge Acknowledgment','2015-04-06 04:51:42',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(185,NULL,9,'Subject for Tell a Friend','2015-05-06 02:52:26',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(186,NULL,10,'Subject for Pledge Acknowledgment','2015-03-26 11:56:55',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(187,NULL,9,'Subject for Tell a Friend','2015-06-14 08:57:09',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(188,NULL,9,'Subject for Tell a Friend','2015-07-04 03:32:14',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(189,NULL,10,'Subject for Pledge Acknowledgment','2015-03-24 01:10:33',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(190,NULL,9,'Subject for Tell a Friend','2015-07-09 01:52:18',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(191,NULL,9,'Subject for Tell a Friend','2015-07-02 03:15:28',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(192,NULL,10,'Subject for Pledge Acknowledgment','2015-03-15 03:14:25',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(193,NULL,9,'Subject for Tell a Friend','2015-11-15 01:42:41',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(194,NULL,9,'Subject for Tell a Friend','2015-10-23 01:23:30',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(195,NULL,9,'Subject for Tell a Friend','2015-03-04 10:51:26',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(196,NULL,9,'Subject for Tell a Friend','2015-01-17 09:44:59',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(197,NULL,10,'Subject for Pledge Acknowledgment','2015-12-03 09:25:33',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(198,NULL,10,'Subject for Pledge Acknowledgment','2015-09-29 11:40:48',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(199,NULL,10,'Subject for Pledge Acknowledgment','2015-11-15 09:55:01',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(200,NULL,9,'Subject for Tell a Friend','2015-10-24 05:23:00',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(201,NULL,9,'Subject for Tell a Friend','2015-09-25 02:05:06',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(202,NULL,10,'Subject for Pledge Acknowledgment','2015-06-23 05:03:25',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(203,NULL,10,'Subject for Pledge Acknowledgment','2015-10-08 03:25:31',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(204,NULL,9,'Subject for Tell a Friend','2015-05-28 06:35:30',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(205,NULL,9,'Subject for Tell a Friend','2015-04-04 07:11:17',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(206,NULL,9,'Subject for Tell a Friend','2015-01-27 02:59:05',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(207,NULL,9,'Subject for Tell a Friend','2015-09-18 07:05:06',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(208,NULL,10,'Subject for Pledge Acknowledgment','2015-06-21 10:20:01',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(209,NULL,9,'Subject for Tell a Friend','2015-02-26 10:26:10',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(210,NULL,10,'Subject for Pledge Acknowledgment','2015-02-11 04:20:28',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(211,NULL,9,'Subject for Tell a Friend','2015-06-05 03:43:01',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(212,NULL,9,'Subject for Tell a Friend','2015-12-14 04:06:20',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(213,NULL,10,'Subject for Pledge Acknowledgment','2015-03-18 02:44:10',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(214,NULL,9,'Subject for Tell a Friend','2015-04-14 06:28:59',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(215,NULL,10,'Subject for Pledge Acknowledgment','2015-01-09 10:48:43',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(216,NULL,9,'Subject for Tell a Friend','2015-01-27 09:02:36',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(217,NULL,9,'Subject for Tell a Friend','2015-03-04 01:55:11',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(218,NULL,9,'Subject for Tell a Friend','2015-04-30 07:48:10',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(219,NULL,10,'Subject for Pledge Acknowledgment','2015-03-22 12:28:32',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(220,NULL,10,'Subject for Pledge Acknowledgment','2015-09-16 05:38:00',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(221,NULL,9,'Subject for Tell a Friend','2015-09-01 07:20:53',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(222,NULL,9,'Subject for Tell a Friend','2015-06-05 09:43:31',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(223,NULL,9,'Subject for Tell a Friend','2015-02-24 04:25:12',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(224,NULL,9,'Subject for Tell a Friend','2015-08-26 06:55:35',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(225,NULL,10,'Subject for Pledge Acknowledgment','2015-12-28 01:11:09',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(226,NULL,9,'Subject for Tell a Friend','2015-10-24 01:27:36',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(227,NULL,9,'Subject for Tell a Friend','2015-05-11 04:39:15',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(228,NULL,9,'Subject for Tell a Friend','2015-01-22 08:21:05',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(229,NULL,10,'Subject for Pledge Acknowledgment','2015-06-02 02:02:26',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(230,NULL,10,'Subject for Pledge Acknowledgment','2015-04-16 03:29:05',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(231,NULL,9,'Subject for Tell a Friend','2015-08-15 12:52:39',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(232,NULL,9,'Subject for Tell a Friend','2015-01-11 08:52:14',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(233,NULL,10,'Subject for Pledge Acknowledgment','2015-12-09 08:57:08',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(234,NULL,9,'Subject for Tell a Friend','2015-09-12 11:45:31',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(235,NULL,10,'Subject for Pledge Acknowledgment','2015-01-07 03:51:10',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(236,NULL,10,'Subject for Pledge Acknowledgment','2015-04-28 01:22:46',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(237,NULL,10,'Subject for Pledge Acknowledgment','2015-01-31 05:36:33',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(238,NULL,9,'Subject for Tell a Friend','2015-07-06 01:05:21',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(239,NULL,10,'Subject for Pledge Acknowledgment','2015-04-01 07:05:25',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(240,NULL,9,'Subject for Tell a Friend','2015-04-02 04:49:43',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(241,NULL,9,'Subject for Tell a Friend','2015-08-04 12:32:00',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(242,NULL,10,'Subject for Pledge Acknowledgment','2015-09-08 05:54:10',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(243,NULL,9,'Subject for Tell a Friend','2015-10-12 09:15:18',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(244,NULL,10,'Subject for Pledge Acknowledgment','2015-01-18 07:37:37',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(245,NULL,10,'Subject for Pledge Acknowledgment','2015-01-22 07:38:14',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(246,NULL,10,'Subject for Pledge Acknowledgment','2015-02-23 07:05:31',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(247,NULL,9,'Subject for Tell a Friend','2015-03-21 07:46:32',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(248,NULL,9,'Subject for Tell a Friend','2015-02-22 07:14:13',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(249,NULL,10,'Subject for Pledge Acknowledgment','2015-09-24 02:28:37',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(250,NULL,10,'Subject for Pledge Acknowledgment','2015-10-08 10:48:12',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(251,NULL,9,'Subject for Tell a Friend','2015-09-30 06:24:49',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(252,NULL,10,'Subject for Pledge Acknowledgment','2015-11-23 10:33:12',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(253,NULL,10,'Subject for Pledge Acknowledgment','2015-12-06 07:53:08',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(254,NULL,10,'Subject for Pledge Acknowledgment','2015-02-12 09:01:30',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(255,NULL,9,'Subject for Tell a Friend','2015-09-02 08:24:30',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(256,NULL,10,'Subject for Pledge Acknowledgment','2015-09-04 09:37:21',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(257,NULL,10,'Subject for Pledge Acknowledgment','2015-03-22 09:50:58',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(258,NULL,10,'Subject for Pledge Acknowledgment','2015-07-31 11:42:01',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(259,NULL,9,'Subject for Tell a Friend','2015-05-05 05:27:09',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(260,NULL,9,'Subject for Tell a Friend','2015-06-28 11:47:21',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(261,NULL,9,'Subject for Tell a Friend','2015-12-22 12:29:17',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(262,NULL,10,'Subject for Pledge Acknowledgment','2015-05-17 08:06:39',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(263,NULL,9,'Subject for Tell a Friend','2015-08-07 08:25:44',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(264,NULL,9,'Subject for Tell a Friend','2015-06-19 04:21:55',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(265,NULL,9,'Subject for Tell a Friend','2015-05-20 08:33:12',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(266,NULL,10,'Subject for Pledge Acknowledgment','2015-01-14 07:43:36',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(267,NULL,9,'Subject for Tell a Friend','2015-03-01 09:47:21',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(268,NULL,10,'Subject for Pledge Acknowledgment','2015-02-09 09:46:46',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(269,NULL,9,'Subject for Tell a Friend','2015-05-28 09:43:46',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(270,NULL,10,'Subject for Pledge Acknowledgment','2015-12-03 05:15:16',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(271,NULL,9,'Subject for Tell a Friend','2015-04-23 01:50:34',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(272,NULL,10,'Subject for Pledge Acknowledgment','2015-01-16 02:42:25',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(273,NULL,9,'Subject for Tell a Friend','2015-05-16 11:29:11',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(274,NULL,10,'Subject for Pledge Acknowledgment','2015-01-08 11:32:26',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(275,NULL,9,'Subject for Tell a Friend','2015-11-24 08:08:15',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(276,NULL,9,'Subject for Tell a Friend','2015-06-26 06:17:56',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(277,NULL,10,'Subject for Pledge Acknowledgment','2015-07-11 01:54:11',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(278,NULL,9,'Subject for Tell a Friend','2015-08-19 08:02:29',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(279,NULL,9,'Subject for Tell a Friend','2015-03-03 04:31:04',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(280,NULL,10,'Subject for Pledge Acknowledgment','2015-11-14 05:06:36',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(281,NULL,10,'Subject for Pledge Acknowledgment','2015-07-06 05:45:12',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(282,NULL,9,'Subject for Tell a Friend','2015-12-13 10:43:11',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(283,NULL,9,'Subject for Tell a Friend','2015-05-13 07:56:46',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(284,NULL,10,'Subject for Pledge Acknowledgment','2015-08-05 11:47:31',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(285,NULL,9,'Subject for Tell a Friend','2015-07-13 06:10:02',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(286,NULL,10,'Subject for Pledge Acknowledgment','2015-05-31 07:08:26',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(287,NULL,9,'Subject for Tell a Friend','2015-02-12 04:26:07',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(288,NULL,10,'Subject for Pledge Acknowledgment','2015-10-21 03:35:49',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(289,NULL,10,'Subject for Pledge Acknowledgment','2015-10-03 12:11:45',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(290,NULL,10,'Subject for Pledge Acknowledgment','2015-12-15 12:25:14',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(291,NULL,9,'Subject for Tell a Friend','2015-12-09 03:42:11',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(292,NULL,9,'Subject for Tell a Friend','2015-10-14 03:40:05',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(293,NULL,9,'Subject for Tell a Friend','2015-09-13 01:00:34',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(294,NULL,10,'Subject for Pledge Acknowledgment','2015-02-14 09:03:16',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(295,NULL,9,'Subject for Tell a Friend','2015-11-01 06:43:32',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(296,NULL,10,'Subject for Pledge Acknowledgment','2015-10-21 08:54:32',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(297,NULL,10,'Subject for Pledge Acknowledgment','2015-10-26 09:57:56',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(298,NULL,9,'Subject for Tell a Friend','2016-01-04 09:46:50',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(299,NULL,9,'Subject for Tell a Friend','2015-04-24 05:01:48',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(300,NULL,10,'Subject for Pledge Acknowledgment','2015-06-07 02:13:14',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(301,NULL,9,'Subject for Tell a Friend','2015-07-03 10:56:27',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(302,NULL,10,'Subject for Pledge Acknowledgment','2015-04-23 07:40:55',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(303,NULL,10,'Subject for Pledge Acknowledgment','2015-12-17 12:04:37',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(304,NULL,10,'Subject for Pledge Acknowledgment','2015-07-20 06:12:47',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(305,NULL,9,'Subject for Tell a Friend','2015-02-22 01:06:03',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(306,NULL,10,'Subject for Pledge Acknowledgment','2015-05-03 04:35:54',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(307,NULL,10,'Subject for Pledge Acknowledgment','2015-10-18 08:09:57',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(308,NULL,9,'Subject for Tell a Friend','2015-10-11 03:57:22',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(309,NULL,9,'Subject for Tell a Friend','2015-02-21 02:09:27',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(310,NULL,9,'Subject for Tell a Friend','2015-02-18 03:34:05',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(311,NULL,9,'Subject for Tell a Friend','2015-03-22 02:42:43',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(312,NULL,10,'Subject for Pledge Acknowledgment','2015-05-28 12:33:44',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(313,NULL,9,'Subject for Tell a Friend','2015-04-20 06:06:28',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(314,NULL,9,'Subject for Tell a Friend','2015-07-21 09:58:22',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(315,NULL,10,'Subject for Pledge Acknowledgment','2015-08-03 05:07:23',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(316,NULL,10,'Subject for Pledge Acknowledgment','2015-12-03 11:06:35',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(317,NULL,10,'Subject for Pledge Acknowledgment','2015-05-27 07:22:05',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(318,NULL,10,'Subject for Pledge Acknowledgment','2015-03-26 06:01:38',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(319,NULL,9,'Subject for Tell a Friend','2015-01-19 01:22:51',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(320,NULL,10,'Subject for Pledge Acknowledgment','2015-05-26 08:03:45',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(321,NULL,10,'Subject for Pledge Acknowledgment','2015-10-03 07:29:21',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(322,NULL,9,'Subject for Tell a Friend','2015-07-01 06:55:45',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(323,NULL,9,'Subject for Tell a Friend','2015-04-20 04:08:49',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(324,NULL,9,'Subject for Tell a Friend','2015-10-16 02:31:34',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(325,NULL,9,'Subject for Tell a Friend','2015-02-16 02:28:29',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(326,NULL,10,'Subject for Pledge Acknowledgment','2015-06-26 08:52:31',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(327,NULL,10,'Subject for Pledge Acknowledgment','2015-12-17 06:31:58',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(328,NULL,9,'Subject for Tell a Friend','2015-12-03 08:15:43',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(329,NULL,10,'Subject for Pledge Acknowledgment','2015-02-28 11:58:29',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(330,NULL,10,'Subject for Pledge Acknowledgment','2015-01-11 02:24:41',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(331,NULL,9,'Subject for Tell a Friend','2015-03-30 07:12:01',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(332,NULL,10,'Subject for Pledge Acknowledgment','2015-02-08 01:39:58',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(333,NULL,10,'Subject for Pledge Acknowledgment','2015-08-14 04:06:31',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(334,NULL,10,'Subject for Pledge Acknowledgment','2015-05-03 08:11:05',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(335,NULL,10,'Subject for Pledge Acknowledgment','2015-10-09 07:01:38',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(336,NULL,10,'Subject for Pledge Acknowledgment','2015-11-27 04:54:08',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(337,NULL,9,'Subject for Tell a Friend','2015-05-23 06:39:45',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(338,NULL,10,'Subject for Pledge Acknowledgment','2015-11-08 12:29:09',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(339,NULL,10,'Subject for Pledge Acknowledgment','2015-12-20 01:22:56',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(340,NULL,9,'Subject for Tell a Friend','2015-10-31 10:10:07',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(341,NULL,9,'Subject for Tell a Friend','2015-03-11 06:51:58',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(342,NULL,10,'Subject for Pledge Acknowledgment','2015-03-17 08:12:52',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(343,NULL,9,'Subject for Tell a Friend','2015-08-04 12:11:33',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(344,NULL,9,'Subject for Tell a Friend','2015-12-14 09:52:58',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(345,NULL,9,'Subject for Tell a Friend','2015-06-01 04:17:52',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(346,NULL,9,'Subject for Tell a Friend','2015-08-21 08:30:54',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(347,NULL,9,'Subject for Tell a Friend','2015-09-05 08:01:35',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(348,NULL,10,'Subject for Pledge Acknowledgment','2015-08-22 09:38:56',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(349,NULL,10,'Subject for Pledge Acknowledgment','2015-08-01 12:17:35',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(350,NULL,9,'Subject for Tell a Friend','2015-06-08 12:45:08',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(351,NULL,10,'Subject for Pledge Acknowledgment','2015-10-14 08:40:17',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(352,NULL,10,'Subject for Pledge Acknowledgment','2015-06-08 04:10:13',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(353,NULL,10,'Subject for Pledge Acknowledgment','2015-02-24 01:49:22',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(354,NULL,10,'Subject for Pledge Acknowledgment','2015-01-07 10:46:54',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(355,NULL,10,'Subject for Pledge Acknowledgment','2015-04-23 03:07:32',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(356,NULL,9,'Subject for Tell a Friend','2015-03-09 10:19:35',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(357,NULL,9,'Subject for Tell a Friend','2015-04-14 06:23:37',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(358,NULL,9,'Subject for Tell a Friend','2015-07-14 11:33:04',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(359,NULL,9,'Subject for Tell a Friend','2016-01-06 03:45:42',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(360,NULL,9,'Subject for Tell a Friend','2015-06-13 10:40:44',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(361,NULL,9,'Subject for Tell a Friend','2015-05-18 09:03:57',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(362,NULL,10,'Subject for Pledge Acknowledgment','2015-09-25 10:12:40',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(363,NULL,9,'Subject for Tell a Friend','2015-07-08 12:35:15',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(364,NULL,10,'Subject for Pledge Acknowledgment','2015-08-09 07:39:19',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(365,NULL,9,'Subject for Tell a Friend','2015-01-18 07:15:46',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(366,NULL,10,'Subject for Pledge Acknowledgment','2015-09-06 06:17:09',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(367,NULL,9,'Subject for Tell a Friend','2015-11-21 10:16:09',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(368,NULL,10,'Subject for Pledge Acknowledgment','2015-10-07 05:39:44',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(369,NULL,10,'Subject for Pledge Acknowledgment','2015-09-10 11:41:37',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(370,NULL,9,'Subject for Tell a Friend','2015-08-08 11:57:53',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(371,NULL,10,'Subject for Pledge Acknowledgment','2015-05-07 07:09:42',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(372,NULL,9,'Subject for Tell a Friend','2015-01-22 03:10:49',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(373,NULL,10,'Subject for Pledge Acknowledgment','2015-05-16 06:40:28',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(374,NULL,10,'Subject for Pledge Acknowledgment','2015-02-07 08:53:43',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(375,NULL,10,'Subject for Pledge Acknowledgment','2015-09-23 07:33:31',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(376,NULL,10,'Subject for Pledge Acknowledgment','2015-10-25 08:29:25',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(377,NULL,10,'Subject for Pledge Acknowledgment','2015-11-05 07:42:17',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(378,NULL,9,'Subject for Tell a Friend','2015-04-21 04:39:51',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(379,NULL,10,'Subject for Pledge Acknowledgment','2015-07-12 01:52:43',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(380,NULL,9,'Subject for Tell a Friend','2015-05-04 06:46:08',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(381,NULL,10,'Subject for Pledge Acknowledgment','2015-01-31 05:30:56',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(382,NULL,10,'Subject for Pledge Acknowledgment','2015-09-27 08:29:44',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(383,NULL,10,'Subject for Pledge Acknowledgment','2015-07-22 12:31:52',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(384,NULL,9,'Subject for Tell a Friend','2016-01-01 03:26:03',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(385,NULL,9,'Subject for Tell a Friend','2015-12-15 08:37:44',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(386,NULL,9,'Subject for Tell a Friend','2015-07-19 05:50:46',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(387,NULL,9,'Subject for Tell a Friend','2015-08-26 12:45:01',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(388,NULL,9,'Subject for Tell a Friend','2015-12-09 09:11:23',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(389,NULL,9,'Subject for Tell a Friend','2015-09-03 03:49:51',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(390,NULL,9,'Subject for Tell a Friend','2015-06-26 03:46:56',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(391,NULL,9,'Subject for Tell a Friend','2015-06-19 01:28:37',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(392,NULL,9,'Subject for Tell a Friend','2015-06-29 01:08:36',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(393,NULL,10,'Subject for Pledge Acknowledgment','2015-02-26 11:08:19',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(394,NULL,10,'Subject for Pledge Acknowledgment','2015-03-25 04:26:18',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(395,NULL,9,'Subject for Tell a Friend','2015-02-12 02:30:42',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(396,NULL,10,'Subject for Pledge Acknowledgment','2015-03-23 12:43:53',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(397,NULL,10,'Subject for Pledge Acknowledgment','2015-08-04 01:39:33',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(398,NULL,9,'Subject for Tell a Friend','2015-01-11 10:43:57',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(399,NULL,9,'Subject for Tell a Friend','2015-07-19 11:09:21',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(400,NULL,9,'Subject for Tell a Friend','2015-09-20 01:56:00',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(401,NULL,9,'Subject for Tell a Friend','2015-08-19 06:33:34',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(402,NULL,9,'Subject for Tell a Friend','2015-03-03 12:19:32',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(403,NULL,9,'Subject for Tell a Friend','2015-06-25 10:31:40',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(404,NULL,10,'Subject for Pledge Acknowledgment','2015-06-14 11:10:55',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(405,NULL,9,'Subject for Tell a Friend','2015-04-20 01:51:19',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(406,NULL,9,'Subject for Tell a Friend','2015-10-05 03:43:38',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(407,NULL,9,'Subject for Tell a Friend','2015-06-04 02:03:02',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(408,NULL,10,'Subject for Pledge Acknowledgment','2015-09-27 07:59:29',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(409,NULL,9,'Subject for Tell a Friend','2016-01-01 04:04:49',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(410,NULL,9,'Subject for Tell a Friend','2015-11-23 08:32:25',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(411,NULL,10,'Subject for Pledge Acknowledgment','2015-01-28 02:44:54',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(412,NULL,9,'Subject for Tell a Friend','2015-11-04 01:14:40',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(413,NULL,10,'Subject for Pledge Acknowledgment','2015-05-11 02:47:00',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(414,NULL,10,'Subject for Pledge Acknowledgment','2015-01-22 10:23:02',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(415,NULL,10,'Subject for Pledge Acknowledgment','2015-08-11 08:16:36',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(416,NULL,9,'Subject for Tell a Friend','2015-03-31 04:14:24',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(417,NULL,9,'Subject for Tell a Friend','2015-05-04 01:35:32',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(418,NULL,10,'Subject for Pledge Acknowledgment','2015-12-01 06:48:41',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(419,NULL,10,'Subject for Pledge Acknowledgment','2015-07-20 10:33:10',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(420,NULL,9,'Subject for Tell a Friend','2015-01-07 10:45:20',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(421,NULL,10,'Subject for Pledge Acknowledgment','2015-09-16 05:13:22',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(422,NULL,10,'Subject for Pledge Acknowledgment','2015-12-27 06:25:59',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(423,NULL,10,'Subject for Pledge Acknowledgment','2015-05-23 06:27:33',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(424,NULL,10,'Subject for Pledge Acknowledgment','2015-10-26 05:55:30',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(425,NULL,9,'Subject for Tell a Friend','2015-07-14 04:38:11',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(426,NULL,9,'Subject for Tell a Friend','2015-09-17 08:00:45',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(427,NULL,9,'Subject for Tell a Friend','2015-03-29 01:41:22',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(428,NULL,9,'Subject for Tell a Friend','2015-02-13 11:22:21',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(429,NULL,9,'Subject for Tell a Friend','2015-01-26 05:26:21',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(430,NULL,10,'Subject for Pledge Acknowledgment','2015-08-24 06:17:26',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(431,NULL,9,'Subject for Tell a Friend','2015-08-27 05:42:49',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(432,NULL,9,'Subject for Tell a Friend','2015-07-24 03:21:00',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(433,NULL,9,'Subject for Tell a Friend','2015-09-06 05:35:21',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(434,NULL,10,'Subject for Pledge Acknowledgment','2015-03-24 06:16:45',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(435,NULL,9,'Subject for Tell a Friend','2015-02-20 07:13:52',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(436,NULL,9,'Subject for Tell a Friend','2015-08-18 11:04:10',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(437,NULL,10,'Subject for Pledge Acknowledgment','2015-04-10 06:28:39',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(438,NULL,9,'Subject for Tell a Friend','2015-08-26 05:27:16',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(439,NULL,9,'Subject for Tell a Friend','2015-11-21 03:19:07',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(440,NULL,9,'Subject for Tell a Friend','2015-01-10 11:50:10',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(441,NULL,9,'Subject for Tell a Friend','2015-09-17 09:58:37',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(442,NULL,10,'Subject for Pledge Acknowledgment','2015-06-26 06:14:13',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(443,NULL,10,'Subject for Pledge Acknowledgment','2015-03-28 03:24:41',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(444,NULL,10,'Subject for Pledge Acknowledgment','2015-09-17 06:34:18',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(445,NULL,9,'Subject for Tell a Friend','2015-12-18 05:11:34',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(446,NULL,9,'Subject for Tell a Friend','2015-09-19 09:28:00',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(447,NULL,9,'Subject for Tell a Friend','2015-04-06 05:40:02',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(448,NULL,9,'Subject for Tell a Friend','2015-07-28 02:00:41',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(449,NULL,9,'Subject for Tell a Friend','2015-11-09 01:04:16',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(450,NULL,9,'Subject for Tell a Friend','2015-04-29 03:00:46',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(464,1,7,'General','2016-01-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(465,2,7,'Student','2016-01-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(466,3,7,'General','2016-01-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(467,4,7,'Student','2016-01-03 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(468,5,7,'Student','2015-01-02 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(469,6,7,'Student','2016-01-01 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(470,7,7,'General','2015-12-31 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(471,8,7,'Student','2015-12-30 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(472,9,7,'General','2015-12-29 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(473,10,7,'Student','2014-12-28 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(474,11,7,'Lifetime','2015-12-27 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(475,12,7,'Student','2015-12-26 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(476,13,7,'General','2015-12-25 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(477,14,7,'Student','2015-12-24 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(478,15,7,'General','2013-09-16 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(479,16,7,'Student','2015-12-22 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(480,17,7,'General','2015-12-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(481,18,7,'Student','2015-12-20 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(482,19,7,'General','2015-12-19 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(483,20,7,'General','2013-08-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(484,21,7,'General','2015-12-17 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(485,22,7,'Lifetime','2015-12-16 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(486,23,7,'General','2015-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(487,24,7,'Student','2015-12-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(488,25,7,'General','2013-06-28 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(489,26,7,'Student','2015-12-12 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(490,27,7,'General','2015-12-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(491,28,7,'Student','2015-12-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(492,29,7,'General','2015-12-09 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(493,30,7,'Student','2014-12-08 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(494,14,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(495,15,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(496,16,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(497,17,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(498,18,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(499,19,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(500,20,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(501,21,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(502,22,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(503,23,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(504,24,6,'$ 1200.00 - Lifetime Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(505,25,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(506,26,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(507,27,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(508,28,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(509,29,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(510,30,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(511,31,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(512,32,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(513,33,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(514,34,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(515,35,6,'$ 1200.00 - Lifetime Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(516,36,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(517,37,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(518,38,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(519,39,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(520,40,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(521,41,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(522,42,6,'$ 100.00 - General Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(523,43,6,'$ 50.00 - Student Membership: Offline signup','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(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),(575,45,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(576,46,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(577,47,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(578,48,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(579,49,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(580,50,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(581,51,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(582,52,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(583,53,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(584,54,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(585,55,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(586,56,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(587,57,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(588,58,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(589,59,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(590,60,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(591,61,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(592,62,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(593,63,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(594,64,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(595,65,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(596,66,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(597,67,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(598,68,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(599,69,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(600,70,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(601,71,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(602,72,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(603,73,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(604,74,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(605,75,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(606,76,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(607,77,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(608,78,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(609,79,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(610,80,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(611,81,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(612,82,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(613,83,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(614,84,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(615,85,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(616,86,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(617,87,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(618,88,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(619,89,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(620,90,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(621,91,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(622,92,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(623,93,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL),(624,94,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2016-01-06 14:23:14',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL); /*!40000 ALTER TABLE `civicrm_activity` ENABLE KEYS */; UNLOCK TABLES; @@ -97,7 +97,7 @@ 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 (13,8,1,3),(232,158,1,3),(531,354,1,3),(668,451,2,2),(171,114,3,3),(246,167,3,3),(311,208,3,3),(747,530,3,2),(669,452,4,2),(379,255,5,3),(448,302,5,3),(630,424,5,3),(288,191,6,3),(566,376,6,3),(670,453,6,2),(205,139,7,3),(765,548,7,2),(474,318,8,3),(671,454,8,2),(760,543,8,2),(762,545,9,2),(71,48,10,3),(104,70,10,3),(167,111,10,3),(488,327,10,3),(562,374,10,3),(775,558,10,2),(774,557,11,2),(143,96,12,3),(500,335,12,3),(661,446,12,3),(207,140,13,3),(306,204,14,3),(227,155,15,3),(376,253,16,3),(388,261,16,3),(672,455,16,2),(221,150,17,3),(8,5,19,3),(127,84,19,3),(480,322,19,3),(673,456,19,2),(62,43,20,3),(122,81,20,3),(412,280,20,3),(477,320,20,3),(483,324,20,3),(78,52,21,3),(109,74,21,3),(256,172,21,3),(703,486,21,2),(733,516,21,2),(134,89,22,3),(202,137,22,3),(784,567,22,2),(242,164,23,3),(422,286,23,3),(705,488,24,2),(735,518,24,2),(25,17,25,3),(486,326,25,3),(502,336,25,3),(595,397,25,3),(751,534,25,2),(19,13,26,3),(156,104,26,3),(516,345,26,3),(366,247,28,3),(181,121,29,3),(371,250,29,3),(420,285,29,3),(514,344,29,3),(599,400,29,3),(28,19,30,3),(552,369,30,3),(578,385,30,3),(777,560,30,2),(114,77,31,3),(709,492,31,2),(739,522,31,2),(248,168,32,3),(679,462,32,2),(680,463,32,2),(254,171,33,3),(318,214,34,3),(355,240,34,3),(357,241,34,3),(633,426,34,3),(676,459,34,2),(132,88,35,3),(493,331,35,3),(684,467,35,2),(714,497,35,2),(518,346,36,3),(527,351,36,3),(431,292,37,3),(683,466,37,2),(713,496,37,2),(742,525,38,2),(111,75,39,3),(381,256,39,3),(148,99,40,3),(520,347,40,3),(40,28,41,3),(549,367,41,3),(771,554,41,2),(5,3,42,3),(22,15,42,3),(33,23,42,3),(564,375,42,3),(298,199,43,3),(418,284,43,3),(433,293,43,3),(678,461,43,2),(664,448,44,3),(757,540,44,2),(461,310,45,3),(708,491,45,2),(738,521,45,2),(781,564,45,2),(300,200,46,3),(368,248,46,3),(690,473,46,2),(720,503,46,2),(280,187,47,3),(329,222,47,3),(620,417,47,3),(649,438,48,3),(469,315,49,3),(554,370,49,3),(60,42,50,3),(87,59,50,3),(436,295,50,3),(542,362,50,3),(667,450,50,3),(68,46,52,3),(91,61,52,3),(277,185,52,3),(282,188,52,3),(332,224,52,3),(606,405,52,3),(767,550,52,2),(81,54,53,3),(343,232,53,3),(120,80,54,3),(556,371,54,3),(749,532,54,2),(43,30,55,3),(587,391,55,3),(642,433,55,3),(750,533,55,2),(66,45,56,3),(75,50,56,3),(99,66,56,3),(197,133,56,3),(236,160,56,3),(512,343,56,3),(785,568,56,2),(163,109,57,3),(238,161,57,3),(428,290,57,3),(627,422,57,3),(402,272,58,3),(116,78,59,3),(450,303,59,3),(636,428,59,3),(286,190,60,3),(510,342,60,3),(213,144,61,3),(252,170,61,3),(175,117,62,3),(184,123,62,3),(259,174,62,3),(457,308,62,3),(405,274,63,3),(459,309,63,3),(580,386,63,3),(646,436,63,3),(373,251,64,3),(522,348,64,3),(787,570,64,2),(10,6,65,3),(209,141,65,3),(466,313,65,3),(656,443,65,3),(624,420,67,3),(746,529,67,2),(326,220,68,3),(560,373,68,3),(161,108,69,3),(284,189,69,3),(426,289,69,3),(496,333,69,3),(617,415,69,3),(55,38,70,3),(94,63,70,3),(96,64,70,3),(165,110,71,3),(302,201,71,3),(677,460,71,2),(322,217,72,3),(534,356,72,3),(592,395,73,3),(145,97,74,3),(362,245,74,3),(438,296,74,3),(694,477,75,2),(724,507,75,2),(759,542,75,2),(45,31,76,3),(178,119,76,3),(291,193,76,3),(743,526,76,2),(250,169,77,3),(349,236,77,3),(525,350,77,3),(271,181,78,3),(352,238,78,3),(73,49,79,3),(687,470,79,2),(717,500,79,2),(701,484,80,2),(731,514,80,2),(769,552,80,2),(261,175,81,3),(464,312,81,3),(268,179,82,3),(546,365,82,3),(654,442,82,3),(658,444,82,3),(674,457,82,2),(229,156,83,3),(440,297,83,3),(152,101,84,3),(222,151,84,2),(223,152,84,2),(224,153,84,2),(225,154,84,2),(226,155,84,2),(228,156,84,2),(230,157,84,2),(231,158,84,2),(233,159,84,2),(235,160,84,2),(237,161,84,2),(239,162,84,2),(240,163,84,2),(241,164,84,2),(243,165,84,2),(244,166,84,2),(245,167,84,2),(247,168,84,2),(249,169,84,2),(251,170,84,2),(253,171,84,2),(255,172,84,2),(257,173,84,2),(258,174,84,2),(260,175,84,2),(262,176,84,2),(264,177,84,2),(265,178,84,2),(267,179,84,2),(269,180,84,2),(270,181,84,2),(272,182,84,2),(273,183,84,2),(275,184,84,2),(276,185,84,2),(278,186,84,2),(279,187,84,2),(281,188,84,2),(283,189,84,2),(285,190,84,2),(287,191,84,2),(289,192,84,2),(290,193,84,2),(292,194,84,2),(293,195,84,2),(294,196,84,2),(295,197,84,2),(296,198,84,2),(297,199,84,2),(299,200,84,2),(301,201,84,2),(303,202,84,2),(304,203,84,2),(305,204,84,2),(307,205,84,2),(308,206,84,2),(309,207,84,2),(310,208,84,2),(312,209,84,2),(313,210,84,2),(314,211,84,2),(315,212,84,2),(316,213,84,2),(317,214,84,2),(319,215,84,2),(320,216,84,2),(321,217,84,2),(323,218,84,2),(324,219,84,2),(325,220,84,2),(327,221,84,2),(328,222,84,2),(330,223,84,2),(331,224,84,2),(333,225,84,2),(335,226,84,2),(336,227,84,2),(337,228,84,2),(338,229,84,2),(339,230,84,2),(341,231,84,2),(342,232,84,2),(344,233,84,2),(345,234,84,2),(347,235,84,2),(348,236,84,2),(350,237,84,2),(351,238,84,2),(353,239,84,2),(354,240,84,2),(356,241,84,2),(358,242,84,2),(359,243,84,2),(360,244,84,2),(361,245,84,2),(363,246,84,2),(365,247,84,2),(367,248,84,2),(369,249,84,2),(370,250,84,2),(372,251,84,2),(374,252,84,2),(375,253,84,2),(377,254,84,2),(378,255,84,2),(380,256,84,2),(382,257,84,2),(383,258,84,2),(385,259,84,2),(386,260,84,2),(387,261,84,2),(389,262,84,2),(390,263,84,2),(391,264,84,2),(392,265,84,2),(393,266,84,2),(395,267,84,2),(396,268,84,2),(397,269,84,2),(398,270,84,2),(399,271,84,2),(401,272,84,2),(403,273,84,2),(404,274,84,2),(406,275,84,2),(407,276,84,2),(408,277,84,2),(409,278,84,2),(410,279,84,2),(411,280,84,2),(413,281,84,2),(414,282,84,2),(416,283,84,2),(417,284,84,2),(419,285,84,2),(421,286,84,2),(423,287,84,2),(424,288,84,2),(425,289,84,2),(427,290,84,2),(429,291,84,2),(430,292,84,2),(432,293,84,2),(434,294,84,2),(435,295,84,2),(437,296,84,2),(439,297,84,2),(441,298,84,2),(443,299,84,2),(444,300,84,2),(748,531,84,2),(53,37,85,3),(538,359,85,3),(585,390,85,3),(442,298,86,3),(446,301,86,3),(364,246,87,3),(400,271,87,3),(263,176,88,3),(573,381,88,3),(788,571,88,2),(274,183,89,3),(384,258,89,3),(770,553,89,2),(150,100,90,3),(763,546,90,2),(89,60,91,3),(571,380,91,3),(686,469,91,2),(716,499,91,2),(415,282,92,3),(675,458,92,2),(745,528,92,2),(51,36,93,3),(118,79,93,3),(141,95,93,3),(498,334,93,3),(704,487,93,2),(734,517,93,2),(394,266,94,3),(558,372,94,3),(601,401,94,3),(780,563,94,2),(192,129,95,3),(218,148,95,3),(64,44,96,3),(340,230,96,3),(453,305,96,3),(786,569,96,2),(36,25,97,3),(125,83,97,3),(234,159,97,3),(334,225,97,3),(346,234,97,3),(508,341,97,3),(2,1,98,3),(187,125,98,3),(681,464,98,2),(711,494,98,2),(778,561,98,2),(471,316,99,3),(791,574,99,2),(755,538,100,2),(266,178,101,3),(764,547,103,2),(772,555,109,2),(691,474,110,2),(721,504,110,2),(710,493,116,2),(740,523,116,2),(696,479,123,2),(726,509,123,2),(768,551,123,2),(782,565,125,2),(698,481,126,2),(728,511,126,2),(689,472,127,2),(719,502,127,2),(1,1,128,2),(3,2,128,2),(4,3,128,2),(6,4,128,2),(7,5,128,2),(9,6,128,2),(11,7,128,2),(12,8,128,2),(14,9,128,2),(15,10,128,2),(16,11,128,2),(17,12,128,2),(18,13,128,2),(20,14,128,2),(21,15,128,2),(23,16,128,2),(24,17,128,2),(26,18,128,2),(27,19,128,2),(29,20,128,2),(30,21,128,2),(31,22,128,2),(32,23,128,2),(34,24,128,2),(35,25,128,2),(37,26,128,2),(38,27,128,2),(39,28,128,2),(41,29,128,2),(42,30,128,2),(44,31,128,2),(46,32,128,2),(47,33,128,2),(48,34,128,2),(49,35,128,2),(50,36,128,2),(52,37,128,2),(54,38,128,2),(56,39,128,2),(57,40,128,2),(58,41,128,2),(59,42,128,2),(61,43,128,2),(63,44,128,2),(65,45,128,2),(67,46,128,2),(69,47,128,2),(70,48,128,2),(72,49,128,2),(74,50,128,2),(76,51,128,2),(77,52,128,2),(79,53,128,2),(80,54,128,2),(82,55,128,2),(83,56,128,2),(84,57,128,2),(85,58,128,2),(86,59,128,2),(88,60,128,2),(90,61,128,2),(92,62,128,2),(93,63,128,2),(95,64,128,2),(97,65,128,2),(98,66,128,2),(100,67,128,2),(101,68,128,2),(102,69,128,2),(103,70,128,2),(105,71,128,2),(106,72,128,2),(107,73,128,2),(108,74,128,2),(110,75,128,2),(112,76,128,2),(113,77,128,2),(115,78,128,2),(117,79,128,2),(119,80,128,2),(121,81,128,2),(123,82,128,2),(124,83,128,2),(126,84,128,2),(128,85,128,2),(129,86,128,2),(130,87,128,2),(131,88,128,2),(133,89,128,2),(135,90,128,2),(136,91,128,2),(137,92,128,2),(138,93,128,2),(139,94,128,2),(140,95,128,2),(142,96,128,2),(144,97,128,2),(146,98,128,2),(147,99,128,2),(149,100,128,2),(151,101,128,2),(153,102,128,2),(154,103,128,2),(155,104,128,2),(157,105,128,2),(158,106,128,2),(159,107,128,2),(160,108,128,2),(162,109,128,2),(164,110,128,2),(166,111,128,2),(168,112,128,2),(169,113,128,2),(170,114,128,2),(172,115,128,2),(173,116,128,2),(174,117,128,2),(176,118,128,2),(177,119,128,2),(179,120,128,2),(180,121,128,2),(182,122,128,2),(183,123,128,2),(185,124,128,2),(186,125,128,2),(188,126,128,2),(189,127,128,2),(190,128,128,2),(191,129,128,2),(193,130,128,2),(194,131,128,2),(195,132,128,2),(196,133,128,2),(198,134,128,2),(199,135,128,2),(200,136,128,2),(201,137,128,2),(203,138,128,2),(204,139,128,2),(206,140,128,2),(208,141,128,2),(210,142,128,2),(211,143,128,2),(212,144,128,2),(214,145,128,2),(215,146,128,2),(216,147,128,2),(217,148,128,2),(219,149,128,2),(220,150,128,2),(752,535,130,2),(766,549,133,2),(688,471,135,2),(718,501,135,2),(758,541,139,2),(695,478,141,2),(725,508,141,2),(445,301,142,2),(447,302,142,2),(449,303,142,2),(451,304,142,2),(452,305,142,2),(454,306,142,2),(455,307,142,2),(456,308,142,2),(458,309,142,2),(460,310,142,2),(462,311,142,2),(463,312,142,2),(465,313,142,2),(467,314,142,2),(468,315,142,2),(470,316,142,2),(472,317,142,2),(473,318,142,2),(475,319,142,2),(476,320,142,2),(478,321,142,2),(479,322,142,2),(481,323,142,2),(482,324,142,2),(484,325,142,2),(485,326,142,2),(487,327,142,2),(489,328,142,2),(490,329,142,2),(491,330,142,2),(492,331,142,2),(494,332,142,2),(495,333,142,2),(497,334,142,2),(499,335,142,2),(501,336,142,2),(503,337,142,2),(504,338,142,2),(505,339,142,2),(506,340,142,2),(507,341,142,2),(509,342,142,2),(511,343,142,2),(513,344,142,2),(515,345,142,2),(517,346,142,2),(519,347,142,2),(521,348,142,2),(523,349,142,2),(524,350,142,2),(526,351,142,2),(528,352,142,2),(529,353,142,2),(530,354,142,2),(532,355,142,2),(533,356,142,2),(535,357,142,2),(536,358,142,2),(537,359,142,2),(539,360,142,2),(540,361,142,2),(541,362,142,2),(543,363,142,2),(544,364,142,2),(545,365,142,2),(547,366,142,2),(548,367,142,2),(550,368,142,2),(551,369,142,2),(553,370,142,2),(555,371,142,2),(557,372,142,2),(559,373,142,2),(561,374,142,2),(563,375,142,2),(565,376,142,2),(567,377,142,2),(568,378,142,2),(569,379,142,2),(570,380,142,2),(572,381,142,2),(574,382,142,2),(575,383,142,2),(576,384,142,2),(577,385,142,2),(579,386,142,2),(581,387,142,2),(582,388,142,2),(583,389,142,2),(584,390,142,2),(586,391,142,2),(588,392,142,2),(589,393,142,2),(590,394,142,2),(591,395,142,2),(593,396,142,2),(594,397,142,2),(596,398,142,2),(597,399,142,2),(598,400,142,2),(600,401,142,2),(602,402,142,2),(603,403,142,2),(604,404,142,2),(605,405,142,2),(607,406,142,2),(608,407,142,2),(609,408,142,2),(610,409,142,2),(611,410,142,2),(612,411,142,2),(613,412,142,2),(614,413,142,2),(615,414,142,2),(616,415,142,2),(618,416,142,2),(619,417,142,2),(621,418,142,2),(622,419,142,2),(623,420,142,2),(625,421,142,2),(626,422,142,2),(628,423,142,2),(629,424,142,2),(631,425,142,2),(632,426,142,2),(634,427,142,2),(635,428,142,2),(637,429,142,2),(638,430,142,2),(639,431,142,2),(640,432,142,2),(641,433,142,2),(643,434,142,2),(644,435,142,2),(645,436,142,2),(647,437,142,2),(648,438,142,2),(650,439,142,2),(651,440,142,2),(652,441,142,2),(653,442,142,2),(655,443,142,2),(657,444,142,2),(659,445,142,2),(660,446,142,2),(662,447,142,2),(663,448,142,2),(665,449,142,2),(666,450,142,2),(685,468,145,2),(715,498,145,2),(754,537,145,2),(776,559,147,2),(692,475,149,2),(722,505,149,2),(693,476,150,2),(723,506,150,2),(700,483,152,2),(730,513,152,2),(702,485,156,2),(732,515,156,2),(761,544,157,2),(699,482,158,2),(729,512,158,2),(790,573,160,2),(682,465,161,2),(712,495,161,2),(783,566,165,2),(779,562,168,2),(773,556,179,2),(753,536,182,2),(697,480,186,2),(727,510,186,2),(706,489,190,2),(736,519,190,2),(744,527,190,2),(789,572,192,2),(707,490,198,2),(737,520,198,2),(756,539,198,2); +INSERT INTO `civicrm_activity_contact` (`id`, `activity_id`, `contact_id`, `record_type_id`) VALUES (376,247,1,3),(271,181,2,3),(382,251,2,3),(545,360,2,3),(689,451,2,2),(713,475,2,2),(743,505,2,2),(769,531,2,2),(253,170,4,3),(588,389,4,3),(602,398,4,3),(684,448,4,3),(690,452,4,2),(478,314,5,3),(547,361,5,3),(598,395,5,3),(722,484,5,2),(752,514,5,2),(353,231,6,3),(691,453,6,2),(720,482,6,2),(750,512,6,2),(183,122,7,3),(263,176,7,3),(458,301,7,3),(731,493,7,2),(761,523,7,2),(806,568,7,2),(59,40,8,3),(250,168,8,3),(682,447,8,3),(692,454,8,2),(77,52,9,3),(520,344,9,3),(166,111,10,3),(273,182,10,3),(310,205,11,3),(716,478,11,2),(746,508,11,2),(429,282,12,3),(295,195,13,3),(102,68,14,3),(220,148,14,3),(423,278,14,3),(673,441,14,3),(143,97,15,3),(257,172,15,3),(612,403,15,3),(808,570,15,2),(69,47,16,3),(634,417,16,3),(693,455,16,2),(64,44,17,3),(632,416,17,3),(98,66,18,3),(204,138,18,3),(222,149,18,3),(727,489,18,2),(757,519,18,2),(774,536,18,2),(226,152,19,3),(543,359,19,3),(694,456,19,2),(207,140,20,3),(578,384,20,3),(242,163,21,3),(444,292,21,3),(75,51,22,3),(275,183,22,3),(401,264,22,3),(490,323,22,3),(763,525,22,2),(110,74,23,3),(340,223,23,3),(403,265,24,3),(494,325,24,3),(12,8,25,3),(164,110,25,3),(187,125,25,3),(228,153,25,3),(358,234,25,3),(209,141,26,3),(657,432,26,3),(291,193,27,3),(181,121,28,3),(515,341,28,3),(792,554,28,2),(17,11,29,3),(94,64,29,3),(127,85,29,3),(240,162,29,3),(530,350,29,3),(650,428,29,3),(809,571,29,2),(415,273,30,3),(539,357,30,3),(624,410,30,3),(780,542,30,2),(434,285,31,3),(711,473,31,2),(741,503,31,2),(700,462,32,2),(701,463,32,2),(764,526,32,2),(154,104,33,3),(541,358,33,3),(213,143,34,3),(582,386,34,3),(697,459,34,2),(782,544,34,2),(772,534,35,2),(36,24,36,3),(646,426,36,3),(42,28,37,3),(211,142,37,3),(283,188,37,3),(107,72,38,3),(446,293,38,3),(580,385,39,3),(177,118,40,3),(216,145,40,3),(355,232,40,3),(399,263,40,3),(648,427,40,3),(366,240,41,3),(526,347,41,3),(662,435,42,3),(442,291,43,3),(667,438,43,3),(688,450,43,3),(699,461,43,2),(718,480,43,2),(748,510,43,2),(328,216,44,3),(678,445,44,3),(768,530,44,2),(26,17,45,3),(267,178,45,3),(338,222,45,3),(425,279,45,3),(615,405,45,3),(6,4,46,3),(190,127,46,3),(293,194,46,3),(556,367,46,3),(345,226,47,3),(811,573,47,2),(317,209,48,3),(342,224,48,3),(453,298,48,3),(173,116,49,3),(592,391,49,3),(796,558,49,2),(136,91,50,3),(175,117,50,3),(586,388,50,3),(797,559,50,2),(96,65,51,3),(312,206,51,3),(387,255,51,3),(488,322,51,3),(638,420,51,3),(418,275,52,3),(766,528,52,2),(9,6,53,3),(125,84,53,3),(655,431,53,3),(775,537,53,2),(150,102,54,3),(281,187,54,3),(522,345,55,3),(378,248,56,3),(467,308,56,3),(368,241,57,3),(652,429,57,3),(708,470,57,2),(738,500,57,2),(622,409,58,3),(627,412,58,3),(680,446,58,3),(767,529,58,2),(236,159,59,3),(449,295,59,3),(671,440,59,3),(19,12,60,3),(23,15,60,3),(152,103,60,3),(498,328,60,3),(664,436,60,3),(702,464,60,2),(732,494,60,2),(330,217,61,3),(570,378,61,3),(617,406,61,3),(265,177,62,3),(79,53,63,3),(336,221,63,3),(469,309,63,3),(594,392,63,3),(777,539,63,2),(131,88,64,3),(325,214,64,3),(463,305,64,3),(573,380,64,3),(590,390,64,3),(715,477,64,2),(745,507,64,2),(118,79,65,3),(286,190,65,3),(320,211,65,3),(396,261,65,3),(409,269,65,3),(473,311,65,3),(723,485,65,2),(753,515,65,2),(537,356,66,3),(584,387,66,3),(88,60,67,3),(513,340,67,3),(619,407,67,3),(371,243,68,3),(686,449,68,3),(158,107,69,3),(394,260,69,3),(431,283,69,3),(709,471,69,2),(739,501,69,2),(245,165,70,3),(194,130,71,3),(698,460,71,2),(778,540,71,2),(112,75,72,3),(51,34,73,3),(717,479,73,2),(747,509,73,2),(288,191,74,3),(608,401,74,3),(412,271,75,3),(659,433,75,3),(785,547,75,2),(363,238,76,3),(706,468,76,2),(736,498,76,2),(471,310,77,3),(803,565,77,2),(563,372,79,3),(15,10,80,3),(133,89,80,3),(231,155,80,3),(278,185,80,3),(332,218,80,3),(31,21,81,3),(248,167,81,3),(502,331,81,3),(560,370,81,3),(121,81,82,3),(695,457,82,2),(297,196,83,3),(304,201,83,3),(162,109,84,3),(349,228,84,3),(420,276,84,3),(518,343,84,3),(712,474,84,2),(742,504,84,2),(308,204,86,3),(729,491,86,2),(759,521,86,2),(261,175,87,3),(314,207,87,3),(406,267,87,3),(606,400,87,3),(805,567,87,2),(322,212,88,3),(553,365,88,3),(725,487,88,2),(755,517,88,2),(170,114,89,3),(669,439,89,3),(800,562,89,2),(437,287,90,3),(347,227,91,3),(804,566,91,2),(91,62,92,3),(100,67,92,3),(696,458,92,2),(3,2,93,3),(160,108,93,3),(714,476,93,2),(744,506,93,2),(55,37,94,3),(509,337,94,3),(604,399,94,3),(39,26,95,3),(82,55,95,3),(148,101,95,3),(455,299,95,3),(484,319,95,3),(492,324,95,3),(524,346,95,3),(644,425,95,3),(114,76,96,3),(302,200,96,3),(476,313,96,3),(550,363,96,3),(45,30,97,3),(48,32,97,3),(71,48,97,3),(392,259,97,3),(610,402,97,3),(807,569,97,2),(67,46,98,3),(255,171,98,3),(704,466,98,2),(734,496,98,2),(781,543,98,2),(34,23,99,3),(202,137,99,3),(812,574,99,2),(730,492,106,2),(760,522,106,2),(802,564,110,2),(787,549,113,2),(788,550,118,2),(771,533,122,2),(790,552,124,2),(1,1,132,2),(2,2,132,2),(4,3,132,2),(5,4,132,2),(7,5,132,2),(8,6,132,2),(10,7,132,2),(11,8,132,2),(13,9,132,2),(14,10,132,2),(16,11,132,2),(18,12,132,2),(20,13,132,2),(21,14,132,2),(22,15,132,2),(24,16,132,2),(25,17,132,2),(27,18,132,2),(28,19,132,2),(29,20,132,2),(30,21,132,2),(32,22,132,2),(33,23,132,2),(35,24,132,2),(37,25,132,2),(38,26,132,2),(40,27,132,2),(41,28,132,2),(43,29,132,2),(44,30,132,2),(46,31,132,2),(47,32,132,2),(49,33,132,2),(50,34,132,2),(52,35,132,2),(53,36,132,2),(54,37,132,2),(56,38,132,2),(57,39,132,2),(58,40,132,2),(60,41,132,2),(61,42,132,2),(62,43,132,2),(63,44,132,2),(65,45,132,2),(66,46,132,2),(68,47,132,2),(70,48,132,2),(72,49,132,2),(73,50,132,2),(74,51,132,2),(76,52,132,2),(78,53,132,2),(80,54,132,2),(81,55,132,2),(83,56,132,2),(84,57,132,2),(85,58,132,2),(86,59,132,2),(87,60,132,2),(89,61,132,2),(90,62,132,2),(92,63,132,2),(93,64,132,2),(95,65,132,2),(97,66,132,2),(99,67,132,2),(101,68,132,2),(103,69,132,2),(104,70,132,2),(105,71,132,2),(106,72,132,2),(108,73,132,2),(109,74,132,2),(111,75,132,2),(113,76,132,2),(115,77,132,2),(116,78,132,2),(117,79,132,2),(119,80,132,2),(120,81,132,2),(122,82,132,2),(123,83,132,2),(124,84,132,2),(126,85,132,2),(128,86,132,2),(129,87,132,2),(130,88,132,2),(132,89,132,2),(134,90,132,2),(135,91,132,2),(137,92,132,2),(138,93,132,2),(139,94,132,2),(140,95,132,2),(141,96,132,2),(142,97,132,2),(144,98,132,2),(145,99,132,2),(146,100,132,2),(147,101,132,2),(149,102,132,2),(151,103,132,2),(153,104,132,2),(155,105,132,2),(156,106,132,2),(157,107,132,2),(159,108,132,2),(161,109,132,2),(163,110,132,2),(165,111,132,2),(167,112,132,2),(168,113,132,2),(169,114,132,2),(171,115,132,2),(172,116,132,2),(174,117,132,2),(176,118,132,2),(178,119,132,2),(179,120,132,2),(180,121,132,2),(182,122,132,2),(184,123,132,2),(185,124,132,2),(186,125,132,2),(188,126,132,2),(189,127,132,2),(191,128,132,2),(192,129,132,2),(193,130,132,2),(195,131,132,2),(196,132,132,2),(197,133,132,2),(198,134,132,2),(199,135,132,2),(200,136,132,2),(201,137,132,2),(203,138,132,2),(205,139,132,2),(206,140,132,2),(208,141,132,2),(210,142,132,2),(212,143,132,2),(214,144,132,2),(215,145,132,2),(217,146,132,2),(218,147,132,2),(219,148,132,2),(221,149,132,2),(223,150,132,2),(779,541,133,2),(703,465,134,2),(733,495,134,2),(707,469,136,2),(737,499,136,2),(789,551,139,2),(705,467,140,2),(735,497,140,2),(726,488,143,2),(756,518,143,2),(710,472,145,2),(740,502,145,2),(793,555,146,2),(783,545,150,2),(770,532,151,2),(794,556,152,2),(791,553,153,2),(786,548,154,2),(776,538,156,2),(784,546,158,2),(457,301,163,2),(459,302,163,2),(460,303,163,2),(461,304,163,2),(462,305,163,2),(464,306,163,2),(465,307,163,2),(466,308,163,2),(468,309,163,2),(470,310,163,2),(472,311,163,2),(474,312,163,2),(475,313,163,2),(477,314,163,2),(479,315,163,2),(480,316,163,2),(481,317,163,2),(482,318,163,2),(483,319,163,2),(485,320,163,2),(486,321,163,2),(487,322,163,2),(489,323,163,2),(491,324,163,2),(493,325,163,2),(495,326,163,2),(496,327,163,2),(497,328,163,2),(499,329,163,2),(500,330,163,2),(501,331,163,2),(503,332,163,2),(504,333,163,2),(505,334,163,2),(506,335,163,2),(507,336,163,2),(508,337,163,2),(510,338,163,2),(511,339,163,2),(512,340,163,2),(514,341,163,2),(516,342,163,2),(517,343,163,2),(519,344,163,2),(521,345,163,2),(523,346,163,2),(525,347,163,2),(527,348,163,2),(528,349,163,2),(529,350,163,2),(531,351,163,2),(532,352,163,2),(533,353,163,2),(534,354,163,2),(535,355,163,2),(536,356,163,2),(538,357,163,2),(540,358,163,2),(542,359,163,2),(544,360,163,2),(546,361,163,2),(548,362,163,2),(549,363,163,2),(551,364,163,2),(552,365,163,2),(554,366,163,2),(555,367,163,2),(557,368,163,2),(558,369,163,2),(559,370,163,2),(561,371,163,2),(562,372,163,2),(564,373,163,2),(565,374,163,2),(566,375,163,2),(567,376,163,2),(568,377,163,2),(569,378,163,2),(571,379,163,2),(572,380,163,2),(574,381,163,2),(575,382,163,2),(576,383,163,2),(577,384,163,2),(579,385,163,2),(581,386,163,2),(583,387,163,2),(585,388,163,2),(587,389,163,2),(589,390,163,2),(591,391,163,2),(593,392,163,2),(595,393,163,2),(596,394,163,2),(597,395,163,2),(599,396,163,2),(600,397,163,2),(601,398,163,2),(603,399,163,2),(605,400,163,2),(607,401,163,2),(609,402,163,2),(611,403,163,2),(613,404,163,2),(614,405,163,2),(616,406,163,2),(618,407,163,2),(620,408,163,2),(621,409,163,2),(623,410,163,2),(625,411,163,2),(626,412,163,2),(628,413,163,2),(629,414,163,2),(630,415,163,2),(631,416,163,2),(633,417,163,2),(635,418,163,2),(636,419,163,2),(637,420,163,2),(639,421,163,2),(640,422,163,2),(641,423,163,2),(642,424,163,2),(643,425,163,2),(645,426,163,2),(647,427,163,2),(649,428,163,2),(651,429,163,2),(653,430,163,2),(654,431,163,2),(656,432,163,2),(658,433,163,2),(660,434,163,2),(661,435,163,2),(663,436,163,2),(665,437,163,2),(666,438,163,2),(668,439,163,2),(670,440,163,2),(672,441,163,2),(674,442,163,2),(675,443,163,2),(676,444,163,2),(677,445,163,2),(679,446,163,2),(681,447,163,2),(683,448,163,2),(685,449,163,2),(687,450,163,2),(801,563,164,2),(728,490,166,2),(758,520,166,2),(765,527,169,2),(810,572,170,2),(719,481,172,2),(749,511,172,2),(721,483,177,2),(751,513,177,2),(798,560,180,2),(795,557,183,2),(773,535,186,2),(724,486,187,2),(754,516,187,2),(799,561,194,2),(224,151,201,2),(225,152,201,2),(227,153,201,2),(229,154,201,2),(230,155,201,2),(232,156,201,2),(233,157,201,2),(234,158,201,2),(235,159,201,2),(237,160,201,2),(238,161,201,2),(239,162,201,2),(241,163,201,2),(243,164,201,2),(244,165,201,2),(246,166,201,2),(247,167,201,2),(249,168,201,2),(251,169,201,2),(252,170,201,2),(254,171,201,2),(256,172,201,2),(258,173,201,2),(259,174,201,2),(260,175,201,2),(262,176,201,2),(264,177,201,2),(266,178,201,2),(268,179,201,2),(269,180,201,2),(270,181,201,2),(272,182,201,2),(274,183,201,2),(276,184,201,2),(277,185,201,2),(279,186,201,2),(280,187,201,2),(282,188,201,2),(284,189,201,2),(285,190,201,2),(287,191,201,2),(289,192,201,2),(290,193,201,2),(292,194,201,2),(294,195,201,2),(296,196,201,2),(298,197,201,2),(299,198,201,2),(300,199,201,2),(301,200,201,2),(303,201,201,2),(305,202,201,2),(306,203,201,2),(307,204,201,2),(309,205,201,2),(311,206,201,2),(313,207,201,2),(315,208,201,2),(316,209,201,2),(318,210,201,2),(319,211,201,2),(321,212,201,2),(323,213,201,2),(324,214,201,2),(326,215,201,2),(327,216,201,2),(329,217,201,2),(331,218,201,2),(333,219,201,2),(334,220,201,2),(335,221,201,2),(337,222,201,2),(339,223,201,2),(341,224,201,2),(343,225,201,2),(344,226,201,2),(346,227,201,2),(348,228,201,2),(350,229,201,2),(351,230,201,2),(352,231,201,2),(354,232,201,2),(356,233,201,2),(357,234,201,2),(359,235,201,2),(360,236,201,2),(361,237,201,2),(362,238,201,2),(364,239,201,2),(365,240,201,2),(367,241,201,2),(369,242,201,2),(370,243,201,2),(372,244,201,2),(373,245,201,2),(374,246,201,2),(375,247,201,2),(377,248,201,2),(379,249,201,2),(380,250,201,2),(381,251,201,2),(383,252,201,2),(384,253,201,2),(385,254,201,2),(386,255,201,2),(388,256,201,2),(389,257,201,2),(390,258,201,2),(391,259,201,2),(393,260,201,2),(395,261,201,2),(397,262,201,2),(398,263,201,2),(400,264,201,2),(402,265,201,2),(404,266,201,2),(405,267,201,2),(407,268,201,2),(408,269,201,2),(410,270,201,2),(411,271,201,2),(413,272,201,2),(414,273,201,2),(416,274,201,2),(417,275,201,2),(419,276,201,2),(421,277,201,2),(422,278,201,2),(424,279,201,2),(426,280,201,2),(427,281,201,2),(428,282,201,2),(430,283,201,2),(432,284,201,2),(433,285,201,2),(435,286,201,2),(436,287,201,2),(438,288,201,2),(439,289,201,2),(440,290,201,2),(441,291,201,2),(443,292,201,2),(445,293,201,2),(447,294,201,2),(448,295,201,2),(450,296,201,2),(451,297,201,2),(452,298,201,2),(454,299,201,2),(456,300,201,2); /*!40000 ALTER TABLE `civicrm_activity_contact` ENABLE KEYS */; UNLOCK TABLES; @@ -107,7 +107,7 @@ 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,123,1,1,0,'453I El Camino Ln SE',453,'I',NULL,'El Camino','Ln','SE',NULL,NULL,NULL,NULL,'Mekinock',1,1033,NULL,'58258',NULL,1228,48.008825,-97.35424,0,NULL,NULL,NULL),(2,22,1,1,0,'650D Van Ness Ave SE',650,'D',NULL,'Van Ness','Ave','SE',NULL,NULL,NULL,NULL,'Clay',1,1047,NULL,'25043',NULL,1228,38.46791,-81.0082,0,NULL,NULL,NULL),(3,96,1,1,0,'158F Martin Luther King Way E',158,'F',NULL,'Martin Luther King','Way','E',NULL,NULL,NULL,NULL,'Burtonsville',1,1019,NULL,'20866',NULL,1228,39.097243,-76.93467,0,NULL,NULL,NULL),(4,148,1,1,0,'209P Maple Ln S',209,'P',NULL,'Maple','Ln','S',NULL,NULL,NULL,NULL,'Tome',1,1030,NULL,'87060',NULL,1228,34.740708,-106.73362,0,NULL,NULL,NULL),(5,174,1,1,0,'747R Martin Luther King Ave W',747,'R',NULL,'Martin Luther King','Ave','W',NULL,NULL,NULL,NULL,'Durham',1,1032,NULL,'27708',NULL,1228,36.028685,-78.92398,0,NULL,NULL,NULL),(6,135,1,1,0,'52G States Ln SW',52,'G',NULL,'States','Ln','SW',NULL,NULL,NULL,NULL,'Okauchee',1,1048,NULL,'53069',NULL,1228,43.114118,-88.43771,0,NULL,NULL,NULL),(7,67,1,1,0,'568Q Green Path N',568,'Q',NULL,'Green','Path','N',NULL,NULL,NULL,NULL,'Harper',1,1036,NULL,'97906',NULL,1228,43.875636,-117.57157,0,NULL,NULL,NULL),(8,142,1,1,0,'97Y Caulder Dr NE',97,'Y',NULL,'Caulder','Dr','NE',NULL,NULL,NULL,NULL,'Hillsboro',1,1000,NULL,'35643',NULL,1228,34.648768,-87.20394,0,NULL,NULL,NULL),(9,23,1,1,0,'160T Martin Luther King Ln SW',160,'T',NULL,'Martin Luther King','Ln','SW',NULL,NULL,NULL,NULL,'Crayne',1,1016,NULL,'42033',NULL,1228,37.336533,-88.079607,0,NULL,NULL,NULL),(10,132,1,1,0,'46J Maple Blvd SE',46,'J',NULL,'Maple','Blvd','SE',NULL,NULL,NULL,NULL,'Marathon',1,1048,NULL,'54448',NULL,1228,44.935076,-89.83699,0,NULL,NULL,NULL),(11,114,1,1,0,'121T Caulder Pl N',121,'T',NULL,'Caulder','Pl','N',NULL,NULL,NULL,NULL,'Miami',1,1008,NULL,'33261',NULL,1228,25.558428,-80.458168,0,NULL,NULL,NULL),(12,121,1,1,0,'403H College Rd NE',403,'H',NULL,'College','Rd','NE',NULL,NULL,NULL,NULL,'Sheridan',1,1018,NULL,'04775',NULL,1228,46.516166,-68.886826,0,NULL,NULL,NULL),(13,63,1,1,0,'900R Second Dr E',900,'R',NULL,'Second','Dr','E',NULL,NULL,NULL,NULL,'Princeton',1,1029,NULL,'08542',NULL,1228,40.354424,-74.65943,0,NULL,NULL,NULL),(14,34,1,1,0,'771E Green Rd NE',771,'E',NULL,'Green','Rd','NE',NULL,NULL,NULL,NULL,'El Paso',1,1042,NULL,'79980',NULL,1228,31.694842,-106.299987,0,NULL,NULL,NULL),(15,9,1,1,0,'404V Green Ave S',404,'V',NULL,'Green','Ave','S',NULL,NULL,NULL,NULL,'Calais',1,1018,NULL,'04619',NULL,1228,45.166045,-67.24243,0,NULL,NULL,NULL),(16,52,1,1,0,'511K Cadell Ave E',511,'K',NULL,'Cadell','Ave','E',NULL,NULL,NULL,NULL,'Winterville',1,1009,NULL,'30683',NULL,1228,33.954047,-83.2673,0,NULL,NULL,NULL),(17,195,1,1,0,'57Q College Blvd E',57,'Q',NULL,'College','Blvd','E',NULL,NULL,NULL,NULL,'Topsfield',1,1018,NULL,'04490',NULL,1228,45.426462,-67.76009,0,NULL,NULL,NULL),(18,110,1,1,0,'637A Bay Ln W',637,'A',NULL,'Bay','Ln','W',NULL,NULL,NULL,NULL,'Dayton',1,1034,NULL,'45475',NULL,1228,39.750471,-84.268593,0,NULL,NULL,NULL),(19,91,1,1,0,'649C Woodbridge Rd S',649,'C',NULL,'Woodbridge','Rd','S',NULL,NULL,NULL,NULL,'Pomona',1,1004,NULL,'91799',NULL,1228,33.786594,-118.298662,0,NULL,NULL,NULL),(20,78,1,1,0,'717P States Pl W',717,'P',NULL,'States','Pl','W',NULL,NULL,NULL,NULL,'Lorida',1,1008,NULL,'33857',NULL,1228,27.397067,-81.1411,0,NULL,NULL,NULL),(21,156,1,1,0,'357O Van Ness Blvd SW',357,'O',NULL,'Van Ness','Blvd','SW',NULL,NULL,NULL,NULL,'Onaka',1,1040,NULL,'57466',NULL,1228,45.213867,-99.48135,0,NULL,NULL,NULL),(22,198,1,1,0,'508H College Path NE',508,'H',NULL,'College','Path','NE',NULL,NULL,NULL,NULL,'Roanoke Rapids',1,1032,NULL,'27870',NULL,1228,36.448592,-77.67144,0,NULL,NULL,NULL),(23,176,1,1,0,'717K Van Ness St SW',717,'K',NULL,'Van Ness','St','SW',NULL,NULL,NULL,NULL,'West Jordan',1,1043,NULL,'84084',NULL,1228,40.627668,-111.97566,0,NULL,NULL,NULL),(24,149,1,1,0,'943G Van Ness Path W',943,'G',NULL,'Van Ness','Path','W',NULL,NULL,NULL,NULL,'Owen',1,1048,NULL,'54460',NULL,1228,44.945107,-90.53973,0,NULL,NULL,NULL),(25,107,1,1,0,'282K Bay Rd NW',282,'K',NULL,'Bay','Rd','NW',NULL,NULL,NULL,NULL,'Young America',1,1022,NULL,'55556',NULL,1228,44.805487,-93.766524,0,NULL,NULL,NULL),(26,184,1,1,0,'135Y Caulder Dr E',135,'Y',NULL,'Caulder','Dr','E',NULL,NULL,NULL,NULL,'Houston',1,1042,NULL,'77208',NULL,1228,29.83399,-95.434241,0,NULL,NULL,NULL),(27,150,1,1,0,'95U Jackson St E',95,'U',NULL,'Jackson','St','E',NULL,NULL,NULL,NULL,'Dalzell',1,1012,NULL,'61320',NULL,1228,41.350864,-89.17366,0,NULL,NULL,NULL),(28,130,1,1,0,'733U Pine St SE',733,'U',NULL,'Pine','St','SE',NULL,NULL,NULL,NULL,'Austin',1,1042,NULL,'78779',NULL,1228,30.326374,-97.771258,0,NULL,NULL,NULL),(29,153,1,1,0,'107U Second Ln W',107,'U',NULL,'Second','Ln','W',NULL,NULL,NULL,NULL,'Salt Lake City',1,1043,NULL,'84135',NULL,1228,40.668068,-111.908297,0,NULL,NULL,NULL),(30,116,1,1,0,'60L Dowlen Rd SW',60,'L',NULL,'Dowlen','Rd','SW',NULL,NULL,NULL,NULL,'Boykins',1,1045,NULL,'23827',NULL,1228,36.602472,-77.20851,0,NULL,NULL,NULL),(31,84,1,1,0,'76O Martin Luther King Dr N',76,'O',NULL,'Martin Luther King','Dr','N',NULL,NULL,NULL,NULL,'Kernville',1,1004,NULL,'93238',NULL,1228,35.784367,-118.43769,0,NULL,NULL,NULL),(32,51,1,1,0,'113F Jackson Ave SW',113,'F',NULL,'Jackson','Ave','SW',NULL,NULL,NULL,NULL,'Las Vegas',1,1027,NULL,'89106',NULL,1228,36.184219,-115.16292,0,NULL,NULL,NULL),(33,58,1,1,0,'279P Main Rd SW',279,'P',NULL,'Main','Rd','SW',NULL,NULL,NULL,NULL,'Anchorage',1,1001,NULL,'99516',NULL,1228,61.101142,-149.77311,0,NULL,NULL,NULL),(34,81,1,1,0,'78K Dowlen Way NE',78,'K',NULL,'Dowlen','Way','NE',NULL,NULL,NULL,NULL,'Culleoka',1,1041,NULL,'38451',NULL,1228,35.474034,-86.98993,0,NULL,NULL,NULL),(35,179,1,1,0,'757C Maple Dr N',757,'C',NULL,'Maple','Dr','N',NULL,NULL,NULL,NULL,'Rutland',1,1034,NULL,'45775',NULL,1228,39.089885,-82.16773,0,NULL,NULL,NULL),(36,200,1,1,0,'331A Caulder Dr S',331,'A',NULL,'Caulder','Dr','S',NULL,NULL,NULL,NULL,'Honolulu',1,1010,NULL,'96801',NULL,1228,24.859832,-168.021815,0,NULL,NULL,NULL),(37,113,1,1,0,'634R Beech Ave NW',634,'R',NULL,'Beech','Ave','NW',NULL,NULL,NULL,NULL,'Utica',1,1012,NULL,'61373',NULL,1228,41.37061,-89.0149,0,NULL,NULL,NULL),(38,186,1,1,0,'271A Van Ness Way SE',271,'A',NULL,'Van Ness','Way','SE',NULL,NULL,NULL,NULL,'Sacramento',1,1004,NULL,'95833',NULL,1228,38.616891,-121.49623,0,NULL,NULL,NULL),(39,100,1,1,0,'177T El Camino St N',177,'T',NULL,'El Camino','St','N',NULL,NULL,NULL,NULL,'Jasper',1,1024,NULL,'64755',NULL,1228,37.326648,-94.31032,0,NULL,NULL,NULL),(40,44,1,1,0,'383G Van Ness St W',383,'G',NULL,'Van Ness','St','W',NULL,NULL,NULL,NULL,'Providence',1,1038,NULL,'02940',NULL,1228,41.871766,-71.558518,0,NULL,NULL,NULL),(41,133,1,1,0,'750N El Camino Ave S',750,'N',NULL,'El Camino','Ave','S',NULL,NULL,NULL,NULL,'Dallas',1,1042,NULL,'75233',NULL,1228,32.704398,-96.87222,0,NULL,NULL,NULL),(42,74,1,1,0,'359Y Caulder St SE',359,'Y',NULL,'Caulder','St','SE',NULL,NULL,NULL,NULL,'Midlothian',1,1045,NULL,'23113',NULL,1228,37.51338,-77.64165,0,NULL,NULL,NULL),(43,188,1,1,0,'194A Van Ness Rd NW',194,'A',NULL,'Van Ness','Rd','NW',NULL,NULL,NULL,NULL,'Curryville',1,1024,NULL,'63339',NULL,1228,39.334216,-91.37684,0,NULL,NULL,NULL),(44,6,1,1,0,'39N Caulder Path S',39,'N',NULL,'Caulder','Path','S',NULL,NULL,NULL,NULL,'Universal City',1,1042,NULL,'78150',NULL,1228,29.437532,-98.461582,0,NULL,NULL,NULL),(45,94,1,1,0,'886N Bay Ln E',886,'N',NULL,'Bay','Ln','E',NULL,NULL,NULL,NULL,'Moose Lake',1,1022,NULL,'55767',NULL,1228,46.44429,-92.7699,0,NULL,NULL,NULL),(46,82,1,1,0,'722O Maple Way NE',722,'O',NULL,'Maple','Way','NE',NULL,NULL,NULL,NULL,'Carson City',1,1027,NULL,'89701',NULL,1228,39.147877,-119.74536,0,NULL,NULL,NULL),(47,140,1,1,0,'855O Lincoln Way S',855,'O',NULL,'Lincoln','Way','S',NULL,NULL,NULL,NULL,'El Centro',1,1004,NULL,'92243',NULL,1228,32.783359,-115.57746,0,NULL,NULL,NULL),(48,177,1,1,0,'649T Jackson Pl SW',649,'T',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Wells',1,1021,NULL,'49894',NULL,1228,45.778066,-87.07647,0,NULL,NULL,NULL),(49,42,1,1,0,'49I Martin Luther King St N',49,'I',NULL,'Martin Luther King','St','N',NULL,NULL,NULL,NULL,'Marshall',1,1001,NULL,'99585',NULL,1228,61.878073,-162.08481,0,NULL,NULL,NULL),(50,139,1,1,0,'88W Northpoint Pl W',88,'W',NULL,'Northpoint','Pl','W',NULL,NULL,NULL,NULL,'Derry',1,1028,NULL,'03038',NULL,1228,42.886486,-71.30019,0,NULL,NULL,NULL),(51,157,1,1,0,'287J Northpoint Pl N',287,'J',NULL,'Northpoint','Pl','N',NULL,NULL,NULL,NULL,'Canton',1,1034,NULL,'44760',NULL,1228,40.853958,-81.42778,0,NULL,NULL,NULL),(52,109,1,1,0,'179H Van Ness Ln W',179,'H',NULL,'Van Ness','Ln','W',NULL,NULL,NULL,NULL,'Clint',1,1042,NULL,'79836',NULL,1228,31.570185,-106.2133,0,NULL,NULL,NULL),(53,101,1,1,0,'85D Main Rd SW',85,'D',NULL,'Main','Rd','SW',NULL,NULL,NULL,NULL,'Tiller',1,1036,NULL,'97484',NULL,1228,42.879291,-122.89532,0,NULL,NULL,NULL),(54,15,1,1,0,'501D Martin Luther King St E',501,'D',NULL,'Martin Luther King','St','E',NULL,NULL,NULL,NULL,'Roland',1,1014,NULL,'50236',NULL,1228,42.168363,-93.49432,0,NULL,NULL,NULL),(55,39,1,1,0,'916I Lincoln Path NE',916,'I',NULL,'Lincoln','Path','NE',NULL,NULL,NULL,NULL,'Willows',1,1004,NULL,'95988',NULL,1228,39.499754,-122.20773,0,NULL,NULL,NULL),(56,173,1,1,0,'68L Woodbridge Pl SW',68,'L',NULL,'Woodbridge','Pl','SW',NULL,NULL,NULL,NULL,'Hamlin',1,1042,NULL,'79520',NULL,1228,32.88019,-100.13583,0,NULL,NULL,NULL),(57,32,1,1,0,'540W Dowlen Way SW',540,'W',NULL,'Dowlen','Way','SW',NULL,NULL,NULL,NULL,'Albuquerque',1,1030,NULL,'87116',NULL,1228,35.053147,-106.55102,0,NULL,NULL,NULL),(58,183,1,1,0,'220N Jackson Blvd NE',220,'N',NULL,'Jackson','Blvd','NE',NULL,NULL,NULL,NULL,'Longville',1,1017,NULL,'70652',NULL,1228,30.599065,-93.2561,0,NULL,NULL,NULL),(59,165,1,1,0,'425Q Caulder Blvd SW',425,'Q',NULL,'Caulder','Blvd','SW',NULL,NULL,NULL,NULL,'Garden Grove',1,1004,NULL,'92844',NULL,1228,33.765516,-117.9731,0,NULL,NULL,NULL),(60,3,1,1,0,'234F Second Way NW',234,'F',NULL,'Second','Way','NW',NULL,NULL,NULL,NULL,'Simmesport',1,1017,NULL,'71369',NULL,1228,30.966506,-91.82242,0,NULL,NULL,NULL),(61,95,1,1,0,'505H Martin Luther King Dr SW',505,'H',NULL,'Martin Luther King','Dr','SW',NULL,NULL,NULL,NULL,'Homosassa Springs',1,1008,NULL,'34447',NULL,1228,28.804911,-82.574264,0,NULL,NULL,NULL),(62,144,1,1,0,'143M States Blvd W',143,'M',NULL,'States','Blvd','W',NULL,NULL,NULL,NULL,'Scottville',1,1012,NULL,'62683',NULL,1228,39.260862,-89.926068,0,NULL,NULL,NULL),(63,12,1,1,0,'675I Dowlen Blvd NE',675,'I',NULL,'Dowlen','Blvd','NE',NULL,NULL,NULL,NULL,'Lufkin',1,1042,NULL,'75902',NULL,1228,31.362315,-94.761103,0,NULL,NULL,NULL),(64,86,1,1,0,'860C Martin Luther King Ave NW',860,'C',NULL,'Martin Luther King','Ave','NW',NULL,NULL,NULL,NULL,'Sondheimer',1,1017,NULL,'71276',NULL,1228,32.582205,-91.11541,0,NULL,NULL,NULL),(65,118,1,1,0,'840I Pine Pl W',840,'I',NULL,'Pine','Pl','W',NULL,NULL,NULL,NULL,'Indianapolis',1,1013,NULL,'46224',NULL,1228,39.795593,-86.25409,0,NULL,NULL,NULL),(66,192,1,1,0,'337I Lincoln Ave NE',337,'I',NULL,'Lincoln','Ave','NE',NULL,NULL,NULL,NULL,'Virginia',1,1026,NULL,'68458',NULL,1228,40.239986,-96.49182,0,NULL,NULL,NULL),(67,187,3,1,0,'521C Beech Dr SE',521,'C',NULL,'Beech','Dr','SE',NULL,'Community Relations',NULL,NULL,'Rock Camp',1,1034,NULL,'45675',NULL,1228,38.536685,-82.532715,0,NULL,NULL,NULL),(68,168,2,1,0,'521C Beech Dr SE',521,'C',NULL,'Beech','Dr','SE',NULL,'Community Relations',NULL,NULL,'Rock Camp',1,1034,NULL,'45675',NULL,1228,38.536685,-82.532715,0,NULL,NULL,67),(69,29,3,1,0,'50M Second Dr S',50,'M',NULL,'Second','Dr','S',NULL,'Disbursements',NULL,NULL,'Alleene',1,1003,NULL,'71820',NULL,1228,33.780463,-94.24384,0,NULL,NULL,NULL),(70,123,2,0,0,'50M Second Dr S',50,'M',NULL,'Second','Dr','S',NULL,'Disbursements',NULL,NULL,'Alleene',1,1003,NULL,'71820',NULL,1228,33.780463,-94.24384,0,NULL,NULL,69),(71,124,3,1,0,'24C Maple Ave N',24,'C',NULL,'Maple','Ave','N',NULL,'Disbursements',NULL,NULL,'Cranberry Isles',1,1018,NULL,'04625',NULL,1228,44.248715,-68.25991,0,NULL,NULL,NULL),(72,152,2,1,0,'24C Maple Ave N',24,'C',NULL,'Maple','Ave','N',NULL,'Disbursements',NULL,NULL,'Cranberry Isles',1,1018,NULL,'04625',NULL,1228,44.248715,-68.25991,0,NULL,NULL,71),(73,172,3,1,0,'143D Second Ln SE',143,'D',NULL,'Second','Ln','SE',NULL,'Donor Relations',NULL,NULL,'Powhatan',1,1003,NULL,'72458',NULL,1228,36.065739,-91.15181,0,NULL,NULL,NULL),(74,52,2,0,0,'143D Second Ln SE',143,'D',NULL,'Second','Ln','SE',NULL,'Donor Relations',NULL,NULL,'Powhatan',1,1003,NULL,'72458',NULL,1228,36.065739,-91.15181,0,NULL,NULL,73),(75,111,3,1,0,'683R Northpoint Blvd SE',683,'R',NULL,'Northpoint','Blvd','SE',NULL,'Receiving',NULL,NULL,'Silver Spring',1,1019,NULL,'20905',NULL,1228,39.104509,-76.99374,0,NULL,NULL,NULL),(76,178,2,1,0,'683R Northpoint Blvd SE',683,'R',NULL,'Northpoint','Blvd','SE',NULL,'Receiving',NULL,NULL,'Silver Spring',1,1019,NULL,'20905',NULL,1228,39.104509,-76.99374,0,NULL,NULL,75),(77,16,3,1,0,'740V Second Way W',740,'V',NULL,'Second','Way','W',NULL,'Attn: Accounting',NULL,NULL,'New Vienna',1,1014,NULL,'52065',NULL,1228,42.559621,-91.10572,0,NULL,NULL,NULL),(78,154,2,1,0,'740V Second Way W',740,'V',NULL,'Second','Way','W',NULL,'Attn: Accounting',NULL,NULL,'New Vienna',1,1014,NULL,'52065',NULL,1228,42.559621,-91.10572,0,NULL,NULL,77),(79,92,3,1,0,'668A Cadell St NW',668,'A',NULL,'Cadell','St','NW',NULL,'Community Relations',NULL,NULL,'Waterbury',1,1006,NULL,'06703',NULL,1228,41.365709,-72.927507,0,NULL,NULL,NULL),(80,105,3,1,0,'973Y States Pl W',973,'Y',NULL,'States','Pl','W',NULL,'Payables Dept.',NULL,NULL,'Smithfield',1,1045,NULL,'23430',NULL,1228,36.978861,-76.63973,0,NULL,NULL,NULL),(81,91,2,0,0,'973Y States Pl W',973,'Y',NULL,'States','Pl','W',NULL,'Payables Dept.',NULL,NULL,'Smithfield',1,1045,NULL,'23430',NULL,1228,36.978861,-76.63973,0,NULL,NULL,80),(82,56,3,1,0,'906Y Green Path SW',906,'Y',NULL,'Green','Path','SW',NULL,'c/o OPDC',NULL,NULL,'Clipper Mills',1,1004,NULL,'95930',NULL,1228,39.563522,-121.13191,0,NULL,NULL,NULL),(83,79,2,1,0,'906Y Green Path SW',906,'Y',NULL,'Green','Path','SW',NULL,'c/o OPDC',NULL,NULL,'Clipper Mills',1,1004,NULL,'95930',NULL,1228,39.563522,-121.13191,0,NULL,NULL,82),(84,108,3,1,0,'155D Main Blvd NE',155,'D',NULL,'Main','Blvd','NE',NULL,'Urgent',NULL,NULL,'Lyon Mountain',1,1031,NULL,'12952',NULL,1228,44.715159,-73.91824,0,NULL,NULL,NULL),(85,77,3,1,0,'405A Caulder Way SW',405,'A',NULL,'Caulder','Way','SW',NULL,'Community Relations',NULL,NULL,'Kirklin',1,1013,NULL,'46050',NULL,1228,40.196061,-86.35846,0,NULL,NULL,NULL),(86,5,3,1,0,'784D Bay Blvd N',784,'D',NULL,'Bay','Blvd','N',NULL,'Donor Relations',NULL,NULL,'Hustisford',1,1048,NULL,'53034',NULL,1228,43.345528,-88.60135,0,NULL,NULL,NULL),(87,159,2,1,0,'784D Bay Blvd N',784,'D',NULL,'Bay','Blvd','N',NULL,'Donor Relations',NULL,NULL,'Hustisford',1,1048,NULL,'53034',NULL,1228,43.345528,-88.60135,0,NULL,NULL,86),(88,182,3,1,0,'197D College Path SW',197,'D',NULL,'College','Path','SW',NULL,'Churchgate',NULL,NULL,'Damascus',1,1045,NULL,'24236',NULL,1228,36.624632,-81.76732,0,NULL,NULL,NULL),(89,104,2,1,0,'197D College Path SW',197,'D',NULL,'College','Path','SW',NULL,'Churchgate',NULL,NULL,'Damascus',1,1045,NULL,'24236',NULL,1228,36.624632,-81.76732,0,NULL,NULL,88),(90,119,3,1,0,'854O Beech St NW',854,'O',NULL,'Beech','St','NW',NULL,'Receiving',NULL,NULL,'San Francisco',1,1004,NULL,'94115',NULL,1228,37.786129,-122.43736,0,NULL,NULL,NULL),(91,18,2,1,0,'854O Beech St NW',854,'O',NULL,'Beech','St','NW',NULL,'Receiving',NULL,NULL,'San Francisco',1,1004,NULL,'94115',NULL,1228,37.786129,-122.43736,0,NULL,NULL,90),(92,48,3,1,0,'514F Main Pl SE',514,'F',NULL,'Main','Pl','SE',NULL,'Receiving',NULL,NULL,'Orangeburg',1,1031,NULL,'10962',NULL,1228,41.047996,-73.96215,0,NULL,NULL,NULL),(93,164,2,1,0,'514F Main Pl SE',514,'F',NULL,'Main','Pl','SE',NULL,'Receiving',NULL,NULL,'Orangeburg',1,1031,NULL,'10962',NULL,1228,41.047996,-73.96215,0,NULL,NULL,92),(94,171,3,1,0,'568S College Ln SE',568,'S',NULL,'College','Ln','SE',NULL,'c/o OPDC',NULL,NULL,'Montvale',1,1045,NULL,'24122',NULL,1228,37.413397,-79.70789,0,NULL,NULL,NULL),(95,85,3,1,0,'277Z College Path NE',277,'Z',NULL,'College','Path','NE',NULL,'Receiving',NULL,NULL,'Hamer',1,1039,NULL,'29547',NULL,1228,34.483711,-79.32815,0,NULL,NULL,NULL),(96,70,2,1,0,'277Z College Path NE',277,'Z',NULL,'College','Path','NE',NULL,'Receiving',NULL,NULL,'Hamer',1,1039,NULL,'29547',NULL,1228,34.483711,-79.32815,0,NULL,NULL,95),(97,87,3,1,0,'608N States Pl N',608,'N',NULL,'States','Pl','N',NULL,'Cuffe Parade',NULL,NULL,'Gladstone',1,1045,NULL,'24553',NULL,1228,37.541726,-78.80777,0,NULL,NULL,NULL),(98,129,2,1,0,'608N States Pl N',608,'N',NULL,'States','Pl','N',NULL,'Cuffe Parade',NULL,NULL,'Gladstone',1,1045,NULL,'24553',NULL,1228,37.541726,-78.80777,0,NULL,NULL,97),(99,181,3,1,0,'270O Bay Dr W',270,'O',NULL,'Bay','Dr','W',NULL,'c/o OPDC',NULL,NULL,'New Rumley',1,1034,NULL,'43984',NULL,1228,40.29649,-81.102502,0,NULL,NULL,NULL),(100,38,2,1,0,'270O Bay Dr W',270,'O',NULL,'Bay','Dr','W',NULL,'c/o OPDC',NULL,NULL,'New Rumley',1,1034,NULL,'43984',NULL,1228,40.29649,-81.102502,0,NULL,NULL,99),(101,13,3,1,0,'115K Second Pl S',115,'K',NULL,'Second','Pl','S',NULL,'Urgent',NULL,NULL,'Dugger',1,1013,NULL,'47848',NULL,1228,39.065547,-87.25714,0,NULL,NULL,NULL),(102,64,2,1,0,'115K Second Pl S',115,'K',NULL,'Second','Pl','S',NULL,'Urgent',NULL,NULL,'Dugger',1,1013,NULL,'47848',NULL,1228,39.065547,-87.25714,0,NULL,NULL,101),(103,26,1,1,0,'855O Lincoln Way S',855,'O',NULL,'Lincoln','Way','S',NULL,NULL,NULL,NULL,'El Centro',1,1004,NULL,'92243',NULL,1228,32.783359,-115.57746,0,NULL,NULL,47),(104,128,1,1,0,'855O Lincoln Way S',855,'O',NULL,'Lincoln','Way','S',NULL,NULL,NULL,NULL,'El Centro',1,1004,NULL,'92243',NULL,1228,32.783359,-115.57746,0,NULL,NULL,47),(105,120,1,1,0,'855O Lincoln Way S',855,'O',NULL,'Lincoln','Way','S',NULL,NULL,NULL,NULL,'El Centro',1,1004,NULL,'92243',NULL,1228,32.783359,-115.57746,0,NULL,NULL,47),(106,82,1,0,0,'855O Lincoln Way S',855,'O',NULL,'Lincoln','Way','S',NULL,NULL,NULL,NULL,'El Centro',1,1004,NULL,'92243',NULL,1228,32.783359,-115.57746,0,NULL,NULL,47),(107,161,1,1,0,'649T Jackson Pl SW',649,'T',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Wells',1,1021,NULL,'49894',NULL,1228,45.778066,-87.07647,0,NULL,NULL,48),(108,134,1,1,0,'649T Jackson Pl SW',649,'T',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Wells',1,1021,NULL,'49894',NULL,1228,45.778066,-87.07647,0,NULL,NULL,48),(109,35,1,1,0,'649T Jackson Pl SW',649,'T',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Wells',1,1021,NULL,'49894',NULL,1228,45.778066,-87.07647,0,NULL,NULL,48),(110,115,1,1,0,'649T Jackson Pl SW',649,'T',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Wells',1,1021,NULL,'49894',NULL,1228,45.778066,-87.07647,0,NULL,NULL,48),(111,61,1,1,0,'49I Martin Luther King St N',49,'I',NULL,'Martin Luther King','St','N',NULL,NULL,NULL,NULL,'Marshall',1,1001,NULL,'99585',NULL,1228,61.878073,-162.08481,0,NULL,NULL,49),(112,73,1,1,0,'49I Martin Luther King St N',49,'I',NULL,'Martin Luther King','St','N',NULL,NULL,NULL,NULL,'Marshall',1,1001,NULL,'99585',NULL,1228,61.878073,-162.08481,0,NULL,NULL,49),(113,125,1,1,0,'49I Martin Luther King St N',49,'I',NULL,'Martin Luther King','St','N',NULL,NULL,NULL,NULL,'Marshall',1,1001,NULL,'99585',NULL,1228,61.878073,-162.08481,0,NULL,NULL,49),(114,2,1,1,0,'524R Jackson Rd W',524,'R',NULL,'Jackson','Rd','W',NULL,NULL,NULL,NULL,'Mesa',1,1002,NULL,'85210',NULL,1228,33.391233,-111.84129,0,NULL,NULL,NULL),(115,201,1,1,0,'88W Northpoint Pl W',88,'W',NULL,'Northpoint','Pl','W',NULL,NULL,NULL,NULL,'Derry',1,1028,NULL,'03038',NULL,1228,42.886486,-71.30019,0,NULL,NULL,50),(116,97,1,1,0,'88W Northpoint Pl W',88,'W',NULL,'Northpoint','Pl','W',NULL,NULL,NULL,NULL,'Derry',1,1028,NULL,'03038',NULL,1228,42.886486,-71.30019,0,NULL,NULL,50),(117,41,1,1,0,'88W Northpoint Pl W',88,'W',NULL,'Northpoint','Pl','W',NULL,NULL,NULL,NULL,'Derry',1,1028,NULL,'03038',NULL,1228,42.886486,-71.30019,0,NULL,NULL,50),(118,163,1,1,0,'594D Bay Ave SW',594,'D',NULL,'Bay','Ave','SW',NULL,NULL,NULL,NULL,'Medical Lake',1,1046,NULL,'99022',NULL,1228,47.583754,-117.68812,0,NULL,NULL,NULL),(119,191,1,1,0,'287J Northpoint Pl N',287,'J',NULL,'Northpoint','Pl','N',NULL,NULL,NULL,NULL,'Canton',1,1034,NULL,'44760',NULL,1228,40.853958,-81.42778,0,NULL,NULL,51),(120,47,1,1,0,'287J Northpoint Pl N',287,'J',NULL,'Northpoint','Pl','N',NULL,NULL,NULL,NULL,'Canton',1,1034,NULL,'44760',NULL,1228,40.853958,-81.42778,0,NULL,NULL,51),(121,164,1,0,0,'287J Northpoint Pl N',287,'J',NULL,'Northpoint','Pl','N',NULL,NULL,NULL,NULL,'Canton',1,1034,NULL,'44760',NULL,1228,40.853958,-81.42778,0,NULL,NULL,51),(122,31,1,1,0,'287J Northpoint Pl N',287,'J',NULL,'Northpoint','Pl','N',NULL,NULL,NULL,NULL,'Canton',1,1034,NULL,'44760',NULL,1228,40.853958,-81.42778,0,NULL,NULL,51),(123,68,1,1,0,'179H Van Ness Ln W',179,'H',NULL,'Van Ness','Ln','W',NULL,NULL,NULL,NULL,'Clint',1,1042,NULL,'79836',NULL,1228,31.570185,-106.2133,0,NULL,NULL,52),(124,98,1,1,0,'179H Van Ness Ln W',179,'H',NULL,'Van Ness','Ln','W',NULL,NULL,NULL,NULL,'Clint',1,1042,NULL,'79836',NULL,1228,31.570185,-106.2133,0,NULL,NULL,52),(125,33,1,1,0,'179H Van Ness Ln W',179,'H',NULL,'Van Ness','Ln','W',NULL,NULL,NULL,NULL,'Clint',1,1042,NULL,'79836',NULL,1228,31.570185,-106.2133,0,NULL,NULL,52),(126,53,1,1,0,'179H Van Ness Ln W',179,'H',NULL,'Van Ness','Ln','W',NULL,NULL,NULL,NULL,'Clint',1,1042,NULL,'79836',NULL,1228,31.570185,-106.2133,0,NULL,NULL,52),(127,170,1,1,0,'85D Main Rd SW',85,'D',NULL,'Main','Rd','SW',NULL,NULL,NULL,NULL,'Tiller',1,1036,NULL,'97484',NULL,1228,42.879291,-122.89532,0,NULL,NULL,53),(128,38,1,0,0,'85D Main Rd SW',85,'D',NULL,'Main','Rd','SW',NULL,NULL,NULL,NULL,'Tiller',1,1036,NULL,'97484',NULL,1228,42.879291,-122.89532,0,NULL,NULL,53),(129,66,1,1,0,'85D Main Rd SW',85,'D',NULL,'Main','Rd','SW',NULL,NULL,NULL,NULL,'Tiller',1,1036,NULL,'97484',NULL,1228,42.879291,-122.89532,0,NULL,NULL,53),(130,76,1,1,0,'85D Main Rd SW',85,'D',NULL,'Main','Rd','SW',NULL,NULL,NULL,NULL,'Tiller',1,1036,NULL,'97484',NULL,1228,42.879291,-122.89532,0,NULL,NULL,53),(131,4,1,1,0,'501D Martin Luther King St E',501,'D',NULL,'Martin Luther King','St','E',NULL,NULL,NULL,NULL,'Roland',1,1014,NULL,'50236',NULL,1228,42.168363,-93.49432,0,NULL,NULL,54),(132,178,1,0,0,'501D Martin Luther King St E',501,'D',NULL,'Martin Luther King','St','E',NULL,NULL,NULL,NULL,'Roland',1,1014,NULL,'50236',NULL,1228,42.168363,-93.49432,0,NULL,NULL,54),(133,19,1,1,0,'501D Martin Luther King St E',501,'D',NULL,'Martin Luther King','St','E',NULL,NULL,NULL,NULL,'Roland',1,1014,NULL,'50236',NULL,1228,42.168363,-93.49432,0,NULL,NULL,54),(134,79,1,0,0,'752V El Camino Blvd N',752,'V',NULL,'El Camino','Blvd','N',NULL,NULL,NULL,NULL,'Drake',1,1016,NULL,'42128',NULL,1228,36.983441,-86.394012,0,NULL,NULL,NULL),(135,199,1,1,0,'916I Lincoln Path NE',916,'I',NULL,'Lincoln','Path','NE',NULL,NULL,NULL,NULL,'Willows',1,1004,NULL,'95988',NULL,1228,39.499754,-122.20773,0,NULL,NULL,55),(136,90,1,1,0,'916I Lincoln Path NE',916,'I',NULL,'Lincoln','Path','NE',NULL,NULL,NULL,NULL,'Willows',1,1004,NULL,'95988',NULL,1228,39.499754,-122.20773,0,NULL,NULL,55),(137,129,1,0,0,'916I Lincoln Path NE',916,'I',NULL,'Lincoln','Path','NE',NULL,NULL,NULL,NULL,'Willows',1,1004,NULL,'95988',NULL,1228,39.499754,-122.20773,0,NULL,NULL,55),(138,166,1,1,0,'527G Woodbridge St E',527,'G',NULL,'Woodbridge','St','E',NULL,NULL,NULL,NULL,'Medina',1,1031,NULL,'14103',NULL,1228,43.217155,-78.38746,0,NULL,NULL,NULL),(139,196,1,1,0,'68L Woodbridge Pl SW',68,'L',NULL,'Woodbridge','Pl','SW',NULL,NULL,NULL,NULL,'Hamlin',1,1042,NULL,'79520',NULL,1228,32.88019,-100.13583,0,NULL,NULL,56),(140,151,1,1,0,'68L Woodbridge Pl SW',68,'L',NULL,'Woodbridge','Pl','SW',NULL,NULL,NULL,NULL,'Hamlin',1,1042,NULL,'79520',NULL,1228,32.88019,-100.13583,0,NULL,NULL,56),(141,93,1,1,0,'68L Woodbridge Pl SW',68,'L',NULL,'Woodbridge','Pl','SW',NULL,NULL,NULL,NULL,'Hamlin',1,1042,NULL,'79520',NULL,1228,32.88019,-100.13583,0,NULL,NULL,56),(142,43,1,1,0,'68L Woodbridge Pl SW',68,'L',NULL,'Woodbridge','Pl','SW',NULL,NULL,NULL,NULL,'Hamlin',1,1042,NULL,'79520',NULL,1228,32.88019,-100.13583,0,NULL,NULL,56),(143,83,1,1,0,'540W Dowlen Way SW',540,'W',NULL,'Dowlen','Way','SW',NULL,NULL,NULL,NULL,'Albuquerque',1,1030,NULL,'87116',NULL,1228,35.053147,-106.55102,0,NULL,NULL,57),(144,126,1,1,0,'540W Dowlen Way SW',540,'W',NULL,'Dowlen','Way','SW',NULL,NULL,NULL,NULL,'Albuquerque',1,1030,NULL,'87116',NULL,1228,35.053147,-106.55102,0,NULL,NULL,57),(145,24,1,1,0,'540W Dowlen Way SW',540,'W',NULL,'Dowlen','Way','SW',NULL,NULL,NULL,NULL,'Albuquerque',1,1030,NULL,'87116',NULL,1228,35.053147,-106.55102,0,NULL,NULL,57),(146,11,1,1,0,'540W Dowlen Way SW',540,'W',NULL,'Dowlen','Way','SW',NULL,NULL,NULL,NULL,'Albuquerque',1,1030,NULL,'87116',NULL,1228,35.053147,-106.55102,0,NULL,NULL,57),(147,7,1,1,0,'220N Jackson Blvd NE',220,'N',NULL,'Jackson','Blvd','NE',NULL,NULL,NULL,NULL,'Longville',1,1017,NULL,'70652',NULL,1228,30.599065,-93.2561,0,NULL,NULL,58),(148,155,1,1,0,'220N Jackson Blvd NE',220,'N',NULL,'Jackson','Blvd','NE',NULL,NULL,NULL,NULL,'Longville',1,1017,NULL,'70652',NULL,1228,30.599065,-93.2561,0,NULL,NULL,58),(149,117,1,1,0,'220N Jackson Blvd NE',220,'N',NULL,'Jackson','Blvd','NE',NULL,NULL,NULL,NULL,'Longville',1,1017,NULL,'70652',NULL,1228,30.599065,-93.2561,0,NULL,NULL,58),(150,104,1,0,0,'359U El Camino St S',359,'U',NULL,'El Camino','St','S',NULL,NULL,NULL,NULL,'Vero Beach',1,1008,NULL,'32961',NULL,1228,27.617473,-80.423083,0,NULL,NULL,NULL),(151,106,1,1,0,'425Q Caulder Blvd SW',425,'Q',NULL,'Caulder','Blvd','SW',NULL,NULL,NULL,NULL,'Garden Grove',1,1004,NULL,'92844',NULL,1228,33.765516,-117.9731,0,NULL,NULL,59),(152,62,1,1,0,'425Q Caulder Blvd SW',425,'Q',NULL,'Caulder','Blvd','SW',NULL,NULL,NULL,NULL,'Garden Grove',1,1004,NULL,'92844',NULL,1228,33.765516,-117.9731,0,NULL,NULL,59),(153,197,1,1,0,'425Q Caulder Blvd SW',425,'Q',NULL,'Caulder','Blvd','SW',NULL,NULL,NULL,NULL,'Garden Grove',1,1004,NULL,'92844',NULL,1228,33.765516,-117.9731,0,NULL,NULL,59),(154,112,1,1,0,'425Q Caulder Blvd SW',425,'Q',NULL,'Caulder','Blvd','SW',NULL,NULL,NULL,NULL,'Garden Grove',1,1004,NULL,'92844',NULL,1228,33.765516,-117.9731,0,NULL,NULL,59),(155,141,1,1,0,'234F Second Way NW',234,'F',NULL,'Second','Way','NW',NULL,NULL,NULL,NULL,'Simmesport',1,1017,NULL,'71369',NULL,1228,30.966506,-91.82242,0,NULL,NULL,60),(156,154,1,0,0,'234F Second Way NW',234,'F',NULL,'Second','Way','NW',NULL,NULL,NULL,NULL,'Simmesport',1,1017,NULL,'71369',NULL,1228,30.966506,-91.82242,0,NULL,NULL,60),(157,194,1,1,0,'234F Second Way NW',234,'F',NULL,'Second','Way','NW',NULL,NULL,NULL,NULL,'Simmesport',1,1017,NULL,'71369',NULL,1228,30.966506,-91.82242,0,NULL,NULL,60),(158,127,1,1,0,'234F Second Way NW',234,'F',NULL,'Second','Way','NW',NULL,NULL,NULL,NULL,'Simmesport',1,1017,NULL,'71369',NULL,1228,30.966506,-91.82242,0,NULL,NULL,60),(159,45,1,1,0,'505H Martin Luther King Dr SW',505,'H',NULL,'Martin Luther King','Dr','SW',NULL,NULL,NULL,NULL,'Homosassa Springs',1,1008,NULL,'34447',NULL,1228,28.804911,-82.574264,0,NULL,NULL,61),(160,72,1,1,0,'505H Martin Luther King Dr SW',505,'H',NULL,'Martin Luther King','Dr','SW',NULL,NULL,NULL,NULL,'Homosassa Springs',1,1008,NULL,'34447',NULL,1228,28.804911,-82.574264,0,NULL,NULL,61),(161,80,1,1,0,'505H Martin Luther King Dr SW',505,'H',NULL,'Martin Luther King','Dr','SW',NULL,NULL,NULL,NULL,'Homosassa Springs',1,1008,NULL,'34447',NULL,1228,28.804911,-82.574264,0,NULL,NULL,61),(162,89,1,1,0,'505H Martin Luther King Dr SW',505,'H',NULL,'Martin Luther King','Dr','SW',NULL,NULL,NULL,NULL,'Homosassa Springs',1,1008,NULL,'34447',NULL,1228,28.804911,-82.574264,0,NULL,NULL,61),(163,50,1,1,0,'143M States Blvd W',143,'M',NULL,'States','Blvd','W',NULL,NULL,NULL,NULL,'Scottville',1,1012,NULL,'62683',NULL,1228,39.260862,-89.926068,0,NULL,NULL,62),(164,147,1,1,0,'143M States Blvd W',143,'M',NULL,'States','Blvd','W',NULL,NULL,NULL,NULL,'Scottville',1,1012,NULL,'62683',NULL,1228,39.260862,-89.926068,0,NULL,NULL,62),(165,136,1,1,0,'143M States Blvd W',143,'M',NULL,'States','Blvd','W',NULL,NULL,NULL,NULL,'Scottville',1,1012,NULL,'62683',NULL,1228,39.260862,-89.926068,0,NULL,NULL,62),(166,169,1,1,0,'143M States Blvd W',143,'M',NULL,'States','Blvd','W',NULL,NULL,NULL,NULL,'Scottville',1,1012,NULL,'62683',NULL,1228,39.260862,-89.926068,0,NULL,NULL,62),(167,190,1,1,0,'675I Dowlen Blvd NE',675,'I',NULL,'Dowlen','Blvd','NE',NULL,NULL,NULL,NULL,'Lufkin',1,1042,NULL,'75902',NULL,1228,31.362315,-94.761103,0,NULL,NULL,63),(168,60,1,1,0,'675I Dowlen Blvd NE',675,'I',NULL,'Dowlen','Blvd','NE',NULL,NULL,NULL,NULL,'Lufkin',1,1042,NULL,'75902',NULL,1228,31.362315,-94.761103,0,NULL,NULL,63),(169,88,1,1,0,'675I Dowlen Blvd NE',675,'I',NULL,'Dowlen','Blvd','NE',NULL,NULL,NULL,NULL,'Lufkin',1,1042,NULL,'75902',NULL,1228,31.362315,-94.761103,0,NULL,NULL,63),(170,59,1,1,0,'675I Dowlen Blvd NE',675,'I',NULL,'Dowlen','Blvd','NE',NULL,NULL,NULL,NULL,'Lufkin',1,1042,NULL,'75902',NULL,1228,31.362315,-94.761103,0,NULL,NULL,63),(171,162,1,1,0,'860C Martin Luther King Ave NW',860,'C',NULL,'Martin Luther King','Ave','NW',NULL,NULL,NULL,NULL,'Sondheimer',1,1017,NULL,'71276',NULL,1228,32.582205,-91.11541,0,NULL,NULL,64),(172,143,1,1,0,'860C Martin Luther King Ave NW',860,'C',NULL,'Martin Luther King','Ave','NW',NULL,NULL,NULL,NULL,'Sondheimer',1,1017,NULL,'71276',NULL,1228,32.582205,-91.11541,0,NULL,NULL,64),(173,138,1,1,0,'860C Martin Luther King Ave NW',860,'C',NULL,'Martin Luther King','Ave','NW',NULL,NULL,NULL,NULL,'Sondheimer',1,1017,NULL,'71276',NULL,1228,32.582205,-91.11541,0,NULL,NULL,64),(174,49,1,1,0,'860C Martin Luther King Ave NW',860,'C',NULL,'Martin Luther King','Ave','NW',NULL,NULL,NULL,NULL,'Sondheimer',1,1017,NULL,'71276',NULL,1228,32.582205,-91.11541,0,NULL,NULL,64),(175,122,1,1,0,'840I Pine Pl W',840,'I',NULL,'Pine','Pl','W',NULL,NULL,NULL,NULL,'Indianapolis',1,1013,NULL,'46224',NULL,1228,39.795593,-86.25409,0,NULL,NULL,65),(176,37,1,1,0,'840I Pine Pl W',840,'I',NULL,'Pine','Pl','W',NULL,NULL,NULL,NULL,'Indianapolis',1,1013,NULL,'46224',NULL,1228,39.795593,-86.25409,0,NULL,NULL,65),(177,145,1,1,0,'840I Pine Pl W',840,'I',NULL,'Pine','Pl','W',NULL,NULL,NULL,NULL,'Indianapolis',1,1013,NULL,'46224',NULL,1228,39.795593,-86.25409,0,NULL,NULL,65),(178,131,1,1,0,'840I Pine Pl W',840,'I',NULL,'Pine','Pl','W',NULL,NULL,NULL,NULL,'Indianapolis',1,1013,NULL,'46224',NULL,1228,39.795593,-86.25409,0,NULL,NULL,65),(179,25,1,1,0,'337I Lincoln Ave NE',337,'I',NULL,'Lincoln','Ave','NE',NULL,NULL,NULL,NULL,'Virginia',1,1026,NULL,'68458',NULL,1228,40.239986,-96.49182,0,NULL,NULL,66),(180,71,1,1,0,'337I Lincoln Ave NE',337,'I',NULL,'Lincoln','Ave','NE',NULL,NULL,NULL,NULL,'Virginia',1,1026,NULL,'68458',NULL,1228,40.239986,-96.49182,0,NULL,NULL,66),(181,189,1,1,0,'337I Lincoln Ave NE',337,'I',NULL,'Lincoln','Ave','NE',NULL,NULL,NULL,NULL,'Virginia',1,1026,NULL,'68458',NULL,1228,40.239986,-96.49182,0,NULL,NULL,66),(182,185,1,1,0,'878Y Dowlen Path NW',878,'Y',NULL,'Dowlen','Path','NW',NULL,NULL,NULL,NULL,'Syracuse',1,1031,NULL,'13212',NULL,1228,43.128534,-76.13931,0,NULL,NULL,NULL),(183,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),(184,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),(185,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); +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,63,1,1,0,'696U Van Ness Way SW',696,'U',NULL,'Van Ness','Way','SW',NULL,NULL,NULL,NULL,'Portsmouth',1,1045,NULL,'23702',NULL,1228,36.803981,-76.32386,0,NULL,NULL,NULL),(2,157,1,1,0,'599U El Camino St W',599,'U',NULL,'El Camino','St','W',NULL,NULL,NULL,NULL,'Friendship',1,1003,NULL,'71942',NULL,1228,34.223546,-93.002367,0,NULL,NULL,NULL),(3,64,1,1,0,'19G Caulder Pl S',19,'G',NULL,'Caulder','Pl','S',NULL,NULL,NULL,NULL,'Canaan',1,1031,NULL,'12029',NULL,1228,42.399159,-73.42757,0,NULL,NULL,NULL),(4,98,1,1,0,'395W Van Ness St SW',395,'W',NULL,'Van Ness','St','SW',NULL,NULL,NULL,NULL,'West Plains',1,1024,NULL,'65775',NULL,1228,36.719145,-91.87408,0,NULL,NULL,NULL),(5,164,1,1,0,'142W Beech Dr NW',142,'W',NULL,'Beech','Dr','NW',NULL,NULL,NULL,NULL,'Paint Bank',1,1045,NULL,'24131',NULL,1228,37.562902,-80.2538,0,NULL,NULL,NULL),(6,130,1,1,0,'145U Main Dr E',145,'U',NULL,'Main','Dr','E',NULL,NULL,NULL,NULL,'Loma Linda',1,1004,NULL,'92350',NULL,1228,34.839964,-115.967051,0,NULL,NULL,NULL),(7,178,1,1,0,'850Y Cadell Ave NE',850,'Y',NULL,'Cadell','Ave','NE',NULL,NULL,NULL,NULL,'Manito',1,1012,NULL,'61546',NULL,1228,40.442037,-89.78797,0,NULL,NULL,NULL),(8,155,1,1,0,'330Q Van Ness Rd E',330,'Q',NULL,'Van Ness','Rd','E',NULL,NULL,NULL,NULL,'Smyer',1,1042,NULL,'79367',NULL,1228,33.588639,-102.16126,0,NULL,NULL,NULL),(9,101,1,1,0,'572U Jackson Rd S',572,'U',NULL,'Jackson','Rd','S',NULL,NULL,NULL,NULL,'Newcomb',1,1041,NULL,'37819',NULL,1228,36.547121,-84.18206,0,NULL,NULL,NULL),(10,73,1,1,0,'446D Bay Rd W',446,'D',NULL,'Bay','Rd','W',NULL,NULL,NULL,NULL,'Jerusalem',1,1003,NULL,'72080',NULL,1228,35.567694,-92.82756,0,NULL,NULL,NULL),(11,86,1,1,0,'56J Beech Ln W',56,'J',NULL,'Beech','Ln','W',NULL,NULL,NULL,NULL,'War',1,1047,NULL,'24892',NULL,1228,37.309666,-81.69546,0,NULL,NULL,NULL),(12,51,1,1,0,'291Q States St NE',291,'Q',NULL,'States','St','NE',NULL,NULL,NULL,NULL,'New York',1,1031,NULL,'10037',NULL,1228,40.813385,-73.93616,0,NULL,NULL,NULL),(13,129,1,1,0,'550Z Cadell Rd W',550,'Z',NULL,'Cadell','Rd','W',NULL,NULL,NULL,NULL,'San Jose',1,1004,NULL,'95116',NULL,1228,37.34964,-121.8544,0,NULL,NULL,NULL),(14,77,1,1,0,'14J Second Way E',14,'J',NULL,'Second','Way','E',NULL,NULL,NULL,NULL,'Benson',1,1019,NULL,'21018',NULL,1228,39.509276,-76.385083,0,NULL,NULL,NULL),(15,188,1,1,0,'662Q Dowlen Ln NW',662,'Q',NULL,'Dowlen','Ln','NW',NULL,NULL,NULL,NULL,'Ashton',1,1026,NULL,'68817',NULL,1228,41.251967,-98.78701,0,NULL,NULL,NULL),(16,49,1,1,0,'839A Caulder Ave N',839,'A',NULL,'Caulder','Ave','N',NULL,NULL,NULL,NULL,'Harrisonville',1,1024,NULL,'64701',NULL,1228,38.641509,-94.34126,0,NULL,NULL,NULL),(17,112,1,1,0,'862V Bay Dr NW',862,'V',NULL,'Bay','Dr','NW',NULL,NULL,NULL,NULL,'Rochester',1,1031,NULL,'14607',NULL,1228,43.149863,-77.58962,0,NULL,NULL,NULL),(18,70,1,1,0,'219V College Way NE',219,'V',NULL,'College','Way','NE',NULL,NULL,NULL,NULL,'Dundee',1,1031,NULL,'14837',NULL,1228,42.502293,-76.9997,0,NULL,NULL,NULL),(19,152,1,1,0,'581P College Rd W',581,'P',NULL,'College','Rd','W',NULL,NULL,NULL,NULL,'State Center',1,1014,NULL,'50247',NULL,1228,42.010415,-93.16827,0,NULL,NULL,NULL),(20,4,1,1,0,'16F Martin Luther King Ln N',16,'F',NULL,'Martin Luther King','Ln','N',NULL,NULL,NULL,NULL,'Maysfield',1,1042,NULL,'76555',NULL,1228,30.784169,-96.96376,0,NULL,NULL,NULL),(21,11,1,1,0,'141F Main St SE',141,'F',NULL,'Main','St','SE',NULL,NULL,NULL,NULL,'Lakewood',1,1030,NULL,'88254',NULL,1228,32.65886,-104.45128,0,NULL,NULL,NULL),(22,16,1,1,0,'879P Northpoint Ln NW',879,'P',NULL,'Northpoint','Ln','NW',NULL,NULL,NULL,NULL,'Knoxville',1,1014,NULL,'50138',NULL,1228,41.307595,-93.10226,0,NULL,NULL,NULL),(23,87,1,1,0,'210P Maple Rd S',210,'P',NULL,'Maple','Rd','S',NULL,NULL,NULL,NULL,'Wickatunk',1,1029,NULL,'07765',NULL,1228,40.302718,-74.24928,0,NULL,NULL,NULL),(24,10,1,1,0,'336H Caulder Ave SE',336,'H',NULL,'Caulder','Ave','SE',NULL,NULL,NULL,NULL,'Edison',1,1026,NULL,'68936',NULL,1228,40.310905,-99.7648,0,NULL,NULL,NULL),(25,8,1,1,0,'400U Woodbridge Ave E',400,'U',NULL,'Woodbridge','Ave','E',NULL,NULL,NULL,NULL,'Wellington',1,1005,NULL,'80549',NULL,1228,40.762264,-105.01233,0,NULL,NULL,NULL),(26,113,1,1,0,'252T Maple Rd NW',252,'T',NULL,'Maple','Rd','NW',NULL,NULL,NULL,NULL,'Cooperstown',1,1037,NULL,'16317',NULL,1228,41.526679,-79.86027,0,NULL,NULL,NULL),(27,94,1,1,0,'283S Caulder St SE',283,'S',NULL,'Caulder','St','SE',NULL,NULL,NULL,NULL,'Mount Vernon',1,1031,NULL,'10557',NULL,1228,41.119008,-73.732996,0,NULL,NULL,NULL),(28,32,1,1,0,'782O Martin Luther King Dr N',782,'O',NULL,'Martin Luther King','Dr','N',NULL,NULL,NULL,NULL,'Hibbs',1,1037,NULL,'15443',NULL,1228,39.927312,-79.88768,0,NULL,NULL,NULL),(29,15,1,1,0,'822I El Camino Ave E',822,'I',NULL,'El Camino','Ave','E',NULL,NULL,NULL,NULL,'Golden',1,1023,NULL,'38847',NULL,1228,34.428899,-88.22647,0,NULL,NULL,NULL),(30,84,1,1,0,'681C Caulder Ave S',681,'C',NULL,'Caulder','Ave','S',NULL,NULL,NULL,NULL,'Hoyleton',1,1012,NULL,'62803',NULL,1228,38.460331,-89.30296,0,NULL,NULL,NULL),(31,26,1,1,0,'808F El Camino Pl W',808,'F',NULL,'El Camino','Pl','W',NULL,NULL,NULL,NULL,'San Juan',1,1056,NULL,'00901',NULL,1228,18.465426,-66.10786,0,NULL,NULL,NULL),(32,153,1,1,0,'289H Northpoint Path E',289,'H',NULL,'Northpoint','Path','E',NULL,NULL,NULL,NULL,'Reinbeck',1,1014,NULL,'50669',NULL,1228,42.329448,-92.60686,0,NULL,NULL,NULL),(33,141,1,1,0,'728C College Path SE',728,'C',NULL,'College','Path','SE',NULL,NULL,NULL,NULL,'Rover',1,1003,NULL,'72860',NULL,1228,34.949945,-93.40287,0,NULL,NULL,NULL),(34,88,1,1,0,'199F States Blvd E',199,'F',NULL,'States','Blvd','E',NULL,NULL,NULL,NULL,'Cambridge',1,1011,NULL,'83610',NULL,1228,44.647796,-116.69,0,NULL,NULL,NULL),(35,166,1,1,0,'756H Beech Ave E',756,'H',NULL,'Beech','Ave','E',NULL,NULL,NULL,NULL,'Flat Top',1,1047,NULL,'25841',NULL,1228,37.557975,-81.09537,0,NULL,NULL,NULL),(36,121,1,1,0,'389T Main Pl NE',389,'T',NULL,'Main','Pl','NE',NULL,NULL,NULL,NULL,'Smith Center',1,1015,NULL,'66967',NULL,1228,39.794538,-98.79561,0,NULL,NULL,NULL),(37,118,1,1,0,'171N Cadell Ave W',171,'N',NULL,'Cadell','Ave','W',NULL,NULL,NULL,NULL,'Valmeyer',1,1012,NULL,'62295',NULL,1228,38.299904,-90.30833,0,NULL,NULL,NULL),(38,42,1,1,0,'881G Maple Ln E',881,'G',NULL,'Maple','Ln','E',NULL,NULL,NULL,NULL,'Abbeville',1,1017,NULL,'70510',NULL,1228,29.943573,-92.14872,0,NULL,NULL,NULL),(39,163,1,1,0,'496E Green Rd E',496,'E',NULL,'Green','Rd','E',NULL,NULL,NULL,NULL,'Decatur',1,1000,NULL,'35609',NULL,1228,34.495365,-86.82993,0,NULL,NULL,NULL),(40,159,1,1,0,'765S Cadell St E',765,'S',NULL,'Cadell','St','E',NULL,NULL,NULL,NULL,'Papaaloa',1,1010,NULL,'96780',NULL,1228,19.946758,-155.2086,0,NULL,NULL,NULL),(41,24,1,1,0,'816N Maple Pl N',816,'N',NULL,'Maple','Pl','N',NULL,NULL,NULL,NULL,'Shattuck',1,1035,NULL,'73858',NULL,1228,36.226355,-99.89028,0,NULL,NULL,NULL),(42,75,1,1,0,'626D Cadell Pl N',626,'D',NULL,'Cadell','Pl','N',NULL,NULL,NULL,NULL,'Washington',1,1050,NULL,'20235',NULL,1228,38.915361,-77.057199,0,NULL,NULL,NULL),(43,195,1,1,0,'898I Main Blvd E',898,'I',NULL,'Main','Blvd','E',NULL,NULL,NULL,NULL,'Piney Fork',1,1034,NULL,'43941',NULL,1228,40.263948,-80.835767,0,NULL,NULL,NULL),(44,19,1,1,0,'98G Lincoln Path SW',98,'G',NULL,'Lincoln','Path','SW',NULL,NULL,NULL,NULL,'Vassar',1,1021,NULL,'48768',NULL,1228,43.370434,-83.57917,0,NULL,NULL,NULL),(45,21,1,1,0,'264Q Second Rd SE',264,'Q',NULL,'Second','Rd','SE',NULL,NULL,NULL,NULL,'White Plains',1,1031,NULL,'10629',NULL,1228,41.119008,-73.732996,0,NULL,NULL,NULL),(46,3,1,1,0,'41H Jackson Path NE',41,'H',NULL,'Jackson','Path','NE',NULL,NULL,NULL,NULL,'Washington',1,1050,NULL,'20009',NULL,1228,38.919211,-77.03777,0,NULL,NULL,NULL),(47,44,1,1,0,'182L Jackson St NE',182,'L',NULL,'Jackson','St','NE',NULL,NULL,NULL,NULL,'Washington Boro',1,1037,NULL,'17582',NULL,1228,39.993398,-76.45568,0,NULL,NULL,NULL),(48,181,1,1,0,'75U Caulder Blvd NE',75,'U',NULL,'Caulder','Blvd','NE',NULL,NULL,NULL,NULL,'Basile',1,1017,NULL,'70515',NULL,1228,30.47461,-92.58568,0,NULL,NULL,NULL),(49,137,1,1,0,'887S Caulder Blvd W',887,'S',NULL,'Caulder','Blvd','W',NULL,NULL,NULL,NULL,'Hortonville',1,1048,NULL,'54944',NULL,1228,44.333183,-88.6167,0,NULL,NULL,NULL),(50,125,1,1,0,'863E El Camino Way NW',863,'E',NULL,'El Camino','Way','NW',NULL,NULL,NULL,NULL,'Unionville',1,1013,NULL,'47468',NULL,1228,39.251349,-86.3935,0,NULL,NULL,NULL),(51,102,1,1,0,'948R Green Way N',948,'R',NULL,'Green','Way','N',NULL,NULL,NULL,NULL,'Ocean Park',1,1018,NULL,'04063',NULL,1228,43.504889,-70.385703,0,NULL,NULL,NULL),(52,74,1,1,0,'971N Maple Ave E',971,'N',NULL,'Maple','Ave','E',NULL,NULL,NULL,NULL,'Buffalo',1,1040,NULL,'57720',NULL,1228,45.547869,-103.58054,0,NULL,NULL,NULL),(53,72,1,1,0,'808J Second Pl SW',808,'J',NULL,'Second','Pl','SW',NULL,NULL,NULL,NULL,'Urbana',1,1014,NULL,'52345',NULL,1228,42.222388,-91.87908,0,NULL,NULL,NULL),(54,23,1,1,0,'920H Maple St E',920,'H',NULL,'Maple','St','E',NULL,NULL,NULL,NULL,'Emma',1,1012,NULL,'62834',NULL,1228,37.97622,-88.120182,0,NULL,NULL,NULL),(55,142,1,1,0,'952L El Camino Dr E',952,'L',NULL,'El Camino','Dr','E',NULL,NULL,NULL,NULL,'Clinton',1,1021,NULL,'49236',NULL,1228,42.067837,-83.95779,0,NULL,NULL,NULL),(56,28,1,1,0,'704Y States Way NW',704,'Y',NULL,'States','Way','NW',NULL,NULL,NULL,NULL,'Long Key',1,1008,NULL,'33001',NULL,1228,24.841814,-80.79405,0,NULL,NULL,NULL),(57,138,1,1,0,'946D Dowlen Rd W',946,'D',NULL,'Dowlen','Rd','W',NULL,NULL,NULL,NULL,'Millersburg',1,1013,NULL,'46543',NULL,1228,41.525634,-85.68403,0,NULL,NULL,NULL),(58,68,1,1,0,'52K Caulder St SW',52,'K',NULL,'Caulder','St','SW',NULL,NULL,NULL,NULL,'Silver Creek',1,1031,NULL,'14136',NULL,1228,42.535276,-79.16539,0,NULL,NULL,NULL),(59,38,1,1,0,'27F Bay Ln N',27,'F',NULL,'Bay','Ln','N',NULL,NULL,NULL,NULL,'Wheat Ridge',1,1005,NULL,'80033',NULL,1228,39.774341,-105.10036,0,NULL,NULL,NULL),(60,58,1,1,0,'839W Cadell St SW',839,'W',NULL,'Cadell','St','SW',NULL,NULL,NULL,NULL,'Genesee',1,1011,NULL,'83832',NULL,1228,46.552921,-116.91914,0,NULL,NULL,NULL),(61,158,1,1,0,'430Z El Camino Rd NW',430,'Z',NULL,'El Camino','Rd','NW',NULL,NULL,NULL,NULL,'Miamisburg',1,1034,NULL,'45342',NULL,1228,39.631525,-84.27074,0,NULL,NULL,NULL),(62,168,1,1,0,'988V Woodbridge Rd NE',988,'V',NULL,'Woodbridge','Rd','NE',NULL,NULL,NULL,NULL,'Wheaton',1,1012,NULL,'60189',NULL,1228,41.839679,-88.088716,0,NULL,NULL,NULL),(63,180,1,1,0,'636O Main Blvd N',636,'O',NULL,'Main','Blvd','N',NULL,NULL,NULL,NULL,'Wesco',1,1024,NULL,'65586',NULL,1228,37.858464,-91.426693,0,NULL,NULL,NULL),(64,25,1,1,0,'306N States St NE',306,'N',NULL,'States','St','NE',NULL,NULL,NULL,NULL,'Piffard',1,1031,NULL,'14533',NULL,1228,42.846509,-77.88795,0,NULL,NULL,NULL),(65,198,1,1,0,'672Z Woodbridge Way NE',672,'Z',NULL,'Woodbridge','Way','NE',NULL,NULL,NULL,NULL,'Verner',1,1047,NULL,'25650',NULL,1228,37.686815,-81.81441,0,NULL,NULL,NULL),(66,167,1,1,0,'975A Northpoint Ave S',975,'A',NULL,'Northpoint','Ave','S',NULL,NULL,NULL,NULL,'Madden',1,1023,NULL,'39109',NULL,1228,32.671826,-89.3324,0,NULL,NULL,NULL),(67,99,1,1,0,'636K Bay Rd SW',636,'K',NULL,'Bay','Rd','SW',NULL,NULL,NULL,NULL,'Manzanola',1,1005,NULL,'81058',NULL,1228,38.107593,-103.86848,0,NULL,NULL,NULL),(68,95,3,1,0,'829X Northpoint Pl NW',829,'X',NULL,'Northpoint','Pl','NW',NULL,'Receiving',NULL,NULL,'Kenney',1,1042,NULL,'77452',NULL,1228,29.849283,-96.313271,0,NULL,NULL,NULL),(69,199,3,1,0,'580P El Camino Pl NE',580,'P',NULL,'El Camino','Pl','NE',NULL,'c/o OPDC',NULL,NULL,'Ringling',1,1035,NULL,'73456',NULL,1228,34.165558,-97.62121,0,NULL,NULL,NULL),(70,127,3,1,0,'127C Main Rd N',127,'C',NULL,'Main','Rd','N',NULL,'Community Relations',NULL,NULL,'Cohoes',1,1031,NULL,'12047',NULL,1228,42.773777,-73.70793,0,NULL,NULL,NULL),(71,159,2,0,0,'127C Main Rd N',127,'C',NULL,'Main','Rd','N',NULL,'Community Relations',NULL,NULL,'Cohoes',1,1031,NULL,'12047',NULL,1228,42.773777,-73.70793,0,NULL,NULL,70),(72,160,3,1,0,'508B Van Ness Dr SW',508,'B',NULL,'Van Ness','Dr','SW',NULL,'Payables Dept.',NULL,NULL,'Montpelier',1,1023,NULL,'39754',NULL,1228,33.659271,-88.753976,0,NULL,NULL,NULL),(73,186,2,1,0,'508B Van Ness Dr SW',508,'B',NULL,'Van Ness','Dr','SW',NULL,'Payables Dept.',NULL,NULL,'Montpelier',1,1023,NULL,'39754',NULL,1228,33.659271,-88.753976,0,NULL,NULL,72),(74,29,3,1,0,'310D Caulder Rd SE',310,'D',NULL,'Caulder','Rd','SE',NULL,'Attn: Accounting',NULL,NULL,'Ann Arbor',1,1021,NULL,'48104',NULL,1228,42.266805,-83.72297,0,NULL,NULL,NULL),(75,82,3,1,0,'745Q Pine Ln SW',745,'Q',NULL,'Pine','Ln','SW',NULL,'Receiving',NULL,NULL,'Greenville',1,1032,NULL,'27833',NULL,1228,35.580444,-77.392609,0,NULL,NULL,NULL),(76,133,2,1,0,'745Q Pine Ln SW',745,'Q',NULL,'Pine','Ln','SW',NULL,'Receiving',NULL,NULL,'Greenville',1,1032,NULL,'27833',NULL,1228,35.580444,-77.392609,0,NULL,NULL,75),(77,56,3,1,0,'535T Second Ave E',535,'T',NULL,'Second','Ave','E',NULL,'Cuffe Parade',NULL,NULL,'Glen Echo',1,1019,NULL,'20812',NULL,1228,38.97026,-77.1442,0,NULL,NULL,NULL),(78,52,3,1,0,'613R Bay Way SE',613,'R',NULL,'Bay','Way','SE',NULL,'Urgent',NULL,NULL,'New Providence',1,1037,NULL,'17560',NULL,1228,39.915209,-76.21546,0,NULL,NULL,NULL),(79,124,2,1,0,'613R Bay Way SE',613,'R',NULL,'Bay','Way','SE',NULL,'Urgent',NULL,NULL,'New Providence',1,1037,NULL,'17560',NULL,1228,39.915209,-76.21546,0,NULL,NULL,78),(80,89,3,1,0,'508O Martin Luther King St NW',508,'O',NULL,'Martin Luther King','St','NW',NULL,'Receiving',NULL,NULL,'Weston',1,1034,NULL,'43569',NULL,1228,41.349205,-83.78953,0,NULL,NULL,NULL),(81,44,2,0,0,'508O Martin Luther King St NW',508,'O',NULL,'Martin Luther King','St','NW',NULL,'Receiving',NULL,NULL,'Weston',1,1034,NULL,'43569',NULL,1228,41.349205,-83.78953,0,NULL,NULL,80),(82,36,3,1,0,'528H College Pl E',528,'H',NULL,'College','Pl','E',NULL,'Subscriptions Dept',NULL,NULL,'Sugarloaf Shores',1,1008,NULL,'33044',NULL,1228,24.664649,-81.565319,0,NULL,NULL,NULL),(83,34,2,1,0,'528H College Pl E',528,'H',NULL,'College','Pl','E',NULL,'Subscriptions Dept',NULL,NULL,'Sugarloaf Shores',1,1008,NULL,'33044',NULL,1228,24.664649,-81.565319,0,NULL,NULL,82),(84,115,3,1,0,'255K Pine Dr E',255,'K',NULL,'Pine','Dr','E',NULL,'Editorial Dept',NULL,NULL,'Cape Coral',1,1008,NULL,'33904',NULL,1228,26.582185,-81.95528,0,NULL,NULL,NULL),(85,47,2,1,0,'255K Pine Dr E',255,'K',NULL,'Pine','Dr','E',NULL,'Editorial Dept',NULL,NULL,'Cape Coral',1,1008,NULL,'33904',NULL,1228,26.582185,-81.95528,0,NULL,NULL,84),(86,192,3,1,0,'295E Second Way W',295,'E',NULL,'Second','Way','W',NULL,'Donor Relations',NULL,NULL,'Springfield',1,1029,NULL,'07081',NULL,1228,40.701801,-74.32216,0,NULL,NULL,NULL),(87,79,3,1,0,'537C Northpoint Dr NE',537,'C',NULL,'Northpoint','Dr','NE',NULL,'Donor Relations',NULL,NULL,'Winchester',1,1045,NULL,'22601',NULL,1228,39.179076,-78.16653,0,NULL,NULL,NULL),(88,67,3,1,0,'373F Jackson Path N',373,'F',NULL,'Jackson','Path','N',NULL,'Editorial Dept',NULL,NULL,'Stennis Space Center',1,1023,NULL,'39529',NULL,1228,30.403156,-89.49821,0,NULL,NULL,NULL),(89,96,3,1,0,'150R Second St SW',150,'R',NULL,'Second','St','SW',NULL,'Attn: Development',NULL,NULL,'Bridgewater',1,1006,NULL,'06752',NULL,1228,41.52599,-73.36092,0,NULL,NULL,NULL),(90,119,3,1,0,'690M Martin Luther King Blvd SW',690,'M',NULL,'Martin Luther King','Blvd','SW',NULL,'Receiving',NULL,NULL,'Mooresburg',1,1041,NULL,'37811',NULL,1228,36.352009,-83.22676,0,NULL,NULL,NULL),(91,114,2,1,0,'690M Martin Luther King Blvd SW',690,'M',NULL,'Martin Luther King','Blvd','SW',NULL,'Receiving',NULL,NULL,'Mooresburg',1,1041,NULL,'37811',NULL,1228,36.352009,-83.22676,0,NULL,NULL,90),(92,54,3,1,0,'478E College Rd SW',478,'E',NULL,'College','Rd','SW',NULL,'Cuffe Parade',NULL,NULL,'Bladenboro',1,1032,NULL,'28320',NULL,1228,34.552642,-78.78102,0,NULL,NULL,NULL),(93,112,2,0,0,'478E College Rd SW',478,'E',NULL,'College','Rd','SW',NULL,'Cuffe Parade',NULL,NULL,'Bladenboro',1,1032,NULL,'28320',NULL,1228,34.552642,-78.78102,0,NULL,NULL,92),(94,66,3,1,0,'305E Cadell St SW',305,'E',NULL,'Cadell','St','SW',NULL,'Receiving',NULL,NULL,'Kellogg',1,1011,NULL,'83837',NULL,1228,47.542783,-116.11848,0,NULL,NULL,NULL),(95,17,2,1,0,'305E Cadell St SW',305,'E',NULL,'Cadell','St','SW',NULL,'Receiving',NULL,NULL,'Kellogg',1,1011,NULL,'83837',NULL,1228,47.542783,-116.11848,0,NULL,NULL,94),(96,91,3,1,0,'40J Main St SW',40,'J',NULL,'Main','St','SW',NULL,'Urgent',NULL,NULL,'McEwen',1,1041,NULL,'37101',NULL,1228,36.069712,-87.64489,0,NULL,NULL,NULL),(97,191,3,1,0,'230U College Pl W',230,'U',NULL,'College','Pl','W',NULL,'Cuffe Parade',NULL,NULL,'Charlotte',1,1032,NULL,'28205',NULL,1228,35.222406,-80.79221,0,NULL,NULL,NULL),(98,150,2,1,0,'230U College Pl W',230,'U',NULL,'College','Pl','W',NULL,'Cuffe Parade',NULL,NULL,'Charlotte',1,1032,NULL,'28205',NULL,1228,35.222406,-80.79221,0,NULL,NULL,97),(99,100,1,1,0,'75U Caulder Blvd NE',75,'U',NULL,'Caulder','Blvd','NE',NULL,NULL,NULL,NULL,'Basile',1,1017,NULL,'70515',NULL,1228,30.47461,-92.58568,0,NULL,NULL,48),(100,184,1,1,0,'75U Caulder Blvd NE',75,'U',NULL,'Caulder','Blvd','NE',NULL,NULL,NULL,NULL,'Basile',1,1017,NULL,'70515',NULL,1228,30.47461,-92.58568,0,NULL,NULL,48),(101,81,1,1,0,'75U Caulder Blvd NE',75,'U',NULL,'Caulder','Blvd','NE',NULL,NULL,NULL,NULL,'Basile',1,1017,NULL,'70515',NULL,1228,30.47461,-92.58568,0,NULL,NULL,48),(102,44,1,0,0,'21J Martin Luther King Ln NE',21,'J',NULL,'Martin Luther King','Ln','NE',NULL,NULL,NULL,NULL,'Huntington',1,1047,NULL,'25716',NULL,1228,38.413384,-82.277401,0,NULL,NULL,NULL),(103,122,1,1,0,'887S Caulder Blvd W',887,'S',NULL,'Caulder','Blvd','W',NULL,NULL,NULL,NULL,'Hortonville',1,1048,NULL,'54944',NULL,1228,44.333183,-88.6167,0,NULL,NULL,49),(104,108,1,1,0,'887S Caulder Blvd W',887,'S',NULL,'Caulder','Blvd','W',NULL,NULL,NULL,NULL,'Hortonville',1,1048,NULL,'54944',NULL,1228,44.333183,-88.6167,0,NULL,NULL,49),(105,93,1,1,0,'887S Caulder Blvd W',887,'S',NULL,'Caulder','Blvd','W',NULL,NULL,NULL,NULL,'Hortonville',1,1048,NULL,'54944',NULL,1228,44.333183,-88.6167,0,NULL,NULL,49),(106,165,1,1,0,'714Z Green Dr SW',714,'Z',NULL,'Green','Dr','SW',NULL,NULL,NULL,NULL,'Bonaparte',1,1014,NULL,'52620',NULL,1228,40.697875,-91.8051,0,NULL,NULL,NULL),(107,17,1,0,0,'863E El Camino Way NW',863,'E',NULL,'El Camino','Way','NW',NULL,NULL,NULL,NULL,'Unionville',1,1013,NULL,'47468',NULL,1228,39.251349,-86.3935,0,NULL,NULL,50),(108,13,1,1,0,'863E El Camino Way NW',863,'E',NULL,'El Camino','Way','NW',NULL,NULL,NULL,NULL,'Unionville',1,1013,NULL,'47468',NULL,1228,39.251349,-86.3935,0,NULL,NULL,50),(109,179,1,1,0,'863E El Camino Way NW',863,'E',NULL,'El Camino','Way','NW',NULL,NULL,NULL,NULL,'Unionville',1,1013,NULL,'47468',NULL,1228,39.251349,-86.3935,0,NULL,NULL,50),(110,83,1,1,0,'782Y Van Ness Dr NE',782,'Y',NULL,'Van Ness','Dr','NE',NULL,NULL,NULL,NULL,'Cutler',1,1034,NULL,'45724',NULL,1228,39.363901,-81.78854,0,NULL,NULL,NULL),(111,33,1,1,0,'948R Green Way N',948,'R',NULL,'Green','Way','N',NULL,NULL,NULL,NULL,'Ocean Park',1,1018,NULL,'04063',NULL,1228,43.504889,-70.385703,0,NULL,NULL,51),(112,34,1,0,0,'948R Green Way N',948,'R',NULL,'Green','Way','N',NULL,NULL,NULL,NULL,'Ocean Park',1,1018,NULL,'04063',NULL,1228,43.504889,-70.385703,0,NULL,NULL,51),(113,90,1,1,0,'948R Green Way N',948,'R',NULL,'Green','Way','N',NULL,NULL,NULL,NULL,'Ocean Park',1,1018,NULL,'04063',NULL,1228,43.504889,-70.385703,0,NULL,NULL,51),(114,123,1,1,0,'948R Green Way N',948,'R',NULL,'Green','Way','N',NULL,NULL,NULL,NULL,'Ocean Park',1,1018,NULL,'04063',NULL,1228,43.504889,-70.385703,0,NULL,NULL,51),(115,190,1,1,0,'971N Maple Ave E',971,'N',NULL,'Maple','Ave','E',NULL,NULL,NULL,NULL,'Buffalo',1,1040,NULL,'57720',NULL,1228,45.547869,-103.58054,0,NULL,NULL,52),(116,40,1,1,0,'971N Maple Ave E',971,'N',NULL,'Maple','Ave','E',NULL,NULL,NULL,NULL,'Buffalo',1,1040,NULL,'57720',NULL,1228,45.547869,-103.58054,0,NULL,NULL,52),(117,45,1,1,0,'971N Maple Ave E',971,'N',NULL,'Maple','Ave','E',NULL,NULL,NULL,NULL,'Buffalo',1,1040,NULL,'57720',NULL,1228,45.547869,-103.58054,0,NULL,NULL,52),(118,177,1,1,0,'971N Maple Ave E',971,'N',NULL,'Maple','Ave','E',NULL,NULL,NULL,NULL,'Buffalo',1,1040,NULL,'57720',NULL,1228,45.547869,-103.58054,0,NULL,NULL,52),(119,196,1,1,0,'808J Second Pl SW',808,'J',NULL,'Second','Pl','SW',NULL,NULL,NULL,NULL,'Urbana',1,1014,NULL,'52345',NULL,1228,42.222388,-91.87908,0,NULL,NULL,53),(120,140,1,1,0,'808J Second Pl SW',808,'J',NULL,'Second','Pl','SW',NULL,NULL,NULL,NULL,'Urbana',1,1014,NULL,'52345',NULL,1228,42.222388,-91.87908,0,NULL,NULL,53),(121,61,1,1,0,'808J Second Pl SW',808,'J',NULL,'Second','Pl','SW',NULL,NULL,NULL,NULL,'Urbana',1,1014,NULL,'52345',NULL,1228,42.222388,-91.87908,0,NULL,NULL,53),(122,7,1,1,0,'808J Second Pl SW',808,'J',NULL,'Second','Pl','SW',NULL,NULL,NULL,NULL,'Urbana',1,1014,NULL,'52345',NULL,1228,42.222388,-91.87908,0,NULL,NULL,53),(123,156,1,1,0,'920H Maple St E',920,'H',NULL,'Maple','St','E',NULL,NULL,NULL,NULL,'Emma',1,1012,NULL,'62834',NULL,1228,37.97622,-88.120182,0,NULL,NULL,54),(124,92,1,1,0,'920H Maple St E',920,'H',NULL,'Maple','St','E',NULL,NULL,NULL,NULL,'Emma',1,1012,NULL,'62834',NULL,1228,37.97622,-88.120182,0,NULL,NULL,54),(125,200,1,1,0,'920H Maple St E',920,'H',NULL,'Maple','St','E',NULL,NULL,NULL,NULL,'Emma',1,1012,NULL,'62834',NULL,1228,37.97622,-88.120182,0,NULL,NULL,54),(126,149,1,1,0,'379Y El Camino Way E',379,'Y',NULL,'El Camino','Way','E',NULL,NULL,NULL,NULL,'Conejos',1,1005,NULL,'81129',NULL,1228,37.101134,-106.02648,0,NULL,NULL,NULL),(127,131,1,1,0,'952L El Camino Dr E',952,'L',NULL,'El Camino','Dr','E',NULL,NULL,NULL,NULL,'Clinton',1,1021,NULL,'49236',NULL,1228,42.067837,-83.95779,0,NULL,NULL,55),(128,80,1,1,0,'952L El Camino Dr E',952,'L',NULL,'El Camino','Dr','E',NULL,NULL,NULL,NULL,'Clinton',1,1021,NULL,'49236',NULL,1228,42.067837,-83.95779,0,NULL,NULL,55),(129,183,1,1,0,'952L El Camino Dr E',952,'L',NULL,'El Camino','Dr','E',NULL,NULL,NULL,NULL,'Clinton',1,1021,NULL,'49236',NULL,1228,42.067837,-83.95779,0,NULL,NULL,55),(130,187,1,1,0,'793P Beech Rd S',793,'P',NULL,'Beech','Rd','S',NULL,NULL,NULL,NULL,'Snow',1,1035,NULL,'74567',NULL,1228,34.454702,-95.41013,0,NULL,NULL,NULL),(131,46,1,1,0,'704Y States Way NW',704,'Y',NULL,'States','Way','NW',NULL,NULL,NULL,NULL,'Long Key',1,1008,NULL,'33001',NULL,1228,24.841814,-80.79405,0,NULL,NULL,56),(132,182,1,1,0,'704Y States Way NW',704,'Y',NULL,'States','Way','NW',NULL,NULL,NULL,NULL,'Long Key',1,1008,NULL,'33001',NULL,1228,24.841814,-80.79405,0,NULL,NULL,56),(133,55,1,1,0,'704Y States Way NW',704,'Y',NULL,'States','Way','NW',NULL,NULL,NULL,NULL,'Long Key',1,1008,NULL,'33001',NULL,1228,24.841814,-80.79405,0,NULL,NULL,56),(134,143,1,1,0,'324Y Martin Luther King Ln S',324,'Y',NULL,'Martin Luther King','Ln','S',NULL,NULL,NULL,NULL,'Dexter',1,1014,NULL,'50070',NULL,1228,41.488275,-94.23785,0,NULL,NULL,NULL),(135,114,1,0,0,'946D Dowlen Rd W',946,'D',NULL,'Dowlen','Rd','W',NULL,NULL,NULL,NULL,'Millersburg',1,1013,NULL,'46543',NULL,1228,41.525634,-85.68403,0,NULL,NULL,57),(136,161,1,1,0,'946D Dowlen Rd W',946,'D',NULL,'Dowlen','Rd','W',NULL,NULL,NULL,NULL,'Millersburg',1,1013,NULL,'46543',NULL,1228,41.525634,-85.68403,0,NULL,NULL,57),(137,139,1,1,0,'946D Dowlen Rd W',946,'D',NULL,'Dowlen','Rd','W',NULL,NULL,NULL,NULL,'Millersburg',1,1013,NULL,'46543',NULL,1228,41.525634,-85.68403,0,NULL,NULL,57),(138,48,1,1,0,'946D Dowlen Rd W',946,'D',NULL,'Dowlen','Rd','W',NULL,NULL,NULL,NULL,'Millersburg',1,1013,NULL,'46543',NULL,1228,41.525634,-85.68403,0,NULL,NULL,57),(139,97,1,1,0,'52K Caulder St SW',52,'K',NULL,'Caulder','St','SW',NULL,NULL,NULL,NULL,'Silver Creek',1,1031,NULL,'14136',NULL,1228,42.535276,-79.16539,0,NULL,NULL,58),(140,186,1,0,0,'52K Caulder St SW',52,'K',NULL,'Caulder','St','SW',NULL,NULL,NULL,NULL,'Silver Creek',1,1031,NULL,'14136',NULL,1228,42.535276,-79.16539,0,NULL,NULL,58),(141,185,1,1,0,'52K Caulder St SW',52,'K',NULL,'Caulder','St','SW',NULL,NULL,NULL,NULL,'Silver Creek',1,1031,NULL,'14136',NULL,1228,42.535276,-79.16539,0,NULL,NULL,58),(142,154,1,1,0,'52K Caulder St SW',52,'K',NULL,'Caulder','St','SW',NULL,NULL,NULL,NULL,'Silver Creek',1,1031,NULL,'14136',NULL,1228,42.535276,-79.16539,0,NULL,NULL,58),(143,59,1,1,0,'27F Bay Ln N',27,'F',NULL,'Bay','Ln','N',NULL,NULL,NULL,NULL,'Wheat Ridge',1,1005,NULL,'80033',NULL,1228,39.774341,-105.10036,0,NULL,NULL,59),(144,69,1,1,0,'27F Bay Ln N',27,'F',NULL,'Bay','Ln','N',NULL,NULL,NULL,NULL,'Wheat Ridge',1,1005,NULL,'80033',NULL,1228,39.774341,-105.10036,0,NULL,NULL,59),(145,39,1,1,0,'27F Bay Ln N',27,'F',NULL,'Bay','Ln','N',NULL,NULL,NULL,NULL,'Wheat Ridge',1,1005,NULL,'80033',NULL,1228,39.774341,-105.10036,0,NULL,NULL,59),(146,78,1,1,0,'27F Bay Ln N',27,'F',NULL,'Bay','Ln','N',NULL,NULL,NULL,NULL,'Wheat Ridge',1,1005,NULL,'80033',NULL,1228,39.774341,-105.10036,0,NULL,NULL,59),(147,62,1,1,0,'839W Cadell St SW',839,'W',NULL,'Cadell','St','SW',NULL,NULL,NULL,NULL,'Genesee',1,1011,NULL,'83832',NULL,1228,46.552921,-116.91914,0,NULL,NULL,60),(148,37,1,1,0,'839W Cadell St SW',839,'W',NULL,'Cadell','St','SW',NULL,NULL,NULL,NULL,'Genesee',1,1011,NULL,'83832',NULL,1228,46.552921,-116.91914,0,NULL,NULL,60),(149,65,1,1,0,'839W Cadell St SW',839,'W',NULL,'Cadell','St','SW',NULL,NULL,NULL,NULL,'Genesee',1,1011,NULL,'83832',NULL,1228,46.552921,-116.91914,0,NULL,NULL,60),(150,109,1,1,0,'839W Cadell St SW',839,'W',NULL,'Cadell','St','SW',NULL,NULL,NULL,NULL,'Genesee',1,1011,NULL,'83832',NULL,1228,46.552921,-116.91914,0,NULL,NULL,60),(151,60,1,1,0,'430Z El Camino Rd NW',430,'Z',NULL,'El Camino','Rd','NW',NULL,NULL,NULL,NULL,'Miamisburg',1,1034,NULL,'45342',NULL,1228,39.631525,-84.27074,0,NULL,NULL,61),(152,175,1,1,0,'430Z El Camino Rd NW',430,'Z',NULL,'El Camino','Rd','NW',NULL,NULL,NULL,NULL,'Miamisburg',1,1034,NULL,'45342',NULL,1228,39.631525,-84.27074,0,NULL,NULL,61),(153,35,1,1,0,'430Z El Camino Rd NW',430,'Z',NULL,'El Camino','Rd','NW',NULL,NULL,NULL,NULL,'Miamisburg',1,1034,NULL,'45342',NULL,1228,39.631525,-84.27074,0,NULL,NULL,61),(154,116,1,1,0,'611G Van Ness Path SE',611,'G',NULL,'Van Ness','Path','SE',NULL,NULL,NULL,NULL,'Bendersville',1,1037,NULL,'17306',NULL,1228,39.982466,-77.2496,0,NULL,NULL,NULL),(155,43,1,1,0,'988V Woodbridge Rd NE',988,'V',NULL,'Woodbridge','Rd','NE',NULL,NULL,NULL,NULL,'Wheaton',1,1012,NULL,'60189',NULL,1228,41.839679,-88.088716,0,NULL,NULL,62),(156,18,1,1,0,'988V Woodbridge Rd NE',988,'V',NULL,'Woodbridge','Rd','NE',NULL,NULL,NULL,NULL,'Wheaton',1,1012,NULL,'60189',NULL,1228,41.839679,-88.088716,0,NULL,NULL,62),(157,176,1,1,0,'988V Woodbridge Rd NE',988,'V',NULL,'Woodbridge','Rd','NE',NULL,NULL,NULL,NULL,'Wheaton',1,1012,NULL,'60189',NULL,1228,41.839679,-88.088716,0,NULL,NULL,62),(158,171,1,1,0,'988V Woodbridge Rd NE',988,'V',NULL,'Woodbridge','Rd','NE',NULL,NULL,NULL,NULL,'Wheaton',1,1012,NULL,'60189',NULL,1228,41.839679,-88.088716,0,NULL,NULL,62),(159,47,1,0,0,'636O Main Blvd N',636,'O',NULL,'Main','Blvd','N',NULL,NULL,NULL,NULL,'Wesco',1,1024,NULL,'65586',NULL,1228,37.858464,-91.426693,0,NULL,NULL,63),(160,111,1,1,0,'636O Main Blvd N',636,'O',NULL,'Main','Blvd','N',NULL,NULL,NULL,NULL,'Wesco',1,1024,NULL,'65586',NULL,1228,37.858464,-91.426693,0,NULL,NULL,63),(161,136,1,1,0,'636O Main Blvd N',636,'O',NULL,'Main','Blvd','N',NULL,NULL,NULL,NULL,'Wesco',1,1024,NULL,'65586',NULL,1228,37.858464,-91.426693,0,NULL,NULL,63),(162,22,1,1,0,'183Q Main Ave SW',183,'Q',NULL,'Main','Ave','SW',NULL,NULL,NULL,NULL,'Wheelwright',1,1016,NULL,'41669',NULL,1228,37.331465,-82.71906,0,NULL,NULL,NULL),(163,128,1,1,0,'306N States St NE',306,'N',NULL,'States','St','NE',NULL,NULL,NULL,NULL,'Piffard',1,1031,NULL,'14533',NULL,1228,42.846509,-77.88795,0,NULL,NULL,64),(164,147,1,1,0,'306N States St NE',306,'N',NULL,'States','St','NE',NULL,NULL,NULL,NULL,'Piffard',1,1031,NULL,'14533',NULL,1228,42.846509,-77.88795,0,NULL,NULL,64),(165,9,1,1,0,'306N States St NE',306,'N',NULL,'States','St','NE',NULL,NULL,NULL,NULL,'Piffard',1,1031,NULL,'14533',NULL,1228,42.846509,-77.88795,0,NULL,NULL,64),(166,145,1,1,0,'589P Woodbridge Ave S',589,'P',NULL,'Woodbridge','Ave','S',NULL,NULL,NULL,NULL,'Moriches',1,1031,NULL,'11955',NULL,1228,40.805789,-72.82092,0,NULL,NULL,NULL),(167,106,1,1,0,'672Z Woodbridge Way NE',672,'Z',NULL,'Woodbridge','Way','NE',NULL,NULL,NULL,NULL,'Verner',1,1047,NULL,'25650',NULL,1228,37.686815,-81.81441,0,NULL,NULL,65),(168,20,1,1,0,'672Z Woodbridge Way NE',672,'Z',NULL,'Woodbridge','Way','NE',NULL,NULL,NULL,NULL,'Verner',1,1047,NULL,'25650',NULL,1228,37.686815,-81.81441,0,NULL,NULL,65),(169,30,1,1,0,'672Z Woodbridge Way NE',672,'Z',NULL,'Woodbridge','Way','NE',NULL,NULL,NULL,NULL,'Verner',1,1047,NULL,'25650',NULL,1228,37.686815,-81.81441,0,NULL,NULL,65),(170,110,1,1,0,'216F Dowlen Ave N',216,'F',NULL,'Dowlen','Ave','N',NULL,NULL,NULL,NULL,'Wilmington',1,1007,NULL,'19891',NULL,1228,39.564499,-75.597047,0,NULL,NULL,NULL),(171,120,1,1,0,'975A Northpoint Ave S',975,'A',NULL,'Northpoint','Ave','S',NULL,NULL,NULL,NULL,'Madden',1,1023,NULL,'39109',NULL,1228,32.671826,-89.3324,0,NULL,NULL,66),(172,194,1,1,0,'975A Northpoint Ave S',975,'A',NULL,'Northpoint','Ave','S',NULL,NULL,NULL,NULL,'Madden',1,1023,NULL,'39109',NULL,1228,32.671826,-89.3324,0,NULL,NULL,66),(173,50,1,1,0,'975A Northpoint Ave S',975,'A',NULL,'Northpoint','Ave','S',NULL,NULL,NULL,NULL,'Madden',1,1023,NULL,'39109',NULL,1228,32.671826,-89.3324,0,NULL,NULL,66),(174,170,1,1,0,'975A Northpoint Ave S',975,'A',NULL,'Northpoint','Ave','S',NULL,NULL,NULL,NULL,'Madden',1,1023,NULL,'39109',NULL,1228,32.671826,-89.3324,0,NULL,NULL,66),(175,12,1,1,0,'636K Bay Rd SW',636,'K',NULL,'Bay','Rd','SW',NULL,NULL,NULL,NULL,'Manzanola',1,1005,NULL,'81058',NULL,1228,38.107593,-103.86848,0,NULL,NULL,67),(176,5,1,1,0,'636K Bay Rd SW',636,'K',NULL,'Bay','Rd','SW',NULL,NULL,NULL,NULL,'Manzanola',1,1005,NULL,'81058',NULL,1228,38.107593,-103.86848,0,NULL,NULL,67),(177,174,1,1,0,'636K Bay Rd SW',636,'K',NULL,'Bay','Rd','SW',NULL,NULL,NULL,NULL,'Manzanola',1,1005,NULL,'81058',NULL,1228,38.107593,-103.86848,0,NULL,NULL,67),(178,162,1,1,0,'636K Bay Rd SW',636,'K',NULL,'Bay','Rd','SW',NULL,NULL,NULL,NULL,'Manzanola',1,1005,NULL,'81058',NULL,1228,38.107593,-103.86848,0,NULL,NULL,67),(179,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),(180,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),(181,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; @@ -208,7 +208,7 @@ 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,'2015-10-13 21:43:46'),(2,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell, Omar','Omar Terrell III',NULL,NULL,NULL,NULL,NULL,'Both','265836995',NULL,'Sample Data','Omar','','Terrell',NULL,4,NULL,NULL,1,NULL,'Dear Omar',1,NULL,'Dear Omar',1,NULL,'Omar Terrell III',NULL,2,'1955-03-05',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(3,'Household',NULL,1,0,0,0,0,0,NULL,NULL,'Smith family','Smith family',NULL,NULL,NULL,NULL,NULL,'Both','4082772645',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Smith family',5,NULL,'Dear Smith family',2,NULL,'Smith family',NULL,NULL,NULL,0,NULL,'Smith family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(4,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Blackwell, Santina','Santina Blackwell',NULL,NULL,NULL,NULL,NULL,'Both','3622291687',NULL,'Sample Data','Santina','','Blackwell',NULL,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Santina Blackwell',NULL,NULL,'1980-12-11',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(5,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Hustisford Arts Solutions','Hustisford Arts Solutions',NULL,NULL,NULL,NULL,NULL,'Both','444653387',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Hustisford Arts Solutions',NULL,NULL,NULL,0,NULL,NULL,159,'Hustisford Arts Solutions',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(6,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Roberts, Merrie','Merrie Roberts',NULL,NULL,NULL,NULL,NULL,'Both','4190967372',NULL,'Sample Data','Merrie','W','Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Merrie Roberts',NULL,1,'1961-02-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(7,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'bernadettew@testmail.co.uk','bernadettew@testmail.co.uk',NULL,NULL,NULL,'4',NULL,'Both','125645580',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear bernadettew@testmail.co.uk',1,NULL,'Dear bernadettew@testmail.co.uk',1,NULL,'bernadettew@testmail.co.uk',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(8,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'González, Justina','Ms. Justina González',NULL,NULL,NULL,'5',NULL,'Both','2517853745',NULL,'Sample Data','Justina','','González',2,NULL,NULL,NULL,1,NULL,'Dear Justina',1,NULL,'Dear Justina',1,NULL,'Ms. Justina González',NULL,1,'1940-12-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(9,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Terrell, Delana','Dr. Delana Terrell',NULL,NULL,NULL,'2',NULL,'Both','3301906923',NULL,'Sample Data','Delana','P','Terrell',4,NULL,NULL,NULL,1,NULL,'Dear Delana',1,NULL,'Dear Delana',1,NULL,'Dr. Delana Terrell',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(10,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'adams.allen46@airmail.biz','adams.allen46@airmail.biz',NULL,NULL,NULL,NULL,NULL,'Both','2584759926',NULL,'Sample Data',NULL,NULL,NULL,4,NULL,NULL,NULL,1,NULL,'Dear adams.allen46@airmail.biz',1,NULL,'Dear adams.allen46@airmail.biz',1,NULL,'adams.allen46@airmail.biz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(11,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'rolandoo@mymail.net','rolandoo@mymail.net',NULL,NULL,NULL,NULL,NULL,'Both','157958603',NULL,'Sample Data',NULL,NULL,NULL,4,NULL,NULL,NULL,1,NULL,'Dear rolandoo@mymail.net',1,NULL,'Dear rolandoo@mymail.net',1,NULL,'rolandoo@mymail.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(12,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Bachman family','Bachman family',NULL,NULL,NULL,NULL,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,NULL,'2015-10-13 21:43:53'),(13,'Organization',NULL,0,1,0,0,0,0,NULL,NULL,'Second Technology Collective','Second Technology Collective',NULL,NULL,NULL,NULL,NULL,'Both','1504879180',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Second Technology Collective',NULL,NULL,NULL,0,NULL,NULL,64,'Second Technology Collective',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(14,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Bachman, Miguel','Miguel Bachman III',NULL,NULL,NULL,NULL,NULL,'Both','3860492526',NULL,'Sample Data','Miguel','W','Bachman',NULL,4,NULL,NULL,1,NULL,'Dear Miguel',1,NULL,'Dear Miguel',1,NULL,'Miguel Bachman III',NULL,2,'1934-11-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(15,'Household',NULL,0,0,0,0,1,0,NULL,NULL,'Blackwell family','Blackwell family',NULL,NULL,NULL,NULL,NULL,'Both','3218641510',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Blackwell family',5,NULL,'Dear Blackwell family',2,NULL,'Blackwell family',NULL,NULL,NULL,0,NULL,'Blackwell family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(16,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Friends Technology Fellowship','Friends Technology Fellowship',NULL,NULL,NULL,NULL,NULL,'Both','1011438934',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Friends Technology Fellowship',NULL,NULL,NULL,0,NULL,NULL,154,'Friends Technology Fellowship',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(17,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Ivanov, Carlos','Carlos Ivanov',NULL,NULL,NULL,NULL,NULL,'Both','3509440467',NULL,'Sample Data','Carlos','S','Ivanov',NULL,NULL,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Carlos Ivanov',NULL,2,'1982-01-23',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(18,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Parker, Rolando','Rolando Parker II',NULL,NULL,NULL,NULL,NULL,'Both','2300153606',NULL,'Sample Data','Rolando','T','Parker',NULL,3,NULL,NULL,1,NULL,'Dear Rolando',1,NULL,'Dear Rolando',1,NULL,'Rolando Parker II',NULL,2,'1943-08-14',0,NULL,NULL,NULL,'Beech Health Partnership',NULL,NULL,119,0,NULL,'2015-10-13 21:43:54'),(19,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Blackwell, Arlyne','Arlyne Blackwell',NULL,NULL,NULL,'2',NULL,'Both','4134282227',NULL,'Sample Data','Arlyne','N','Blackwell',NULL,NULL,NULL,NULL,1,NULL,'Dear Arlyne',1,NULL,'Dear Arlyne',1,NULL,'Arlyne Blackwell',NULL,1,'1989-07-02',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(20,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Dimitrov, Sonny','Sonny Dimitrov III',NULL,NULL,NULL,'3',NULL,'Both','2683326100',NULL,'Sample Data','Sonny','H','Dimitrov',NULL,4,NULL,NULL,1,NULL,'Dear Sonny',1,NULL,'Dear Sonny',1,NULL,'Sonny Dimitrov III',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(21,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Bachman, Norris','Dr. Norris Bachman Jr.',NULL,NULL,NULL,NULL,NULL,'Both','2902131761',NULL,'Sample Data','Norris','A','Bachman',4,1,NULL,NULL,1,NULL,'Dear Norris',1,NULL,'Dear Norris',1,NULL,'Dr. Norris Bachman Jr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(22,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Kathlyn','Kathlyn Wattson',NULL,NULL,NULL,'5',NULL,'Both','191562208',NULL,'Sample Data','Kathlyn','H','Wattson',NULL,NULL,NULL,NULL,1,NULL,'Dear Kathlyn',1,NULL,'Dear Kathlyn',1,NULL,'Kathlyn Wattson',NULL,NULL,'1951-09-28',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:52'),(23,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Zope, Beula','Beula Zope',NULL,NULL,NULL,'5',NULL,'Both','963609507',NULL,'Sample Data','Beula','C','Zope',NULL,NULL,NULL,NULL,1,NULL,'Dear Beula',1,NULL,'Dear Beula',1,NULL,'Beula Zope',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(24,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Olsen-Cruz, Daren','Dr. Daren Olsen-Cruz',NULL,NULL,NULL,'3',NULL,'Both','1602474625',NULL,'Sample Data','Daren','F','Olsen-Cruz',4,NULL,NULL,NULL,1,NULL,'Dear Daren',1,NULL,'Dear Daren',1,NULL,'Dr. Daren Olsen-Cruz',NULL,2,'1974-02-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(25,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Wagner, Ashlie','Ms. Ashlie Wagner',NULL,NULL,NULL,'5',NULL,'Both','3661734493',NULL,'Sample Data','Ashlie','W','Wagner',2,NULL,NULL,NULL,1,NULL,'Dear Ashlie',1,NULL,'Dear Ashlie',1,NULL,'Ms. Ashlie Wagner',NULL,1,'1946-02-23',1,'2015-05-06',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(26,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Adams, Merrie','Ms. Merrie Adams',NULL,NULL,NULL,NULL,NULL,'Both','2760007401',NULL,'Sample Data','Merrie','H','Adams',2,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Ms. Merrie Adams',NULL,NULL,'1954-03-09',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(27,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Barkley, Elbert','Elbert Barkley II',NULL,NULL,NULL,'4',NULL,'Both','3782594524',NULL,'Sample Data','Elbert','','Barkley',NULL,3,NULL,NULL,1,NULL,'Dear Elbert',1,NULL,'Dear Elbert',1,NULL,'Elbert Barkley II',NULL,2,'1992-11-04',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(28,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell, Ivey','Mrs. Ivey Terrell',NULL,NULL,NULL,'5',NULL,'Both','3380499970',NULL,'Sample Data','Ivey','R','Terrell',1,NULL,NULL,NULL,1,NULL,'Dear Ivey',1,NULL,'Dear Ivey',1,NULL,'Mrs. Ivey Terrell',NULL,NULL,'1968-01-10',1,'2015-02-20',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(29,'Organization',NULL,0,1,0,0,1,0,NULL,NULL,'Alleene Health Fund','Alleene Health Fund',NULL,NULL,NULL,NULL,NULL,'Both','3566987083',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Alleene Health Fund',NULL,NULL,NULL,0,NULL,NULL,123,'Alleene Health Fund',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(30,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'González, Beula','Mrs. Beula González',NULL,NULL,NULL,NULL,NULL,'Both','2578203794',NULL,'Sample Data','Beula','','González',1,NULL,NULL,NULL,1,NULL,'Dear Beula',1,NULL,'Dear Beula',1,NULL,'Mrs. Beula González',NULL,NULL,'1933-07-03',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(31,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Cooper, Allen','Allen Cooper',NULL,NULL,NULL,NULL,NULL,'Both','1888383899',NULL,'Sample Data','Allen','I','Cooper',NULL,NULL,NULL,NULL,1,NULL,'Dear Allen',1,NULL,'Dear Allen',1,NULL,'Allen Cooper',NULL,2,NULL,0,NULL,NULL,NULL,'Lyon Mountain Family Academy',NULL,NULL,108,0,NULL,'2015-10-13 21:43:54'),(32,'Household',NULL,0,0,0,0,1,0,NULL,NULL,'Olsen-Cruz family','Olsen-Cruz family',NULL,NULL,NULL,NULL,NULL,'Both','1085750359',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Olsen-Cruz family',5,NULL,'Dear Olsen-Cruz family',2,NULL,'Olsen-Cruz family',NULL,NULL,NULL,0,NULL,'Olsen-Cruz family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(33,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jameson, Nicole','Nicole Jameson',NULL,NULL,NULL,NULL,NULL,'Both','533376763',NULL,'Sample Data','Nicole','','Jameson',NULL,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Nicole Jameson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(34,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cruz, Merrie','Merrie Cruz',NULL,NULL,NULL,'5',NULL,'Both','1935634896',NULL,'Sample Data','Merrie','','Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Merrie Cruz',NULL,1,NULL,0,NULL,NULL,NULL,'Global Poetry School',NULL,NULL,171,0,NULL,'2015-10-13 21:43:54'),(35,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Lee, Sherman','Mr. Sherman Lee III',NULL,NULL,NULL,'3',NULL,'Both','903838284',NULL,'Sample Data','Sherman','H','Lee',3,4,NULL,NULL,1,NULL,'Dear Sherman',1,NULL,'Dear Sherman',1,NULL,'Mr. Sherman Lee III',NULL,2,'1992-01-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(36,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Wilson, Sherman','Sherman Wilson III',NULL,NULL,NULL,'4',NULL,'Both','1181830438',NULL,'Sample Data','Sherman','B','Wilson',NULL,4,NULL,NULL,1,NULL,'Dear Sherman',1,NULL,'Dear Sherman',1,NULL,'Sherman Wilson III',NULL,NULL,'2003-09-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(37,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Dimitrov, Merrie','Merrie Dimitrov',NULL,NULL,NULL,NULL,NULL,'Both','779748961',NULL,'Sample Data','Merrie','R','Dimitrov',NULL,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Merrie Dimitrov',NULL,1,'1995-09-24',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(38,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Blackwell, Elizabeth','Elizabeth Blackwell',NULL,NULL,NULL,NULL,NULL,'Both','197038680',NULL,'Sample Data','Elizabeth','','Blackwell',NULL,NULL,NULL,NULL,1,NULL,'Dear Elizabeth',1,NULL,'Dear Elizabeth',1,NULL,'Elizabeth Blackwell',NULL,1,NULL,0,NULL,NULL,NULL,'Bay Environmental Association',NULL,NULL,181,0,NULL,'2015-10-13 21:43:54'),(39,'Household',NULL,0,1,0,0,0,0,NULL,NULL,'Łąchowski family','Łąchowski family',NULL,NULL,NULL,'5',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,NULL,'2015-10-13 21:43:53'),(40,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Patel, Kiara','Dr. Kiara Patel',NULL,NULL,NULL,'1',NULL,'Both','2968776132',NULL,'Sample Data','Kiara','T','Patel',4,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Dr. Kiara Patel',NULL,1,'1959-05-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(41,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Samuels, Josefa','Josefa Samuels',NULL,NULL,NULL,NULL,NULL,'Both','1709478630',NULL,'Sample Data','Josefa','D','Samuels',NULL,NULL,NULL,NULL,1,NULL,'Dear Josefa',1,NULL,'Dear Josefa',1,NULL,'Josefa Samuels',NULL,1,'1978-06-25',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(42,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell-Blackwell family','Terrell-Blackwell family',NULL,NULL,NULL,NULL,NULL,'Both','495490493',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Terrell-Blackwell family',5,NULL,'Dear Terrell-Blackwell family',2,NULL,'Terrell-Blackwell family',NULL,NULL,NULL,0,NULL,'Terrell-Blackwell family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(43,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Rolando','Dr. Rolando Wattson II',NULL,NULL,NULL,NULL,NULL,'Both','1699783328',NULL,'Sample Data','Rolando','R','Wattson',4,3,NULL,NULL,1,NULL,'Dear Rolando',1,NULL,'Dear Rolando',1,NULL,'Dr. Rolando Wattson II',NULL,NULL,'1951-06-28',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(44,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'González, Miguel','Miguel González II',NULL,NULL,NULL,'4',NULL,'Both','833815017',NULL,'Sample Data','Miguel','F','González',NULL,3,NULL,NULL,1,NULL,'Dear Miguel',1,NULL,'Dear Miguel',1,NULL,'Miguel González II',NULL,2,'2003-08-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(45,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'rcooper36@fakemail.co.pl','rcooper36@fakemail.co.pl',NULL,NULL,NULL,NULL,NULL,'Both','2740390136',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear rcooper36@fakemail.co.pl',1,NULL,'Dear rcooper36@fakemail.co.pl',1,NULL,'rcooper36@fakemail.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(46,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'patelt@spamalot.com','patelt@spamalot.com',NULL,NULL,NULL,NULL,NULL,'Both','4147928240',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear patelt@spamalot.com',1,NULL,'Dear patelt@spamalot.com',1,NULL,'patelt@spamalot.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:52'),(47,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cooper-Nielsen, Maxwell','Maxwell Cooper-Nielsen',NULL,NULL,NULL,NULL,NULL,'Both','1186860425',NULL,'Sample Data','Maxwell','','Cooper-Nielsen',NULL,NULL,NULL,NULL,1,NULL,'Dear Maxwell',1,NULL,'Dear Maxwell',1,NULL,'Maxwell Cooper-Nielsen',NULL,NULL,'1996-07-03',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(48,'Organization',NULL,0,1,0,0,0,0,NULL,NULL,'Orangeburg Peace Center','Orangeburg Peace Center',NULL,NULL,NULL,'1',NULL,'Both','1037695608',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Orangeburg Peace Center',NULL,NULL,NULL,0,NULL,NULL,164,'Orangeburg Peace Center',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(49,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Jensen, Carlos','Carlos Jensen Jr.',NULL,NULL,NULL,'1',NULL,'Both','3008185857',NULL,'Sample Data','Carlos','N','Jensen',NULL,1,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Carlos Jensen Jr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(50,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Roberts, Elina','Elina Roberts',NULL,NULL,NULL,NULL,NULL,'Both','3456421482',NULL,'Sample Data','Elina','','Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Elina',1,NULL,'Dear Elina',1,NULL,'Elina Roberts',NULL,1,'1965-10-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(51,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Adams, Irvin','Dr. Irvin Adams II',NULL,NULL,NULL,'5',NULL,'Both','1424345894',NULL,'Sample Data','Irvin','E','Adams',4,3,NULL,NULL,1,NULL,'Dear Irvin',1,NULL,'Dear Irvin',1,NULL,'Dr. Irvin Adams II',NULL,2,'1986-09-02',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(52,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samuels, Jerome','Jerome Samuels',NULL,NULL,NULL,NULL,NULL,'Both','2129032486',NULL,'Sample Data','Jerome','','Samuels',NULL,NULL,NULL,NULL,1,NULL,'Dear Jerome',1,NULL,'Dear Jerome',1,NULL,'Jerome Samuels',NULL,NULL,'1982-09-25',0,NULL,NULL,NULL,'Urban Sustainability Solutions',NULL,NULL,172,0,NULL,'2015-10-13 21:43:54'),(53,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Jameson, Teddy','Mr. Teddy Jameson II',NULL,NULL,NULL,'4',NULL,'Both','4104650414',NULL,'Sample Data','Teddy','G','Jameson',3,3,NULL,NULL,1,NULL,'Dear Teddy',1,NULL,'Dear Teddy',1,NULL,'Mr. Teddy Jameson II',NULL,2,'1972-03-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(54,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cruz, Heidi','Heidi Cruz',NULL,NULL,NULL,NULL,NULL,'Both','1208374770',NULL,'Sample Data','Heidi','X','Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Heidi',1,NULL,'Dear Heidi',1,NULL,'Heidi Cruz',NULL,1,NULL,1,'2015-07-08',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:52'),(55,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Barkley, Claudio','Mr. Claudio Barkley Sr.',NULL,NULL,NULL,NULL,NULL,'Both','321246175',NULL,'Sample Data','Claudio','','Barkley',3,2,NULL,NULL,1,NULL,'Dear Claudio',1,NULL,'Dear Claudio',1,NULL,'Mr. Claudio Barkley Sr.',NULL,2,'1986-12-10',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:52'),(56,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'Green Technology Center','Green Technology Center',NULL,NULL,NULL,'2',NULL,'Both','2090416055',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Green Technology Center',NULL,NULL,NULL,0,NULL,NULL,79,'Green Technology Center',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(57,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Łąchowski, Megan','Megan Łąchowski',NULL,NULL,NULL,'3',NULL,'Both','1824434920',NULL,'Sample Data','Megan','','Łąchowski',NULL,NULL,NULL,NULL,1,NULL,'Dear Megan',1,NULL,'Dear Megan',1,NULL,'Megan Łąchowski',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(58,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Ivanov, Russell','Russell Ivanov',NULL,NULL,NULL,NULL,NULL,'Both','624189081',NULL,'Sample Data','Russell','','Ivanov',NULL,NULL,NULL,NULL,1,NULL,'Dear Russell',1,NULL,'Dear Russell',1,NULL,'Russell Ivanov',NULL,2,'1936-09-13',1,'2015-03-30',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(59,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Bachman, Ashley','Dr. Ashley Bachman II',NULL,NULL,NULL,NULL,NULL,'Both','2646692852',NULL,'Sample Data','Ashley','','Bachman',4,3,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Dr. Ashley Bachman II',NULL,2,'1961-10-23',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(60,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Bachman, Jed','Jed Bachman',NULL,NULL,NULL,NULL,NULL,'Both','876018088',NULL,'Sample Data','Jed','A','Bachman',NULL,NULL,NULL,NULL,1,NULL,'Dear Jed',1,NULL,'Dear Jed',1,NULL,'Jed Bachman',NULL,2,'1994-11-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(61,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Blackwell, Felisha','Ms. Felisha Blackwell',NULL,NULL,NULL,'4',NULL,'Both','3871892634',NULL,'Sample Data','Felisha','','Blackwell',2,NULL,NULL,NULL,1,NULL,'Dear Felisha',1,NULL,'Dear Felisha',1,NULL,'Ms. Felisha Blackwell',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(62,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Müller, Jacob','Jacob Müller II',NULL,NULL,NULL,'5',NULL,'Both','176489544',NULL,'Sample Data','Jacob','A','Müller',NULL,3,NULL,NULL,1,NULL,'Dear Jacob',1,NULL,'Dear Jacob',1,NULL,'Jacob Müller II',NULL,NULL,'1994-11-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(63,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'dv.mcreynolds@example.co.in','dv.mcreynolds@example.co.in',NULL,NULL,NULL,'1',NULL,'Both','4137143654',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear dv.mcreynolds@example.co.in',1,NULL,'Dear dv.mcreynolds@example.co.in',1,NULL,'dv.mcreynolds@example.co.in',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(64,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Reynolds, Carylon','Carylon Reynolds',NULL,NULL,NULL,'5',NULL,'Both','1835260667',NULL,'Sample Data','Carylon','','Reynolds',NULL,NULL,NULL,NULL,1,NULL,'Dear Carylon',1,NULL,'Dear Carylon',1,NULL,'Carylon Reynolds',NULL,1,'1991-08-02',0,NULL,NULL,NULL,'Second Technology Collective',NULL,NULL,13,0,NULL,'2015-10-13 21:43:54'),(65,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Zope, Allen','Allen Zope II',NULL,NULL,NULL,'3',NULL,'Both','1364035806',NULL,'Sample Data','Allen','','Zope',NULL,3,NULL,NULL,1,NULL,'Dear Allen',1,NULL,'Dear Allen',1,NULL,'Allen Zope II',NULL,NULL,'1964-12-19',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(66,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Blackwell, Lashawnda','Dr. Lashawnda Blackwell',NULL,NULL,NULL,'5',NULL,'Both','3911496571',NULL,'Sample Data','Lashawnda','G','Blackwell',4,NULL,NULL,NULL,1,NULL,'Dear Lashawnda',1,NULL,'Dear Lashawnda',1,NULL,'Dr. Lashawnda Blackwell',NULL,1,'1971-02-05',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(67,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Scarlet','Dr. Scarlet Robertson',NULL,NULL,NULL,NULL,NULL,'Both','3370215540',NULL,'Sample Data','Scarlet','','Robertson',4,NULL,NULL,NULL,1,NULL,'Dear Scarlet',1,NULL,'Dear Scarlet',1,NULL,'Dr. Scarlet Robertson',NULL,1,'1941-01-09',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(68,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jameson, Ivey','Ms. Ivey Jameson',NULL,NULL,NULL,'3',NULL,'Both','3123658938',NULL,'Sample Data','Ivey','','Jameson',2,NULL,NULL,NULL,1,NULL,'Dear Ivey',1,NULL,'Dear Ivey',1,NULL,'Ms. Ivey Jameson',NULL,NULL,'1955-12-03',1,'2015-09-30',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(69,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Prentice, Magan','Mrs. Magan Prentice',NULL,NULL,NULL,NULL,NULL,'Both','2837760591',NULL,'Sample Data','Magan','H','Prentice',1,NULL,NULL,NULL,1,NULL,'Dear Magan',1,NULL,'Dear Magan',1,NULL,'Mrs. Magan Prentice',NULL,1,'1974-01-30',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(70,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'scarletp@sample.co.in','scarletp@sample.co.in',NULL,NULL,NULL,'4',NULL,'Both','2028367536',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear scarletp@sample.co.in',1,NULL,'Dear scarletp@sample.co.in',1,NULL,'scarletp@sample.co.in',NULL,NULL,NULL,0,NULL,NULL,NULL,'College Peace Partners',NULL,NULL,85,0,NULL,'2015-10-13 21:43:54'),(71,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wagner, Betty','Betty Wagner',NULL,NULL,NULL,'1',NULL,'Both','2519883154',NULL,'Sample Data','Betty','H','Wagner',NULL,NULL,NULL,NULL,1,NULL,'Dear Betty',1,NULL,'Dear Betty',1,NULL,'Betty Wagner',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(72,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Cooper, Brzęczysław','Brzęczysław Cooper Sr.',NULL,NULL,NULL,'2',NULL,'Both','671824527',NULL,'Sample Data','Brzęczysław','W','Cooper',NULL,2,NULL,NULL,1,NULL,'Dear Brzęczysław',1,NULL,'Dear Brzęczysław',1,NULL,'Brzęczysław Cooper Sr.',NULL,2,'1978-06-27',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(73,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Terrell-Blackwell, Ashlie','Mrs. Ashlie Terrell-Blackwell',NULL,NULL,NULL,NULL,NULL,'Both','6369555',NULL,'Sample Data','Ashlie','B','Terrell-Blackwell',1,NULL,NULL,NULL,1,NULL,'Dear Ashlie',1,NULL,'Dear Ashlie',1,NULL,'Mrs. Ashlie Terrell-Blackwell',NULL,NULL,'1978-06-30',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(74,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Samuels, Russell','Russell Samuels Sr.',NULL,NULL,NULL,'4',NULL,'Both','3958135330',NULL,'Sample Data','Russell','Q','Samuels',NULL,2,NULL,NULL,1,NULL,'Dear Russell',1,NULL,'Dear Russell',1,NULL,'Russell Samuels Sr.',NULL,2,'1927-03-15',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(75,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Cruz, Lincoln','Lincoln Cruz',NULL,NULL,NULL,NULL,NULL,'Both','3085396026',NULL,'Sample Data','Lincoln','A','Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Lincoln',1,NULL,'Dear Lincoln',1,NULL,'Lincoln Cruz',NULL,NULL,'1990-11-30',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(76,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Blackwell, Allen','Allen Blackwell Jr.',NULL,NULL,NULL,'5',NULL,'Both','2363401575',NULL,'Sample Data','Allen','P','Blackwell',NULL,1,NULL,NULL,1,NULL,'Dear Allen',1,NULL,'Dear Allen',1,NULL,'Allen Blackwell Jr.',NULL,NULL,'1992-04-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(77,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'Kirklin Family Partnership','Kirklin Family Partnership',NULL,NULL,NULL,NULL,NULL,'Both','2200414931',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Kirklin Family Partnership',NULL,NULL,NULL,0,NULL,NULL,NULL,'Kirklin Family Partnership',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(78,'Individual',NULL,1,1,0,0,1,0,NULL,NULL,'Roberts, Santina','Santina Roberts',NULL,NULL,NULL,NULL,NULL,'Both','1490757631',NULL,'Sample Data','Santina','','Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Santina Roberts',NULL,1,'1940-10-22',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(79,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'blackwellm37@sample.co.pl','blackwellm37@sample.co.pl',NULL,NULL,NULL,'2',NULL,'Both','2733929826',NULL,'Sample Data',NULL,NULL,NULL,3,NULL,NULL,NULL,1,NULL,'Dear blackwellm37@sample.co.pl',1,NULL,'Dear blackwellm37@sample.co.pl',1,NULL,'blackwellm37@sample.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,'Green Technology Center',NULL,NULL,56,0,NULL,'2015-10-13 21:43:54'),(80,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cooper, Ashley','Ashley Cooper',NULL,NULL,NULL,'5',NULL,'Both','495032298',NULL,'Sample Data','Ashley','K','Cooper',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Ashley Cooper',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(81,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'meganr@infomail.co.pl','meganr@infomail.co.pl',NULL,NULL,NULL,NULL,NULL,'Both','3763475964',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear meganr@infomail.co.pl',1,NULL,'Dear meganr@infomail.co.pl',1,NULL,'meganr@infomail.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(82,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Cruz, Shauna','Ms. Shauna Cruz',NULL,NULL,NULL,NULL,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,NULL,'1982-10-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(83,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cruz, Kiara','Kiara Cruz',NULL,NULL,NULL,NULL,NULL,'Both','1495334087',NULL,'Sample Data','Kiara','','Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Kiara Cruz',NULL,1,'1978-06-01',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(84,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Adams, Claudio','Claudio Adams',NULL,NULL,NULL,'2',NULL,'Both','3216468199',NULL,'Sample Data','Claudio','','Adams',NULL,NULL,NULL,NULL,1,NULL,'Dear Claudio',1,NULL,'Dear Claudio',1,NULL,'Claudio Adams',NULL,NULL,'1925-10-30',1,'2014-12-24',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(85,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'College Peace Partners','College Peace Partners',NULL,NULL,NULL,NULL,NULL,'Both','274309234',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'College Peace Partners',NULL,NULL,NULL,0,NULL,NULL,70,'College Peace Partners',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(86,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Jensen-Robertson family','Jensen-Robertson family',NULL,NULL,NULL,'4',NULL,'Both','4120627466',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Jensen-Robertson family',5,NULL,'Dear Jensen-Robertson family',2,NULL,'Jensen-Robertson family',NULL,NULL,NULL,0,NULL,'Jensen-Robertson family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(87,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Global Technology School','Global Technology School',NULL,NULL,NULL,NULL,NULL,'Both','2137564028',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Global Technology School',NULL,NULL,NULL,0,NULL,NULL,129,'Global Technology School',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(88,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Bachman, Lou','Lou Bachman Sr.',NULL,NULL,NULL,NULL,NULL,'Both','2699316578',NULL,'Sample Data','Lou','W','Bachman',NULL,2,NULL,NULL,1,NULL,'Dear Lou',1,NULL,'Dear Lou',1,NULL,'Lou Bachman Sr.',NULL,NULL,'1998-03-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(89,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'cooper.jacob@testing.co.pl','cooper.jacob@testing.co.pl',NULL,NULL,NULL,NULL,NULL,'Both','3604595771',NULL,'Sample Data',NULL,NULL,NULL,4,2,NULL,NULL,1,NULL,'Dear cooper.jacob@testing.co.pl',1,NULL,'Dear cooper.jacob@testing.co.pl',1,NULL,'cooper.jacob@testing.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(90,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Łąchowski, Maria','Maria Łąchowski Sr.',NULL,NULL,NULL,NULL,NULL,'Both','2706885565',NULL,'Sample Data','Maria','V','Łąchowski',NULL,2,NULL,NULL,1,NULL,'Dear Maria',1,NULL,'Dear Maria',1,NULL,'Maria Łąchowski Sr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(91,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Olsen, Brigette','Dr. Brigette Olsen',NULL,NULL,NULL,NULL,NULL,'Both','2958585175',NULL,'Sample Data','Brigette','G','Olsen',4,NULL,NULL,NULL,1,NULL,'Dear Brigette',1,NULL,'Dear Brigette',1,NULL,'Dr. Brigette Olsen',NULL,1,'1952-06-11',0,NULL,NULL,NULL,'States Action Association',NULL,NULL,105,0,NULL,'2015-10-13 21:43:54'),(92,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Waterbury Sustainability Academy','Waterbury Sustainability Academy',NULL,NULL,NULL,'5',NULL,'Both','1061206048',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Waterbury Sustainability Academy',NULL,NULL,NULL,0,NULL,NULL,NULL,'Waterbury Sustainability Academy',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(93,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'wattsonb@fakemail.co.nz','wattsonb@fakemail.co.nz',NULL,NULL,NULL,'3',NULL,'Both','2866252290',NULL,'Sample Data',NULL,NULL,NULL,3,NULL,NULL,NULL,1,NULL,'Dear wattsonb@fakemail.co.nz',1,NULL,'Dear wattsonb@fakemail.co.nz',1,NULL,'wattsonb@fakemail.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(94,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Díaz, Jed','Mr. Jed Díaz',NULL,NULL,NULL,NULL,NULL,'Both','3371840516',NULL,'Sample Data','Jed','D','Díaz',3,NULL,NULL,NULL,1,NULL,'Dear Jed',1,NULL,'Dear Jed',1,NULL,'Mr. Jed Díaz',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(95,'Household',NULL,0,0,0,0,0,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,NULL,'2015-10-13 21:43:53'),(96,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Grant, Daren','Daren Grant',NULL,NULL,NULL,'1',NULL,'Both','3746795138',NULL,'Sample Data','Daren','H','Grant',NULL,NULL,NULL,NULL,1,NULL,'Dear Daren',1,NULL,'Dear Daren',1,NULL,'Daren Grant',NULL,2,'1984-09-07',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:52'),(97,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samuels, Magan','Magan Samuels',NULL,NULL,NULL,'5',NULL,'Both','2017901990',NULL,'Sample Data','Magan','','Samuels',NULL,NULL,NULL,NULL,1,NULL,'Dear Magan',1,NULL,'Dear Magan',1,NULL,'Magan Samuels',NULL,1,'1994-07-28',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(98,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Jameson, Claudio','Claudio Jameson III',NULL,NULL,NULL,NULL,NULL,'Both','4087838754',NULL,'Sample Data','Claudio','Y','Jameson',NULL,4,NULL,NULL,1,NULL,'Dear Claudio',1,NULL,'Dear Claudio',1,NULL,'Claudio Jameson III',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(99,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Smith, Jackson','Jackson Smith Sr.',NULL,NULL,NULL,NULL,NULL,'Both','1748200261',NULL,'Sample Data','Jackson','Y','Smith',NULL,2,NULL,NULL,1,NULL,'Dear Jackson',1,NULL,'Dear Jackson',1,NULL,'Jackson Smith Sr.',NULL,NULL,'2004-11-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(100,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Bachman, Craig','Dr. Craig Bachman',NULL,NULL,NULL,NULL,NULL,'Both','1117434169',NULL,'Sample Data','Craig','Z','Bachman',4,NULL,NULL,NULL,1,NULL,'Dear Craig',1,NULL,'Dear Craig',1,NULL,'Dr. Craig Bachman',NULL,NULL,'1965-09-24',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(101,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Blackwell family','Blackwell family',NULL,NULL,NULL,NULL,NULL,'Both','3218641510',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Blackwell family',5,NULL,'Dear Blackwell family',2,NULL,'Blackwell family',NULL,NULL,NULL,0,NULL,'Blackwell family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(102,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Patel, Beula','Beula Patel',NULL,NULL,NULL,NULL,NULL,'Both','945489022',NULL,'Sample Data','Beula','G','Patel',NULL,NULL,NULL,NULL,1,NULL,'Dear Beula',1,NULL,'Dear Beula',1,NULL,'Beula Patel',NULL,1,'1968-06-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(103,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samson, Brigette','Mrs. Brigette Samson',NULL,NULL,NULL,'5',NULL,'Both','2016376463',NULL,'Sample Data','Brigette','K','Samson',1,NULL,NULL,NULL,1,NULL,'Dear Brigette',1,NULL,'Dear Brigette',1,NULL,'Mrs. Brigette Samson',NULL,NULL,'1991-04-10',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(104,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Lincoln','Lincoln Wattson',NULL,NULL,NULL,'5',NULL,'Both','3929927020',NULL,'Sample Data','Lincoln','','Wattson',NULL,NULL,NULL,NULL,1,NULL,'Dear Lincoln',1,NULL,'Dear Lincoln',1,NULL,'Lincoln Wattson',NULL,2,NULL,0,NULL,NULL,NULL,'Damascus Empowerment Alliance',NULL,NULL,182,0,NULL,'2015-10-13 21:43:54'),(105,'Organization',NULL,1,0,0,0,0,0,NULL,NULL,'States Action Association','States Action Association',NULL,NULL,NULL,NULL,NULL,'Both','503953170',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'States Action Association',NULL,NULL,NULL,0,NULL,NULL,91,'States Action Association',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(106,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'mller.brigette@fakemail.com','mller.brigette@fakemail.com',NULL,NULL,NULL,'4',NULL,'Both','2591651979',NULL,'Sample Data',NULL,NULL,NULL,4,NULL,NULL,NULL,1,NULL,'Dear mller.brigette@fakemail.com',1,NULL,'Dear mller.brigette@fakemail.com',1,NULL,'mller.brigette@fakemail.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(107,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Jameson, Errol','Mr. Errol Jameson',NULL,NULL,NULL,'1',NULL,'Both','4067151192',NULL,'Sample Data','Errol','L','Jameson',3,NULL,NULL,NULL,1,NULL,'Dear Errol',1,NULL,'Dear Errol',1,NULL,'Mr. Errol Jameson',NULL,2,'1926-04-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(108,'Organization',NULL,1,0,0,0,0,0,NULL,NULL,'Lyon Mountain Family Academy','Lyon Mountain Family Academy',NULL,NULL,NULL,'3',NULL,'Both','2776840465',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Lyon Mountain Family Academy',NULL,NULL,NULL,0,NULL,NULL,31,'Lyon Mountain Family Academy',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(109,'Household',NULL,1,0,0,0,0,0,NULL,NULL,'Jameson family','Jameson family',NULL,NULL,NULL,NULL,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,NULL,'2015-10-13 21:43:53'),(110,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Terry, Beula','Dr. Beula Terry',NULL,NULL,NULL,'3',NULL,'Both','2053123123',NULL,'Sample Data','Beula','X','Terry',4,NULL,NULL,NULL,1,NULL,'Dear Beula',1,NULL,'Dear Beula',1,NULL,'Dr. Beula Terry',NULL,1,'1939-08-13',1,'2015-05-28',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(111,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Northpoint Technology Alliance','Northpoint Technology Alliance',NULL,NULL,NULL,'3',NULL,'Both','283838921',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Northpoint Technology Alliance',NULL,NULL,NULL,0,NULL,NULL,178,'Northpoint Technology Alliance',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(112,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Müller, Jacob','Dr. Jacob Müller',NULL,NULL,NULL,'5',NULL,'Both','176489544',NULL,'Sample Data','Jacob','','Müller',4,NULL,NULL,NULL,1,NULL,'Dear Jacob',1,NULL,'Dear Jacob',1,NULL,'Dr. Jacob Müller',NULL,2,'1968-03-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(113,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Craig','Craig Robertson III',NULL,NULL,NULL,NULL,NULL,'Both','3925632970',NULL,'Sample Data','Craig','J','Robertson',NULL,4,NULL,NULL,1,NULL,'Dear Craig',1,NULL,'Dear Craig',1,NULL,'Craig Robertson III',NULL,NULL,'1926-07-25',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(114,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Lee, Truman','Truman Lee II',NULL,NULL,NULL,NULL,NULL,'Both','696555700',NULL,'Sample Data','Truman','Z','Lee',NULL,3,NULL,NULL,1,NULL,'Dear Truman',1,NULL,'Dear Truman',1,NULL,'Truman Lee II',NULL,NULL,'1942-12-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(115,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Lee, Barry','Barry Lee II',NULL,NULL,NULL,'4',NULL,'Both','609109551',NULL,'Sample Data','Barry','W','Lee',NULL,3,NULL,NULL,1,NULL,'Dear Barry',1,NULL,'Dear Barry',1,NULL,'Barry Lee II',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(116,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Olsen, Heidi','Mrs. Heidi Olsen',NULL,NULL,NULL,'3',NULL,'Both','3023333247',NULL,'Sample Data','Heidi','','Olsen',1,NULL,NULL,NULL,1,NULL,'Dear Heidi',1,NULL,'Dear Heidi',1,NULL,'Mrs. Heidi Olsen',NULL,1,'1977-08-25',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(117,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Bob','Dr. Bob Wattson',NULL,NULL,NULL,NULL,NULL,'Both','194645235',NULL,'Sample Data','Bob','J','Wattson',4,NULL,NULL,NULL,1,NULL,'Dear Bob',1,NULL,'Dear Bob',1,NULL,'Dr. Bob Wattson',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(118,'Household',NULL,0,0,0,0,1,0,NULL,NULL,'Dimitrov family','Dimitrov family',NULL,NULL,NULL,'3',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,NULL,'2015-10-13 21:43:53'),(119,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Beech Health Partnership','Beech Health Partnership',NULL,NULL,NULL,NULL,NULL,'Both','728223039',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Beech Health Partnership',NULL,NULL,NULL,0,NULL,NULL,18,'Beech Health Partnership',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(120,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Adams, Russell','Mr. Russell Adams',NULL,NULL,NULL,NULL,NULL,'Both','2150692920',NULL,'Sample Data','Russell','','Adams',3,NULL,NULL,NULL,1,NULL,'Dear Russell',1,NULL,'Dear Russell',1,NULL,'Mr. Russell Adams',NULL,NULL,'1983-07-17',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(121,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Dimitrov, Kenny','Dr. Kenny Dimitrov',NULL,NULL,NULL,NULL,NULL,'Both','2698867379',NULL,'Sample Data','Kenny','I','Dimitrov',4,NULL,NULL,NULL,1,NULL,'Dear Kenny',1,NULL,'Dear Kenny',1,NULL,'Dr. Kenny Dimitrov',NULL,2,'1975-04-08',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(122,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Dimitrov, Angelika','Angelika Dimitrov',NULL,NULL,NULL,NULL,NULL,'Both','2186784941',NULL,'Sample Data','Angelika','','Dimitrov',NULL,NULL,NULL,NULL,1,NULL,'Dear Angelika',1,NULL,'Dear Angelika',1,NULL,'Angelika Dimitrov',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(123,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Jackson','Mr. Jackson Robertson Jr.',NULL,NULL,NULL,'4',NULL,'Both','810135210',NULL,'Sample Data','Jackson','','Robertson',3,1,NULL,NULL,1,NULL,'Dear Jackson',1,NULL,'Dear Jackson',1,NULL,'Mr. Jackson Robertson Jr.',NULL,NULL,NULL,0,NULL,NULL,NULL,'Alleene Health Fund',NULL,NULL,29,0,NULL,'2015-10-13 21:43:54'),(124,'Organization',NULL,1,0,0,0,0,0,NULL,NULL,'Cranberry Isles Environmental Network','Cranberry Isles Environmental Network',NULL,NULL,NULL,'3',NULL,'Both','1792964016',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Cranberry Isles Environmental Network',NULL,NULL,NULL,0,NULL,NULL,152,'Cranberry Isles Environmental Network',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(125,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Terrell-Blackwell, Ashley','Ashley Terrell-Blackwell',NULL,NULL,NULL,'1',NULL,'Both','3100975696',NULL,'Sample Data','Ashley','C','Terrell-Blackwell',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Ashley Terrell-Blackwell',NULL,2,'1977-06-13',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(126,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Olsen-Cruz, Lashawnda','Lashawnda Olsen-Cruz',NULL,NULL,NULL,'5',NULL,'Both','3174220848',NULL,'Sample Data','Lashawnda','','Olsen-Cruz',NULL,NULL,NULL,NULL,1,NULL,'Dear Lashawnda',1,NULL,'Dear Lashawnda',1,NULL,'Lashawnda Olsen-Cruz',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(127,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Smith, Jerome','Jerome Smith',NULL,NULL,NULL,NULL,NULL,'Both','3473548733',NULL,'Sample Data','Jerome','S','Smith',NULL,NULL,NULL,NULL,1,NULL,'Dear Jerome',1,NULL,'Dear Jerome',1,NULL,'Jerome Smith',NULL,2,'1952-11-08',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(128,'Individual',NULL,1,1,0,0,1,0,NULL,NULL,'Adams, Ashley','Ashley Adams',NULL,NULL,NULL,'3',NULL,'Both','2907231858',NULL,'Sample Data','Ashley','L','Adams',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Ashley Adams',NULL,1,'1978-01-23',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(129,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Łąchowski, Kiara','Mrs. Kiara Łąchowski',NULL,NULL,NULL,NULL,NULL,'Both','1559609409',NULL,'Sample Data','Kiara','U','Łąchowski',1,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Mrs. Kiara Łąchowski',NULL,1,'1986-06-05',0,NULL,NULL,NULL,'Global Technology School',NULL,NULL,87,0,NULL,'2015-10-13 21:43:54'),(130,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Grant, Norris','Mr. Norris Grant',NULL,NULL,NULL,'4',NULL,'Both','1357168828',NULL,'Sample Data','Norris','','Grant',3,NULL,NULL,NULL,1,NULL,'Dear Norris',1,NULL,'Dear Norris',1,NULL,'Mr. Norris Grant',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(131,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Dimitrov, Bryon','Dr. Bryon Dimitrov II',NULL,NULL,NULL,NULL,NULL,'Both','3819077271',NULL,'Sample Data','Bryon','','Dimitrov',4,3,NULL,NULL,1,NULL,'Dear Bryon',1,NULL,'Dear Bryon',1,NULL,'Dr. Bryon Dimitrov II',NULL,NULL,'1972-01-09',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(132,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Robertson, Kandace','Kandace Robertson',NULL,NULL,NULL,NULL,NULL,'Both','302551139',NULL,'Sample Data','Kandace','Y','Robertson',NULL,NULL,NULL,NULL,1,NULL,'Dear Kandace',1,NULL,'Dear Kandace',1,NULL,'Kandace Robertson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(133,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Bachman, Carlos','Dr. Carlos Bachman',NULL,NULL,NULL,NULL,NULL,'Both','4021780594',NULL,'Sample Data','Carlos','','Bachman',4,NULL,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Dr. Carlos Bachman',NULL,2,'1946-04-01',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(134,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'kz.lee@airmail.info','kz.lee@airmail.info',NULL,NULL,NULL,NULL,NULL,'Both','3685426316',NULL,'Sample Data',NULL,NULL,NULL,3,NULL,NULL,NULL,1,NULL,'Dear kz.lee@airmail.info',1,NULL,'Dear kz.lee@airmail.info',1,NULL,'kz.lee@airmail.info',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(135,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Wilson, Winford','Winford Wilson',NULL,NULL,NULL,NULL,NULL,'Both','1400321963',NULL,'Sample Data','Winford','K','Wilson',NULL,NULL,NULL,NULL,1,NULL,'Dear Winford',1,NULL,'Dear Winford',1,NULL,'Winford Wilson',NULL,NULL,'2000-03-30',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(136,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'samson-roberts.arlyne@fakemail.info','samson-roberts.arlyne@fakemail.info',NULL,NULL,NULL,NULL,NULL,'Both','2607286362',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear samson-roberts.arlyne@fakemail.info',1,NULL,'Dear samson-roberts.arlyne@fakemail.info',1,NULL,'samson-roberts.arlyne@fakemail.info',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(137,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jacobs, Ashley','Ashley Jacobs',NULL,NULL,NULL,NULL,NULL,'Both','2224166572',NULL,'Sample Data','Ashley','','Jacobs',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Ashley Jacobs',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:52'),(138,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jensen-Robertson, Esta','Esta Jensen-Robertson',NULL,NULL,NULL,'3',NULL,'Both','2200167976',NULL,'Sample Data','Esta','L','Jensen-Robertson',NULL,NULL,NULL,NULL,1,NULL,'Dear Esta',1,NULL,'Dear Esta',1,NULL,'Esta Jensen-Robertson',NULL,1,'1995-08-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(139,'Household',NULL,1,0,0,0,0,0,NULL,NULL,'Samuels family','Samuels family',NULL,NULL,NULL,NULL,NULL,'Both','350459294',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Samuels family',5,NULL,'Dear Samuels family',2,NULL,'Samuels family',NULL,NULL,NULL,0,NULL,'Samuels family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(140,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Adams family','Adams family',NULL,NULL,NULL,NULL,NULL,'Both','1515323104',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Adams family',5,NULL,'Dear Adams family',2,NULL,'Adams family',NULL,NULL,NULL,0,NULL,'Adams family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(141,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Smith, Elizabeth','Dr. Elizabeth Smith',NULL,NULL,NULL,'3',NULL,'Both','3537144682',NULL,'Sample Data','Elizabeth','','Smith',4,NULL,NULL,NULL,1,NULL,'Dear Elizabeth',1,NULL,'Dear Elizabeth',1,NULL,'Dr. Elizabeth Smith',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(142,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Adams, Clint','Clint Adams',NULL,NULL,NULL,NULL,NULL,'Both','197818587',NULL,'Sample Data','Clint','','Adams',NULL,NULL,NULL,NULL,1,NULL,'Dear Clint',1,NULL,'Dear Clint',1,NULL,'Clint Adams',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(143,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Jensen-Robertson, Elina','Elina Jensen-Robertson',NULL,NULL,NULL,NULL,NULL,'Both','1184718458',NULL,'Sample Data','Elina','L','Jensen-Robertson',NULL,NULL,NULL,NULL,1,NULL,'Dear Elina',1,NULL,'Dear Elina',1,NULL,'Elina Jensen-Robertson',NULL,1,'2004-01-27',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(144,'Household',NULL,1,0,0,0,0,0,NULL,NULL,'Samson-Roberts family','Samson-Roberts family',NULL,NULL,NULL,NULL,NULL,'Both','3303269311',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Samson-Roberts family',5,NULL,'Dear Samson-Roberts family',2,NULL,'Samson-Roberts family',NULL,NULL,NULL,0,NULL,'Samson-Roberts family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(145,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Dimitrov, Allen','Allen Dimitrov III',NULL,NULL,NULL,NULL,NULL,'Both','4106661370',NULL,'Sample Data','Allen','','Dimitrov',NULL,4,NULL,NULL,1,NULL,'Dear Allen',1,NULL,'Dear Allen',1,NULL,'Allen Dimitrov III',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(146,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Robertson, Carlos','Carlos Robertson II',NULL,NULL,NULL,'4',NULL,'Both','3416802562',NULL,'Sample Data','Carlos','','Robertson',NULL,3,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Carlos Robertson II',NULL,2,'1974-11-05',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(147,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samson-Roberts, Iris','Iris Samson-Roberts',NULL,NULL,NULL,'3',NULL,'Both','3527832669',NULL,'Sample Data','Iris','A','Samson-Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Iris',1,NULL,'Dear Iris',1,NULL,'Iris Samson-Roberts',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(148,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Cooper, Santina','Dr. Santina Cooper',NULL,NULL,NULL,'2',NULL,'Both','6221287',NULL,'Sample Data','Santina','','Cooper',4,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Dr. Santina Cooper',NULL,NULL,'1953-03-28',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:52'),(149,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Parker, Kathlyn','Kathlyn Parker',NULL,NULL,NULL,'3',NULL,'Both','3877776454',NULL,'Sample Data','Kathlyn','Z','Parker',NULL,NULL,NULL,NULL,1,NULL,'Dear Kathlyn',1,NULL,'Dear Kathlyn',1,NULL,'Kathlyn Parker',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(150,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'smith.rosario@fishmail.co.uk','smith.rosario@fishmail.co.uk',NULL,NULL,NULL,'2',NULL,'Both','2722430094',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear smith.rosario@fishmail.co.uk',1,NULL,'Dear smith.rosario@fishmail.co.uk',1,NULL,'smith.rosario@fishmail.co.uk',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(151,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Rodrigo','Rodrigo Wattson II',NULL,NULL,NULL,NULL,NULL,'Both','971920470',NULL,'Sample Data','Rodrigo','','Wattson',NULL,3,NULL,NULL,1,NULL,'Dear Rodrigo',1,NULL,'Dear Rodrigo',1,NULL,'Rodrigo Wattson II',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(152,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Blackwell, Claudio','Claudio Blackwell II',NULL,NULL,NULL,'4',NULL,'Both','2523570128',NULL,'Sample Data','Claudio','Y','Blackwell',NULL,3,NULL,NULL,1,NULL,'Dear Claudio',1,NULL,'Dear Claudio',1,NULL,'Claudio Blackwell II',NULL,2,'2002-09-11',0,NULL,NULL,NULL,'Cranberry Isles Environmental Network',NULL,NULL,124,0,NULL,'2015-10-13 21:43:54'),(153,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest, Lou','Lou Deforest Sr.',NULL,NULL,NULL,'1',NULL,'Both','1322815112',NULL,'Sample Data','Lou','','Deforest',NULL,2,NULL,NULL,1,NULL,'Dear Lou',1,NULL,'Dear Lou',1,NULL,'Lou Deforest Sr.',NULL,2,NULL,1,'2015-08-01',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(154,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Smith, Santina','Santina Smith',NULL,NULL,NULL,'2',NULL,'Both','4069145430',NULL,'Sample Data','Santina','M','Smith',NULL,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Santina Smith',NULL,NULL,NULL,0,NULL,NULL,NULL,'Friends Technology Fellowship',NULL,NULL,16,0,NULL,'2015-10-13 21:43:54'),(155,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Sherman','Sherman Wattson',NULL,NULL,NULL,'2',NULL,'Both','2577955110',NULL,'Sample Data','Sherman','E','Wattson',NULL,NULL,NULL,NULL,1,NULL,'Dear Sherman',1,NULL,'Dear Sherman',1,NULL,'Sherman Wattson',NULL,2,'2005-03-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(156,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'McReynolds, Maxwell','Mr. Maxwell McReynolds',NULL,NULL,NULL,NULL,NULL,'Both','961058467',NULL,'Sample Data','Maxwell','R','McReynolds',3,NULL,NULL,NULL,1,NULL,'Dear Maxwell',1,NULL,'Dear Maxwell',1,NULL,'Mr. Maxwell McReynolds',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(157,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Cooper-Nielsen family','Cooper-Nielsen family',NULL,NULL,NULL,NULL,NULL,'Both','726986696',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Cooper-Nielsen family',5,NULL,'Dear Cooper-Nielsen family',2,NULL,'Cooper-Nielsen family',NULL,NULL,NULL,0,NULL,'Cooper-Nielsen family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(158,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Roberts, Maxwell','Maxwell Roberts III',NULL,NULL,NULL,'4',NULL,'Both','3618827003',NULL,'Sample Data','Maxwell','','Roberts',NULL,4,NULL,NULL,1,NULL,'Dear Maxwell',1,NULL,'Dear Maxwell',1,NULL,'Maxwell Roberts III',NULL,2,'2001-11-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(159,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Patel, Rebekah','Rebekah Patel',NULL,NULL,NULL,NULL,NULL,'Both','218502217',NULL,'Sample Data','Rebekah','O','Patel',NULL,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Rebekah Patel',NULL,1,'1969-02-28',0,NULL,NULL,NULL,'Hustisford Arts Solutions',NULL,NULL,5,0,NULL,'2015-10-13 21:43:54'),(160,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Prentice, Arlyne','Ms. Arlyne Prentice',NULL,NULL,NULL,'4',NULL,'Both','2628147825',NULL,'Sample Data','Arlyne','A','Prentice',2,NULL,NULL,NULL,1,NULL,'Dear Arlyne',1,NULL,'Dear Arlyne',1,NULL,'Ms. Arlyne Prentice',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:52'),(161,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wagner-Lee, Toby','Dr. Toby Wagner-Lee Sr.',NULL,NULL,NULL,NULL,NULL,'Both','582839696',NULL,'Sample Data','Toby','F','Wagner-Lee',4,2,NULL,NULL,1,NULL,'Dear Toby',1,NULL,'Dear Toby',1,NULL,'Dr. Toby Wagner-Lee Sr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(162,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Arlyne','Arlyne Robertson',NULL,NULL,NULL,NULL,NULL,'Both','3871657084',NULL,'Sample Data','Arlyne','U','Robertson',NULL,NULL,NULL,NULL,1,NULL,'Dear Arlyne',1,NULL,'Dear Arlyne',1,NULL,'Arlyne Robertson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(163,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Samuels, Clint','Clint Samuels',NULL,NULL,NULL,'3',NULL,'Both','1165497253',NULL,'Sample Data','Clint','','Samuels',NULL,NULL,NULL,NULL,1,NULL,'Dear Clint',1,NULL,'Dear Clint',1,NULL,'Clint Samuels',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(164,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Cooper-Nielsen, Shauna','Ms. Shauna Cooper-Nielsen',NULL,NULL,NULL,NULL,NULL,'Both','1606805618',NULL,'Sample Data','Shauna','N','Cooper-Nielsen',2,NULL,NULL,NULL,1,NULL,'Dear Shauna',1,NULL,'Dear Shauna',1,NULL,'Ms. Shauna Cooper-Nielsen',NULL,NULL,NULL,0,NULL,NULL,NULL,'Orangeburg Peace Center',NULL,NULL,48,0,NULL,'2015-10-13 21:43:54'),(165,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Müller family','Müller family',NULL,NULL,NULL,NULL,NULL,'Both','1144797465',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Müller family',5,NULL,'Dear Müller family',2,NULL,'Müller family',NULL,NULL,NULL,0,NULL,'Müller family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(166,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Łąchowski, Miguel','Miguel Łąchowski III',NULL,NULL,NULL,'5',NULL,'Both','93333880',NULL,'Sample Data','Miguel','','Łąchowski',NULL,4,NULL,NULL,1,NULL,'Dear Miguel',1,NULL,'Dear Miguel',1,NULL,'Miguel Łąchowski III',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(167,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Wagner, Allan','Allan Wagner',NULL,NULL,NULL,NULL,NULL,'Both','181008851',NULL,'Sample Data','Allan','','Wagner',NULL,NULL,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Allan Wagner',NULL,2,'1978-03-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:52'),(168,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Barkley, Billy','Billy Barkley Sr.',NULL,NULL,NULL,'2',NULL,'Both','3175995376',NULL,'Sample Data','Billy','O','Barkley',NULL,2,NULL,NULL,1,NULL,'Dear Billy',1,NULL,'Dear Billy',1,NULL,'Billy Barkley Sr.',NULL,2,'1996-03-10',0,NULL,NULL,NULL,'Beech Action Center',NULL,NULL,187,0,NULL,'2015-10-13 21:43:53'),(169,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samson, Elbert','Elbert Samson',NULL,NULL,NULL,NULL,NULL,'Both','3416596353',NULL,'Sample Data','Elbert','','Samson',NULL,NULL,NULL,NULL,1,NULL,'Dear Elbert',1,NULL,'Dear Elbert',1,NULL,'Elbert Samson',NULL,2,'1964-06-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(170,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Blackwell, Mei','Dr. Mei Blackwell',NULL,NULL,NULL,NULL,NULL,'Both','2041567778',NULL,'Sample Data','Mei','','Blackwell',4,NULL,NULL,NULL,1,NULL,'Dear Mei',1,NULL,'Dear Mei',1,NULL,'Dr. Mei Blackwell',NULL,NULL,'1960-12-23',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(171,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Global Poetry School','Global Poetry School',NULL,NULL,NULL,'1',NULL,'Both','3685599649',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Global Poetry School',NULL,NULL,NULL,0,NULL,NULL,34,'Global Poetry School',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(172,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'Urban Sustainability Solutions','Urban Sustainability Solutions',NULL,NULL,NULL,NULL,NULL,'Both','1537917362',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Urban Sustainability Solutions',NULL,NULL,NULL,0,NULL,NULL,52,'Urban Sustainability Solutions',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(173,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson family','Wattson family',NULL,NULL,NULL,'3',NULL,'Both','2851339192',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Wattson family',5,NULL,'Dear Wattson family',2,NULL,'Wattson family',NULL,NULL,NULL,0,NULL,'Wattson family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(174,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Deforest, Lashawnda','Ms. Lashawnda Deforest',NULL,NULL,NULL,NULL,NULL,'Both','1832484345',NULL,'Sample Data','Lashawnda','','Deforest',2,NULL,NULL,NULL,1,NULL,'Dear Lashawnda',1,NULL,'Dear Lashawnda',1,NULL,'Ms. Lashawnda Deforest',NULL,1,'1934-10-04',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:52'),(175,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Müller, Toby','Toby Müller Jr.',NULL,NULL,NULL,NULL,NULL,'Both','3713504892',NULL,'Sample Data','Toby','','Müller',NULL,1,NULL,NULL,1,NULL,'Dear Toby',1,NULL,'Dear Toby',1,NULL,'Toby Müller Jr.',NULL,2,'1967-12-02',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(176,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Bachman, Allan','Allan Bachman',NULL,NULL,NULL,NULL,NULL,'Both','826368778',NULL,'Sample Data','Allan','','Bachman',NULL,NULL,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Allan Bachman',NULL,2,'1973-07-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(177,'Household',NULL,1,0,0,0,1,0,NULL,NULL,'Lee family','Lee family',NULL,NULL,NULL,'5',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,NULL,'2015-10-13 21:43:53'),(178,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Blackwell, Omar','Mr. Omar Blackwell',NULL,NULL,NULL,NULL,NULL,'Both','3587375768',NULL,'Sample Data','Omar','B','Blackwell',3,NULL,NULL,NULL,1,NULL,'Dear Omar',1,NULL,'Dear Omar',1,NULL,'Mr. Omar Blackwell',NULL,2,'1992-12-25',0,NULL,NULL,NULL,'Northpoint Technology Alliance',NULL,NULL,111,0,NULL,'2015-10-13 21:43:54'),(179,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'McReynolds, Sonny','Mr. Sonny McReynolds Sr.',NULL,NULL,NULL,NULL,NULL,'Both','3975405155',NULL,'Sample Data','Sonny','','McReynolds',3,2,NULL,NULL,1,NULL,'Dear Sonny',1,NULL,'Dear Sonny',1,NULL,'Mr. Sonny McReynolds Sr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(180,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Prentice, Kandace','Kandace Prentice',NULL,NULL,NULL,NULL,NULL,'Both','1824755272',NULL,'Sample Data','Kandace','','Prentice',NULL,NULL,NULL,NULL,1,NULL,'Dear Kandace',1,NULL,'Dear Kandace',1,NULL,'Kandace Prentice',NULL,1,'1991-06-09',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(181,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'Bay Environmental Association','Bay Environmental Association',NULL,NULL,NULL,'5',NULL,'Both','837387426',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Bay Environmental Association',NULL,NULL,NULL,0,NULL,NULL,38,'Bay Environmental Association',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(182,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'Damascus Empowerment Alliance','Damascus Empowerment Alliance',NULL,NULL,NULL,'4',NULL,'Both','556596058',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Damascus Empowerment Alliance',NULL,NULL,NULL,0,NULL,NULL,104,'Damascus Empowerment Alliance',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:54'),(183,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson family','Wattson family',NULL,NULL,NULL,'1',NULL,'Both','2851339192',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Wattson family',5,NULL,'Dear Wattson family',2,NULL,'Wattson family',NULL,NULL,NULL,0,NULL,'Wattson family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(184,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'prentice.g.tanya38@testing.info','prentice.g.tanya38@testing.info',NULL,NULL,NULL,NULL,NULL,'Both','1768704766',NULL,'Sample Data',NULL,NULL,NULL,2,NULL,NULL,NULL,1,NULL,'Dear prentice.g.tanya38@testing.info',1,NULL,'Dear prentice.g.tanya38@testing.info',1,NULL,'prentice.g.tanya38@testing.info',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(185,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wagner, Irvin','Mr. Irvin Wagner III',NULL,NULL,NULL,NULL,NULL,'Both','1394032144',NULL,'Sample Data','Irvin','X','Wagner',3,4,NULL,NULL,1,NULL,'Dear Irvin',1,NULL,'Dear Irvin',1,NULL,'Mr. Irvin Wagner III',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(186,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Grant, Claudio','Claudio Grant Sr.',NULL,NULL,NULL,NULL,NULL,'Both','682174254',NULL,'Sample Data','Claudio','O','Grant',NULL,2,NULL,NULL,1,NULL,'Dear Claudio',1,NULL,'Dear Claudio',1,NULL,'Claudio Grant Sr.',NULL,2,'1934-04-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(187,'Organization',NULL,0,1,0,0,0,0,NULL,NULL,'Beech Action Center','Beech Action Center',NULL,NULL,NULL,NULL,NULL,'Both','349342598',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Beech Action Center',NULL,NULL,NULL,0,NULL,NULL,168,'Beech Action Center',NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(188,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cooper, Elizabeth','Ms. Elizabeth Cooper',NULL,NULL,NULL,'3',NULL,'Both','1085968806',NULL,'Sample Data','Elizabeth','','Cooper',2,NULL,NULL,NULL,1,NULL,'Dear Elizabeth',1,NULL,'Dear Elizabeth',1,NULL,'Ms. Elizabeth Cooper',NULL,NULL,'1950-10-07',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(189,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wagner, Delana','Ms. Delana Wagner',NULL,NULL,NULL,NULL,NULL,'Both','2864318230',NULL,'Sample Data','Delana','L','Wagner',2,NULL,NULL,NULL,1,NULL,'Dear Delana',1,NULL,'Dear Delana',1,NULL,'Ms. Delana Wagner',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(190,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Bachman, Valene','Ms. Valene Bachman',NULL,NULL,NULL,'5',NULL,'Both','4000615529',NULL,'Sample Data','Valene','','Bachman',2,NULL,NULL,NULL,1,NULL,'Dear Valene',1,NULL,'Dear Valene',1,NULL,'Ms. Valene Bachman',NULL,1,'1958-09-13',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(191,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Nielsen, Mei','Mei Nielsen',NULL,NULL,NULL,NULL,NULL,'Both','1032657173',NULL,'Sample Data','Mei','','Nielsen',NULL,NULL,NULL,NULL,1,NULL,'Dear Mei',1,NULL,'Dear Mei',1,NULL,'Mei Nielsen',NULL,1,'1949-10-08',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(192,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Wagner family','Wagner family',NULL,NULL,NULL,'3',NULL,'Both','1570966486',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Wagner family',5,NULL,'Dear Wagner family',2,NULL,'Wagner family',NULL,NULL,NULL,0,NULL,'Wagner family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(193,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Łąchowski, Carlos','Mr. Carlos Łąchowski III',NULL,NULL,NULL,NULL,NULL,'Both','205380068',NULL,'Sample Data','Carlos','P','Łąchowski',3,4,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Mr. Carlos Łąchowski III',NULL,NULL,'1993-07-31',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:52'),(194,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Smith, Kiara','Kiara Smith',NULL,NULL,NULL,NULL,NULL,'Both','550960995',NULL,'Sample Data','Kiara','','Smith',NULL,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Kiara Smith',NULL,1,'1992-10-15',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(195,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Jones, Teresa','Teresa Jones',NULL,NULL,NULL,NULL,NULL,'Both','939927826',NULL,'Sample Data','Teresa','P','Jones',NULL,NULL,NULL,NULL,1,NULL,'Dear Teresa',1,NULL,'Dear Teresa',1,NULL,'Teresa Jones',NULL,NULL,'1986-07-04',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(196,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson-Wattson, Eleonor','Eleonor Wilson-Wattson',NULL,NULL,NULL,'1',NULL,'Both','4068572620',NULL,'Sample Data','Eleonor','I','Wilson-Wattson',NULL,NULL,NULL,NULL,1,NULL,'Dear Eleonor',1,NULL,'Dear Eleonor',1,NULL,'Eleonor Wilson-Wattson',NULL,NULL,'1955-03-14',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(197,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Müller, Heidi','Ms. Heidi Müller',NULL,NULL,NULL,'5',NULL,'Both','2257995242',NULL,'Sample Data','Heidi','J','Müller',2,NULL,NULL,NULL,1,NULL,'Dear Heidi',1,NULL,'Dear Heidi',1,NULL,'Ms. Heidi Müller',NULL,1,'1991-11-01',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(198,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Barkley, Jackson','Jackson Barkley',NULL,NULL,NULL,NULL,NULL,'Both','3356611835',NULL,'Sample Data','Jackson','','Barkley',NULL,NULL,NULL,NULL,1,NULL,'Dear Jackson',1,NULL,'Dear Jackson',1,NULL,'Jackson Barkley',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(199,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Łąchowski, Kacey','Kacey Łąchowski',NULL,NULL,NULL,NULL,NULL,'Both','2351570944',NULL,'Sample Data','Kacey','','Łąchowski',NULL,NULL,NULL,NULL,1,NULL,'Dear Kacey',1,NULL,'Dear Kacey',1,NULL,'Kacey Łąchowski',NULL,1,'1951-12-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(200,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell, Lawerence','Lawerence Terrell',NULL,NULL,NULL,'5',NULL,'Both','281284643',NULL,'Sample Data','Lawerence','O','Terrell',NULL,NULL,NULL,NULL,1,NULL,'Dear Lawerence',1,NULL,'Dear Lawerence',1,NULL,'Lawerence Terrell',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'),(201,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'McReynolds-Samuels, Ivey','Mrs. Ivey McReynolds-Samuels',NULL,NULL,NULL,NULL,NULL,'Both','606629487',NULL,'Sample Data','Ivey','','McReynolds-Samuels',1,NULL,NULL,NULL,1,NULL,'Dear Ivey',1,NULL,'Dear Ivey',1,NULL,'Mrs. Ivey McReynolds-Samuels',NULL,1,NULL,1,'2015-06-25',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2015-10-13 21:43:53'); +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,'2016-01-06 22:23:09'),(2,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Angelika','Angelika Wattson',NULL,NULL,NULL,NULL,NULL,'Both','868071594',NULL,'Sample Data','Angelika','','Wattson',NULL,NULL,NULL,NULL,1,NULL,'Dear Angelika',1,NULL,'Dear Angelika',1,NULL,'Angelika Wattson',NULL,1,'1957-11-09',1,'2015-05-28',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(3,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'González, Ray','Mr. Ray González II',NULL,NULL,NULL,'2',NULL,'Both','193085819',NULL,'Sample Data','Ray','F','González',3,3,NULL,NULL,1,NULL,'Dear Ray',1,NULL,'Dear Ray',1,NULL,'Mr. Ray González II',NULL,2,'1959-12-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(4,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Yadav, Brent','Brent Yadav II',NULL,NULL,NULL,'2',NULL,'Both','3167259095',NULL,'Sample Data','Brent','H','Yadav',NULL,3,NULL,NULL,1,NULL,'Dear Brent',1,NULL,'Dear Brent',1,NULL,'Brent Yadav II',NULL,NULL,'1991-07-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(5,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Samuels, Billy','Billy Samuels II',NULL,NULL,NULL,NULL,NULL,'Both','92935923',NULL,'Sample Data','Billy','','Samuels',NULL,3,NULL,NULL,1,NULL,'Dear Billy',1,NULL,'Dear Billy',1,NULL,'Billy Samuels II',NULL,2,'2001-04-16',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(6,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samuels, Russell','Dr. Russell Samuels',NULL,NULL,NULL,NULL,NULL,'Both','3958135330',NULL,'Sample Data','Russell','','Samuels',4,NULL,NULL,NULL,1,NULL,'Dear Russell',1,NULL,'Dear Russell',1,NULL,'Dr. Russell Samuels',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(7,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jameson, Lashawnda','Lashawnda Jameson',NULL,NULL,NULL,'4',NULL,'Both','4055900754',NULL,'Sample Data','Lashawnda','','Jameson',NULL,NULL,NULL,NULL,1,NULL,'Dear Lashawnda',1,NULL,'Dear Lashawnda',1,NULL,'Lashawnda Jameson',NULL,1,'1964-09-20',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(8,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Iris','Iris Robertson',NULL,NULL,NULL,'2',NULL,'Both','3400408145',NULL,'Sample Data','Iris','','Robertson',NULL,NULL,NULL,NULL,1,NULL,'Dear Iris',1,NULL,'Dear Iris',1,NULL,'Iris Robertson',NULL,NULL,'1957-11-01',0,NULL,NULL,NULL,'Global Education Services',NULL,NULL,96,0,NULL,'2016-01-06 22:23:13'),(9,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Grant-Prentice, Alexia','Alexia Grant-Prentice',NULL,NULL,NULL,'2',NULL,'Both','466816300',NULL,'Sample Data','Alexia','','Grant-Prentice',NULL,NULL,NULL,NULL,1,NULL,'Dear Alexia',1,NULL,'Dear Alexia',1,NULL,'Alexia Grant-Prentice',NULL,NULL,'1980-11-16',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(10,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Roberts, Jackson','Dr. Jackson Roberts Sr.',NULL,NULL,NULL,NULL,NULL,'Both','3261233132',NULL,'Sample Data','Jackson','D','Roberts',4,2,NULL,NULL,1,NULL,'Dear Jackson',1,NULL,'Dear Jackson',1,NULL,'Dr. Jackson Roberts Sr.',NULL,2,'1931-09-13',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(11,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Reynolds, Clint','Clint Reynolds',NULL,NULL,NULL,'3',NULL,'Both','2752872958',NULL,'Sample Data','Clint','','Reynolds',NULL,NULL,NULL,NULL,1,NULL,'Dear Clint',1,NULL,'Dear Clint',1,NULL,'Clint Reynolds',NULL,NULL,'1953-11-24',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(12,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Prentice-Samuels, Junko','Junko Prentice-Samuels',NULL,NULL,NULL,NULL,NULL,'Both','3032844865',NULL,'Sample Data','Junko','O','Prentice-Samuels',NULL,NULL,NULL,NULL,1,NULL,'Dear Junko',1,NULL,'Dear Junko',1,NULL,'Junko Prentice-Samuels',NULL,1,'1989-12-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(13,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Wagner, Brent','Brent Wagner Jr.',NULL,NULL,NULL,NULL,NULL,'Both','2290384277',NULL,'Sample Data','Brent','','Wagner',NULL,1,NULL,NULL,1,NULL,'Dear Brent',1,NULL,'Dear Brent',1,NULL,'Brent Wagner Jr.',NULL,2,'1995-09-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(14,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Olsen, Herminia','Ms. Herminia Olsen',NULL,NULL,NULL,NULL,NULL,'Both','52824125',NULL,'Sample Data','Herminia','Y','Olsen',2,NULL,NULL,NULL,1,NULL,'Dear Herminia',1,NULL,'Dear Herminia',1,NULL,'Ms. Herminia Olsen',NULL,1,'1947-02-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(15,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Cruz, Magan','Ms. Magan Cruz',NULL,NULL,NULL,NULL,NULL,'Both','3859349817',NULL,'Sample Data','Magan','','Cruz',2,NULL,NULL,NULL,1,NULL,'Dear Magan',1,NULL,'Dear Magan',1,NULL,'Ms. Magan Cruz',NULL,1,'1958-03-13',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(16,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Díaz, Erik','Erik Díaz Sr.',NULL,NULL,NULL,'4',NULL,'Both','4217615006',NULL,'Sample Data','Erik','','Díaz',NULL,2,NULL,NULL,1,NULL,'Dear Erik',1,NULL,'Dear Erik',1,NULL,'Erik Díaz Sr.',NULL,NULL,'1998-04-05',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(17,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Wagner, Kathleen','Dr. Kathleen Wagner',NULL,NULL,NULL,'2',NULL,'Both','325058531',NULL,'Sample Data','Kathleen','I','Wagner',4,NULL,NULL,NULL,1,NULL,'Dear Kathleen',1,NULL,'Dear Kathleen',1,NULL,'Dr. Kathleen Wagner',NULL,1,'1983-09-19',0,NULL,NULL,NULL,'Idaho Software Systems',NULL,NULL,66,0,NULL,'2016-01-06 22:23:13'),(18,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Toby','Toby Wilson',NULL,NULL,NULL,'5',NULL,'Both','4291852',NULL,'Sample Data','Toby','','Wilson',NULL,NULL,NULL,NULL,1,NULL,'Dear Toby',1,NULL,'Dear Toby',1,NULL,'Toby Wilson',NULL,2,'1974-06-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(19,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Dimitrov, Daren','Daren Dimitrov',NULL,NULL,NULL,NULL,NULL,'Both','3639899181',NULL,'Sample Data','Daren','','Dimitrov',NULL,NULL,NULL,NULL,1,NULL,'Dear Daren',1,NULL,'Dear Daren',1,NULL,'Daren Dimitrov',NULL,2,'1996-02-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(20,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Ivanov, Clint','Mr. Clint Ivanov',NULL,NULL,NULL,'2',NULL,'Both','3280498131',NULL,'Sample Data','Clint','G','Ivanov',3,NULL,NULL,NULL,1,NULL,'Dear Clint',1,NULL,'Dear Clint',1,NULL,'Mr. Clint Ivanov',NULL,NULL,'1993-03-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(21,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Sanford','Dr. Sanford Wattson II',NULL,NULL,NULL,'2',NULL,'Both','2494735829',NULL,'Sample Data','Sanford','','Wattson',4,3,NULL,NULL,1,NULL,'Dear Sanford',1,NULL,'Dear Sanford',1,NULL,'Dr. Sanford Wattson II',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(22,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Díaz, Brigette','Dr. Brigette Díaz',NULL,NULL,NULL,NULL,NULL,'Both','939555461',NULL,'Sample Data','Brigette','I','Díaz',4,NULL,NULL,NULL,1,NULL,'Dear Brigette',1,NULL,'Dear Brigette',1,NULL,'Dr. Brigette Díaz',NULL,1,'1981-10-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(23,'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,NULL,'2016-01-06 22:23:13'),(24,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Jones, Maria','Maria Jones II',NULL,NULL,NULL,'4',NULL,'Both','1814034949',NULL,'Sample Data','Maria','','Jones',NULL,3,NULL,NULL,1,NULL,'Dear Maria',1,NULL,'Dear Maria',1,NULL,'Maria Jones II',NULL,2,'1975-10-14',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(25,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Grant-Prentice family','Grant-Prentice family',NULL,NULL,NULL,'3',NULL,'Both','2149437987',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Grant-Prentice family',5,NULL,'Dear Grant-Prentice family',2,NULL,'Grant-Prentice family',NULL,NULL,NULL,0,NULL,'Grant-Prentice family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(26,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Samuels, Rebekah','Ms. Rebekah Samuels',NULL,NULL,NULL,NULL,NULL,'Both','2023061910',NULL,'Sample Data','Rebekah','Y','Samuels',2,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Ms. Rebekah Samuels',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(27,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Barkley, Elina','Ms. Elina Barkley',NULL,NULL,NULL,NULL,NULL,'Both','522372077',NULL,'Sample Data','Elina','T','Barkley',2,NULL,NULL,NULL,1,NULL,'Dear Elina',1,NULL,'Dear Elina',1,NULL,'Ms. Elina Barkley',NULL,NULL,'1991-11-20',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(28,'Household',NULL,0,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,NULL,'2016-01-06 22:23:13'),(29,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Caulder Environmental Solutions','Caulder Environmental Solutions',NULL,NULL,NULL,NULL,NULL,'Both','3008712785',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Caulder Environmental Solutions',NULL,NULL,NULL,0,NULL,NULL,NULL,'Caulder Environmental Solutions',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(30,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Ivanov, Shauna','Shauna Ivanov',NULL,NULL,NULL,NULL,NULL,'Both','1678938046',NULL,'Sample Data','Shauna','Q','Ivanov',NULL,NULL,NULL,NULL,1,NULL,'Dear Shauna',1,NULL,'Dear Shauna',1,NULL,'Shauna Ivanov',NULL,1,'1980-08-09',0,NULL,NULL,NULL,'Second Culture School',NULL,NULL,56,0,NULL,'2016-01-06 22:23:13'),(31,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'deforest.carlos@fakemail.co.pl','deforest.carlos@fakemail.co.pl',NULL,NULL,NULL,NULL,NULL,'Both','294373545',NULL,'Sample Data',NULL,NULL,NULL,3,NULL,NULL,NULL,1,NULL,'Dear deforest.carlos@fakemail.co.pl',1,NULL,'Dear deforest.carlos@fakemail.co.pl',1,NULL,'deforest.carlos@fakemail.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(32,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Valene','Valene Wilson',NULL,NULL,NULL,NULL,NULL,'Both','40219008',NULL,'Sample Data','Valene','','Wilson',NULL,NULL,NULL,NULL,1,NULL,'Dear Valene',1,NULL,'Dear Valene',1,NULL,'Valene Wilson',NULL,1,'1968-02-18',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(33,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Olsen, Ivey','Ivey Olsen',NULL,NULL,NULL,'3',NULL,'Both','1507615018',NULL,'Sample Data','Ivey','','Olsen',NULL,NULL,NULL,NULL,1,NULL,'Dear Ivey',1,NULL,'Dear Ivey',1,NULL,'Ivey Olsen',NULL,1,'1973-05-28',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(34,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Olsen, Omar','Omar Olsen Jr.',NULL,NULL,NULL,'2',NULL,'Both','2675601131',NULL,'Sample Data','Omar','R','Olsen',NULL,1,NULL,NULL,1,NULL,'Dear Omar',1,NULL,'Dear Omar',1,NULL,'Omar Olsen Jr.',NULL,NULL,NULL,0,NULL,NULL,NULL,'Florida Literacy Fund',NULL,NULL,36,0,NULL,'2016-01-06 22:23:13'),(35,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Grant, Jackson','Dr. Jackson Grant Jr.',NULL,NULL,NULL,NULL,NULL,'Both','4087160842',NULL,'Sample Data','Jackson','','Grant',4,1,NULL,NULL,1,NULL,'Dear Jackson',1,NULL,'Dear Jackson',1,NULL,'Dr. Jackson Grant Jr.',NULL,2,'1981-08-23',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(36,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Florida Literacy Fund','Florida Literacy Fund',NULL,NULL,NULL,NULL,NULL,'Both','2977757134',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Florida Literacy Fund',NULL,NULL,NULL,0,NULL,NULL,34,'Florida Literacy Fund',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(37,'Individual',NULL,1,1,0,0,1,0,NULL,NULL,'Jensen-Nielsen, Jacob','Jacob Jensen-Nielsen',NULL,NULL,NULL,NULL,NULL,'Both','4105259043',NULL,'Sample Data','Jacob','','Jensen-Nielsen',NULL,NULL,NULL,NULL,1,NULL,'Dear Jacob',1,NULL,'Dear Jacob',1,NULL,'Jacob Jensen-Nielsen',NULL,NULL,'2006-12-09',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(38,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Jensen-Wattson family','Jensen-Wattson family',NULL,NULL,NULL,NULL,NULL,'Both','1044999088',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Jensen-Wattson family',5,NULL,'Dear Jensen-Wattson family',2,NULL,'Jensen-Wattson family',NULL,NULL,NULL,0,NULL,'Jensen-Wattson family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(39,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Jensen-Wattson, Eleonor','Eleonor Jensen-Wattson',NULL,NULL,NULL,NULL,NULL,'Both','341204200',NULL,'Sample Data','Eleonor','','Jensen-Wattson',NULL,NULL,NULL,NULL,1,NULL,'Dear Eleonor',1,NULL,'Dear Eleonor',1,NULL,'Eleonor Jensen-Wattson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(40,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'mz.wilson15@testmail.co.in','mz.wilson15@testmail.co.in',NULL,NULL,NULL,'5',NULL,'Both','868525066',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear mz.wilson15@testmail.co.in',1,NULL,'Dear mz.wilson15@testmail.co.in',1,NULL,'mz.wilson15@testmail.co.in',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(41,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'McReynolds, Damaris','Damaris McReynolds',NULL,NULL,NULL,NULL,NULL,'Both','2561970052',NULL,'Sample Data','Damaris','Q','McReynolds',NULL,NULL,NULL,NULL,1,NULL,'Dear Damaris',1,NULL,'Dear Damaris',1,NULL,'Damaris McReynolds',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(42,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Müller, Shauna','Shauna Müller',NULL,NULL,NULL,NULL,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,'1978-08-02',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(43,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Wilson, Mei','Mei Wilson',NULL,NULL,NULL,'3',NULL,'Both','819844514',NULL,'Sample Data','Mei','','Wilson',NULL,NULL,NULL,NULL,1,NULL,'Dear Mei',1,NULL,'Dear Mei',1,NULL,'Mei Wilson',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(44,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Zope, Megan','Megan Zope',NULL,NULL,NULL,'5',NULL,'Both','2173436080',NULL,'Sample Data','Megan','','Zope',NULL,NULL,NULL,NULL,1,NULL,'Dear Megan',1,NULL,'Dear Megan',1,NULL,'Megan Zope',NULL,1,NULL,0,NULL,NULL,NULL,'Global Environmental Partners',NULL,NULL,89,0,NULL,'2016-01-06 22:23:13'),(45,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Brzęczysław','Brzęczysław Wilson',NULL,NULL,NULL,'4',NULL,'Both','3486308553',NULL,'Sample Data','Brzęczysław','K','Wilson',NULL,NULL,NULL,NULL,1,NULL,'Dear Brzęczysław',1,NULL,'Dear Brzęczysław',1,NULL,'Brzęczysław Wilson',NULL,2,'2003-07-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(46,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'raychowski@mymail.co.pl','raychowski@mymail.co.pl',NULL,NULL,NULL,'5',NULL,'Both','448763821',NULL,'Sample Data',NULL,NULL,NULL,4,NULL,NULL,NULL,1,NULL,'Dear raychowski@mymail.co.pl',1,NULL,'Dear raychowski@mymail.co.pl',1,NULL,'raychowski@mymail.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(47,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Parker-Díaz, Tanya','Tanya Parker-Díaz',NULL,NULL,NULL,NULL,NULL,'Both','932887217',NULL,'Sample Data','Tanya','','Parker-Díaz',NULL,NULL,NULL,NULL,1,NULL,'Dear Tanya',1,NULL,'Dear Tanya',1,NULL,'Tanya Parker-Díaz',NULL,1,'1947-01-18',0,NULL,NULL,NULL,'Florida Family Center',NULL,NULL,115,0,NULL,'2016-01-06 22:23:13'),(48,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Barkley, Lou','Lou Barkley',NULL,NULL,NULL,'3',NULL,'Both','1999867359',NULL,'Sample Data','Lou','M','Barkley',NULL,NULL,NULL,NULL,1,NULL,'Dear Lou',1,NULL,'Dear Lou',1,NULL,'Lou Barkley',NULL,NULL,'1956-06-23',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(49,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Dimitrov, Shauna','Shauna Dimitrov',NULL,NULL,NULL,'2',NULL,'Both','3774422289',NULL,'Sample Data','Shauna','N','Dimitrov',NULL,NULL,NULL,NULL,1,NULL,'Dear Shauna',1,NULL,'Dear Shauna',1,NULL,'Shauna Dimitrov',NULL,NULL,'1999-07-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(50,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Wattson, Felisha','Ms. Felisha Wattson',NULL,NULL,NULL,'4',NULL,'Both','3441247196',NULL,'Sample Data','Felisha','O','Wattson',2,NULL,NULL,NULL,1,NULL,'Dear Felisha',1,NULL,'Dear Felisha',1,NULL,'Ms. Felisha Wattson',NULL,1,'1987-12-01',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(51,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Roberts, Laree','Laree Roberts',NULL,NULL,NULL,'3',NULL,'Both','3314820485',NULL,'Sample Data','Laree','','Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Laree',1,NULL,'Dear Laree',1,NULL,'Laree Roberts',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(52,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Pennsylvania Technology School','Pennsylvania Technology School',NULL,NULL,NULL,'3',NULL,'Both','347449904',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Pennsylvania Technology School',NULL,NULL,NULL,0,NULL,NULL,124,'Pennsylvania Technology School',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(53,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Nielsen, Andrew','Andrew Nielsen',NULL,NULL,NULL,'5',NULL,'Both','2655191237',NULL,'Sample Data','Andrew','X','Nielsen',NULL,NULL,NULL,NULL,1,NULL,'Dear Andrew',1,NULL,'Dear Andrew',1,NULL,'Andrew Nielsen',NULL,2,'1931-10-23',1,'2015-01-28',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(54,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Rural Sports Partners','Rural Sports Partners',NULL,NULL,NULL,'1',NULL,'Both','1025429892',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Rural Sports Partners',NULL,NULL,NULL,0,NULL,NULL,112,'Rural Sports Partners',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(55,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Łąchowski, Ashlie','Ashlie Łąchowski',NULL,NULL,NULL,NULL,NULL,'Both','3338606881',NULL,'Sample Data','Ashlie','L','Łąchowski',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashlie',1,NULL,'Dear Ashlie',1,NULL,'Ashlie Łąchowski',NULL,1,'1996-09-09',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(56,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Second Culture School','Second Culture School',NULL,NULL,NULL,NULL,NULL,'Both','542656891',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Second Culture School',NULL,NULL,NULL,0,NULL,NULL,30,'Second Culture School',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(57,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Adams, Omar','Mr. Omar Adams',NULL,NULL,NULL,'5',NULL,'Both','2298579285',NULL,'Sample Data','Omar','N','Adams',3,NULL,NULL,NULL,1,NULL,'Dear Omar',1,NULL,'Dear Omar',1,NULL,'Mr. Omar Adams',NULL,2,NULL,1,'2015-05-04',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(58,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Jensen-Nielsen family','Jensen-Nielsen family',NULL,NULL,NULL,'2',NULL,'Both','3121116530',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Jensen-Nielsen family',5,NULL,'Dear Jensen-Nielsen family',2,NULL,'Jensen-Nielsen family',NULL,NULL,NULL,0,NULL,'Jensen-Nielsen family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(59,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Wattson, Rebekah','Rebekah Wattson',NULL,NULL,NULL,NULL,NULL,'Both','289475581',NULL,'Sample Data','Rebekah','H','Wattson',NULL,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Rebekah Wattson',NULL,NULL,'1957-12-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(60,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Grant, Merrie','Ms. Merrie Grant',NULL,NULL,NULL,'4',NULL,'Both','1746149346',NULL,'Sample Data','Merrie','','Grant',2,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Ms. Merrie Grant',NULL,NULL,'1946-06-25',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(61,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Jameson, Elizabeth','Mrs. Elizabeth Jameson',NULL,NULL,NULL,'5',NULL,'Both','324666225',NULL,'Sample Data','Elizabeth','','Jameson',1,NULL,NULL,NULL,1,NULL,'Dear Elizabeth',1,NULL,'Dear Elizabeth',1,NULL,'Mrs. Elizabeth Jameson',NULL,NULL,'1994-10-17',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(62,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Nielsen, Valene','Valene Nielsen',NULL,NULL,NULL,'4',NULL,'Both','3461386414',NULL,'Sample Data','Valene','','Nielsen',NULL,NULL,NULL,NULL,1,NULL,'Dear Valene',1,NULL,'Dear Valene',1,NULL,'Valene Nielsen',NULL,1,'1958-05-20',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(63,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jones, Roland','Roland Jones Sr.',NULL,NULL,NULL,'2',NULL,'Both','2619785805',NULL,'Sample Data','Roland','','Jones',NULL,2,NULL,NULL,1,NULL,'Dear Roland',1,NULL,'Dear Roland',1,NULL,'Roland Jones Sr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(64,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Shauna','Mrs. Shauna Robertson',NULL,NULL,NULL,NULL,NULL,'Both','2123826543',NULL,'Sample Data','Shauna','','Robertson',1,NULL,NULL,NULL,1,NULL,'Dear Shauna',1,NULL,'Dear Shauna',1,NULL,'Mrs. Shauna Robertson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(65,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jensen-Nielsen, Ashley','Ashley Jensen-Nielsen',NULL,NULL,NULL,'3',NULL,'Both','3014229393',NULL,'Sample Data','Ashley','I','Jensen-Nielsen',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Ashley Jensen-Nielsen',NULL,1,'2004-02-10',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(66,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Idaho Software Systems','Idaho Software Systems',NULL,NULL,NULL,NULL,NULL,'Both','3157945083',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Idaho Software Systems',NULL,NULL,NULL,0,NULL,NULL,17,'Idaho Software Systems',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(67,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Friends Music Academy','Friends Music Academy',NULL,NULL,NULL,'5',NULL,'Both','2929755052',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Friends Music Academy',NULL,NULL,NULL,0,NULL,NULL,NULL,'Friends Music Academy',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(68,'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,NULL,'2016-01-06 22:23:13'),(69,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jensen-Wattson, Eleonor','Dr. Eleonor Jensen-Wattson',NULL,NULL,NULL,'3',NULL,'Both','341204200',NULL,'Sample Data','Eleonor','A','Jensen-Wattson',4,NULL,NULL,NULL,1,NULL,'Dear Eleonor',1,NULL,'Dear Eleonor',1,NULL,'Dr. Eleonor Jensen-Wattson',NULL,1,'1988-04-12',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(70,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell, Carlos','Carlos Terrell III',NULL,NULL,NULL,'4',NULL,'Both','2130082917',NULL,'Sample Data','Carlos','Z','Terrell',NULL,4,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Carlos Terrell III',NULL,2,'1983-05-22',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(71,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Yadav, Beula','Beula Yadav',NULL,NULL,NULL,'5',NULL,'Both','852214760',NULL,'Sample Data','Beula','E','Yadav',NULL,NULL,NULL,NULL,1,NULL,'Dear Beula',1,NULL,'Dear Beula',1,NULL,'Beula Yadav',NULL,NULL,'1980-05-25',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(72,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Jameson family','Jameson family',NULL,NULL,NULL,NULL,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,NULL,'2016-01-06 22:23:13'),(73,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'ro.chowski70@sample.co.pl','ro.chowski70@sample.co.pl',NULL,NULL,NULL,'3',NULL,'Both','1930230796',NULL,'Sample Data',NULL,NULL,NULL,NULL,3,NULL,NULL,1,NULL,'Dear ro.chowski70@sample.co.pl',1,NULL,'Dear ro.chowski70@sample.co.pl',1,NULL,'ro.chowski70@sample.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(74,'Household',NULL,0,1,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,NULL,'2016-01-06 22:23:13'),(75,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest, Irvin','Irvin Deforest',NULL,NULL,NULL,'5',NULL,'Both','3462644377',NULL,'Sample Data','Irvin','','Deforest',NULL,NULL,NULL,NULL,1,NULL,'Dear Irvin',1,NULL,'Dear Irvin',1,NULL,'Irvin Deforest',NULL,NULL,'1980-09-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(76,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Wilson, Erik','Erik Wilson',NULL,NULL,NULL,'1',NULL,'Both','3965179222',NULL,'Sample Data','Erik','','Wilson',NULL,NULL,NULL,NULL,1,NULL,'Dear Erik',1,NULL,'Dear Erik',1,NULL,'Erik Wilson',NULL,NULL,NULL,1,'2015-12-09',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(77,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Smith, Nicole','Nicole Smith',NULL,NULL,NULL,'5',NULL,'Both','1624607505',NULL,'Sample Data','Nicole','P','Smith',NULL,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Nicole Smith',NULL,1,'1979-05-15',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(78,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Jensen, Andrew','Mr. Andrew Jensen',NULL,NULL,NULL,NULL,NULL,'Both','3801995889',NULL,'Sample Data','Andrew','','Jensen',3,NULL,NULL,NULL,1,NULL,'Dear Andrew',1,NULL,'Dear Andrew',1,NULL,'Mr. Andrew Jensen',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(79,'Organization',NULL,1,1,0,0,0,0,NULL,NULL,'Sierra Education Initiative','Sierra Education Initiative',NULL,NULL,NULL,'4',NULL,'Both','634416133',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Sierra Education Initiative',NULL,NULL,NULL,0,NULL,NULL,NULL,'Sierra Education Initiative',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(80,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'McReynolds, Irvin','Dr. Irvin McReynolds',NULL,NULL,NULL,'1',NULL,'Both','3128377290',NULL,'Sample Data','Irvin','C','McReynolds',4,NULL,NULL,NULL,1,NULL,'Dear Irvin',1,NULL,'Dear Irvin',1,NULL,'Dr. Irvin McReynolds',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(81,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Grant, Allan','Dr. Allan Grant',NULL,NULL,NULL,NULL,NULL,'Both','2534249041',NULL,'Sample Data','Allan','','Grant',4,NULL,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Dr. Allan Grant',NULL,NULL,'1986-11-03',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(82,'Organization',NULL,1,0,0,0,1,0,NULL,NULL,'North Carolina Software Partners','North Carolina Software Partners',NULL,NULL,NULL,NULL,NULL,'Both','3966005175',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'North Carolina Software Partners',NULL,NULL,NULL,0,NULL,NULL,133,'North Carolina Software Partners',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(83,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wagner, Irvin','Dr. Irvin Wagner III',NULL,NULL,NULL,'5',NULL,'Both','1394032144',NULL,'Sample Data','Irvin','','Wagner',4,4,NULL,NULL,1,NULL,'Dear Irvin',1,NULL,'Dear Irvin',1,NULL,'Dr. Irvin Wagner III',NULL,2,'1975-06-20',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(84,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Nielsen, Clint','Clint Nielsen',NULL,NULL,NULL,NULL,NULL,'Both','2083087169',NULL,'Sample Data','Clint','','Nielsen',NULL,NULL,NULL,NULL,1,NULL,'Dear Clint',1,NULL,'Dear Clint',1,NULL,'Clint Nielsen',NULL,2,'1982-08-08',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(85,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Omar','Omar Wattson',NULL,NULL,NULL,NULL,NULL,'Both','2457180487',NULL,'Sample Data','Omar','Q','Wattson',NULL,NULL,NULL,NULL,1,NULL,'Dear Omar',1,NULL,'Dear Omar',1,NULL,'Omar Wattson',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(86,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samson, Allen','Mr. Allen Samson Jr.',NULL,NULL,NULL,NULL,NULL,'Both','551135847',NULL,'Sample Data','Allen','U','Samson',3,1,NULL,NULL,1,NULL,'Dear Allen',1,NULL,'Dear Allen',1,NULL,'Mr. Allen Samson Jr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(87,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'alidacooper@airmail.biz','alidacooper@airmail.biz',NULL,NULL,NULL,'1',NULL,'Both','3734754853',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear alidacooper@airmail.biz',1,NULL,'Dear alidacooper@airmail.biz',1,NULL,'alidacooper@airmail.biz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(88,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Patel, Margaret','Mrs. Margaret Patel',NULL,NULL,NULL,NULL,NULL,'Both','1725329639',NULL,'Sample Data','Margaret','E','Patel',1,NULL,NULL,NULL,1,NULL,'Dear Margaret',1,NULL,'Dear Margaret',1,NULL,'Mrs. Margaret Patel',NULL,1,'1985-01-10',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(89,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'Global Environmental Partners','Global Environmental Partners',NULL,NULL,NULL,NULL,NULL,'Both','566295677',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Global Environmental Partners',NULL,NULL,NULL,0,NULL,NULL,44,'Global Environmental Partners',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(90,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Olsen, Eleonor','Eleonor Olsen',NULL,NULL,NULL,NULL,NULL,'Both','933240060',NULL,'Sample Data','Eleonor','V','Olsen',NULL,NULL,NULL,NULL,1,NULL,'Dear Eleonor',1,NULL,'Dear Eleonor',1,NULL,'Eleonor Olsen',NULL,NULL,'1984-06-24',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(91,'Organization',NULL,0,1,0,0,0,0,NULL,NULL,'Main Family Network','Main Family Network',NULL,NULL,NULL,NULL,NULL,'Both','2154149143',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Main Family Network',NULL,NULL,NULL,0,NULL,NULL,172,'Main Family Network',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(92,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Terrell, Ashley','Ashley Terrell',NULL,NULL,NULL,NULL,NULL,'Both','209760227',NULL,'Sample Data','Ashley','E','Terrell',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Ashley Terrell',NULL,NULL,'2001-12-19',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(93,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Parker, Merrie','Mrs. Merrie Parker',NULL,NULL,NULL,'2',NULL,'Both','3944654315',NULL,'Sample Data','Merrie','V','Parker',1,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Mrs. Merrie Parker',NULL,1,'1983-10-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(94,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Deforest, Heidi','Ms. Heidi Deforest',NULL,NULL,NULL,'1',NULL,'Both','41782188',NULL,'Sample Data','Heidi','','Deforest',2,NULL,NULL,NULL,1,NULL,'Dear Heidi',1,NULL,'Dear Heidi',1,NULL,'Ms. Heidi Deforest',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(95,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Kenney Literacy Systems','Kenney Literacy Systems',NULL,NULL,NULL,'4',NULL,'Both','1816434004',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Kenney Literacy Systems',NULL,NULL,NULL,0,NULL,NULL,NULL,'Kenney Literacy Systems',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(96,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Global Education Services','Global Education Services',NULL,NULL,NULL,'1',NULL,'Both','3545214926',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Global Education Services',NULL,NULL,NULL,0,NULL,NULL,8,'Global Education Services',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(97,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Ivanov-Roberts, Rebekah','Rebekah Ivanov-Roberts',NULL,NULL,NULL,NULL,NULL,'Both','896620719',NULL,'Sample Data','Rebekah','N','Ivanov-Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Rebekah Ivanov-Roberts',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(98,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'González, Heidi','Heidi González',NULL,NULL,NULL,'3',NULL,'Both','2229277',NULL,'Sample Data','Heidi','G','González',NULL,NULL,NULL,NULL,1,NULL,'Dear Heidi',1,NULL,'Dear Heidi',1,NULL,'Heidi González',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(99,'Household',NULL,1,0,0,0,0,0,NULL,NULL,'Samuels family','Samuels family',NULL,NULL,NULL,NULL,NULL,'Both','350459294',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Samuels family',5,NULL,'Dear Samuels family',2,NULL,'Samuels family',NULL,NULL,NULL,0,NULL,'Samuels family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(100,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Grant, Angelika','Angelika Grant',NULL,NULL,NULL,'2',NULL,'Both','4136801675',NULL,'Sample Data','Angelika','W','Grant',NULL,NULL,NULL,NULL,1,NULL,'Dear Angelika',1,NULL,'Dear Angelika',1,NULL,'Angelika Grant',NULL,1,'1961-02-14',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(101,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Díaz, Rolando','Dr. Rolando Díaz',NULL,NULL,NULL,'5',NULL,'Both','775772314',NULL,'Sample Data','Rolando','H','Díaz',4,NULL,NULL,NULL,1,NULL,'Dear Rolando',1,NULL,'Dear Rolando',1,NULL,'Dr. Rolando Díaz',NULL,2,'1940-01-02',1,'2015-05-02',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(102,'Household',NULL,1,0,0,0,0,0,NULL,NULL,'Olsen family','Olsen family',NULL,NULL,NULL,NULL,NULL,'Both','1990073228',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Olsen family',5,NULL,'Dear Olsen family',2,NULL,'Olsen family',NULL,NULL,NULL,0,NULL,'Olsen family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(103,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Bachman, Princess','Dr. Princess Bachman',NULL,NULL,NULL,'4',NULL,'Both','2581077622',NULL,'Sample Data','Princess','O','Bachman',4,NULL,NULL,NULL,1,NULL,'Dear Princess',1,NULL,'Dear Princess',1,NULL,'Dr. Princess Bachman',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(104,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Müller, Toby','Toby Müller Jr.',NULL,NULL,NULL,'3',NULL,'Both','3713504892',NULL,'Sample Data','Toby','','Müller',NULL,1,NULL,NULL,1,NULL,'Dear Toby',1,NULL,'Dear Toby',1,NULL,'Toby Müller Jr.',NULL,NULL,'2003-11-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(105,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Deforest, Maxwell','Maxwell Deforest',NULL,NULL,NULL,NULL,NULL,'Both','1808949889',NULL,'Sample Data','Maxwell','Y','Deforest',NULL,NULL,NULL,NULL,1,NULL,'Dear Maxwell',1,NULL,'Dear Maxwell',1,NULL,'Maxwell Deforest',NULL,2,'1964-12-07',1,'2015-06-16',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(106,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson-Ivanov, Herminia','Mrs. Herminia Wilson-Ivanov',NULL,NULL,NULL,'3',NULL,'Both','357358295',NULL,'Sample Data','Herminia','','Wilson-Ivanov',1,NULL,NULL,NULL,1,NULL,'Dear Herminia',1,NULL,'Dear Herminia',1,NULL,'Mrs. Herminia Wilson-Ivanov',NULL,1,'1948-03-30',1,'2015-06-25',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(107,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Kathleen','Mrs. Kathleen Wilson',NULL,NULL,NULL,NULL,NULL,'Both','773746752',NULL,'Sample Data','Kathleen','N','Wilson',1,NULL,NULL,NULL,1,NULL,'Dear Kathleen',1,NULL,'Dear Kathleen',1,NULL,'Mrs. Kathleen Wilson',NULL,1,'1943-12-04',1,'2015-03-03',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(108,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Parker, Josefa','Josefa Parker',NULL,NULL,NULL,NULL,NULL,'Both','2643167156',NULL,'Sample Data','Josefa','','Parker',NULL,NULL,NULL,NULL,1,NULL,'Dear Josefa',1,NULL,'Dear Josefa',1,NULL,'Josefa Parker',NULL,1,'1991-04-08',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(109,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jensen, Claudio','Claudio Jensen Jr.',NULL,NULL,NULL,NULL,NULL,'Both','1913396535',NULL,'Sample Data','Claudio','','Jensen',NULL,1,NULL,NULL,1,NULL,'Dear Claudio',1,NULL,'Dear Claudio',1,NULL,'Claudio Jensen Jr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(110,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Ivanov, Lawerence','Lawerence Ivanov Jr.',NULL,NULL,NULL,'3',NULL,'Both','268329993',NULL,'Sample Data','Lawerence','A','Ivanov',NULL,1,NULL,NULL,1,NULL,'Dear Lawerence',1,NULL,'Dear Lawerence',1,NULL,'Lawerence Ivanov Jr.',NULL,2,'1979-08-13',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(111,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Díaz, Herminia','Herminia Díaz',NULL,NULL,NULL,'5',NULL,'Both','2340298735',NULL,'Sample Data','Herminia','F','Díaz',NULL,NULL,NULL,NULL,1,NULL,'Dear Herminia',1,NULL,'Dear Herminia',1,NULL,'Herminia Díaz',NULL,1,'1978-01-21',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(112,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Grant, Juliann','Juliann Grant',NULL,NULL,NULL,NULL,NULL,'Both','1161460098',NULL,'Sample Data','Juliann','','Grant',NULL,NULL,NULL,NULL,1,NULL,'Dear Juliann',1,NULL,'Dear Juliann',1,NULL,'Juliann Grant',NULL,NULL,NULL,1,'2015-09-09',NULL,NULL,'Rural Sports Partners',NULL,NULL,54,0,NULL,'2016-01-06 22:23:13'),(113,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'merrieparker@mymail.co.uk','merrieparker@mymail.co.uk',NULL,NULL,NULL,NULL,NULL,'Both','3526472135',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear merrieparker@mymail.co.uk',1,NULL,'Dear merrieparker@mymail.co.uk',1,NULL,'merrieparker@mymail.co.uk',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(114,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson-Barkley, Angelika','Angelika Wilson-Barkley',NULL,NULL,NULL,NULL,NULL,'Both','1410361762',NULL,'Sample Data','Angelika','W','Wilson-Barkley',NULL,NULL,NULL,NULL,1,NULL,'Dear Angelika',1,NULL,'Dear Angelika',1,NULL,'Angelika Wilson-Barkley',NULL,NULL,NULL,0,NULL,NULL,NULL,'Mooresburg Health Solutions',NULL,NULL,119,0,NULL,'2016-01-06 22:23:13'),(115,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Florida Family Center','Florida Family Center',NULL,NULL,NULL,NULL,NULL,'Both','3129037761',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Florida Family Center',NULL,NULL,NULL,0,NULL,NULL,47,'Florida Family Center',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(116,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Grant, Daren','Daren Grant',NULL,NULL,NULL,NULL,NULL,'Both','3746795138',NULL,'Sample Data','Daren','N','Grant',NULL,NULL,NULL,NULL,1,NULL,'Dear Daren',1,NULL,'Dear Daren',1,NULL,'Daren Grant',NULL,2,'1971-01-06',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(117,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Samson, Nicole','Ms. Nicole Samson',NULL,NULL,NULL,'1',NULL,'Both','1649974700',NULL,'Sample Data','Nicole','','Samson',2,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Ms. Nicole Samson',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(118,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Prentice, Shad','Shad Prentice',NULL,NULL,NULL,NULL,NULL,'Both','237577358',NULL,'Sample Data','Shad','','Prentice',NULL,NULL,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Shad Prentice',NULL,2,'1980-01-04',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(119,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Mooresburg Health Solutions','Mooresburg Health Solutions',NULL,NULL,NULL,'5',NULL,'Both','1754750469',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Mooresburg Health Solutions',NULL,NULL,NULL,0,NULL,NULL,114,'Mooresburg Health Solutions',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(120,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Wattson, Sharyn','Sharyn Wattson',NULL,NULL,NULL,'2',NULL,'Both','2670834136',NULL,'Sample Data','Sharyn','','Wattson',NULL,NULL,NULL,NULL,1,NULL,'Dear Sharyn',1,NULL,'Dear Sharyn',1,NULL,'Sharyn Wattson',NULL,1,'1980-08-20',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(121,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Bachman, Brent','Brent Bachman Jr.',NULL,NULL,NULL,NULL,NULL,'Both','3003967308',NULL,'Sample Data','Brent','Q','Bachman',NULL,1,NULL,NULL,1,NULL,'Dear Brent',1,NULL,'Dear Brent',1,NULL,'Brent Bachman Jr.',NULL,2,'1994-10-03',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(122,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Parker, Laree','Laree Parker',NULL,NULL,NULL,'2',NULL,'Both','2714686172',NULL,'Sample Data','Laree','C','Parker',NULL,NULL,NULL,NULL,1,NULL,'Dear Laree',1,NULL,'Dear Laree',1,NULL,'Laree Parker',NULL,NULL,'1974-07-12',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(123,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Olsen, Carylon','Ms. Carylon Olsen',NULL,NULL,NULL,NULL,NULL,'Both','1490678248',NULL,'Sample Data','Carylon','','Olsen',2,NULL,NULL,NULL,1,NULL,'Dear Carylon',1,NULL,'Dear Carylon',1,NULL,'Ms. Carylon Olsen',NULL,1,'1989-06-27',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(124,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Olsen, Elbert','Elbert Olsen',NULL,NULL,NULL,NULL,NULL,'Both','2334086497',NULL,'Sample Data','Elbert','','Olsen',NULL,NULL,NULL,NULL,1,NULL,'Dear Elbert',1,NULL,'Dear Elbert',1,NULL,'Elbert Olsen',NULL,2,'1969-02-03',0,NULL,NULL,NULL,'Pennsylvania Technology School',NULL,NULL,52,0,NULL,'2016-01-06 22:23:13'),(125,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Wagner family','Wagner family',NULL,NULL,NULL,'3',NULL,'Both','1570966486',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Wagner family',5,NULL,'Dear Wagner family',2,NULL,'Wagner family',NULL,NULL,NULL,0,NULL,'Wagner family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(126,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Dimitrov, Ivey','Dr. Ivey Dimitrov',NULL,NULL,NULL,NULL,NULL,'Both','213135889',NULL,'Sample Data','Ivey','','Dimitrov',4,NULL,NULL,NULL,1,NULL,'Dear Ivey',1,NULL,'Dear Ivey',1,NULL,'Dr. Ivey Dimitrov',NULL,NULL,'1970-09-15',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(127,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Main Empowerment Network','Main Empowerment Network',NULL,NULL,NULL,NULL,NULL,'Both','2693104173',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Main Empowerment Network',NULL,NULL,NULL,0,NULL,NULL,159,'Main Empowerment Network',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(128,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'prentice.brittney34@example.com','prentice.brittney34@example.com',NULL,NULL,NULL,'3',NULL,'Both','1491158934',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear prentice.brittney34@example.com',1,NULL,'Dear prentice.brittney34@example.com',1,NULL,'prentice.brittney34@example.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(129,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jones, Allan','Allan Jones',NULL,NULL,NULL,NULL,NULL,'Both','358340154',NULL,'Sample Data','Allan','I','Jones',NULL,NULL,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Allan Jones',NULL,2,'1935-05-16',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(130,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Robertson, Felisha','Mrs. Felisha Robertson',NULL,NULL,NULL,NULL,NULL,'Both','2615104196',NULL,'Sample Data','Felisha','R','Robertson',1,NULL,NULL,NULL,1,NULL,'Dear Felisha',1,NULL,'Dear Felisha',1,NULL,'Mrs. Felisha Robertson',NULL,1,'1969-06-05',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(131,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'McReynolds, Carylon','Carylon McReynolds',NULL,NULL,NULL,'5',NULL,'Both','166365964',NULL,'Sample Data','Carylon','','McReynolds',NULL,NULL,NULL,NULL,1,NULL,'Dear Carylon',1,NULL,'Dear Carylon',1,NULL,'Carylon McReynolds',NULL,NULL,'1977-03-02',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(132,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Adams, Daren','Dr. Daren Adams',NULL,NULL,NULL,NULL,NULL,'Both','1164251190',NULL,'Sample Data','Daren','E','Adams',4,NULL,NULL,NULL,1,NULL,'Dear Daren',1,NULL,'Dear Daren',1,NULL,'Dr. Daren Adams',NULL,2,'1927-10-30',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(133,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terry, Mei','Mei Terry',NULL,NULL,NULL,NULL,NULL,'Both','210482431',NULL,'Sample Data','Mei','U','Terry',NULL,NULL,NULL,NULL,1,NULL,'Dear Mei',1,NULL,'Dear Mei',1,NULL,'Mei Terry',NULL,NULL,'1956-03-17',0,NULL,NULL,NULL,'North Carolina Software Partners',NULL,NULL,82,0,NULL,'2016-01-06 22:23:13'),(134,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'lee.bob@airmail.com','lee.bob@airmail.com',NULL,NULL,NULL,NULL,NULL,'Both','541505426',NULL,'Sample Data',NULL,NULL,NULL,3,2,NULL,NULL,1,NULL,'Dear lee.bob@airmail.com',1,NULL,'Dear lee.bob@airmail.com',1,NULL,'lee.bob@airmail.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(135,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Cooper, Ashlie','Ashlie Cooper',NULL,NULL,NULL,'1',NULL,'Both','2771748009',NULL,'Sample Data','Ashlie','','Cooper',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashlie',1,NULL,'Dear Ashlie',1,NULL,'Ashlie Cooper',NULL,NULL,'1997-03-13',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(136,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Díaz, Jacob','Jacob Díaz',NULL,NULL,NULL,'5',NULL,'Both','3488947578',NULL,'Sample Data','Jacob','','Díaz',NULL,NULL,NULL,NULL,1,NULL,'Dear Jacob',1,NULL,'Dear Jacob',1,NULL,'Jacob Díaz',NULL,2,'2000-02-08',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(137,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Parker family','Parker family',NULL,NULL,NULL,'4',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,NULL,'2016-01-06 22:23:13'),(138,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Barkley family','Barkley family',NULL,NULL,NULL,'3',NULL,'Both','2888062109',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Barkley family',5,NULL,'Dear Barkley family',2,NULL,'Barkley family',NULL,NULL,NULL,0,NULL,'Barkley family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(139,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Barkley, Heidi','Heidi Barkley',NULL,NULL,NULL,'3',NULL,'Both','1854810222',NULL,'Sample Data','Heidi','','Barkley',NULL,NULL,NULL,NULL,1,NULL,'Dear Heidi',1,NULL,'Dear Heidi',1,NULL,'Heidi Barkley',NULL,1,'1976-09-12',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(140,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'jameson.rolando@lol.net','jameson.rolando@lol.net',NULL,NULL,NULL,'5',NULL,'Both','1250641992',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear jameson.rolando@lol.net',1,NULL,'Dear jameson.rolando@lol.net',1,NULL,'jameson.rolando@lol.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(141,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Ivanov, Barry','Barry Ivanov II',NULL,NULL,NULL,'1',NULL,'Both','2218258895',NULL,'Sample Data','Barry','','Ivanov',NULL,3,NULL,NULL,1,NULL,'Dear Barry',1,NULL,'Dear Barry',1,NULL,'Barry Ivanov II',NULL,2,NULL,1,'2015-03-21',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(142,'Household',NULL,1,0,0,0,1,0,NULL,NULL,'McReynolds family','McReynolds family',NULL,NULL,NULL,'3',NULL,'Both','3032680972',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear McReynolds family',5,NULL,'Dear McReynolds family',2,NULL,'McReynolds family',NULL,NULL,NULL,0,NULL,'McReynolds family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(143,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Łąchowski, Omar','Omar Łąchowski Sr.',NULL,NULL,NULL,NULL,NULL,'Both','3249212023',NULL,'Sample Data','Omar','V','Łąchowski',NULL,2,NULL,NULL,1,NULL,'Dear Omar',1,NULL,'Dear Omar',1,NULL,'Omar Łąchowski Sr.',NULL,2,'1948-03-06',1,'2015-04-25',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(144,'Individual',NULL,1,1,0,0,1,0,NULL,NULL,'Cooper, Brigette','Ms. Brigette Cooper',NULL,NULL,NULL,NULL,NULL,'Both','1627670122',NULL,'Sample Data','Brigette','D','Cooper',2,NULL,NULL,NULL,1,NULL,'Dear Brigette',1,NULL,'Dear Brigette',1,NULL,'Ms. Brigette Cooper',NULL,1,'1967-08-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(145,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Grant, Toby','Toby Grant Jr.',NULL,NULL,NULL,'1',NULL,'Both','944702831',NULL,'Sample Data','Toby','','Grant',NULL,1,NULL,NULL,1,NULL,'Dear Toby',1,NULL,'Dear Toby',1,NULL,'Toby Grant Jr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(146,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Terrell, Carylon','Carylon Terrell',NULL,NULL,NULL,'3',NULL,'Both','3327689936',NULL,'Sample Data','Carylon','G','Terrell',NULL,NULL,NULL,NULL,1,NULL,'Dear Carylon',1,NULL,'Dear Carylon',1,NULL,'Carylon Terrell',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(147,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Grant-Prentice, Magan','Mrs. Magan Grant-Prentice',NULL,NULL,NULL,NULL,NULL,'Both','3971545627',NULL,'Sample Data','Magan','I','Grant-Prentice',1,NULL,NULL,NULL,1,NULL,'Dear Magan',1,NULL,'Dear Magan',1,NULL,'Mrs. Magan Grant-Prentice',NULL,1,'1984-01-31',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(148,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Teddy','Dr. Teddy Robertson',NULL,NULL,NULL,NULL,NULL,'Both','3214459579',NULL,'Sample Data','Teddy','','Robertson',4,NULL,NULL,NULL,1,NULL,'Dear Teddy',1,NULL,'Dear Teddy',1,NULL,'Dr. Teddy Robertson',NULL,2,'1940-04-07',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(149,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Terrell, Shad','Shad Terrell III',NULL,NULL,NULL,'1',NULL,'Both','3876111966',NULL,'Sample Data','Shad','I','Terrell',NULL,4,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Shad Terrell III',NULL,NULL,'1969-11-03',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(150,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'Müller, Kacey','Ms. Kacey Müller',NULL,NULL,NULL,NULL,NULL,'Both','1198460062',NULL,'Sample Data','Kacey','A','Müller',2,NULL,NULL,NULL,1,NULL,'Dear Kacey',1,NULL,'Dear Kacey',1,NULL,'Ms. Kacey Müller',NULL,NULL,'1989-06-03',0,NULL,NULL,NULL,'College Culture Solutions',NULL,NULL,191,0,NULL,'2016-01-06 22:23:13'),(151,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Jacobs, Bob','Bob Jacobs Sr.',NULL,NULL,NULL,NULL,NULL,'Both','171700629',NULL,'Sample Data','Bob','C','Jacobs',NULL,2,NULL,NULL,1,NULL,'Dear Bob',1,NULL,'Dear Bob',1,NULL,'Bob Jacobs Sr.',NULL,2,'1957-12-24',1,'2015-02-16',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(152,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Nielsen, Junko','Junko Nielsen',NULL,NULL,NULL,'1',NULL,'Both','2926916105',NULL,'Sample Data','Junko','C','Nielsen',NULL,NULL,NULL,NULL,1,NULL,'Dear Junko',1,NULL,'Dear Junko',1,NULL,'Junko Nielsen',NULL,1,'2002-10-04',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(153,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Terrell, Alexia','Alexia Terrell',NULL,NULL,NULL,'1',NULL,'Both','3098323867',NULL,'Sample Data','Alexia','','Terrell',NULL,NULL,NULL,NULL,1,NULL,'Dear Alexia',1,NULL,'Dear Alexia',1,NULL,'Alexia Terrell',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(154,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Roberts, Jed','Dr. Jed Roberts Sr.',NULL,NULL,NULL,'4',NULL,'Both','1541419664',NULL,'Sample Data','Jed','H','Roberts',4,2,NULL,NULL,1,NULL,'Dear Jed',1,NULL,'Dear Jed',1,NULL,'Dr. Jed Roberts Sr.',NULL,2,'1955-06-17',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(155,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Robertson, Nicole','Nicole Robertson',NULL,NULL,NULL,'5',NULL,'Both','1918661932',NULL,'Sample Data','Nicole','','Robertson',NULL,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Nicole Robertson',NULL,1,'1949-09-30',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(156,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Olsen-Terrell, Heidi','Heidi Olsen-Terrell',NULL,NULL,NULL,'1',NULL,'Both','1425019010',NULL,'Sample Data','Heidi','W','Olsen-Terrell',NULL,NULL,NULL,NULL,1,NULL,'Dear Heidi',1,NULL,'Dear Heidi',1,NULL,'Heidi Olsen-Terrell',NULL,1,'1959-05-30',1,'2015-09-05',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(157,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Jensen, Carlos','Mr. Carlos Jensen III',NULL,NULL,NULL,'2',NULL,'Both','3008185857',NULL,'Sample Data','Carlos','G','Jensen',3,4,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Mr. Carlos Jensen III',NULL,NULL,NULL,1,'2015-10-09',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(158,'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,NULL,'2016-01-06 22:23:13'),(159,'Individual',NULL,0,1,0,0,1,0,NULL,NULL,'Parker, Kathleen','Kathleen Parker',NULL,NULL,NULL,'1',NULL,'Both','295233156',NULL,'Sample Data','Kathleen','','Parker',NULL,NULL,NULL,NULL,1,NULL,'Dear Kathleen',1,NULL,'Dear Kathleen',1,NULL,'Kathleen Parker',NULL,1,'1992-08-25',0,NULL,NULL,NULL,'Main Empowerment Network',NULL,NULL,127,0,NULL,'2016-01-06 22:23:13'),(160,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Global Software Network','Global Software Network',NULL,NULL,NULL,NULL,NULL,'Both','310362668',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Global Software Network',NULL,NULL,NULL,0,NULL,NULL,186,'Global Software Network',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(161,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Barkley, Junko','Ms. Junko Barkley',NULL,NULL,NULL,NULL,NULL,'Both','803439598',NULL,'Sample Data','Junko','U','Barkley',2,NULL,NULL,NULL,1,NULL,'Dear Junko',1,NULL,'Dear Junko',1,NULL,'Ms. Junko Barkley',NULL,1,'1974-03-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(162,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samuels, Norris','Mr. Norris Samuels Jr.',NULL,NULL,NULL,'3',NULL,'Both','729903079',NULL,'Sample Data','Norris','','Samuels',3,1,NULL,NULL,1,NULL,'Dear Norris',1,NULL,'Dear Norris',1,NULL,'Mr. Norris Samuels Jr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(163,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Adams, Maria','Dr. Maria Adams II',NULL,NULL,NULL,'5',NULL,'Both','1954488538',NULL,'Sample Data','Maria','Q','Adams',4,3,NULL,NULL,1,NULL,'Dear Maria',1,NULL,'Dear Maria',1,NULL,'Dr. Maria Adams II',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(164,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Deforest, Josefa','Josefa Deforest',NULL,NULL,NULL,'4',NULL,'Both','2303939746',NULL,'Sample Data','Josefa','Q','Deforest',NULL,NULL,NULL,NULL,1,NULL,'Dear Josefa',1,NULL,'Dear Josefa',1,NULL,'Josefa Deforest',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(165,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Parker, Ray','Mr. Ray Parker Jr.',NULL,NULL,NULL,NULL,NULL,'Both','2141757227',NULL,'Sample Data','Ray','N','Parker',3,1,NULL,NULL,1,NULL,'Dear Ray',1,NULL,'Dear Ray',1,NULL,'Mr. Ray Parker Jr.',NULL,NULL,NULL,1,'2015-08-07',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(166,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Deforest, Jay','Jay Deforest',NULL,NULL,NULL,NULL,NULL,'Both','3714093983',NULL,'Sample Data','Jay','','Deforest',NULL,NULL,NULL,NULL,1,NULL,'Dear Jay',1,NULL,'Dear Jay',1,NULL,'Jay Deforest',NULL,2,NULL,1,'2015-12-02',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(167,'Household',NULL,0,1,0,0,0,0,NULL,NULL,'Wattson family','Wattson family',NULL,NULL,NULL,NULL,NULL,'Both','2851339192',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Wattson family',5,NULL,'Dear Wattson family',2,NULL,'Wattson family',NULL,NULL,NULL,0,NULL,'Wattson family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(168,'Household',NULL,0,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,NULL,'2016-01-06 22:23:13'),(169,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Terrell, Daren','Dr. Daren Terrell',NULL,NULL,NULL,'4',NULL,'Both','1552940951',NULL,'Sample Data','Daren','N','Terrell',4,NULL,NULL,NULL,1,NULL,'Dear Daren',1,NULL,'Dear Daren',1,NULL,'Dr. Daren Terrell',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(170,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Wattson, Norris','Mr. Norris Wattson',NULL,NULL,NULL,NULL,NULL,'Both','4180802164',NULL,'Sample Data','Norris','','Wattson',3,NULL,NULL,NULL,1,NULL,'Dear Norris',1,NULL,'Dear Norris',1,NULL,'Mr. Norris Wattson',NULL,2,'1957-10-13',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(171,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wilson, Allan','Mr. Allan Wilson',NULL,NULL,NULL,NULL,NULL,'Both','1133423819',NULL,'Sample Data','Allan','','Wilson',3,NULL,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Mr. Allan Wilson',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(172,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'gonzlez.justina@sample.info','gonzlez.justina@sample.info',NULL,NULL,NULL,NULL,NULL,'Both','1528649863',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear gonzlez.justina@sample.info',1,NULL,'Dear gonzlez.justina@sample.info',1,NULL,'gonzlez.justina@sample.info',NULL,NULL,NULL,0,NULL,NULL,NULL,'Main Family Network',NULL,NULL,91,0,NULL,'2016-01-06 22:23:13'),(173,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'jeromebarkley69@mymail.co.pl','jeromebarkley69@mymail.co.pl',NULL,NULL,NULL,NULL,NULL,'Both','3708914842',NULL,'Sample Data',NULL,NULL,NULL,3,3,NULL,NULL,1,NULL,'Dear jeromebarkley69@mymail.co.pl',1,NULL,'Dear jeromebarkley69@mymail.co.pl',1,NULL,'jeromebarkley69@mymail.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(174,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Samuels, Nicole','Dr. Nicole Samuels',NULL,NULL,NULL,'4',NULL,'Both','3510229898',NULL,'Sample Data','Nicole','C','Samuels',4,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Dr. Nicole Samuels',NULL,NULL,'1989-06-05',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(175,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Grant, Ray','Ray Grant',NULL,NULL,NULL,'1',NULL,'Both','2294694701',NULL,'Sample Data','Ray','E','Grant',NULL,NULL,NULL,NULL,1,NULL,'Dear Ray',1,NULL,'Dear Ray',1,NULL,'Ray Grant',NULL,2,'1997-09-25',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(176,'Individual',NULL,1,0,0,0,1,0,NULL,NULL,'elinawilson28@notmail.net','elinawilson28@notmail.net',NULL,NULL,NULL,NULL,NULL,'Both','2311917408',NULL,'Sample Data',NULL,NULL,NULL,2,NULL,NULL,NULL,1,NULL,'Dear elinawilson28@notmail.net',1,NULL,'Dear elinawilson28@notmail.net',1,NULL,'elinawilson28@notmail.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(177,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'ni.wilson@testing.com','ni.wilson@testing.com',NULL,NULL,NULL,'4',NULL,'Both','2098372698',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear ni.wilson@testing.com',1,NULL,'Dear ni.wilson@testing.com',1,NULL,'ni.wilson@testing.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(178,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Reynolds, Lincoln','Lincoln Reynolds Jr.',NULL,NULL,NULL,NULL,NULL,'Both','3299281053',NULL,'Sample Data','Lincoln','Z','Reynolds',NULL,1,NULL,NULL,1,NULL,'Dear Lincoln',1,NULL,'Dear Lincoln',1,NULL,'Lincoln Reynolds Jr.',NULL,NULL,'1943-01-25',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(179,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Wagner, Irvin','Irvin Wagner III',NULL,NULL,NULL,'2',NULL,'Both','1394032144',NULL,'Sample Data','Irvin','E','Wagner',NULL,4,NULL,NULL,1,NULL,'Dear Irvin',1,NULL,'Dear Irvin',1,NULL,'Irvin Wagner III',NULL,NULL,'2008-06-26',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(180,'Household',NULL,0,0,0,0,0,0,NULL,NULL,'Díaz family','Díaz family',NULL,NULL,NULL,'3',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,NULL,'2016-01-06 22:23:13'),(181,'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,NULL,'2016-01-06 22:23:13'),(182,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Łąchowski, Rolando','Rolando Łąchowski Jr.',NULL,NULL,NULL,NULL,NULL,'Both','2050777449',NULL,'Sample Data','Rolando','R','Łąchowski',NULL,1,NULL,NULL,1,NULL,'Dear Rolando',1,NULL,'Dear Rolando',1,NULL,'Rolando Łąchowski Jr.',NULL,2,'1983-08-25',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(183,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'McReynolds, Truman','Truman McReynolds',NULL,NULL,NULL,NULL,NULL,'Both','779089403',NULL,'Sample Data','Truman','','McReynolds',NULL,NULL,NULL,NULL,1,NULL,'Dear Truman',1,NULL,'Dear Truman',1,NULL,'Truman McReynolds',NULL,NULL,'1998-10-10',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(184,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Grant, Allan','Mr. Allan Grant Jr.',NULL,NULL,NULL,NULL,NULL,'Both','2534249041',NULL,'Sample Data','Allan','C','Grant',3,1,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Mr. Allan Grant Jr.',NULL,2,'1985-09-24',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(185,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Roberts, Carylon','Carylon Roberts',NULL,NULL,NULL,'3',NULL,'Both','3876648788',NULL,'Sample Data','Carylon','U','Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Carylon',1,NULL,'Dear Carylon',1,NULL,'Carylon Roberts',NULL,1,'1985-10-05',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(186,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Roberts, Allan','Allan Roberts',NULL,NULL,NULL,'1',NULL,'Both','711502623',NULL,'Sample Data','Allan','','Roberts',NULL,NULL,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Allan Roberts',NULL,2,NULL,0,NULL,NULL,NULL,'Global Software Network',NULL,NULL,160,0,NULL,'2016-01-06 22:23:13'),(187,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'McReynolds, Jerome','Jerome McReynolds II',NULL,NULL,NULL,NULL,NULL,'Both','1615308753',NULL,'Sample Data','Jerome','Z','McReynolds',NULL,3,NULL,NULL,1,NULL,'Dear Jerome',1,NULL,'Dear Jerome',1,NULL,'Jerome McReynolds II',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(188,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Lee, Barry','Mr. Barry Lee Sr.',NULL,NULL,NULL,'2',NULL,'Both','609109551',NULL,'Sample Data','Barry','','Lee',3,2,NULL,NULL,1,NULL,'Dear Barry',1,NULL,'Dear Barry',1,NULL,'Mr. Barry Lee Sr.',NULL,2,'1940-05-17',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(189,'Individual',NULL,0,0,0,0,1,0,NULL,NULL,'Parker, Allen','Allen Parker III',NULL,NULL,NULL,NULL,NULL,'Both','710842690',NULL,'Sample Data','Allen','','Parker',NULL,4,NULL,NULL,1,NULL,'Dear Allen',1,NULL,'Dear Allen',1,NULL,'Allen Parker III',NULL,2,'1971-01-29',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:12'),(190,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'jx.wilson@testmail.co.nz','jx.wilson@testmail.co.nz',NULL,NULL,NULL,'4',NULL,'Both','2245909887',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'Dear jx.wilson@testmail.co.nz',1,NULL,'Dear jx.wilson@testmail.co.nz',1,NULL,'jx.wilson@testmail.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(191,'Organization',NULL,0,0,0,0,1,0,NULL,NULL,'College Culture Solutions','College Culture Solutions',NULL,NULL,NULL,'5',NULL,'Both','3826565389',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'College Culture Solutions',NULL,NULL,NULL,0,NULL,NULL,150,'College Culture Solutions',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(192,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'Springfield Music Initiative','Springfield Music Initiative',NULL,NULL,NULL,NULL,NULL,'Both','884464353',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Springfield Music Initiative',NULL,NULL,NULL,0,NULL,NULL,NULL,'Springfield Music Initiative',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(193,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Ivanov, Lawerence','Dr. Lawerence Ivanov',NULL,NULL,NULL,NULL,NULL,'Both','268329993',NULL,'Sample Data','Lawerence','Z','Ivanov',4,NULL,NULL,NULL,1,NULL,'Dear Lawerence',1,NULL,'Dear Lawerence',1,NULL,'Dr. Lawerence Ivanov',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(194,'Individual',NULL,0,0,0,0,0,0,NULL,NULL,'Wattson, Magan','Magan Wattson',NULL,NULL,NULL,'5',NULL,'Both','3310801792',NULL,'Sample Data','Magan','J','Wattson',NULL,NULL,NULL,NULL,1,NULL,'Dear Magan',1,NULL,'Dear Magan',1,NULL,'Magan Wattson',NULL,NULL,'1995-10-14',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(195,'Individual',NULL,1,1,0,0,0,0,NULL,NULL,'Dimitrov, Erik','Erik Dimitrov Jr.',NULL,NULL,NULL,NULL,NULL,'Both','510073649',NULL,'Sample Data','Erik','','Dimitrov',NULL,1,NULL,NULL,1,NULL,'Dear Erik',1,NULL,'Dear Erik',1,NULL,'Erik Dimitrov Jr.',NULL,NULL,'1949-11-16',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(196,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Jameson, Eleonor','Mrs. Eleonor Jameson',NULL,NULL,NULL,'5',NULL,'Both','1654133418',NULL,'Sample Data','Eleonor','','Jameson',1,NULL,NULL,NULL,1,NULL,'Dear Eleonor',1,NULL,'Dear Eleonor',1,NULL,'Mrs. Eleonor Jameson',NULL,1,NULL,1,'2015-08-04',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(197,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Dimitrov, Sharyn','Sharyn Dimitrov',NULL,NULL,NULL,NULL,NULL,'Both','1888129683',NULL,'Sample Data','Sharyn','','Dimitrov',NULL,NULL,NULL,NULL,1,NULL,'Dear Sharyn',1,NULL,'Dear Sharyn',1,NULL,'Sharyn Dimitrov',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(198,'Household',NULL,0,1,0,0,0,0,NULL,NULL,'Ivanov family','Ivanov family',NULL,NULL,NULL,NULL,NULL,'Both','2450779112',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,'Dear Ivanov family',5,NULL,'Dear Ivanov family',2,NULL,'Ivanov family',NULL,NULL,NULL,0,NULL,'Ivanov family',NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(199,'Organization',NULL,0,0,0,0,0,0,NULL,NULL,'El Camino Food Fellowship','El Camino Food Fellowship',NULL,NULL,NULL,'3',NULL,'Both','2213831345',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'El Camino Food Fellowship',NULL,NULL,NULL,0,NULL,NULL,NULL,'El Camino Food Fellowship',NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(200,'Individual',NULL,1,0,0,0,0,0,NULL,NULL,'Terrell, Lashawnda','Lashawnda Terrell',NULL,NULL,NULL,NULL,NULL,'Both','3446212470',NULL,'Sample Data','Lashawnda','O','Terrell',NULL,NULL,NULL,NULL,1,NULL,'Dear Lashawnda',1,NULL,'Dear Lashawnda',1,NULL,'Lashawnda Terrell',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'),(201,'Individual',NULL,0,1,0,0,0,0,NULL,NULL,'Adams, Landon','Landon Adams II',NULL,NULL,NULL,'1',NULL,'Both','1504862823',NULL,'Sample Data','Landon','A','Adams',NULL,3,NULL,NULL,1,NULL,'Dear Landon',1,NULL,'Dear Landon',1,NULL,'Landon Adams II',NULL,2,'1981-07-03',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2016-01-06 22:23:13'); /*!40000 ALTER TABLE `civicrm_contact` ENABLE KEYS */; UNLOCK TABLES; @@ -228,7 +228,7 @@ UNLOCK TABLES; LOCK TABLES `civicrm_contribution` WRITE; /*!40000 ALTER TABLE `civicrm_contribution` DISABLE KEYS */; -INSERT INTO `civicrm_contribution` (`id`, `contact_id`, `financial_type_id`, `contribution_page_id`, `payment_instrument_id`, `receive_date`, `non_deductible_amount`, `total_amount`, `fee_amount`, `net_amount`, `trxn_id`, `invoice_id`, `currency`, `cancel_date`, `cancel_reason`, `receipt_date`, `thankyou_date`, `source`, `amount_level`, `contribution_recur_id`, `is_test`, `is_pay_later`, `contribution_status_id`, `address_id`, `check_number`, `campaign_id`, `creditnote_id`, `tax_amount`) VALUES (1,2,1,NULL,4,'2010-04-11 00:00:00',0.00,125.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Apr 2007 Mailer 1',NULL,NULL,0,0,1,NULL,'1041',NULL,NULL,NULL),(2,4,1,NULL,1,'2010-03-21 00:00:00',0.00,50.00,NULL,NULL,'P20901X1',NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(3,6,1,NULL,4,'2010-04-29 00:00:00',0.00,25.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Apr 2007 Mailer 1',NULL,NULL,0,0,1,NULL,'2095',NULL,NULL,NULL),(4,8,1,NULL,4,'2010-04-11 00:00:00',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Apr 2007 Mailer 1',NULL,NULL,0,0,1,NULL,'10552',NULL,NULL,NULL),(5,16,1,NULL,4,'2010-04-15 00:00:00',0.00,500.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Apr 2007 Mailer 1',NULL,NULL,0,0,1,NULL,'509',NULL,NULL,NULL),(6,19,1,NULL,4,'2010-04-11 00:00:00',0.00,175.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Apr 2007 Mailer 1',NULL,NULL,0,0,1,NULL,'102',NULL,NULL,NULL),(7,82,1,NULL,1,'2010-03-27 00:00:00',0.00,50.00,NULL,NULL,'P20193L2',NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(8,92,1,NULL,1,'2010-03-08 00:00:00',0.00,10.00,NULL,NULL,'P40232Y3',NULL,'USD',NULL,NULL,NULL,NULL,'Online: Help CiviCRM',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(9,34,1,NULL,1,'2010-04-22 00:00:00',0.00,250.00,NULL,NULL,'P20193L6',NULL,'USD',NULL,NULL,NULL,NULL,'Online: Help CiviCRM',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(10,71,1,NULL,1,'2009-07-01 11:53:50',0.00,500.00,NULL,NULL,'PL71',NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(11,43,1,NULL,1,'2009-07-01 12:55:41',0.00,200.00,NULL,NULL,'PL43II',NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(12,32,1,NULL,1,'2009-10-01 11:53:50',0.00,200.00,NULL,NULL,'PL32I',NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(13,32,1,NULL,1,'2009-12-01 12:55:41',0.00,200.00,NULL,NULL,'PL32II',NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(14,98,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(15,161,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(16,37,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(17,35,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(18,145,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(19,91,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(20,79,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(21,135,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(22,127,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(23,46,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(24,110,2,NULL,1,'2015-10-13 22:43:55',0.00,1200.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Lifetime Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(25,149,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(26,150,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(27,75,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(28,141,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(29,123,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(30,186,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(31,126,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(32,158,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(33,152,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(34,80,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(35,156,2,NULL,1,'2015-10-13 22:43:55',0.00,1200.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Lifetime Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(36,21,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(37,93,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(38,24,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(39,190,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(40,198,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(41,45,2,NULL,1,'2015-10-13 22:43:55',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(42,31,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(43,116,2,NULL,1,'2015-10-13 22:43:55',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(45,3,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(46,7,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(47,8,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(48,9,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(49,10,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(50,11,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(51,22,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(52,25,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(53,30,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(54,38,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(55,41,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(56,44,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(57,45,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(58,52,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(59,54,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(60,55,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(61,56,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(62,64,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(63,67,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(64,75,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(65,76,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(66,80,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(67,84,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(68,88,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(69,89,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(70,90,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(71,92,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(72,94,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(73,96,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(74,98,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(75,99,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(76,100,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(77,103,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(78,109,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(79,123,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(80,125,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(81,130,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(82,133,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(83,139,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(84,145,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(85,147,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(86,157,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(87,160,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(88,165,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(89,168,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(90,179,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(91,182,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(92,190,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(93,192,4,NULL,1,'2015-10-13 22:43:56',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(94,198,4,NULL,1,'2015-10-13 22:43:56',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2015-10-13 22:43:56',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL); +INSERT INTO `civicrm_contribution` (`id`, `contact_id`, `financial_type_id`, `contribution_page_id`, `payment_instrument_id`, `receive_date`, `non_deductible_amount`, `total_amount`, `fee_amount`, `net_amount`, `trxn_id`, `invoice_id`, `currency`, `cancel_date`, `cancel_reason`, `receipt_date`, `thankyou_date`, `source`, `amount_level`, `contribution_recur_id`, `is_test`, `is_pay_later`, `contribution_status_id`, `address_id`, `check_number`, `campaign_id`, `creditnote_id`, `tax_amount`) VALUES (1,2,1,NULL,4,'2010-04-11 00:00:00',0.00,125.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Apr 2007 Mailer 1',NULL,NULL,0,0,1,NULL,'1041',NULL,NULL,NULL),(2,4,1,NULL,1,'2010-03-21 00:00:00',0.00,50.00,NULL,NULL,'P20901X1',NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(3,6,1,NULL,4,'2010-04-29 00:00:00',0.00,25.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Apr 2007 Mailer 1',NULL,NULL,0,0,1,NULL,'2095',NULL,NULL,NULL),(4,8,1,NULL,4,'2010-04-11 00:00:00',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Apr 2007 Mailer 1',NULL,NULL,0,0,1,NULL,'10552',NULL,NULL,NULL),(5,16,1,NULL,4,'2010-04-15 00:00:00',0.00,500.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Apr 2007 Mailer 1',NULL,NULL,0,0,1,NULL,'509',NULL,NULL,NULL),(6,19,1,NULL,4,'2010-04-11 00:00:00',0.00,175.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Apr 2007 Mailer 1',NULL,NULL,0,0,1,NULL,'102',NULL,NULL,NULL),(7,82,1,NULL,1,'2010-03-27 00:00:00',0.00,50.00,NULL,NULL,'P20193L2',NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(8,92,1,NULL,1,'2010-03-08 00:00:00',0.00,10.00,NULL,NULL,'P40232Y3',NULL,'USD',NULL,NULL,NULL,NULL,'Online: Help CiviCRM',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(9,34,1,NULL,1,'2010-04-22 00:00:00',0.00,250.00,NULL,NULL,'P20193L6',NULL,'USD',NULL,NULL,NULL,NULL,'Online: Help CiviCRM',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(10,71,1,NULL,1,'2009-07-01 11:53:50',0.00,500.00,NULL,NULL,'PL71',NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(11,43,1,NULL,1,'2009-07-01 12:55:41',0.00,200.00,NULL,NULL,'PL43II',NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(12,32,1,NULL,1,'2009-10-01 11:53:50',0.00,200.00,NULL,NULL,'PL32I',NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(13,32,1,NULL,1,'2009-12-01 12:55:41',0.00,200.00,NULL,NULL,'PL32II',NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(14,60,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(15,134,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(16,98,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(17,140,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(18,76,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(19,136,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(20,57,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(21,69,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(22,145,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(23,31,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(24,84,2,NULL,1,'2016-01-06 14:23:14',0.00,1200.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Lifetime Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(25,2,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(26,93,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(27,64,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(28,11,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(29,73,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(30,43,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(31,172,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(32,6,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(33,177,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(34,5,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(35,65,2,NULL,1,'2016-01-06 14:23:14',0.00,1200.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Lifetime Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(36,187,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(37,88,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(38,143,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(39,18,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(40,166,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(41,86,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(42,106,2,NULL,1,'2016-01-06 14:23:14',0.00,100.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(43,7,2,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(45,2,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(46,7,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(47,15,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(48,18,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(49,22,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(50,28,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(51,29,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(52,30,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(53,32,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(54,34,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(55,35,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(56,44,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(57,47,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(58,49,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(59,50,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(60,52,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(61,53,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(62,58,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(63,63,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(64,71,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(65,75,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(66,77,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(67,87,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(68,89,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(69,91,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(70,97,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(71,98,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(72,99,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(73,110,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(74,113,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(75,118,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(76,122,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(77,124,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(78,133,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(79,139,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(80,146,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(81,150,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(82,151,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(83,152,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(84,153,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(85,154,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(86,156,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(87,158,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(88,164,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(89,169,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(90,170,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(91,180,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(92,183,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(93,186,4,NULL,1,'2016-01-06 14:23:14',0.00,50.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL),(94,194,4,NULL,1,'2016-01-06 14:23:14',0.00,800.00,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'2016-01-06 14:23:14',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `civicrm_contribution` ENABLE KEYS */; UNLOCK TABLES; @@ -266,7 +266,7 @@ 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,46,10.00,'USD',1,1,'Jones Family','Helping Hands',10),(2,9,46,250.00,'USD',1,1,'Annie and the kids','Annie Helps',10); +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,64,10.00,'USD',1,1,'Jones Family','Helping Hands',10),(2,9,64,250.00,'USD',1,1,'Annie and the kids','Annie Helps',10); /*!40000 ALTER TABLE `civicrm_contribution_soft` ENABLE KEYS */; UNLOCK TABLES; @@ -399,7 +399,7 @@ UNLOCK TABLES; LOCK TABLES `civicrm_domain` WRITE; /*!40000 ALTER TABLE `civicrm_domain` DISABLE KEYS */; -INSERT INTO `civicrm_domain` (`id`, `name`, `description`, `config_backend`, `version`, `contact_id`, `locales`, `locale_custom_strings`) VALUES (1,'Default Domain Name',NULL,NULL,'4.6.10',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}'); +INSERT INTO `civicrm_domain` (`id`, `name`, `description`, `config_backend`, `version`, `contact_id`, `locales`, `locale_custom_strings`) VALUES (1,'Default Domain Name',NULL,NULL,'4.6.18',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}'); /*!40000 ALTER TABLE `civicrm_domain` ENABLE KEYS */; UNLOCK TABLES; @@ -409,7 +409,7 @@ UNLOCK TABLES; 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',0,0,0,0,NULL,NULL,NULL,NULL),(2,167,1,'allanwagner63@fishmail.com',1,0,0,0,NULL,NULL,NULL,NULL),(3,167,1,'wagner.allan89@example.biz',0,0,0,0,NULL,NULL,NULL,NULL),(4,123,1,'jacksonrobertson@lol.org',1,0,0,0,NULL,NULL,NULL,NULL),(5,46,1,'patelt@spamalot.com',1,0,0,0,NULL,NULL,NULL,NULL),(6,22,1,'kh.wattson12@mymail.org',1,0,0,0,NULL,NULL,NULL,NULL),(7,22,1,'kathlynwattson@testmail.com',0,0,0,0,NULL,NULL,NULL,NULL),(8,54,1,'hx.cruz@testing.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(9,54,1,'cruzh@mymail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(10,160,1,'prentice.a.arlyne@testmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(11,55,1,'claudiobarkley35@mymail.info',1,0,0,0,NULL,NULL,NULL,NULL),(12,142,1,'clinta@fishmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(13,23,1,'zope.beula@mymail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(14,70,1,'scarletp@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(15,70,1,'scarletp@sample.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(16,132,1,'ky.robertson@testing.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(17,121,1,'dimitrovk@sample.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(18,121,1,'dimitrovk@mymail.org',0,0,0,0,NULL,NULL,NULL,NULL),(19,65,1,'zope.allen27@airmail.info',1,0,0,0,NULL,NULL,NULL,NULL),(20,65,1,'zope.allen82@sample.info',0,0,0,0,NULL,NULL,NULL,NULL),(21,63,1,'mcreynolds.delana86@lol.biz',1,0,0,0,NULL,NULL,NULL,NULL),(22,63,1,'dv.mcreynolds@example.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(23,17,1,'ivanovc37@example.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(24,17,1,'carlosivanov10@infomail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(25,152,1,'claudiob@airmail.org',1,0,0,0,NULL,NULL,NULL,NULL),(26,34,1,'cruzm37@testmail.info',1,0,0,0,NULL,NULL,NULL,NULL),(27,9,1,'delanaterrell@fishmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(28,9,1,'terrell.delana@fishmail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),(29,52,1,'jsamuels@testmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),(30,52,1,'jeromes36@sample.org',0,0,0,0,NULL,NULL,NULL,NULL),(31,69,1,'prentice.h.magan@fakemail.info',1,0,0,0,NULL,NULL,NULL,NULL),(32,69,1,'maganp@mymail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(33,103,1,'bk.samson@infomail.info',1,0,0,0,NULL,NULL,NULL,NULL),(34,103,1,'samsonb98@lol.biz',0,0,0,0,NULL,NULL,NULL,NULL),(35,195,1,'tp.jones@spamalot.info',1,0,0,0,NULL,NULL,NULL,NULL),(36,195,1,'teresajones@fakemail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(37,110,1,'beulat@fishmail.com',1,0,0,0,NULL,NULL,NULL,NULL),(38,198,1,'barkley.jackson48@sample.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(39,176,1,'bachman.allan@testmail.info',1,0,0,0,NULL,NULL,NULL,NULL),(40,176,1,'abachman@testing.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),(41,159,1,'patelr@testing.info',1,0,0,0,NULL,NULL,NULL,NULL),(42,159,1,'patel.o.rebekah@mymail.com',0,0,0,0,NULL,NULL,NULL,NULL),(43,168,1,'barkley.billy@sample.org',1,0,0,0,NULL,NULL,NULL,NULL),(44,184,1,'prentice.g.tanya38@testing.info',1,0,0,0,NULL,NULL,NULL,NULL),(45,150,1,'rosariosmith@airmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(46,150,1,'smith.rosario@fishmail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),(47,10,1,'adams.allen46@airmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),(48,153,1,'loudeforest@spamalot.com',1,0,0,0,NULL,NULL,NULL,NULL),(49,84,1,'adams.claudio@airmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(50,84,1,'adamsc@notmail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),(51,21,1,'na.bachman83@sample.com',1,0,0,0,NULL,NULL,NULL,NULL),(52,158,1,'robertsm74@fishmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(53,81,1,'meganr@fakemail.net',1,0,0,0,NULL,NULL,NULL,NULL),(54,81,1,'meganr@infomail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(55,179,1,'mcreynolds.sonny@sample.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(56,200,1,'lawerencet@fakemail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(57,200,1,'terrell.lawerence@mymail.org',0,0,0,0,NULL,NULL,NULL,NULL),(58,113,1,'craigr51@fakemail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(59,113,1,'cj.robertson59@spamalot.biz',0,0,0,0,NULL,NULL,NULL,NULL),(60,186,1,'grantc@testmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(61,44,1,'gonzlezm@fishmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(62,133,1,'bachman.carlos@example.org',1,0,0,0,NULL,NULL,NULL,NULL),(63,14,1,'mw.bachman@infomail.com',1,0,0,0,NULL,NULL,NULL,NULL),(64,74,1,'russellsamuels20@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(65,188,1,'coopere25@fishmail.com',1,0,0,0,NULL,NULL,NULL,NULL),(66,188,1,'cooper.elizabeth@fakemail.net',0,0,0,0,NULL,NULL,NULL,NULL),(67,40,1,'patel.kiara72@notmail.org',1,0,0,0,NULL,NULL,NULL,NULL),(68,6,1,'roberts.merrie@testmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(69,6,1,'robertsm@infomail.com',0,0,0,0,NULL,NULL,NULL,NULL),(70,64,1,'carylonr@airmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(71,82,1,'shaunacruz56@infomail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(72,82,1,'cruz.shauna71@testmail.biz',0,0,0,0,NULL,NULL,NULL,NULL),(73,26,1,'merrieadams@fakemail.biz',1,0,0,0,NULL,NULL,NULL,NULL),(74,120,1,'adamsr@lol.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(75,115,1,'barrylee78@testmail.net',1,0,0,0,NULL,NULL,NULL,NULL),(76,115,1,'lee.barry99@testmail.net',0,0,0,0,NULL,NULL,NULL,NULL),(77,161,1,'tobyw@testmail.org',1,0,0,0,NULL,NULL,NULL,NULL),(78,161,1,'tf.wagner-lee59@infomail.org',0,0,0,0,NULL,NULL,NULL,NULL),(79,134,1,'kennyl@fishmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),(80,134,1,'kz.lee@airmail.info',0,0,0,0,NULL,NULL,NULL,NULL),(81,2,1,'omarterrell19@fakemail.com',1,0,0,0,NULL,NULL,NULL,NULL),(82,73,1,'ashlieterrell-blackwell18@spamalot.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(83,163,1,'samuels.clint@example.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(84,163,1,'samuelsc22@testing.net',0,0,0,0,NULL,NULL,NULL,NULL),(85,97,1,'magansamuels@fishmail.com',1,0,0,0,NULL,NULL,NULL,NULL),(86,41,1,'josefas95@sample.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(87,191,1,'nielsen.mei@fishmail.org',1,0,0,0,NULL,NULL,NULL,NULL),(88,53,1,'jamesont9@mymail.net',1,0,0,0,NULL,NULL,NULL,NULL),(89,68,1,'jamesoni@mymail.info',1,0,0,0,NULL,NULL,NULL,NULL),(90,68,1,'iveyjameson56@fishmail.org',0,0,0,0,NULL,NULL,NULL,NULL),(91,33,1,'njameson@testmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(92,33,1,'njameson@example.org',0,0,0,0,NULL,NULL,NULL,NULL),(93,76,1,'blackwella@infomail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(94,79,1,'blackwell.maxwell14@example.com',1,0,0,0,NULL,NULL,NULL,NULL),(95,79,1,'blackwellm37@sample.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(96,199,1,'kchowski@fakemail.com',1,0,0,0,NULL,NULL,NULL,NULL),(97,199,1,'kacey@example.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(98,90,1,'chowski.v.maria5@notmail.info',1,0,0,0,NULL,NULL,NULL,NULL),(99,129,1,'chowski.u.kiara@airmail.com',1,0,0,0,NULL,NULL,NULL,NULL),(100,151,1,'rodrigow42@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(101,93,1,'wattsonb@fakemail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(102,11,1,'rolandoo@mymail.net',1,0,0,0,NULL,NULL,NULL,NULL),(103,126,1,'lolsen-cruz92@testmail.info',1,0,0,0,NULL,NULL,NULL,NULL),(104,24,1,'olsen-cruzd@spamalot.com',1,0,0,0,NULL,NULL,NULL,NULL),(105,104,1,'lwattson@infomail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(106,7,1,'bernadettew@testmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(107,117,1,'bobwattson95@testmail.info',1,0,0,0,NULL,NULL,NULL,NULL),(108,117,1,'wattson.bob@testmail.org',0,0,0,0,NULL,NULL,NULL,NULL),(109,112,1,'mllerj69@infomail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(110,112,1,'jacobmller@notmail.org',0,0,0,0,NULL,NULL,NULL,NULL),(111,106,1,'mller.brigette@fakemail.com',1,0,0,0,NULL,NULL,NULL,NULL),(112,197,1,'heidimller@sample.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(113,197,1,'heidim14@airmail.org',0,0,0,0,NULL,NULL,NULL,NULL),(114,154,1,'smiths70@lol.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(115,154,1,'smiths@notmail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(116,89,1,'jacobcooper@sample.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(117,89,1,'cooper.jacob@testing.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(118,45,1,'rebekahc78@fakemail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(119,45,1,'rcooper36@fakemail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(120,80,1,'cooper.ashley69@lol.biz',1,0,0,0,NULL,NULL,NULL,NULL),(121,80,1,'cooper.ashley@example.biz',0,0,0,0,NULL,NULL,NULL,NULL),(122,169,1,'samsone44@sample.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(123,147,1,'samson-robertsi@sample.net',1,0,0,0,NULL,NULL,NULL,NULL),(124,147,1,'samson-roberts.iris@airmail.org',0,0,0,0,NULL,NULL,NULL,NULL),(125,136,1,'samson-roberts.s.arlyne64@fakemail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(126,136,1,'samson-roberts.arlyne@fakemail.info',0,0,0,0,NULL,NULL,NULL,NULL),(127,59,1,'ashleyb@notmail.net',1,0,0,0,NULL,NULL,NULL,NULL),(128,59,1,'abachman@testing.biz',0,0,0,0,NULL,NULL,NULL,NULL),(129,190,1,'bachmanv@fishmail.com',1,0,0,0,NULL,NULL,NULL,NULL),(130,190,1,'valenebachman@notmail.info',0,0,0,0,NULL,NULL,NULL,NULL),(131,60,1,'jedb@spamalot.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(132,60,1,'jedbachman@infomail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),(133,88,1,'lw.bachman@infomail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(134,88,1,'loub10@example.org',0,0,0,0,NULL,NULL,NULL,NULL),(135,49,1,'carlosj67@fakemail.info',1,0,0,0,NULL,NULL,NULL,NULL),(136,162,1,'robertson.arlyne@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(137,162,1,'robertsona@lol.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),(138,37,1,'merried@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(139,145,1,'allend68@notmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(140,145,1,'allendimitrov30@fakemail.com',0,0,0,0,NULL,NULL,NULL,NULL),(141,185,1,'irvinwagner5@fakemail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(142,25,1,'ashliewagner@example.com',1,0,0,0,NULL,NULL,NULL,NULL),(143,25,1,'wagner.w.ashlie14@notmail.info',0,0,0,0,NULL,NULL,NULL,NULL),(144,189,1,'wagner.l.delana74@sample.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(145,187,3,'feedback@beechactioncenter.org',1,0,0,0,NULL,NULL,NULL,NULL),(146,168,2,'barkleyb97@beechactioncenter.org',0,0,0,0,NULL,NULL,NULL,NULL),(147,29,3,'sales@alleenehealthfund.org',1,0,0,0,NULL,NULL,NULL,NULL),(148,123,2,'jacksonr@alleenehealthfund.org',0,0,0,0,NULL,NULL,NULL,NULL),(149,124,3,'info@cienvironmentalnetwork.org',1,0,0,0,NULL,NULL,NULL,NULL),(150,152,2,'blackwellc@cienvironmentalnetwork.org',0,0,0,0,NULL,NULL,NULL,NULL),(151,172,3,'info@urbansustainability.org',1,0,0,0,NULL,NULL,NULL,NULL),(152,52,2,'jeromes@urbansustainability.org',0,0,0,0,NULL,NULL,NULL,NULL),(153,111,3,'service@northpointtechnologyalliance.org',1,0,0,0,NULL,NULL,NULL,NULL),(154,178,2,'blackwell.b.omar@northpointtechnologyalliance.org',1,0,0,0,NULL,NULL,NULL,NULL),(155,16,3,'feedback@friendsfellowship.org',1,0,0,0,NULL,NULL,NULL,NULL),(156,154,2,'santinasmith94@friendsfellowship.org',0,0,0,0,NULL,NULL,NULL,NULL),(157,105,3,'info@statesassociation.org',1,0,0,0,NULL,NULL,NULL,NULL),(158,91,2,'olsen.g.brigette7@statesassociation.org',1,0,0,0,NULL,NULL,NULL,NULL),(159,56,3,'feedback@greentechnologycenter.org',1,0,0,0,NULL,NULL,NULL,NULL),(160,79,2,'24@greentechnologycenter.org',0,0,0,0,NULL,NULL,NULL,NULL),(161,77,3,'contact@kirklinfamilypartnership.org',1,0,0,0,NULL,NULL,NULL,NULL),(162,119,3,'contact@beechhealth.org',1,0,0,0,NULL,NULL,NULL,NULL),(163,18,2,'parker.t.rolando@beechhealth.org',1,0,0,0,NULL,NULL,NULL,NULL),(164,48,3,'contact@orangeburgcenter.org',1,0,0,0,NULL,NULL,NULL,NULL),(165,164,2,'shaunac@orangeburgcenter.org',1,0,0,0,NULL,NULL,NULL,NULL),(166,171,3,'service@globalschool.org',1,0,0,0,NULL,NULL,NULL,NULL),(167,34,2,'cruz.merrie92@globalschool.org',0,0,0,0,NULL,NULL,NULL,NULL),(168,85,3,'feedback@collegepeacepartners.org',1,0,0,0,NULL,NULL,NULL,NULL),(169,70,2,'.@collegepeacepartners.org',0,0,0,0,NULL,NULL,NULL,NULL),(170,87,3,'info@globalschool.org',1,0,0,0,NULL,NULL,NULL,NULL),(171,129,2,'kiara@globalschool.org',0,0,0,0,NULL,NULL,NULL,NULL),(172,13,3,'service@secondtechnology.org',1,0,0,0,NULL,NULL,NULL,NULL),(173,64,2,'reynolds.carylon75@secondtechnology.org',0,0,0,0,NULL,NULL,NULL,NULL),(174,NULL,1,'development@example.org',0,0,0,0,NULL,NULL,NULL,NULL),(175,NULL,1,'tournaments@example.org',0,0,0,0,NULL,NULL,NULL,NULL),(176,NULL,1,'celebration@example.org',0,0,0,0,NULL,NULL,NULL,NULL); +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',0,0,0,0,NULL,NULL,NULL,NULL),(2,6,1,'samuelsr53@infomail.net',1,0,0,0,NULL,NULL,NULL,NULL),(3,63,1,'rolandj@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(4,157,1,'carlosj24@fishmail.info',1,0,0,0,NULL,NULL,NULL,NULL),(5,157,1,'jensenc51@testing.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(6,64,1,'robertson.shauna@testmail.net',1,0,0,0,NULL,NULL,NULL,NULL),(7,98,1,'gonzlez.g.heidi@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(8,164,1,'deforest.josefa@example.org',1,0,0,0,NULL,NULL,NULL,NULL),(9,164,1,'deforest.q.josefa@testing.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(10,172,1,'gonzlez.justina@sample.info',1,0,0,0,NULL,NULL,NULL,NULL),(11,130,1,'felisharobertson36@notmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),(12,130,1,'fr.robertson@airmail.info',0,0,0,0,NULL,NULL,NULL,NULL),(13,31,1,'deforest.carlos@fakemail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(14,85,1,'wattson.omar87@example.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(15,101,1,'rolandod95@notmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(16,73,1,'ro.chowski70@sample.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(17,146,1,'carylonterrell@spamalot.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(18,146,1,'terrell.g.carylon67@spamalot.biz',0,0,0,0,NULL,NULL,NULL,NULL),(19,2,1,'angelikawattson16@lol.biz',1,0,0,0,NULL,NULL,NULL,NULL),(20,71,1,'beulayadav5@infomail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(21,51,1,'lareeroberts46@sample.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(22,77,1,'smithn@infomail.biz',1,0,0,0,NULL,NULL,NULL,NULL),(23,77,1,'np.smith@sample.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(24,188,1,'lee.barry@testmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(25,188,1,'barrylee@sample.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(26,49,1,'dimitrovs17@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(27,112,1,'grantj@airmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(28,112,1,'julianng@example.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(29,70,1,'cz.terrell82@testing.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(30,107,1,'wilson.n.kathleen61@example.info',1,0,0,0,NULL,NULL,NULL,NULL),(31,4,1,'bh.yadav@mymail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(32,173,1,'jeromebarkley69@mymail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(33,11,1,'clintr32@mymail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(34,11,1,'creynolds61@fishmail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(35,124,1,'olsene95@notmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(36,87,1,'alidacooper@airmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),(37,8,1,'robertsoni@testmail.info',1,0,0,0,NULL,NULL,NULL,NULL),(38,76,1,'erikw30@sample.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(39,76,1,'ewilson95@lol.com',0,0,0,0,NULL,NULL,NULL,NULL),(40,113,1,'merrieparker@mymail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(41,94,1,'deforest.heidi38@lol.com',1,0,0,0,NULL,NULL,NULL,NULL),(42,193,1,'lz.ivanov@mymail.biz',1,0,0,0,NULL,NULL,NULL,NULL),(43,84,1,'cnielsen@sample.biz',1,0,0,0,NULL,NULL,NULL,NULL),(44,135,1,'cooper.ashlie1@spamalot.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(45,135,1,'ashliec@spamalot.org',0,0,0,0,NULL,NULL,NULL,NULL),(46,26,1,'samuelsr@infomail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(47,153,1,'terrella@mymail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(48,153,1,'terrell.alexia@example.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),(49,141,1,'ivanov.barry@example.org',1,0,0,0,NULL,NULL,NULL,NULL),(50,141,1,'ivanovb@airmail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),(51,41,1,'mcreynolds.q.damaris2@sample.org',1,0,0,0,NULL,NULL,NULL,NULL),(52,133,1,'meit@fakemail.info',1,0,0,0,NULL,NULL,NULL,NULL),(53,166,1,'deforestj58@testing.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(54,121,1,'bq.bachman@mymail.org',1,0,0,0,NULL,NULL,NULL,NULL),(55,121,1,'bq.bachman41@mymail.info',0,0,0,0,NULL,NULL,NULL,NULL),(56,132,1,'darena55@notmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(57,132,1,'de.adams@example.org',0,0,0,0,NULL,NULL,NULL,NULL),(58,27,1,'elinab@notmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(59,42,1,'shaunam@notmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(60,42,1,'mller.shauna10@fakemail.net',0,0,0,0,NULL,NULL,NULL,NULL),(61,159,1,'kathleenparker4@example.info',1,0,0,0,NULL,NULL,NULL,NULL),(62,134,1,'lee.bob@airmail.com',1,0,0,0,NULL,NULL,NULL,NULL),(63,24,1,'mjones@mymail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(64,24,1,'jones.maria@infomail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(65,75,1,'deforesti@fishmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(66,75,1,'deforest.irvin76@lol.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(67,19,1,'dimitrov.daren@sample.biz',1,0,0,0,NULL,NULL,NULL,NULL),(68,19,1,'darendimitrov@fakemail.com',0,0,0,0,NULL,NULL,NULL,NULL),(69,3,1,'gonzlez.ray65@fakemail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(70,103,1,'po.bachman@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(71,44,1,'zopem@spamalot.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(72,100,1,'angelikag@example.info',1,0,0,0,NULL,NULL,NULL,NULL),(73,81,1,'granta55@sample.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(74,81,1,'granta@airmail.org',0,0,0,0,NULL,NULL,NULL,NULL),(75,122,1,'lareep@spamalot.net',1,0,0,0,NULL,NULL,NULL,NULL),(76,122,1,'lc.parker45@testmail.net',0,0,0,0,NULL,NULL,NULL,NULL),(77,93,1,'merriep19@example.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(78,93,1,'parker.v.merrie40@fakemail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),(79,13,1,'wagner.brent@testmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(80,13,1,'wagner.brent@infomail.org',0,0,0,0,NULL,NULL,NULL,NULL),(81,123,1,'olsen.carylon@spamalot.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(82,33,1,'olsen.ivey@infomail.com',1,0,0,0,NULL,NULL,NULL,NULL),(83,34,1,'olsen.r.omar57@notmail.net',1,0,0,0,NULL,NULL,NULL,NULL),(84,90,1,'olsen.v.eleonor1@fishmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(85,177,1,'ni.wilson@testing.com',1,0,0,0,NULL,NULL,NULL,NULL),(86,190,1,'jx.wilson@testmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(87,40,1,'wilson.merrie@fakemail.net',1,0,0,0,NULL,NULL,NULL,NULL),(88,40,1,'mz.wilson15@testmail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(89,7,1,'ljameson@lol.org',1,0,0,0,NULL,NULL,NULL,NULL),(90,7,1,'lashawndajameson@lol.net',0,0,0,0,NULL,NULL,NULL,NULL),(91,196,1,'jamesone@airmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(92,140,1,'jameson.rolando31@lol.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(93,140,1,'jameson.rolando@lol.net',0,0,0,0,NULL,NULL,NULL,NULL),(94,61,1,'jameson.elizabeth@example.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(95,156,1,'heidiolsen-terrell@example.com',1,0,0,0,NULL,NULL,NULL,NULL),(96,156,1,'heidiolsen-terrell@notmail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(97,92,1,'ashleyt@airmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(98,92,1,'ashleyt@fakemail.biz',0,0,0,0,NULL,NULL,NULL,NULL),(99,200,1,'terrell.lashawnda@notmail.com',1,0,0,0,NULL,NULL,NULL,NULL),(100,200,1,'terrelll7@testing.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(101,80,1,'irvinmcreynolds@example.info',1,0,0,0,NULL,NULL,NULL,NULL),(102,80,1,'mcreynoldsi@notmail.com',0,0,0,0,NULL,NULL,NULL,NULL),(103,183,1,'tmcreynolds@example.biz',1,0,0,0,NULL,NULL,NULL,NULL),(104,143,1,'omarchowski39@airmail.net',1,0,0,0,NULL,NULL,NULL,NULL),(105,46,1,'raychowski@sample.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(106,46,1,'raychowski@mymail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(107,55,1,'chowskia@example.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(108,55,1,'ashliechowski13@example.co.pl',0,0,0,0,NULL,NULL,NULL,NULL),(109,48,1,'barkley.m.lou18@example.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(110,48,1,'loubarkley@spamalot.co.uk',0,0,0,0,NULL,NULL,NULL,NULL),(111,161,1,'junkobarkley@mymail.biz',1,0,0,0,NULL,NULL,NULL,NULL),(112,139,1,'hbarkley52@spamalot.info',1,0,0,0,NULL,NULL,NULL,NULL),(113,139,1,'barkley.heidi15@airmail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),(114,154,1,'jh.roberts@testmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(115,154,1,'roberts.h.jed@spamalot.info',0,0,0,0,NULL,NULL,NULL,NULL),(116,97,1,'ivanov-roberts.n.rebekah@example.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(117,186,1,'roberts.allan17@spamalot.biz',1,0,0,0,NULL,NULL,NULL,NULL),(118,186,1,'aroberts@example.org',0,0,0,0,NULL,NULL,NULL,NULL),(119,185,1,'robertsc3@example.info',1,0,0,0,NULL,NULL,NULL,NULL),(120,185,1,'carylonroberts@mymail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(121,39,1,'eleonorj34@fishmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(122,39,1,'jensen-wattson.eleonor@fakemail.org',0,0,0,0,NULL,NULL,NULL,NULL),(123,109,1,'claudioj62@spamalot.info',1,0,0,0,NULL,NULL,NULL,NULL),(124,109,1,'cjensen@sample.net',0,0,0,0,NULL,NULL,NULL,NULL),(125,62,1,'nielsen.valene@fishmail.info',1,0,0,0,NULL,NULL,NULL,NULL),(126,65,1,'jensen-nielsen.ashley77@mymail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(127,65,1,'jensen-nielsen.ashley49@testmail.org',0,0,0,0,NULL,NULL,NULL,NULL),(128,116,1,'grantd@fishmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL),(129,60,1,'grant.merrie@fakemail.com',1,0,0,0,NULL,NULL,NULL,NULL),(130,60,1,'merriegrant@fakemail.co.in',0,0,0,0,NULL,NULL,NULL,NULL),(131,175,1,'grant.e.ray@lol.com',1,0,0,0,NULL,NULL,NULL,NULL),(132,171,1,'awilson72@spamalot.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(133,43,1,'meiwilson@infomail.info',1,0,0,0,NULL,NULL,NULL,NULL),(134,43,1,'meiw@airmail.info',0,0,0,0,NULL,NULL,NULL,NULL),(135,176,1,'elinawilson28@notmail.net',1,0,0,0,NULL,NULL,NULL,NULL),(136,47,1,'tanyap11@testmail.biz',1,0,0,0,NULL,NULL,NULL,NULL),(137,111,1,'dazh1@fakemail.info',1,0,0,0,NULL,NULL,NULL,NULL),(138,111,1,'dazh61@infomail.net',0,0,0,0,NULL,NULL,NULL,NULL),(139,136,1,'daz.jacob@example.org',1,0,0,0,NULL,NULL,NULL,NULL),(140,136,1,'daz.jacob@lol.org',0,0,0,0,NULL,NULL,NULL,NULL),(141,145,1,'tobyg@fakemail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL),(142,145,1,'tobyg45@mymail.biz',0,0,0,0,NULL,NULL,NULL,NULL),(143,128,1,'prentice.brittney34@example.com',1,0,0,0,NULL,NULL,NULL,NULL),(144,110,1,'lawerenceivanov@testmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(145,110,1,'la.ivanov8@notmail.com',0,0,0,0,NULL,NULL,NULL,NULL),(146,106,1,'herminiawilson-ivanov@airmail.net',1,0,0,0,NULL,NULL,NULL,NULL),(147,106,1,'wilson-ivanovh50@lol.com',0,0,0,0,NULL,NULL,NULL,NULL),(148,20,1,'clinti32@spamalot.net',1,0,0,0,NULL,NULL,NULL,NULL),(149,170,1,'norriswattson85@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(150,120,1,'swattson66@sample.net',1,0,0,0,NULL,NULL,NULL,NULL),(151,194,1,'mj.wattson@airmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL),(152,162,1,'nsamuels@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(153,162,1,'samuels.norris89@sample.co.nz',0,0,0,0,NULL,NULL,NULL,NULL),(154,12,1,'junkoprentice-samuels16@example.info',1,0,0,0,NULL,NULL,NULL,NULL),(155,12,1,'prentice-samuels.o.junko@notmail.org',0,0,0,0,NULL,NULL,NULL,NULL),(156,174,1,'nicolesamuels@airmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL),(157,95,3,'contact@kenneyliteracysystems.org',1,0,0,0,NULL,NULL,NULL,NULL),(158,199,3,'sales@ecfoodfellowship.org',1,0,0,0,NULL,NULL,NULL,NULL),(159,127,3,'sales@mainempowermentnetwork.org',1,0,0,0,NULL,NULL,NULL,NULL),(160,159,2,'parkerk84@mainempowermentnetwork.org',0,0,0,0,NULL,NULL,NULL,NULL),(161,56,3,'service@secondcultureschool.org',1,0,0,0,NULL,NULL,NULL,NULL),(162,30,2,'shaunaivanov94@secondcultureschool.org',1,0,0,0,NULL,NULL,NULL,NULL),(163,52,3,'contact@pennsylvaniatechnology.org',1,0,0,0,NULL,NULL,NULL,NULL),(164,124,2,'olsen.elbert@pennsylvaniatechnology.org',0,0,0,0,NULL,NULL,NULL,NULL),(165,89,3,'service@globalenvironmental.org',1,0,0,0,NULL,NULL,NULL,NULL),(166,44,2,'mzope@globalenvironmental.org',0,0,0,0,NULL,NULL,NULL,NULL),(167,36,3,'contact@floridafund.org',1,0,0,0,NULL,NULL,NULL,NULL),(168,34,2,'olsen.omar16@floridafund.org',0,0,0,0,NULL,NULL,NULL,NULL),(169,115,3,'feedback@floridafamily.org',1,0,0,0,NULL,NULL,NULL,NULL),(170,47,2,'tanyaparker-daz20@floridafamily.org',0,0,0,0,NULL,NULL,NULL,NULL),(171,192,3,'sales@springfieldmusic.org',1,0,0,0,NULL,NULL,NULL,NULL),(172,79,3,'contact@sierraeducation.org',1,0,0,0,NULL,NULL,NULL,NULL),(173,67,3,'service@friendsmusicacademy.org',1,0,0,0,NULL,NULL,NULL,NULL),(174,119,3,'feedback@mooresburghealthsolutions.org',1,0,0,0,NULL,NULL,NULL,NULL),(175,114,2,'angelikawilson-barkley@mooresburghealthsolutions.org',1,0,0,0,NULL,NULL,NULL,NULL),(176,54,3,'feedback@ruralsportspartners.org',1,0,0,0,NULL,NULL,NULL,NULL),(177,112,2,'julianngrant64@ruralsportspartners.org',0,0,0,0,NULL,NULL,NULL,NULL),(178,91,3,'feedback@mainfamilynetwork.org',1,0,0,0,NULL,NULL,NULL,NULL),(179,172,2,'@mainfamilynetwork.org',0,0,0,0,NULL,NULL,NULL,NULL),(180,191,3,'contact@collegeculturesolutions.org',1,0,0,0,NULL,NULL,NULL,NULL),(181,150,2,'mller.a.kacey@collegeculturesolutions.org',1,0,0,0,NULL,NULL,NULL,NULL),(182,NULL,1,'development@example.org',0,0,0,0,NULL,NULL,NULL,NULL),(183,NULL,1,'tournaments@example.org',0,0,0,0,NULL,NULL,NULL,NULL),(184,NULL,1,'celebration@example.org',0,0,0,0,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `civicrm_email` ENABLE KEYS */; UNLOCK TABLES; @@ -447,7 +447,7 @@ UNLOCK TABLES; LOCK TABLES `civicrm_entity_financial_trxn` WRITE; /*!40000 ALTER TABLE `civicrm_entity_financial_trxn` DISABLE KEYS */; -INSERT INTO `civicrm_entity_financial_trxn` (`id`, `entity_table`, `entity_id`, `financial_trxn_id`, `amount`) VALUES (1,'civicrm_contribution',1,1,125.00),(2,'civicrm_financial_item',1,1,125.00),(3,'civicrm_contribution',2,2,50.00),(4,'civicrm_financial_item',2,2,50.00),(5,'civicrm_contribution',3,3,25.00),(6,'civicrm_financial_item',3,3,25.00),(7,'civicrm_contribution',4,4,50.00),(8,'civicrm_financial_item',4,4,50.00),(9,'civicrm_contribution',5,5,500.00),(10,'civicrm_financial_item',5,5,500.00),(11,'civicrm_contribution',6,6,175.00),(12,'civicrm_financial_item',6,6,175.00),(13,'civicrm_contribution',7,7,50.00),(14,'civicrm_financial_item',7,7,50.00),(15,'civicrm_contribution',8,8,10.00),(16,'civicrm_financial_item',8,8,10.00),(17,'civicrm_contribution',9,9,250.00),(18,'civicrm_financial_item',9,9,250.00),(19,'civicrm_contribution',10,10,500.00),(20,'civicrm_financial_item',10,10,500.00),(21,'civicrm_contribution',11,11,200.00),(22,'civicrm_financial_item',11,11,200.00),(23,'civicrm_contribution',12,12,200.00),(24,'civicrm_financial_item',12,12,200.00),(25,'civicrm_contribution',13,13,200.00),(26,'civicrm_financial_item',13,13,200.00),(27,'civicrm_contribution',65,14,50.00),(28,'civicrm_financial_item',14,14,50.00),(29,'civicrm_contribution',63,15,50.00),(30,'civicrm_financial_item',15,15,50.00),(31,'civicrm_contribution',59,16,50.00),(32,'civicrm_financial_item',16,16,50.00),(33,'civicrm_contribution',81,17,50.00),(34,'civicrm_financial_item',17,17,50.00),(35,'civicrm_contribution',76,18,50.00),(36,'civicrm_financial_item',18,18,50.00),(37,'civicrm_contribution',83,19,50.00),(38,'civicrm_financial_item',19,19,50.00),(39,'civicrm_contribution',86,20,50.00),(40,'civicrm_financial_item',20,20,50.00),(41,'civicrm_contribution',77,21,50.00),(42,'civicrm_financial_item',21,21,50.00),(43,'civicrm_contribution',79,22,50.00),(44,'civicrm_financial_item',22,22,50.00),(45,'civicrm_contribution',55,23,50.00),(46,'civicrm_financial_item',23,23,50.00),(47,'civicrm_contribution',50,24,50.00),(48,'civicrm_financial_item',24,24,50.00),(49,'civicrm_contribution',53,25,50.00),(50,'civicrm_financial_item',25,25,50.00),(51,'civicrm_contribution',72,26,50.00),(52,'civicrm_financial_item',26,26,50.00),(53,'civicrm_contribution',88,27,50.00),(54,'civicrm_financial_item',27,27,50.00),(55,'civicrm_contribution',73,28,50.00),(56,'civicrm_financial_item',28,28,50.00),(57,'civicrm_contribution',93,29,50.00),(58,'civicrm_financial_item',29,29,50.00),(59,'civicrm_contribution',92,30,800.00),(60,'civicrm_financial_item',30,30,800.00),(61,'civicrm_contribution',45,31,800.00),(62,'civicrm_financial_item',31,31,800.00),(63,'civicrm_contribution',60,32,800.00),(64,'civicrm_financial_item',32,32,800.00),(65,'civicrm_contribution',91,33,800.00),(66,'civicrm_financial_item',33,33,800.00),(67,'civicrm_contribution',94,34,800.00),(68,'civicrm_financial_item',34,34,800.00),(69,'civicrm_contribution',64,35,800.00),(70,'civicrm_financial_item',35,35,800.00),(71,'civicrm_contribution',48,36,800.00),(72,'civicrm_financial_item',36,36,800.00),(73,'civicrm_contribution',46,37,800.00),(74,'civicrm_financial_item',37,37,800.00),(75,'civicrm_contribution',82,38,800.00),(76,'civicrm_financial_item',38,38,800.00),(77,'civicrm_contribution',66,39,800.00),(78,'civicrm_financial_item',39,39,800.00),(79,'civicrm_contribution',78,40,800.00),(80,'civicrm_financial_item',40,40,800.00),(81,'civicrm_contribution',49,41,800.00),(82,'civicrm_financial_item',41,41,800.00),(83,'civicrm_contribution',74,42,800.00),(84,'civicrm_financial_item',42,42,800.00),(85,'civicrm_contribution',57,43,800.00),(86,'civicrm_financial_item',43,43,800.00),(87,'civicrm_contribution',51,44,800.00),(88,'civicrm_financial_item',44,44,800.00),(89,'civicrm_contribution',62,45,800.00),(90,'civicrm_financial_item',45,45,800.00),(91,'civicrm_contribution',87,46,800.00),(92,'civicrm_financial_item',46,46,800.00),(93,'civicrm_contribution',75,47,800.00),(94,'civicrm_financial_item',47,47,800.00),(95,'civicrm_contribution',54,48,50.00),(96,'civicrm_financial_item',48,48,50.00),(97,'civicrm_contribution',71,49,50.00),(98,'civicrm_financial_item',49,49,50.00),(99,'civicrm_contribution',67,50,50.00),(100,'civicrm_financial_item',50,50,50.00),(101,'civicrm_contribution',52,51,50.00),(102,'civicrm_financial_item',51,51,50.00),(103,'civicrm_contribution',84,52,50.00),(104,'civicrm_financial_item',52,52,50.00),(105,'civicrm_contribution',56,53,50.00),(106,'civicrm_financial_item',53,53,50.00),(107,'civicrm_contribution',47,54,50.00),(108,'civicrm_financial_item',54,54,50.00),(109,'civicrm_contribution',70,55,50.00),(110,'civicrm_financial_item',55,55,50.00),(111,'civicrm_contribution',58,56,50.00),(112,'civicrm_financial_item',56,56,50.00),(113,'civicrm_contribution',69,57,50.00),(114,'civicrm_financial_item',57,57,50.00),(115,'civicrm_contribution',90,58,50.00),(116,'civicrm_financial_item',58,58,50.00),(117,'civicrm_contribution',85,59,50.00),(118,'civicrm_financial_item',59,59,50.00),(119,'civicrm_contribution',89,60,50.00),(120,'civicrm_financial_item',60,60,50.00),(121,'civicrm_contribution',80,61,50.00),(122,'civicrm_financial_item',61,61,50.00),(123,'civicrm_contribution',61,62,50.00),(124,'civicrm_financial_item',62,62,50.00),(125,'civicrm_contribution',68,63,50.00),(126,'civicrm_financial_item',63,63,50.00); +INSERT INTO `civicrm_entity_financial_trxn` (`id`, `entity_table`, `entity_id`, `financial_trxn_id`, `amount`) VALUES (1,'civicrm_contribution',1,1,125.00),(2,'civicrm_financial_item',1,1,125.00),(3,'civicrm_contribution',2,2,50.00),(4,'civicrm_financial_item',2,2,50.00),(5,'civicrm_contribution',3,3,25.00),(6,'civicrm_financial_item',3,3,25.00),(7,'civicrm_contribution',4,4,50.00),(8,'civicrm_financial_item',4,4,50.00),(9,'civicrm_contribution',5,5,500.00),(10,'civicrm_financial_item',5,5,500.00),(11,'civicrm_contribution',6,6,175.00),(12,'civicrm_financial_item',6,6,175.00),(13,'civicrm_contribution',7,7,50.00),(14,'civicrm_financial_item',7,7,50.00),(15,'civicrm_contribution',8,8,10.00),(16,'civicrm_financial_item',8,8,10.00),(17,'civicrm_contribution',9,9,250.00),(18,'civicrm_financial_item',9,9,250.00),(19,'civicrm_contribution',10,10,500.00),(20,'civicrm_financial_item',10,10,500.00),(21,'civicrm_contribution',11,11,200.00),(22,'civicrm_financial_item',11,11,200.00),(23,'civicrm_contribution',12,12,200.00),(24,'civicrm_financial_item',12,12,200.00),(25,'civicrm_contribution',13,13,200.00),(26,'civicrm_financial_item',13,13,200.00),(27,'civicrm_contribution',53,14,50.00),(28,'civicrm_financial_item',14,14,50.00),(29,'civicrm_contribution',62,15,50.00),(30,'civicrm_financial_item',15,15,50.00),(31,'civicrm_contribution',82,16,50.00),(32,'civicrm_financial_item',16,16,50.00),(33,'civicrm_contribution',93,17,50.00),(34,'civicrm_financial_item',17,17,50.00),(35,'civicrm_contribution',86,18,50.00),(36,'civicrm_financial_item',18,18,50.00),(37,'civicrm_contribution',78,19,50.00),(38,'civicrm_financial_item',19,19,50.00),(39,'civicrm_contribution',54,20,50.00),(40,'civicrm_financial_item',20,20,50.00),(41,'civicrm_contribution',65,21,50.00),(42,'civicrm_financial_item',21,21,50.00),(43,'civicrm_contribution',79,22,50.00),(44,'civicrm_financial_item',22,22,50.00),(45,'civicrm_contribution',50,23,50.00),(46,'civicrm_financial_item',23,23,50.00),(47,'civicrm_contribution',92,24,50.00),(48,'civicrm_financial_item',24,24,50.00),(49,'civicrm_contribution',91,25,50.00),(50,'civicrm_financial_item',25,25,50.00),(51,'civicrm_contribution',88,26,50.00),(52,'civicrm_financial_item',26,26,50.00),(53,'civicrm_contribution',69,27,50.00),(54,'civicrm_financial_item',27,27,50.00),(55,'civicrm_contribution',70,28,50.00),(56,'civicrm_financial_item',28,28,50.00),(57,'civicrm_contribution',90,29,50.00),(58,'civicrm_financial_item',29,29,50.00),(59,'civicrm_contribution',89,30,800.00),(60,'civicrm_financial_item',30,30,800.00),(61,'civicrm_contribution',56,31,800.00),(62,'civicrm_financial_item',31,31,800.00),(63,'civicrm_contribution',76,32,800.00),(64,'civicrm_financial_item',32,32,800.00),(65,'civicrm_contribution',48,33,800.00),(66,'civicrm_financial_item',33,33,800.00),(67,'civicrm_contribution',63,34,800.00),(68,'civicrm_financial_item',34,34,800.00),(69,'civicrm_contribution',52,35,800.00),(70,'civicrm_financial_item',35,35,800.00),(71,'civicrm_contribution',81,36,800.00),(72,'civicrm_financial_item',36,36,800.00),(73,'civicrm_contribution',85,37,800.00),(74,'civicrm_financial_item',37,37,800.00),(75,'civicrm_contribution',74,38,800.00),(76,'civicrm_financial_item',38,38,800.00),(77,'civicrm_contribution',77,39,800.00),(78,'civicrm_financial_item',39,39,800.00),(79,'civicrm_contribution',80,40,800.00),(80,'civicrm_financial_item',40,40,800.00),(81,'civicrm_contribution',58,41,800.00),(82,'civicrm_financial_item',41,41,800.00),(83,'civicrm_contribution',94,42,800.00),(84,'civicrm_financial_item',42,42,800.00),(85,'civicrm_contribution',73,43,800.00),(86,'civicrm_financial_item',43,43,800.00),(87,'civicrm_contribution',67,44,800.00),(88,'civicrm_financial_item',44,44,800.00),(89,'civicrm_contribution',47,45,800.00),(90,'civicrm_financial_item',45,45,800.00),(91,'civicrm_contribution',57,46,800.00),(92,'civicrm_financial_item',46,46,800.00),(93,'civicrm_contribution',72,47,800.00),(94,'civicrm_financial_item',47,47,800.00),(95,'civicrm_contribution',49,48,50.00),(96,'civicrm_financial_item',48,48,50.00),(97,'civicrm_contribution',60,49,50.00),(98,'civicrm_financial_item',49,49,50.00),(99,'civicrm_contribution',45,50,50.00),(100,'civicrm_financial_item',50,50,50.00),(101,'civicrm_contribution',55,51,50.00),(102,'civicrm_financial_item',51,51,50.00),(103,'civicrm_contribution',61,52,50.00),(104,'civicrm_financial_item',52,52,50.00),(105,'civicrm_contribution',64,53,50.00),(106,'civicrm_financial_item',53,53,50.00),(107,'civicrm_contribution',71,54,50.00),(108,'civicrm_financial_item',54,54,50.00),(109,'civicrm_contribution',87,55,50.00),(110,'civicrm_financial_item',55,55,50.00),(111,'civicrm_contribution',75,56,50.00),(112,'civicrm_financial_item',56,56,50.00),(113,'civicrm_contribution',84,57,50.00),(114,'civicrm_financial_item',57,57,50.00),(115,'civicrm_contribution',83,58,50.00),(116,'civicrm_financial_item',58,58,50.00),(117,'civicrm_contribution',59,59,50.00),(118,'civicrm_financial_item',59,59,50.00),(119,'civicrm_contribution',68,60,50.00),(120,'civicrm_financial_item',60,60,50.00),(121,'civicrm_contribution',66,61,50.00),(122,'civicrm_financial_item',61,61,50.00),(123,'civicrm_contribution',46,62,50.00),(124,'civicrm_financial_item',62,62,50.00),(125,'civicrm_contribution',51,63,50.00),(126,'civicrm_financial_item',63,63,50.00); /*!40000 ALTER TABLE `civicrm_entity_financial_trxn` ENABLE KEYS */; UNLOCK TABLES; @@ -457,7 +457,7 @@ 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 (69,'civicrm_contact',2,5),(60,'civicrm_contact',6,4),(61,'civicrm_contact',6,5),(20,'civicrm_contact',8,4),(86,'civicrm_contact',11,5),(58,'civicrm_contact',14,5),(26,'civicrm_contact',17,4),(22,'civicrm_contact',20,4),(14,'civicrm_contact',22,5),(21,'civicrm_contact',23,4),(63,'civicrm_contact',27,4),(64,'civicrm_contact',27,5),(73,'civicrm_contact',31,5),(27,'civicrm_contact',34,4),(107,'civicrm_contact',37,4),(78,'civicrm_contact',38,4),(84,'civicrm_contact',43,5),(74,'civicrm_contact',47,5),(8,'civicrm_contact',48,2),(104,'civicrm_contact',49,5),(47,'civicrm_contact',51,4),(48,'civicrm_contact',51,5),(28,'civicrm_contact',52,4),(75,'civicrm_contact',53,5),(17,'civicrm_contact',55,5),(5,'civicrm_contact',56,1),(49,'civicrm_contact',58,5),(101,'civicrm_contact',59,5),(102,'civicrm_contact',60,4),(103,'civicrm_contact',60,5),(92,'civicrm_contact',62,4),(62,'civicrm_contact',64,5),(25,'civicrm_contact',65,5),(109,'civicrm_contact',71,4),(96,'civicrm_contact',72,4),(97,'civicrm_contact',72,5),(70,'civicrm_contact',73,5),(77,'civicrm_contact',76,4),(6,'civicrm_contact',77,2),(31,'civicrm_contact',78,4),(32,'civicrm_contact',78,5),(79,'civicrm_contact',79,4),(50,'civicrm_contact',81,4),(51,'civicrm_contact',81,5),(65,'civicrm_contact',82,4),(45,'civicrm_contact',84,4),(46,'civicrm_contact',84,5),(9,'civicrm_contact',85,3),(95,'civicrm_contact',89,4),(82,'civicrm_contact',90,4),(83,'civicrm_contact',90,5),(4,'civicrm_contact',92,2),(72,'civicrm_contact',97,5),(76,'civicrm_contact',98,5),(29,'civicrm_contact',103,4),(89,'civicrm_contact',104,5),(36,'civicrm_contact',107,5),(30,'civicrm_contact',110,4),(3,'civicrm_contact',111,2),(91,'civicrm_contact',112,4),(23,'civicrm_contact',114,4),(24,'civicrm_contact',114,5),(67,'civicrm_contact',115,4),(12,'civicrm_contact',123,4),(13,'civicrm_contact',123,5),(2,'civicrm_contact',124,1),(87,'civicrm_contact',126,4),(88,'civicrm_contact',126,5),(93,'civicrm_contact',127,5),(66,'civicrm_contact',128,5),(42,'civicrm_contact',130,5),(106,'civicrm_contact',131,4),(57,'civicrm_contact',133,5),(68,'civicrm_contact',134,4),(18,'civicrm_contact',135,4),(19,'civicrm_contact',135,5),(16,'civicrm_contact',137,4),(105,'civicrm_contact',143,5),(56,'civicrm_contact',146,5),(99,'civicrm_contact',147,4),(100,'civicrm_contact',147,5),(35,'civicrm_contact',149,5),(85,'civicrm_contact',151,4),(43,'civicrm_contact',153,4),(44,'civicrm_contact',153,5),(94,'civicrm_contact',154,4),(90,'civicrm_contact',155,5),(37,'civicrm_contact',159,4),(38,'civicrm_contact',159,5),(15,'civicrm_contact',160,4),(71,'civicrm_contact',163,5),(81,'civicrm_contact',166,5),(11,'civicrm_contact',167,5),(98,'civicrm_contact',169,4),(80,'civicrm_contact',178,5),(52,'civicrm_contact',179,5),(40,'civicrm_contact',180,4),(41,'civicrm_contact',180,5),(10,'civicrm_contact',181,1),(7,'civicrm_contact',182,2),(39,'civicrm_contact',184,5),(108,'civicrm_contact',185,5),(54,'civicrm_contact',186,4),(55,'civicrm_contact',186,5),(1,'civicrm_contact',187,3),(59,'civicrm_contact',188,4),(33,'civicrm_contact',198,4),(34,'civicrm_contact',198,5),(53,'civicrm_contact',200,5); +INSERT INTO `civicrm_entity_tag` (`id`, `entity_table`, `entity_id`, `tag_id`) VALUES (23,'civicrm_contact',2,5),(64,'civicrm_contact',3,4),(65,'civicrm_contact',3,5),(118,'civicrm_contact',5,5),(11,'civicrm_contact',6,4),(12,'civicrm_contact',6,5),(80,'civicrm_contact',7,4),(36,'civicrm_contact',8,4),(73,'civicrm_contact',13,5),(104,'civicrm_contact',18,4),(105,'civicrm_contact',18,5),(63,'civicrm_contact',19,5),(113,'civicrm_contact',20,5),(106,'civicrm_contact',22,4),(55,'civicrm_contact',27,4),(56,'civicrm_contact',27,5),(3,'civicrm_contact',29,2),(40,'civicrm_contact',32,4),(76,'civicrm_contact',34,4),(99,'civicrm_contact',37,4),(79,'civicrm_contact',40,5),(49,'civicrm_contact',41,5),(57,'civicrm_contact',42,4),(58,'civicrm_contact',42,5),(66,'civicrm_contact',44,4),(88,'civicrm_contact',48,4),(89,'civicrm_contact',48,5),(25,'civicrm_contact',51,4),(26,'civicrm_contact',51,5),(9,'civicrm_contact',54,2),(4,'civicrm_contact',56,2),(96,'civicrm_contact',69,4),(97,'civicrm_contact',69,5),(30,'civicrm_contact',70,4),(24,'civicrm_contact',71,4),(22,'civicrm_contact',73,4),(61,'civicrm_contact',75,4),(62,'civicrm_contact',75,5),(94,'civicrm_contact',78,4),(95,'civicrm_contact',78,5),(7,'civicrm_contact',79,1),(85,'civicrm_contact',80,5),(72,'civicrm_contact',83,5),(20,'civicrm_contact',85,4),(34,'civicrm_contact',87,4),(35,'civicrm_contact',87,5),(5,'civicrm_contact',89,2),(10,'civicrm_contact',91,3),(83,'civicrm_contact',92,5),(1,'civicrm_contact',95,2),(8,'civicrm_contact',96,1),(14,'civicrm_contact',98,4),(21,'civicrm_contact',101,5),(59,'civicrm_contact',104,5),(41,'civicrm_contact',105,4),(42,'civicrm_contact',105,5),(31,'civicrm_contact',107,5),(70,'civicrm_contact',108,4),(71,'civicrm_contact',108,5),(98,'civicrm_contact',109,4),(112,'civicrm_contact',110,4),(107,'civicrm_contact',111,4),(108,'civicrm_contact',111,5),(29,'civicrm_contact',112,5),(37,'civicrm_contact',113,4),(6,'civicrm_contact',115,1),(100,'civicrm_contact',116,4),(38,'civicrm_contact',117,4),(39,'civicrm_contact',117,5),(52,'civicrm_contact',121,5),(74,'civicrm_contact',123,4),(75,'civicrm_contact',123,5),(33,'civicrm_contact',124,4),(50,'civicrm_contact',126,4),(51,'civicrm_contact',126,5),(2,'civicrm_contact',127,3),(16,'civicrm_contact',130,5),(53,'civicrm_contact',132,4),(54,'civicrm_contact',132,5),(60,'civicrm_contact',134,4),(43,'civicrm_contact',135,4),(44,'civicrm_contact',135,5),(81,'civicrm_contact',140,5),(47,'civicrm_contact',141,4),(48,'civicrm_contact',141,5),(86,'civicrm_contact',143,5),(17,'civicrm_contact',144,4),(18,'civicrm_contact',144,5),(109,'civicrm_contact',145,5),(110,'civicrm_contact',147,4),(111,'civicrm_contact',147,5),(82,'civicrm_contact',149,4),(27,'civicrm_contact',151,4),(45,'civicrm_contact',153,4),(46,'civicrm_contact',153,5),(91,'civicrm_contact',154,5),(13,'civicrm_contact',157,4),(90,'civicrm_contact',161,4),(116,'civicrm_contact',162,4),(117,'civicrm_contact',162,5),(15,'civicrm_contact',164,4),(68,'civicrm_contact',165,4),(69,'civicrm_contact',165,5),(114,'civicrm_contact',170,5),(102,'civicrm_contact',171,4),(103,'civicrm_contact',171,5),(32,'civicrm_contact',173,5),(101,'civicrm_contact',175,4),(77,'civicrm_contact',177,4),(78,'civicrm_contact',177,5),(19,'civicrm_contact',178,4),(87,'civicrm_contact',182,4),(67,'civicrm_contact',184,5),(92,'civicrm_contact',186,4),(93,'civicrm_contact',186,5),(84,'civicrm_contact',187,4),(28,'civicrm_contact',188,5),(115,'civicrm_contact',194,5); /*!40000 ALTER TABLE `civicrm_entity_tag` ENABLE KEYS */; UNLOCK TABLES; @@ -467,7 +467,7 @@ 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`, `allow_same_participant_emails`, `has_waitlist`, `requires_approval`, `expiration_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,'2016-04-13 17:00:00','2016-04-15 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!','

Thank you for your support. Your contribution will help us build even better tools.

Please tell your friends and colleagues about this wonderful event.

','

Back to CiviCRM Home Page

',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,NULL,NULL,NULL,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,'2015-10-12 12:00:00','2015-10-12 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!','

Thank you for your support. Your participation will help build new parks.

Please tell your friends and colleagues about the concert.

','

Back to CiviCRM Home Page

',0,NULL,NULL,0,NULL,NULL,NULL,1,0,NULL,NULL,NULL,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,'2016-05-13 07:00:00','2016-05-16 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.','A Soccer Youth Event','Review and Confirm Your Registration Information','','A Soccer Youth Event',1,'Contact our Tournament Director for eligibility details.','Tournament Director','tournament@example.org','',NULL,NULL,NULL,'Thanks for Your Support!','

Thank you for your support. Your participation will help save thousands of acres of rainforest.

','

Back to CiviCRM Home Page

',0,NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,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,NULL,NULL,NULL,NULL,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,1,NULL,NULL,NULL,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,1,NULL,NULL,NULL,NULL,NULL,1,'Paid Conference with Online Registration',NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0); +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`, `allow_same_participant_emails`, `has_waitlist`, `requires_approval`, `expiration_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,'2016-07-06 17:00:00','2016-07-08 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!','

Thank you for your support. Your contribution will help us build even better tools.

Please tell your friends and colleagues about this wonderful event.

','

Back to CiviCRM Home Page

',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,NULL,NULL,NULL,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,'2016-01-05 12:00:00','2016-01-05 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!','

Thank you for your support. Your participation will help build new parks.

Please tell your friends and colleagues about the concert.

','

Back to CiviCRM Home Page

',0,NULL,NULL,0,NULL,NULL,NULL,1,0,NULL,NULL,NULL,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,'2016-08-06 07:00:00','2016-08-09 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.','A Soccer Youth Event','Review and Confirm Your Registration Information','','A Soccer Youth Event',1,'Contact our Tournament Director for eligibility details.','Tournament Director','tournament@example.org','',NULL,NULL,NULL,'Thanks for Your Support!','

Thank you for your support. Your participation will help save thousands of acres of rainforest.

','

Back to CiviCRM Home Page

',0,NULL,NULL,0,NULL,NULL,NULL,0,0,NULL,NULL,NULL,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,NULL,NULL,NULL,NULL,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,1,NULL,NULL,NULL,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,1,NULL,NULL,NULL,NULL,NULL,1,'Paid Conference with Online Registration',NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0); /*!40000 ALTER TABLE `civicrm_event` ENABLE KEYS */; UNLOCK TABLES; @@ -523,7 +523,7 @@ 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,'2015-10-13 21:43:55','2010-04-11 00:00:00',2,'Contribution Amount',125.00,'USD',1,1,'civicrm_line_item',1),(2,'2015-10-13 21:43:55','2010-03-21 00:00:00',4,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',2),(3,'2015-10-13 21:43:55','2010-04-29 00:00:00',6,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',3),(4,'2015-10-13 21:43:55','2010-04-11 00:00:00',8,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',4),(5,'2015-10-13 21:43:55','2010-04-15 00:00:00',16,'Contribution Amount',500.00,'USD',1,1,'civicrm_line_item',5),(6,'2015-10-13 21:43:55','2010-04-11 00:00:00',19,'Contribution Amount',175.00,'USD',1,1,'civicrm_line_item',6),(7,'2015-10-13 21:43:55','2010-03-27 00:00:00',82,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',7),(8,'2015-10-13 21:43:55','2010-03-08 00:00:00',92,'Contribution Amount',10.00,'USD',1,1,'civicrm_line_item',8),(9,'2015-10-13 21:43:55','2010-04-22 00:00:00',34,'Contribution Amount',250.00,'USD',1,1,'civicrm_line_item',9),(10,'2015-10-13 21:43:55','2009-07-01 11:53:50',71,'Contribution Amount',500.00,'USD',1,1,'civicrm_line_item',10),(11,'2015-10-13 21:43:55','2009-07-01 12:55:41',43,'Contribution Amount',200.00,'USD',1,1,'civicrm_line_item',11),(12,'2015-10-13 21:43:55','2009-10-01 11:53:50',32,'Contribution Amount',200.00,'USD',1,1,'civicrm_line_item',12),(13,'2015-10-13 21:43:55','2009-12-01 12:55:41',32,'Contribution Amount',200.00,'USD',1,1,'civicrm_line_item',13),(14,'2015-10-13 21:43:56','2015-10-13 22:43:56',76,'Soprano',50.00,'USD',2,1,'civicrm_line_item',81),(15,'2015-10-13 21:43:56','2015-10-13 22:43:56',67,'Soprano',50.00,'USD',2,1,'civicrm_line_item',82),(16,'2015-10-13 21:43:56','2015-10-13 22:43:56',54,'Soprano',50.00,'USD',2,1,'civicrm_line_item',83),(17,'2015-10-13 21:43:56','2015-10-13 22:43:56',130,'Soprano',50.00,'USD',2,1,'civicrm_line_item',84),(18,'2015-10-13 21:43:56','2015-10-13 22:43:56',100,'Soprano',50.00,'USD',2,1,'civicrm_line_item',85),(19,'2015-10-13 21:43:56','2015-10-13 22:43:56',139,'Soprano',50.00,'USD',2,1,'civicrm_line_item',86),(20,'2015-10-13 21:43:56','2015-10-13 22:43:56',157,'Soprano',50.00,'USD',2,1,'civicrm_line_item',87),(21,'2015-10-13 21:43:56','2015-10-13 22:43:56',103,'Soprano',50.00,'USD',2,1,'civicrm_line_item',88),(22,'2015-10-13 21:43:56','2015-10-13 22:43:56',123,'Soprano',50.00,'USD',2,1,'civicrm_line_item',89),(23,'2015-10-13 21:43:56','2015-10-13 22:43:56',41,'Soprano',50.00,'USD',2,1,'civicrm_line_item',90),(24,'2015-10-13 21:43:56','2015-10-13 22:43:56',11,'Soprano',50.00,'USD',2,1,'civicrm_line_item',91),(25,'2015-10-13 21:43:56','2015-10-13 22:43:56',30,'Soprano',50.00,'USD',2,1,'civicrm_line_item',92),(26,'2015-10-13 21:43:56','2015-10-13 22:43:56',94,'Soprano',50.00,'USD',2,1,'civicrm_line_item',93),(27,'2015-10-13 21:43:56','2015-10-13 22:43:56',165,'Soprano',50.00,'USD',2,1,'civicrm_line_item',94),(28,'2015-10-13 21:43:56','2015-10-13 22:43:56',96,'Soprano',50.00,'USD',2,1,'civicrm_line_item',95),(29,'2015-10-13 21:43:56','2015-10-13 22:43:56',192,'Soprano',50.00,'USD',2,1,'civicrm_line_item',96),(30,'2015-10-13 21:43:56','2015-10-13 22:43:56',190,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',47),(31,'2015-10-13 21:43:56','2015-10-13 22:43:56',3,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',48),(32,'2015-10-13 21:43:56','2015-10-13 22:43:56',55,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',49),(33,'2015-10-13 21:43:56','2015-10-13 22:43:56',182,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',50),(34,'2015-10-13 21:43:56','2015-10-13 22:43:56',198,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',51),(35,'2015-10-13 21:43:56','2015-10-13 22:43:56',75,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',52),(36,'2015-10-13 21:43:56','2015-10-13 22:43:56',9,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',53),(37,'2015-10-13 21:43:56','2015-10-13 22:43:56',7,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',54),(38,'2015-10-13 21:43:56','2015-10-13 22:43:56',133,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',55),(39,'2015-10-13 21:43:56','2015-10-13 22:43:56',80,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',56),(40,'2015-10-13 21:43:56','2015-10-13 22:43:56',109,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',57),(41,'2015-10-13 21:43:56','2015-10-13 22:43:56',10,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',58),(42,'2015-10-13 21:43:56','2015-10-13 22:43:56',98,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',59),(43,'2015-10-13 21:43:56','2015-10-13 22:43:56',45,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',60),(44,'2015-10-13 21:43:56','2015-10-13 22:43:56',22,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',61),(45,'2015-10-13 21:43:56','2015-10-13 22:43:56',64,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',62),(46,'2015-10-13 21:43:56','2015-10-13 22:43:56',160,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',63),(47,'2015-10-13 21:43:56','2015-10-13 22:43:56',99,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',64),(48,'2015-10-13 21:43:56','2015-10-13 22:43:56',38,'Single',50.00,'USD',4,1,'civicrm_line_item',65),(49,'2015-10-13 21:43:56','2015-10-13 22:43:56',92,'Single',50.00,'USD',4,1,'civicrm_line_item',66),(50,'2015-10-13 21:43:56','2015-10-13 22:43:56',84,'Single',50.00,'USD',4,1,'civicrm_line_item',67),(51,'2015-10-13 21:43:56','2015-10-13 22:43:56',25,'Single',50.00,'USD',4,1,'civicrm_line_item',68),(52,'2015-10-13 21:43:56','2015-10-13 22:43:56',145,'Single',50.00,'USD',4,1,'civicrm_line_item',69),(53,'2015-10-13 21:43:56','2015-10-13 22:43:56',44,'Single',50.00,'USD',4,1,'civicrm_line_item',70),(54,'2015-10-13 21:43:56','2015-10-13 22:43:56',8,'Single',50.00,'USD',4,1,'civicrm_line_item',71),(55,'2015-10-13 21:43:56','2015-10-13 22:43:56',90,'Single',50.00,'USD',4,1,'civicrm_line_item',72),(56,'2015-10-13 21:43:56','2015-10-13 22:43:56',52,'Single',50.00,'USD',4,1,'civicrm_line_item',73),(57,'2015-10-13 21:43:56','2015-10-13 22:43:56',89,'Single',50.00,'USD',4,1,'civicrm_line_item',74),(58,'2015-10-13 21:43:56','2015-10-13 22:43:56',179,'Single',50.00,'USD',4,1,'civicrm_line_item',75),(59,'2015-10-13 21:43:56','2015-10-13 22:43:56',147,'Single',50.00,'USD',4,1,'civicrm_line_item',76),(60,'2015-10-13 21:43:56','2015-10-13 22:43:56',168,'Single',50.00,'USD',4,1,'civicrm_line_item',77),(61,'2015-10-13 21:43:56','2015-10-13 22:43:56',125,'Single',50.00,'USD',4,1,'civicrm_line_item',78),(62,'2015-10-13 21:43:56','2015-10-13 22:43:56',56,'Single',50.00,'USD',4,1,'civicrm_line_item',79),(63,'2015-10-13 21:43:56','2015-10-13 22:43:56',88,'Single',50.00,'USD',4,1,'civicrm_line_item',80); +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,'2016-01-06 22:23:14','2010-04-11 00:00:00',2,'Contribution Amount',125.00,'USD',1,1,'civicrm_line_item',1),(2,'2016-01-06 22:23:14','2010-03-21 00:00:00',4,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',2),(3,'2016-01-06 22:23:14','2010-04-29 00:00:00',6,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',3),(4,'2016-01-06 22:23:14','2010-04-11 00:00:00',8,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',4),(5,'2016-01-06 22:23:14','2010-04-15 00:00:00',16,'Contribution Amount',500.00,'USD',1,1,'civicrm_line_item',5),(6,'2016-01-06 22:23:14','2010-04-11 00:00:00',19,'Contribution Amount',175.00,'USD',1,1,'civicrm_line_item',6),(7,'2016-01-06 22:23:14','2010-03-27 00:00:00',82,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',7),(8,'2016-01-06 22:23:14','2010-03-08 00:00:00',92,'Contribution Amount',10.00,'USD',1,1,'civicrm_line_item',8),(9,'2016-01-06 22:23:14','2010-04-22 00:00:00',34,'Contribution Amount',250.00,'USD',1,1,'civicrm_line_item',9),(10,'2016-01-06 22:23:14','2009-07-01 11:53:50',71,'Contribution Amount',500.00,'USD',1,1,'civicrm_line_item',10),(11,'2016-01-06 22:23:14','2009-07-01 12:55:41',43,'Contribution Amount',200.00,'USD',1,1,'civicrm_line_item',11),(12,'2016-01-06 22:23:14','2009-10-01 11:53:50',32,'Contribution Amount',200.00,'USD',1,1,'civicrm_line_item',12),(13,'2016-01-06 22:23:14','2009-12-01 12:55:41',32,'Contribution Amount',200.00,'USD',1,1,'civicrm_line_item',13),(14,'2016-01-06 22:23:14','2016-01-06 14:23:14',32,'Soprano',50.00,'USD',2,1,'civicrm_line_item',81),(15,'2016-01-06 22:23:14','2016-01-06 14:23:14',58,'Soprano',50.00,'USD',2,1,'civicrm_line_item',82),(16,'2016-01-06 22:23:14','2016-01-06 14:23:14',151,'Soprano',50.00,'USD',2,1,'civicrm_line_item',83),(17,'2016-01-06 22:23:14','2016-01-06 14:23:14',186,'Soprano',50.00,'USD',2,1,'civicrm_line_item',84),(18,'2016-01-06 22:23:14','2016-01-06 14:23:14',156,'Soprano',50.00,'USD',2,1,'civicrm_line_item',85),(19,'2016-01-06 22:23:14','2016-01-06 14:23:14',133,'Soprano',50.00,'USD',2,1,'civicrm_line_item',86),(20,'2016-01-06 22:23:14','2016-01-06 14:23:14',34,'Soprano',50.00,'USD',2,1,'civicrm_line_item',87),(21,'2016-01-06 22:23:14','2016-01-06 14:23:14',75,'Soprano',50.00,'USD',2,1,'civicrm_line_item',88),(22,'2016-01-06 22:23:14','2016-01-06 14:23:14',139,'Soprano',50.00,'USD',2,1,'civicrm_line_item',89),(23,'2016-01-06 22:23:14','2016-01-06 14:23:14',28,'Soprano',50.00,'USD',2,1,'civicrm_line_item',90),(24,'2016-01-06 22:23:14','2016-01-06 14:23:14',183,'Soprano',50.00,'USD',2,1,'civicrm_line_item',91),(25,'2016-01-06 22:23:14','2016-01-06 14:23:14',180,'Soprano',50.00,'USD',2,1,'civicrm_line_item',92),(26,'2016-01-06 22:23:14','2016-01-06 14:23:14',164,'Soprano',50.00,'USD',2,1,'civicrm_line_item',93),(27,'2016-01-06 22:23:14','2016-01-06 14:23:14',91,'Soprano',50.00,'USD',2,1,'civicrm_line_item',94),(28,'2016-01-06 22:23:14','2016-01-06 14:23:14',97,'Soprano',50.00,'USD',2,1,'civicrm_line_item',95),(29,'2016-01-06 22:23:14','2016-01-06 14:23:14',170,'Soprano',50.00,'USD',2,1,'civicrm_line_item',96),(30,'2016-01-06 22:23:14','2016-01-06 14:23:14',169,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',47),(31,'2016-01-06 22:23:14','2016-01-06 14:23:14',44,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',48),(32,'2016-01-06 22:23:14','2016-01-06 14:23:14',122,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',49),(33,'2016-01-06 22:23:14','2016-01-06 14:23:14',18,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',50),(34,'2016-01-06 22:23:14','2016-01-06 14:23:14',63,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',51),(35,'2016-01-06 22:23:14','2016-01-06 14:23:14',30,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',52),(36,'2016-01-06 22:23:14','2016-01-06 14:23:14',150,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',53),(37,'2016-01-06 22:23:14','2016-01-06 14:23:14',154,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',54),(38,'2016-01-06 22:23:14','2016-01-06 14:23:14',113,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',55),(39,'2016-01-06 22:23:14','2016-01-06 14:23:14',124,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',56),(40,'2016-01-06 22:23:14','2016-01-06 14:23:14',146,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',57),(41,'2016-01-06 22:23:14','2016-01-06 14:23:14',49,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',58),(42,'2016-01-06 22:23:14','2016-01-06 14:23:14',194,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',59),(43,'2016-01-06 22:23:14','2016-01-06 14:23:14',110,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',60),(44,'2016-01-06 22:23:14','2016-01-06 14:23:14',87,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',61),(45,'2016-01-06 22:23:14','2016-01-06 14:23:14',15,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',62),(46,'2016-01-06 22:23:14','2016-01-06 14:23:14',47,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',63),(47,'2016-01-06 22:23:14','2016-01-06 14:23:14',99,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',64),(48,'2016-01-06 22:23:14','2016-01-06 14:23:14',22,'Single',50.00,'USD',4,1,'civicrm_line_item',65),(49,'2016-01-06 22:23:14','2016-01-06 14:23:14',52,'Single',50.00,'USD',4,1,'civicrm_line_item',66),(50,'2016-01-06 22:23:14','2016-01-06 14:23:14',2,'Single',50.00,'USD',4,1,'civicrm_line_item',67),(51,'2016-01-06 22:23:14','2016-01-06 14:23:14',35,'Single',50.00,'USD',4,1,'civicrm_line_item',68),(52,'2016-01-06 22:23:14','2016-01-06 14:23:14',53,'Single',50.00,'USD',4,1,'civicrm_line_item',69),(53,'2016-01-06 22:23:14','2016-01-06 14:23:14',71,'Single',50.00,'USD',4,1,'civicrm_line_item',70),(54,'2016-01-06 22:23:14','2016-01-06 14:23:14',98,'Single',50.00,'USD',4,1,'civicrm_line_item',71),(55,'2016-01-06 22:23:14','2016-01-06 14:23:14',158,'Single',50.00,'USD',4,1,'civicrm_line_item',72),(56,'2016-01-06 22:23:14','2016-01-06 14:23:14',118,'Single',50.00,'USD',4,1,'civicrm_line_item',73),(57,'2016-01-06 22:23:14','2016-01-06 14:23:14',153,'Single',50.00,'USD',4,1,'civicrm_line_item',74),(58,'2016-01-06 22:23:14','2016-01-06 14:23:14',152,'Single',50.00,'USD',4,1,'civicrm_line_item',75),(59,'2016-01-06 22:23:14','2016-01-06 14:23:14',50,'Single',50.00,'USD',4,1,'civicrm_line_item',76),(60,'2016-01-06 22:23:14','2016-01-06 14:23:14',89,'Single',50.00,'USD',4,1,'civicrm_line_item',77),(61,'2016-01-06 22:23:14','2016-01-06 14:23:14',77,'Single',50.00,'USD',4,1,'civicrm_line_item',78),(62,'2016-01-06 22:23:14','2016-01-06 14:23:14',7,'Single',50.00,'USD',4,1,'civicrm_line_item',79),(63,'2016-01-06 22:23:14','2016-01-06 14:23:14',29,'Single',50.00,'USD',4,1,'civicrm_line_item',80); /*!40000 ALTER TABLE `civicrm_financial_item` ENABLE KEYS */; UNLOCK TABLES; @@ -533,7 +533,7 @@ UNLOCK TABLES; LOCK TABLES `civicrm_financial_trxn` WRITE; /*!40000 ALTER TABLE `civicrm_financial_trxn` DISABLE KEYS */; -INSERT INTO `civicrm_financial_trxn` (`id`, `from_financial_account_id`, `to_financial_account_id`, `trxn_date`, `total_amount`, `fee_amount`, `net_amount`, `currency`, `trxn_id`, `trxn_result_code`, `status_id`, `payment_processor_id`, `payment_instrument_id`, `check_number`) VALUES (1,NULL,6,'2010-04-11 00:00:00',125.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,'1041'),(2,NULL,12,'2010-03-21 00:00:00',50.00,NULL,NULL,'USD','P20901X1',NULL,1,NULL,1,NULL),(3,NULL,6,'2010-04-29 00:00:00',25.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,'2095'),(4,NULL,6,'2010-04-11 00:00:00',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,'10552'),(5,NULL,6,'2010-04-15 00:00:00',500.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,'509'),(6,NULL,6,'2010-04-11 00:00:00',175.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,'102'),(7,NULL,12,'2010-03-27 00:00:00',50.00,NULL,NULL,'USD','P20193L2',NULL,1,NULL,1,NULL),(8,NULL,12,'2010-03-08 00:00:00',10.00,NULL,NULL,'USD','P40232Y3',NULL,1,NULL,1,NULL),(9,NULL,12,'2010-04-22 00:00:00',250.00,NULL,NULL,'USD','P20193L6',NULL,1,NULL,1,NULL),(10,NULL,12,'2009-07-01 11:53:50',500.00,NULL,NULL,'USD','PL71',NULL,1,NULL,1,NULL),(11,NULL,12,'2009-07-01 12:55:41',200.00,NULL,NULL,'USD','PL43II',NULL,1,NULL,1,NULL),(12,NULL,12,'2009-10-01 11:53:50',200.00,NULL,NULL,'USD','PL32I',NULL,1,NULL,1,NULL),(13,NULL,12,'2009-12-01 12:55:41',200.00,NULL,NULL,'USD','PL32II',NULL,1,NULL,1,NULL),(14,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(15,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(16,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(17,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(18,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(19,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(20,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(21,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(22,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(23,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(24,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(25,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(26,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(27,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(28,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(29,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(30,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(31,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(32,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(33,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(34,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(35,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(36,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(37,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(38,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(39,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(40,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(41,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(42,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(43,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(44,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(45,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(46,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(47,NULL,1,'2015-10-13 22:43:56',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(48,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(49,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(50,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(51,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(52,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(53,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(54,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(55,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(56,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(57,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(58,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(59,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(60,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(61,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(62,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(63,NULL,1,'2015-10-13 22:43:56',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL); +INSERT INTO `civicrm_financial_trxn` (`id`, `from_financial_account_id`, `to_financial_account_id`, `trxn_date`, `total_amount`, `fee_amount`, `net_amount`, `currency`, `trxn_id`, `trxn_result_code`, `status_id`, `payment_processor_id`, `payment_instrument_id`, `check_number`) VALUES (1,NULL,6,'2010-04-11 00:00:00',125.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,'1041'),(2,NULL,12,'2010-03-21 00:00:00',50.00,NULL,NULL,'USD','P20901X1',NULL,1,NULL,1,NULL),(3,NULL,6,'2010-04-29 00:00:00',25.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,'2095'),(4,NULL,6,'2010-04-11 00:00:00',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,'10552'),(5,NULL,6,'2010-04-15 00:00:00',500.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,'509'),(6,NULL,6,'2010-04-11 00:00:00',175.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,'102'),(7,NULL,12,'2010-03-27 00:00:00',50.00,NULL,NULL,'USD','P20193L2',NULL,1,NULL,1,NULL),(8,NULL,12,'2010-03-08 00:00:00',10.00,NULL,NULL,'USD','P40232Y3',NULL,1,NULL,1,NULL),(9,NULL,12,'2010-04-22 00:00:00',250.00,NULL,NULL,'USD','P20193L6',NULL,1,NULL,1,NULL),(10,NULL,12,'2009-07-01 11:53:50',500.00,NULL,NULL,'USD','PL71',NULL,1,NULL,1,NULL),(11,NULL,12,'2009-07-01 12:55:41',200.00,NULL,NULL,'USD','PL43II',NULL,1,NULL,1,NULL),(12,NULL,12,'2009-10-01 11:53:50',200.00,NULL,NULL,'USD','PL32I',NULL,1,NULL,1,NULL),(13,NULL,12,'2009-12-01 12:55:41',200.00,NULL,NULL,'USD','PL32II',NULL,1,NULL,1,NULL),(14,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(15,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(16,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(17,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(18,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(19,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(20,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(21,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(22,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(23,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(24,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(25,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(26,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(27,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(28,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(29,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(30,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(31,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(32,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(33,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(34,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(35,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(36,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(37,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(38,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(39,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(40,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(41,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(42,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(43,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(44,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(45,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(46,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(47,NULL,1,'2016-01-06 14:23:14',800.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(48,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(49,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(50,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(51,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(52,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(53,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(54,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(55,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(56,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(57,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(58,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(59,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(60,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(61,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(62,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL),(63,NULL,1,'2016-01-06 14:23:14',50.00,NULL,NULL,'USD',NULL,NULL,1,NULL,4,NULL); /*!40000 ALTER TABLE `civicrm_financial_trxn` ENABLE KEYS */; UNLOCK TABLES; @@ -572,7 +572,7 @@ 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,167,'Added',NULL,NULL),(2,2,193,'Added',NULL,NULL),(3,2,123,'Added',NULL,NULL),(4,2,46,'Added',NULL,NULL),(5,2,22,'Added',NULL,NULL),(6,2,54,'Added',NULL,NULL),(7,2,160,'Added',NULL,NULL),(8,2,96,'Added',NULL,NULL),(9,2,137,'Added',NULL,NULL),(10,2,148,'Added',NULL,NULL),(11,2,55,'Added',NULL,NULL),(12,2,174,'Added',NULL,NULL),(13,2,135,'Added',NULL,NULL),(14,2,67,'Added',NULL,NULL),(15,2,8,'Added',NULL,NULL),(16,2,142,'Added',NULL,NULL),(17,2,23,'Added',NULL,NULL),(18,2,70,'Added',NULL,NULL),(19,2,20,'Added',NULL,NULL),(20,2,132,'Added',NULL,NULL),(21,2,114,'Added',NULL,NULL),(22,2,121,'Added',NULL,NULL),(23,2,65,'Added',NULL,NULL),(24,2,63,'Added',NULL,NULL),(25,2,17,'Added',NULL,NULL),(26,2,152,'Added',NULL,NULL),(27,2,34,'Added',NULL,NULL),(28,2,9,'Added',NULL,NULL),(29,2,52,'Added',NULL,NULL),(30,2,69,'Added',NULL,NULL),(31,2,103,'Added',NULL,NULL),(32,2,195,'Added',NULL,NULL),(33,2,110,'Added',NULL,NULL),(34,2,91,'Added',NULL,NULL),(35,2,78,'Added',NULL,NULL),(36,2,156,'Added',NULL,NULL),(37,2,198,'Added',NULL,NULL),(38,2,176,'Added',NULL,NULL),(39,2,149,'Added',NULL,NULL),(40,2,30,'Added',NULL,NULL),(41,2,107,'Added',NULL,NULL),(42,2,28,'Added',NULL,NULL),(43,2,159,'Added',NULL,NULL),(44,2,168,'Added',NULL,NULL),(45,2,184,'Added',NULL,NULL),(46,2,175,'Added',NULL,NULL),(47,2,180,'Added',NULL,NULL),(48,2,150,'Added',NULL,NULL),(49,2,130,'Added',NULL,NULL),(50,2,10,'Added',NULL,NULL),(51,2,153,'Added',NULL,NULL),(52,2,116,'Added',NULL,NULL),(53,2,84,'Added',NULL,NULL),(54,2,57,'Added',NULL,NULL),(55,2,51,'Added',NULL,NULL),(56,2,21,'Added',NULL,NULL),(57,2,58,'Added',NULL,NULL),(58,2,158,'Added',NULL,NULL),(59,2,81,'Added',NULL,NULL),(60,2,99,'Added',NULL,NULL),(61,3,179,'Added',NULL,NULL),(62,3,75,'Added',NULL,NULL),(63,3,200,'Added',NULL,NULL),(64,3,113,'Added',NULL,NULL),(65,3,186,'Added',NULL,NULL),(66,3,100,'Added',NULL,NULL),(67,3,146,'Added',NULL,NULL),(68,3,44,'Added',NULL,NULL),(69,3,133,'Added',NULL,NULL),(70,3,36,'Added',NULL,NULL),(71,3,14,'Added',NULL,NULL),(72,3,74,'Added',NULL,NULL),(73,3,188,'Added',NULL,NULL),(74,3,40,'Added',NULL,NULL),(75,3,6,'Added',NULL,NULL),(76,4,167,'Added',NULL,NULL),(77,4,96,'Added',NULL,NULL),(78,4,8,'Added',NULL,NULL),(79,4,121,'Added',NULL,NULL),(80,4,52,'Added',NULL,NULL),(81,4,156,'Added',NULL,NULL),(82,4,159,'Added',NULL,NULL),(83,4,10,'Added',NULL,NULL); +INSERT INTO `civicrm_group_contact` (`id`, `group_id`, `contact_id`, `status`, `location_id`, `email_id`) VALUES (1,2,6,'Added',NULL,NULL),(2,2,63,'Added',NULL,NULL),(3,2,157,'Added',NULL,NULL),(4,2,64,'Added',NULL,NULL),(5,2,98,'Added',NULL,NULL),(6,2,189,'Added',NULL,NULL),(7,2,164,'Added',NULL,NULL),(8,2,172,'Added',NULL,NULL),(9,2,130,'Added',NULL,NULL),(10,2,31,'Added',NULL,NULL),(11,2,144,'Added',NULL,NULL),(12,2,14,'Added',NULL,NULL),(13,2,178,'Added',NULL,NULL),(14,2,155,'Added',NULL,NULL),(15,2,85,'Added',NULL,NULL),(16,2,57,'Added',NULL,NULL),(17,2,101,'Added',NULL,NULL),(18,2,53,'Added',NULL,NULL),(19,2,73,'Added',NULL,NULL),(20,2,146,'Added',NULL,NULL),(21,2,2,'Added',NULL,NULL),(22,2,86,'Added',NULL,NULL),(23,2,71,'Added',NULL,NULL),(24,2,201,'Added',NULL,NULL),(25,2,51,'Added',NULL,NULL),(26,2,129,'Added',NULL,NULL),(27,2,151,'Added',NULL,NULL),(28,2,77,'Added',NULL,NULL),(29,2,188,'Added',NULL,NULL),(30,2,49,'Added',NULL,NULL),(31,2,112,'Added',NULL,NULL),(32,2,148,'Added',NULL,NULL),(33,2,70,'Added',NULL,NULL),(34,2,152,'Added',NULL,NULL),(35,2,107,'Added',NULL,NULL),(36,2,4,'Added',NULL,NULL),(37,2,173,'Added',NULL,NULL),(38,2,11,'Added',NULL,NULL),(39,2,124,'Added',NULL,NULL),(40,2,16,'Added',NULL,NULL),(41,2,87,'Added',NULL,NULL),(42,2,10,'Added',NULL,NULL),(43,2,8,'Added',NULL,NULL),(44,2,76,'Added',NULL,NULL),(45,2,113,'Added',NULL,NULL),(46,2,94,'Added',NULL,NULL),(47,2,117,'Added',NULL,NULL),(48,2,193,'Added',NULL,NULL),(49,2,32,'Added',NULL,NULL),(50,2,15,'Added',NULL,NULL),(51,2,105,'Added',NULL,NULL),(52,2,84,'Added',NULL,NULL),(53,2,135,'Added',NULL,NULL),(54,2,26,'Added',NULL,NULL),(55,2,153,'Added',NULL,NULL),(56,2,197,'Added',NULL,NULL),(57,2,141,'Added',NULL,NULL),(58,2,88,'Added',NULL,NULL),(59,2,41,'Added',NULL,NULL),(60,2,133,'Added',NULL,NULL),(61,3,126,'Added',NULL,NULL),(62,3,166,'Added',NULL,NULL),(63,3,121,'Added',NULL,NULL),(64,3,118,'Added',NULL,NULL),(65,3,132,'Added',NULL,NULL),(66,3,169,'Added',NULL,NULL),(67,3,27,'Added',NULL,NULL),(68,3,150,'Added',NULL,NULL),(69,3,42,'Added',NULL,NULL),(70,3,163,'Added',NULL,NULL),(71,3,104,'Added',NULL,NULL),(72,3,159,'Added',NULL,NULL),(73,3,134,'Added',NULL,NULL),(74,3,24,'Added',NULL,NULL),(75,3,75,'Added',NULL,NULL),(76,4,6,'Added',NULL,NULL),(77,4,172,'Added',NULL,NULL),(78,4,85,'Added',NULL,NULL),(79,4,86,'Added',NULL,NULL),(80,4,188,'Added',NULL,NULL),(81,4,4,'Added',NULL,NULL),(82,4,8,'Added',NULL,NULL),(83,4,15,'Added',NULL,NULL); /*!40000 ALTER TABLE `civicrm_group_contact` ENABLE KEYS */; UNLOCK TABLES; @@ -637,7 +637,7 @@ UNLOCK TABLES; LOCK TABLES `civicrm_line_item` WRITE; /*!40000 ALTER TABLE `civicrm_line_item` DISABLE KEYS */; -INSERT INTO `civicrm_line_item` (`id`, `entity_table`, `entity_id`, `contribution_id`, `price_field_id`, `label`, `qty`, `unit_price`, `line_total`, `participant_count`, `price_field_value_id`, `financial_type_id`, `deductible_amount`, `tax_amount`) VALUES (1,'civicrm_contribution',1,1,1,'Contribution Amount',1.00,125.00,125.00,0,1,1,0.00,NULL),(2,'civicrm_contribution',2,2,1,'Contribution Amount',1.00,50.00,50.00,0,1,1,0.00,NULL),(3,'civicrm_contribution',3,3,1,'Contribution Amount',1.00,25.00,25.00,0,1,1,0.00,NULL),(4,'civicrm_contribution',4,4,1,'Contribution Amount',1.00,50.00,50.00,0,1,1,0.00,NULL),(5,'civicrm_contribution',5,5,1,'Contribution Amount',1.00,500.00,500.00,0,1,1,0.00,NULL),(6,'civicrm_contribution',6,6,1,'Contribution Amount',1.00,175.00,175.00,0,1,1,0.00,NULL),(7,'civicrm_contribution',7,7,1,'Contribution Amount',1.00,50.00,50.00,0,1,1,0.00,NULL),(8,'civicrm_contribution',8,8,1,'Contribution Amount',1.00,10.00,10.00,0,1,1,0.00,NULL),(9,'civicrm_contribution',9,9,1,'Contribution Amount',1.00,250.00,250.00,0,1,1,0.00,NULL),(10,'civicrm_contribution',10,10,1,'Contribution Amount',1.00,500.00,500.00,0,1,1,0.00,NULL),(11,'civicrm_contribution',11,11,1,'Contribution Amount',1.00,200.00,200.00,0,1,1,0.00,NULL),(12,'civicrm_contribution',12,12,1,'Contribution Amount',1.00,200.00,200.00,0,1,1,0.00,NULL),(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',13,26,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),(21,'civicrm_membership',15,28,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',30,43,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),(30,'civicrm_membership',2,15,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),(31,'civicrm_membership',4,17,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),(32,'civicrm_membership',5,18,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),(33,'civicrm_membership',6,19,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),(34,'civicrm_membership',8,21,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),(35,'civicrm_membership',10,23,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',20,33,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),(41,'civicrm_membership',24,37,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,92,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(48,'civicrm_participant',6,45,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(49,'civicrm_participant',9,60,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(50,'civicrm_participant',12,91,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(51,'civicrm_participant',15,94,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(52,'civicrm_participant',18,64,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(53,'civicrm_participant',21,48,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(54,'civicrm_participant',24,46,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(55,'civicrm_participant',25,82,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(56,'civicrm_participant',28,66,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(57,'civicrm_participant',31,78,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(58,'civicrm_participant',34,49,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(59,'civicrm_participant',37,74,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(60,'civicrm_participant',40,57,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(61,'civicrm_participant',43,51,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(62,'civicrm_participant',46,62,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(63,'civicrm_participant',49,87,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(64,'civicrm_participant',50,75,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(65,'civicrm_participant',1,54,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(66,'civicrm_participant',4,71,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(67,'civicrm_participant',7,67,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(68,'civicrm_participant',10,52,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(69,'civicrm_participant',13,84,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(70,'civicrm_participant',16,56,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(71,'civicrm_participant',19,47,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(72,'civicrm_participant',22,70,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(73,'civicrm_participant',26,58,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(74,'civicrm_participant',29,69,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(75,'civicrm_participant',32,90,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,89,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(78,'civicrm_participant',41,80,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(79,'civicrm_participant',44,61,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(80,'civicrm_participant',47,68,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(81,'civicrm_participant',2,65,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(82,'civicrm_participant',5,63,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(83,'civicrm_participant',8,59,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(84,'civicrm_participant',11,81,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(85,'civicrm_participant',14,76,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(86,'civicrm_participant',17,83,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(87,'civicrm_participant',20,86,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(88,'civicrm_participant',23,77,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(89,'civicrm_participant',27,79,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(90,'civicrm_participant',30,55,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,53,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(93,'civicrm_participant',39,72,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(94,'civicrm_participant',42,88,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(95,'civicrm_participant',45,73,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(96,'civicrm_participant',48,93,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL); +INSERT INTO `civicrm_line_item` (`id`, `entity_table`, `entity_id`, `contribution_id`, `price_field_id`, `label`, `qty`, `unit_price`, `line_total`, `participant_count`, `price_field_value_id`, `financial_type_id`, `deductible_amount`, `tax_amount`) VALUES (1,'civicrm_contribution',1,1,1,'Contribution Amount',1.00,125.00,125.00,0,1,1,0.00,NULL),(2,'civicrm_contribution',2,2,1,'Contribution Amount',1.00,50.00,50.00,0,1,1,0.00,NULL),(3,'civicrm_contribution',3,3,1,'Contribution Amount',1.00,25.00,25.00,0,1,1,0.00,NULL),(4,'civicrm_contribution',4,4,1,'Contribution Amount',1.00,50.00,50.00,0,1,1,0.00,NULL),(5,'civicrm_contribution',5,5,1,'Contribution Amount',1.00,500.00,500.00,0,1,1,0.00,NULL),(6,'civicrm_contribution',6,6,1,'Contribution Amount',1.00,175.00,175.00,0,1,1,0.00,NULL),(7,'civicrm_contribution',7,7,1,'Contribution Amount',1.00,50.00,50.00,0,1,1,0.00,NULL),(8,'civicrm_contribution',8,8,1,'Contribution Amount',1.00,10.00,10.00,0,1,1,0.00,NULL),(9,'civicrm_contribution',9,9,1,'Contribution Amount',1.00,250.00,250.00,0,1,1,0.00,NULL),(10,'civicrm_contribution',10,10,1,'Contribution Amount',1.00,500.00,500.00,0,1,1,0.00,NULL),(11,'civicrm_contribution',11,11,1,'Contribution Amount',1.00,200.00,200.00,0,1,1,0.00,NULL),(12,'civicrm_contribution',12,12,1,'Contribution Amount',1.00,200.00,200.00,0,1,1,0.00,NULL),(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',13,26,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),(21,'civicrm_membership',15,28,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',20,33,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),(25,'civicrm_membership',21,34,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),(26,'civicrm_membership',23,36,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),(27,'civicrm_membership',25,38,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),(28,'civicrm_membership',27,40,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),(29,'civicrm_membership',29,42,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL),(30,'civicrm_membership',2,15,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),(31,'civicrm_membership',4,17,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),(32,'civicrm_membership',5,18,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),(33,'civicrm_membership',6,19,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),(34,'civicrm_membership',8,21,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL),(35,'civicrm_membership',10,23,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),(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,89,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(48,'civicrm_participant',6,56,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(49,'civicrm_participant',9,76,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(50,'civicrm_participant',12,48,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(51,'civicrm_participant',15,63,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(52,'civicrm_participant',18,52,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(53,'civicrm_participant',21,81,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(54,'civicrm_participant',24,85,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(55,'civicrm_participant',25,74,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(56,'civicrm_participant',28,77,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(57,'civicrm_participant',31,80,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(58,'civicrm_participant',34,58,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(59,'civicrm_participant',37,94,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,67,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(62,'civicrm_participant',46,47,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(63,'civicrm_participant',49,57,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(64,'civicrm_participant',50,72,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL),(65,'civicrm_participant',1,49,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(66,'civicrm_participant',4,60,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(67,'civicrm_participant',7,45,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(68,'civicrm_participant',10,55,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(69,'civicrm_participant',13,61,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(70,'civicrm_participant',16,64,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(71,'civicrm_participant',19,71,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(72,'civicrm_participant',22,87,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(73,'civicrm_participant',26,75,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(74,'civicrm_participant',29,84,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(75,'civicrm_participant',32,83,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(76,'civicrm_participant',35,59,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(77,'civicrm_participant',38,68,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(78,'civicrm_participant',41,66,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(79,'civicrm_participant',44,46,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(80,'civicrm_participant',47,51,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL),(81,'civicrm_participant',2,53,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(82,'civicrm_participant',5,62,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(83,'civicrm_participant',8,82,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(84,'civicrm_participant',11,93,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(85,'civicrm_participant',14,86,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(86,'civicrm_participant',17,78,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(87,'civicrm_participant',20,54,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(88,'civicrm_participant',23,65,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(89,'civicrm_participant',27,79,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(90,'civicrm_participant',30,50,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(91,'civicrm_participant',33,92,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(92,'civicrm_participant',36,91,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(93,'civicrm_participant',39,88,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(94,'civicrm_participant',42,69,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(95,'civicrm_participant',45,70,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL),(96,'civicrm_participant',48,90,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL); /*!40000 ALTER TABLE `civicrm_line_item` ENABLE KEYS */; UNLOCK TABLES; @@ -647,7 +647,7 @@ 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,183,174,155,NULL,NULL,NULL,NULL,NULL),(2,184,175,156,NULL,NULL,NULL,NULL,NULL),(3,185,176,157,NULL,NULL,NULL,NULL,NULL); +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,179,182,152,NULL,NULL,NULL,NULL,NULL),(2,180,183,153,NULL,NULL,NULL,NULL,NULL),(3,181,184,154,NULL,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `civicrm_loc_block` ENABLE KEYS */; UNLOCK TABLES; @@ -896,7 +896,7 @@ 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`, `owner_membership_id`, `max_related`, `is_test`, `is_pay_later`, `contribution_recur_id`, `campaign_id`) VALUES (1,98,1,'2015-10-13','2015-10-13','2017-10-12','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(2,161,2,'2015-10-12','2015-10-12','2016-10-11','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(3,37,1,'2015-10-11','2015-10-11','2017-10-10','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(4,35,2,'2015-10-10','2015-10-10','2016-10-09','Payment',1,NULL,NULL,NULL,0,0,NULL,NULL),(5,145,2,'2014-10-09','2014-10-09','2015-10-08','Check',4,NULL,NULL,NULL,0,0,NULL,NULL),(6,91,2,'2015-10-08','2015-10-08','2016-10-07','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(7,79,1,'2015-10-07','2015-10-07','2017-10-06','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(8,135,2,'2015-10-06','2015-10-06','2016-10-05','Payment',1,NULL,NULL,NULL,0,0,NULL,NULL),(9,127,1,'2015-10-05','2015-10-05','2017-10-04','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(10,46,2,'2014-10-04','2014-10-04','2015-10-03','Payment',4,NULL,NULL,NULL,0,0,NULL,NULL),(11,110,3,'2015-10-03','2015-10-03',NULL,'Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(12,149,2,'2015-10-02','2015-10-02','2016-10-01','Payment',1,NULL,NULL,NULL,0,0,NULL,NULL),(13,150,1,'2015-10-01','2015-10-01','2017-09-30','Payment',1,NULL,NULL,NULL,0,0,NULL,NULL),(14,75,2,'2015-09-30','2015-09-30','2016-09-29','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(15,141,1,'2013-06-23','2013-06-23','2015-06-22','Payment',3,NULL,NULL,NULL,0,0,NULL,NULL),(16,123,2,'2015-09-28','2015-09-28','2016-09-27','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(17,186,1,'2015-09-27','2015-09-27','2017-09-26','Payment',1,NULL,NULL,NULL,0,0,NULL,NULL),(18,126,2,'2015-09-26','2015-09-26','2016-09-25','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(19,158,1,'2015-09-25','2015-09-25','2017-09-24','Payment',1,NULL,NULL,NULL,0,0,NULL,NULL),(20,152,2,'2014-09-24','2014-09-24','2015-09-23','Donation',4,NULL,NULL,NULL,0,0,NULL,NULL),(21,80,1,'2015-09-23','2015-09-23','2017-09-22','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(22,156,3,'2015-09-22','2015-09-22',NULL,'Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(23,21,1,'2015-09-21','2015-09-21','2017-09-20','Payment',1,NULL,NULL,NULL,0,0,NULL,NULL),(24,93,2,'2015-09-20','2015-09-20','2016-09-19','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(25,24,1,'2013-04-04','2013-04-04','2015-04-03','Payment',3,NULL,NULL,NULL,0,0,NULL,NULL),(26,190,2,'2015-09-18','2015-09-18','2016-09-17','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(27,198,1,'2015-09-17','2015-09-17','2017-09-16','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(28,45,2,'2015-09-16','2015-09-16','2016-09-15','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(29,31,1,'2015-09-15','2015-09-15','2017-09-14','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(30,116,1,'2013-02-23','2013-02-23','2015-02-22','Donation',3,NULL,NULL,NULL,0,0,NULL,NULL); +INSERT INTO `civicrm_membership` (`id`, `contact_id`, `membership_type_id`, `join_date`, `start_date`, `end_date`, `source`, `status_id`, `is_override`, `owner_membership_id`, `max_related`, `is_test`, `is_pay_later`, `contribution_recur_id`, `campaign_id`) VALUES (1,60,1,'2016-01-06','2016-01-06','2018-01-05','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(2,134,2,'2016-01-05','2016-01-05','2017-01-04','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(3,98,1,'2016-01-04','2016-01-04','2018-01-03','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(4,140,2,'2016-01-03','2016-01-03','2017-01-02','Payment',1,NULL,NULL,NULL,0,0,NULL,NULL),(5,76,2,'2015-01-02','2015-01-02','2016-01-01','Donation',4,NULL,NULL,NULL,0,0,NULL,NULL),(6,136,2,'2016-01-01','2016-01-01','2016-12-31','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(7,57,1,'2015-12-31','2015-12-31','2017-12-30','Payment',1,NULL,NULL,NULL,0,0,NULL,NULL),(8,69,2,'2015-12-30','2015-12-30','2016-12-29','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(9,145,1,'2015-12-29','2015-12-29','2017-12-28','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(10,31,2,'2014-12-28','2014-12-28','2015-12-27','Payment',4,NULL,NULL,NULL,0,0,NULL,NULL),(11,84,3,'2015-12-27','2015-12-27',NULL,'Payment',1,NULL,NULL,NULL,0,0,NULL,NULL),(12,2,2,'2015-12-26','2015-12-26','2016-12-25','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(13,93,1,'2015-12-25','2015-12-25','2017-12-24','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(14,64,2,'2015-12-24','2015-12-24','2016-12-23','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(15,11,1,'2013-09-16','2013-09-16','2015-09-15','Donation',3,NULL,NULL,NULL,0,0,NULL,NULL),(16,73,2,'2015-12-22','2015-12-22','2016-12-21','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(17,43,1,'2015-12-21','2015-12-21','2017-12-20','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(18,172,2,'2015-12-20','2015-12-20','2016-12-19','Payment',1,NULL,NULL,NULL,0,0,NULL,NULL),(19,6,1,'2015-12-19','2015-12-19','2017-12-18','Payment',1,NULL,NULL,NULL,0,0,NULL,NULL),(20,177,1,'2013-08-07','2013-08-07','2015-08-06','Check',3,NULL,NULL,NULL,0,0,NULL,NULL),(21,5,1,'2015-12-17','2015-12-17','2017-12-16','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(22,65,3,'2015-12-16','2015-12-16',NULL,'Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(23,187,1,'2015-12-15','2015-12-15','2017-12-14','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(24,88,2,'2015-12-14','2015-12-14','2016-12-13','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(25,143,1,'2013-06-28','2013-06-28','2015-06-27','Payment',3,NULL,NULL,NULL,0,0,NULL,NULL),(26,18,2,'2015-12-12','2015-12-12','2016-12-11','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(27,166,1,'2015-12-11','2015-12-11','2017-12-10','Check',1,NULL,NULL,NULL,0,0,NULL,NULL),(28,86,2,'2015-12-10','2015-12-10','2016-12-09','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(29,106,1,'2015-12-09','2015-12-09','2017-12-08','Donation',1,NULL,NULL,NULL,0,0,NULL,NULL),(30,7,2,'2014-12-08','2014-12-08','2015-12-07','Payment',4,NULL,NULL,NULL,0,0,NULL,NULL); /*!40000 ALTER TABLE `civicrm_membership` ENABLE KEYS */; UNLOCK TABLES; @@ -916,7 +916,7 @@ 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,23,1,'2015-09-21','2017-09-20',21,'2015-10-13',1,NULL),(2,25,3,'2013-04-04','2015-04-03',24,'2015-10-13',1,NULL),(3,29,1,'2015-09-15','2017-09-14',31,'2015-10-13',1,NULL),(4,4,1,'2015-10-10','2016-10-09',35,'2015-10-13',2,NULL),(5,3,1,'2015-10-11','2017-10-10',37,'2015-10-13',1,NULL),(6,28,1,'2015-09-16','2016-09-15',45,'2015-10-13',2,NULL),(7,10,4,'2014-10-04','2015-10-03',46,'2015-10-13',2,NULL),(8,14,1,'2015-09-30','2016-09-29',75,'2015-10-13',2,NULL),(9,7,1,'2015-10-07','2017-10-06',79,'2015-10-13',1,NULL),(10,21,1,'2015-09-23','2017-09-22',80,'2015-10-13',1,NULL),(11,6,1,'2015-10-08','2016-10-07',91,'2015-10-13',2,NULL),(12,24,1,'2015-09-20','2016-09-19',93,'2015-10-13',2,NULL),(13,1,1,'2015-10-13','2017-10-12',98,'2015-10-13',1,NULL),(14,11,1,'2015-10-03',NULL,110,'2015-10-13',3,NULL),(15,30,3,'2013-02-23','2015-02-22',116,'2015-10-13',1,NULL),(16,16,1,'2015-09-28','2016-09-27',123,'2015-10-13',2,NULL),(17,18,1,'2015-09-26','2016-09-25',126,'2015-10-13',2,NULL),(18,9,1,'2015-10-05','2017-10-04',127,'2015-10-13',1,NULL),(19,8,1,'2015-10-06','2016-10-05',135,'2015-10-13',2,NULL),(20,15,3,'2013-06-23','2015-06-22',141,'2015-10-13',1,NULL),(21,5,4,'2014-10-09','2015-10-08',145,'2015-10-13',2,NULL),(22,12,1,'2015-10-02','2016-10-01',149,'2015-10-13',2,NULL),(23,13,1,'2015-10-01','2017-09-30',150,'2015-10-13',1,NULL),(24,20,4,'2014-09-24','2015-09-23',152,'2015-10-13',2,NULL),(25,22,1,'2015-09-22',NULL,156,'2015-10-13',3,NULL),(26,19,1,'2015-09-25','2017-09-24',158,'2015-10-13',1,NULL),(27,2,1,'2015-10-12','2016-10-11',161,'2015-10-13',2,NULL),(28,17,1,'2015-09-27','2017-09-26',186,'2015-10-13',1,NULL),(29,26,1,'2015-09-18','2016-09-17',190,'2015-10-13',2,NULL),(30,27,1,'2015-09-17','2017-09-16',198,'2015-10-13',1,NULL); +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,12,1,'2015-12-26','2016-12-25',2,'2016-01-06',2,NULL),(2,21,1,'2015-12-17','2017-12-16',5,'2016-01-06',1,NULL),(3,19,1,'2015-12-19','2017-12-18',6,'2016-01-06',1,NULL),(4,30,4,'2014-12-08','2015-12-07',7,'2016-01-06',2,NULL),(5,15,3,'2013-09-16','2015-09-15',11,'2016-01-06',1,NULL),(6,26,1,'2015-12-12','2016-12-11',18,'2016-01-06',2,NULL),(7,10,4,'2014-12-28','2015-12-27',31,'2016-01-06',2,NULL),(8,17,1,'2015-12-21','2017-12-20',43,'2016-01-06',1,NULL),(9,7,1,'2015-12-31','2017-12-30',57,'2016-01-06',1,NULL),(10,1,1,'2016-01-06','2018-01-05',60,'2016-01-06',1,NULL),(11,14,1,'2015-12-24','2016-12-23',64,'2016-01-06',2,NULL),(12,22,1,'2015-12-16',NULL,65,'2016-01-06',3,NULL),(13,8,1,'2015-12-30','2016-12-29',69,'2016-01-06',2,NULL),(14,16,1,'2015-12-22','2016-12-21',73,'2016-01-06',2,NULL),(15,5,4,'2015-01-02','2016-01-01',76,'2016-01-06',2,NULL),(16,11,1,'2015-12-27',NULL,84,'2016-01-06',3,NULL),(17,28,1,'2015-12-10','2016-12-09',86,'2016-01-06',2,NULL),(18,24,1,'2015-12-14','2016-12-13',88,'2016-01-06',2,NULL),(19,13,1,'2015-12-25','2017-12-24',93,'2016-01-06',1,NULL),(20,3,1,'2016-01-04','2018-01-03',98,'2016-01-06',1,NULL),(21,29,1,'2015-12-09','2017-12-08',106,'2016-01-06',1,NULL),(22,2,1,'2016-01-05','2017-01-04',134,'2016-01-06',2,NULL),(23,6,1,'2016-01-01','2016-12-31',136,'2016-01-06',2,NULL),(24,4,1,'2016-01-03','2017-01-02',140,'2016-01-06',2,NULL),(25,25,3,'2013-06-28','2015-06-27',143,'2016-01-06',1,NULL),(26,9,1,'2015-12-29','2017-12-28',145,'2016-01-06',1,NULL),(27,27,1,'2015-12-11','2017-12-10',166,'2016-01-06',1,NULL),(28,18,1,'2015-12-20','2016-12-19',172,'2016-01-06',2,NULL),(29,20,3,'2013-08-07','2015-08-06',177,'2016-01-06',1,NULL),(30,23,1,'2015-12-15','2017-12-14',187,'2016-01-06',1,NULL); /*!40000 ALTER TABLE `civicrm_membership_log` ENABLE KEYS */; UNLOCK TABLES; @@ -966,7 +966,7 @@ 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`, `is_default`, `is_reserved`, `is_sms`, `pdf_format_id`) VALUES (1,'Cases - Send Copy of an Activity','{if $idHash}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if $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 $field.category}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label}{if $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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n \n \n \n \n {if $isCaseActivity}\n \n \n \n \n {if $manageCaseURL}\n \n \n \n {/if}\n {/if}\n {if $editActURL}\n \n \n \n {/if}\n {if $viewActURL}\n \n \n \n {/if}\n {foreach from=$activity.fields item=field}\n \n \n \n \n {/foreach}\n\n {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n \n \n \n {foreach from=$customGroup item=field}\n \n \n \n \n {/foreach}\n {/foreach}\n
\n {ts}Activity Summary{/ts} - {$activityTypeName}\n
\n {ts}Your Case Role(s){/ts}\n \n {$contact.role}\n
\n {ts}Manage Case{/ts}\n
\n {ts}Edit activity{/ts}\n
\n {ts}View activity{/ts}\n
\n {$field.label}{if $field.category}({$field.category}){/if}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n {$customGroupName}\n
\n {$field.label}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n
\n
\n\n\n\n',1,727,1,0,0,NULL),(2,'Cases - Send Copy of an Activity','{if $idHash}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if $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 $field.category}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label}{if $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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n \n \n \n \n {if $isCaseActivity}\n \n \n \n \n {if $manageCaseURL}\n \n \n \n {/if}\n {/if}\n {if $editActURL}\n \n \n \n {/if}\n {if $viewActURL}\n \n \n \n {/if}\n {foreach from=$activity.fields item=field}\n \n \n \n \n {/foreach}\n\n {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n \n \n \n {foreach from=$customGroup item=field}\n \n \n \n \n {/foreach}\n {/foreach}\n
\n {ts}Activity Summary{/ts} - {$activityTypeName}\n
\n {ts}Your Case Role(s){/ts}\n \n {$contact.role}\n
\n {ts}Manage Case{/ts}\n
\n {ts}Edit activity{/ts}\n
\n {ts}View activity{/ts}\n
\n {$field.label}{if $field.category}({$field.category}){/if}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n {$customGroupName}\n
\n {$field.label}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n
\n
\n\n\n\n',1,727,0,1,0,NULL),(3,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts}\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n {if $receiptMessage}\n \n \n \n {/if}\n
\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 \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Organization Name{/ts}\n \n {$onBehalfName}\n
\n {ts}Organization Email{/ts}\n \n {$onBehalfEmail}\n
\n {ts}Organization Contact ID{/ts}\n \n {$onBehalfID}\n
\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 \n \n \n \n \n \n \n
\n {ts}Copy of Contribution Receipt{/ts}\n
\n {* FIXME: the below is most probably not HTML-ised *}\n {$receiptMessage}\n
\n
\n
\n\n\n\n',1,728,1,0,0,NULL),(4,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts}\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n {if $receiptMessage}\n \n \n \n {/if}\n
\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 \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Organization Name{/ts}\n \n {$onBehalfName}\n
\n {ts}Organization Email{/ts}\n \n {$onBehalfEmail}\n
\n {ts}Organization Contact ID{/ts}\n \n {$onBehalfID}\n
\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 \n \n \n \n \n \n \n
\n {ts}Copy of Contribution Receipt{/ts}\n
\n {* FIXME: the below is most probably not HTML-ised *}\n {$receiptMessage}\n
\n
\n
\n\n\n\n',1,728,0,1,0,NULL),(5,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts}\n','{if $formValues.receipt_text}\n{$formValues.receipt_text}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{ts}Please print this receipt for your records.{/ts}\n\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\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 $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 $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 $getTaxDetails}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $getTaxDetails && $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{$taxTerm} {$priceset|string_format:\"%.2f\"}% : {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm} : {$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 $receive_date}\n{ts}Received Date{/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 $formValues.paidBy and !$formValues.hidden_CreditCard}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{if $formValues.trxn_id}\n{ts}Transaction ID{/ts}: {$formValues.trxn_id}\n{/if}\n\n{if $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 $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 $softCreditTypes and $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 $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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n\n {if $formValues.receipt_text}\n

{$formValues.receipt_text|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n\n

{ts}Please print this receipt for your records.{/ts}

\n\n
\n \n \n \n \n \n \n \n \n\n {if $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {/if}\n {if $getTaxDetails && $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0 || $value != \'\'}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n\n {if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n \n \n \n \n {/if}\n\n \n \n \n \n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $receipt_date}\n \n \n \n \n {/if}\n\n {if $formValues.paidBy and !$formValues.hidden_CreditCard}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n\n {if $formValues.trxn_id}\n \n \n \n \n {/if}\n\n {if $ccContribution}\n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n\n {if $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $formValues.product_name}\n \n \n \n \n \n \n {if $formValues.product_option}\n \n \n \n \n {/if}\n {if $formValues.product_sku}\n \n \n \n \n {/if}\n {if $fulfilled_date}\n \n \n \n \n {/if}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $getTaxDetails}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$formValues.total_amount|crmMoney:$currency}\n
\n {ts}Received Date{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Receipt Date{/ts}\n \n {$receipt_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n {ts}Transaction ID{/ts}\n \n {$formValues.trxn_id}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n {ts}Premium Information{/ts}\n
\n {$formValues.product_name}\n
\n {ts}Option{/ts}\n \n {$formValues.product_option}\n
\n {ts}SKU{/ts}\n \n {$formValues.product_sku}\n
\n {ts}Sent{/ts}\n \n {$fulfilled_date|truncate:10:\'\'|crmDate}\n
\n
\n
\n\n\n\n',1,729,1,0,0,NULL),(6,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts}\n','{if $formValues.receipt_text}\n{$formValues.receipt_text}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{ts}Please print this receipt for your records.{/ts}\n\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\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 $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 $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 $getTaxDetails}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $getTaxDetails && $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{$taxTerm} {$priceset|string_format:\"%.2f\"}% : {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm} : {$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 $receive_date}\n{ts}Received Date{/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 $formValues.paidBy and !$formValues.hidden_CreditCard}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{if $formValues.trxn_id}\n{ts}Transaction ID{/ts}: {$formValues.trxn_id}\n{/if}\n\n{if $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 $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 $softCreditTypes and $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 $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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n\n {if $formValues.receipt_text}\n

{$formValues.receipt_text|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n\n

{ts}Please print this receipt for your records.{/ts}

\n\n
\n \n \n \n \n \n \n \n \n\n {if $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {/if}\n {if $getTaxDetails && $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0 || $value != \'\'}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n\n {if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n \n \n \n \n {/if}\n\n \n \n \n \n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $receipt_date}\n \n \n \n \n {/if}\n\n {if $formValues.paidBy and !$formValues.hidden_CreditCard}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n\n {if $formValues.trxn_id}\n \n \n \n \n {/if}\n\n {if $ccContribution}\n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n\n {if $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $formValues.product_name}\n \n \n \n \n \n \n {if $formValues.product_option}\n \n \n \n \n {/if}\n {if $formValues.product_sku}\n \n \n \n \n {/if}\n {if $fulfilled_date}\n \n \n \n \n {/if}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $getTaxDetails}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$formValues.total_amount|crmMoney:$currency}\n
\n {ts}Received Date{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Receipt Date{/ts}\n \n {$receipt_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n {ts}Transaction ID{/ts}\n \n {$formValues.trxn_id}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n {ts}Premium Information{/ts}\n
\n {$formValues.product_name}\n
\n {ts}Option{/ts}\n \n {$formValues.product_option}\n
\n {ts}SKU{/ts}\n \n {$formValues.product_sku}\n
\n {ts}Sent{/ts}\n \n {$fulfilled_date|truncate:10:\'\'|crmDate}\n
\n
\n
\n\n\n\n',1,729,0,1,0,NULL),(7,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\n{/if}\n\n{if $amount}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $lineItem and $priceSetID and !$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 $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 $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 $dataArray}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $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{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if $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 $amount_level } - {$amount_level} {/if}\n{/if}\n{/if}\n{if $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if $is_recur and ($contributeMode eq \'notify\' or $contributeMode eq \'directIPN\')}\n{ts}This is a recurring contribution. You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\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\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 $softCreditTypes and $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 $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 $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 !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\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 $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 $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $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 $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n\n {if $receipt_text}\n

{$receipt_text|htmlize}

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $amount}\n\n\n \n \n \n\n {if $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {else}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n {/if}\n\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n \n \n \n \n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {elseif $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $isShare}\n \n \n \n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n \n \n \n \n \n \n {elseif $amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney:$currency} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts 1=$cancelSubscriptionUrl}This is a recurring contribution. You can cancel future contributions by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\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
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\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}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,730,1,0,0,NULL),(8,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\n{/if}\n\n{if $amount}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $lineItem and $priceSetID and !$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 $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 $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 $dataArray}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $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{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if $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 $amount_level } - {$amount_level} {/if}\n{/if}\n{/if}\n{if $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if $is_recur and ($contributeMode eq \'notify\' or $contributeMode eq \'directIPN\')}\n{ts}This is a recurring contribution. You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\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\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 $softCreditTypes and $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 $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 $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 !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\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 $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 $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $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 $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n\n {if $receipt_text}\n

{$receipt_text|htmlize}

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $amount}\n\n\n \n \n \n\n {if $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {else}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n {/if}\n\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n \n \n \n \n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {elseif $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $isShare}\n \n \n \n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n \n \n \n \n \n \n {elseif $amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney:$currency} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts 1=$cancelSubscriptionUrl}This is a recurring contribution. You can cancel future contributions by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\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
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\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}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,730,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','{ts}Contribution Invoice{/ts}\n','\n\n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
INVOICEInvoice Date:{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n {if $domain_street_address }\n {$domain_street_address}\n {/if}\n {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}
{$street_address} {$supplemental_address_1}Invoice Number:{if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n {if $domain_state }{$domain_state}{/if}
{$supplemental_address_2} {$stateProvinceAbbreviation}{$invoice_id}{if $domain_city}\n {$domain_city}\n {/if}\n {if $domain_postal_code }\n {$domain_postal_code}\n {/if}\n
{$city} {$postal_code}Reference: {if $domain_country}\n {$domain_country}\n {/if}
{$source} {if $domain_phone}{$domain_phone}{/if}
{if $domain_email}\n {$domain_email}\n {/if}
\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=taxpricevalue}\n {if $smarty.foreach.taxpricevalue.index eq 0}\n \n {else}\n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n\n \n \n \n \n \n\n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n \n \n \n \n
DescriptionQuantityUnit Price{$taxTerm} Amount {$defaultCurrency}


\n {if $value.html_type eq \'Text\'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description}
{$value.description|truncate:30:\"...\"}
{/if}\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%No {$taxTerm}{$value.subTotal|crmMoney:$currency}

Sub Total {$subTotal|crmMoney:$currency}
TOTAL {$taxTerm} {$priceset}%{$value|crmMoney:$currency} TOTAL NO {$taxTerm}{$value|crmMoney:$currency}

TOTAL {$defaultCurrency}{$amount|crmMoney:$currency}
\n {if $contribution_status_id == $refundedStatusId}\n LESS Amount Credited\n {else}\n LESS Amount Paid\n {/if}\n {$amount|crmMoney:$currency}

AMOUNT DUE: {$amountDue|crmMoney:$currency}
DUE DATE: {$dueDate}
\n
\n \n \n \n \n
\n \n \n \n \n \n
PAYMENT ADVICE

To:
\n {$domain_organization}
\n {$domain_street_address} {$domain_supplemental_address_1}
\n {$domain_supplemental_address_2} {$domain_state}
\n {$domain_city} {$domain_postal_code}
\n {$domain_country}
\n {$domain_phone}
\n {$domain_email}
\n


{$notes}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 1}\n \n \n \n \n \n {else}\n \n \n \n \n \n {/if}\n \n \n \n \n \n \n \n \n
Customer: {$display_name}
Invoice Number: {$invoice_id}

Amount Due:{$amount|crmMoney:$currency}
Amount Due: {$amountDue|crmMoney:$currency}
Due Date: {$dueDate}

\n
\n\n\n {if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}\n \n \n \n \n
\n
\n\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
CREDIT NOTEDate:{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n {if $domain_street_address }\n {$domain_street_address}\n {/if}\n {if $domain_supplemental_address_1 }\n {$domain_supplemental_address_1}\n {/if}
{$street_address} {$supplemental_address_1}Credit Note Number:{if $domain_supplemental_address_2 }\n {$domain_supplemental_address_2}\n {/if}\n {if $domain_state }\n {$domain_state}\n {/if}\n
{$supplemental_address_2} {$stateProvinceAbbreviation}{$creditnote_id}{if $domain_city}\n {$domain_city}\n {/if}\n {if $domain_postal_code }\n {$domain_postal_code}\n {/if}\n
{$city} {$postal_code}Reference: {if $domain_country}\n {$domain_country}\n {/if}
{$source} {if $domain_phone}\n {$domain_phone}\n {/if}
{if $domain_email}\n {$domain_email}\n {/if}
\n\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=pricevalue}\n {if $smarty.foreach.pricevalue.index eq 0}\n \n {else}\n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n\n \n \n \n \n \n\n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n \n \n \n \n
DescriptionQuantityUnit Price{$taxTerm} Amount {$defaultCurrency}


\n {if $value.html_type eq \'Text\'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description}
{$value.description|truncate:30:\"...\"}
{/if}\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%No {$taxTerm}{$value.subTotal|crmMoney:$currency}

Sub Total {$subTotal|crmMoney:$currency}
TOTAL {$taxTerm} {$priceset}%{$value|crmMoney:$currency} TOTAL NO {$taxTerm}{$value|crmMoney:$currency}

TOTAL {$defaultCurrency}{$amount|crmMoney:$currency}
LESS Credit to invoice(s){$amount|crmMoney:$currency}

REMAINING CREDIT{$amountDue|crmMoney:$currency}
\n
\n\n \n \n \n \n
\n\n \n \n \n \n \n
CREDIT ADVICE

Please do not pay on this advice. Deduct the amount of this Credit Note\nfrom your next payment to us

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Customer: {$display_name}
Credit Note#: {$creditnote_id}

Credit Amount:{$amount|crmMoney:$currency}
\n
\n {/if}\n
\n \n\n',1,731,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','{ts}Contribution Invoice{/ts}\n','\n\n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
INVOICEInvoice Date:{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n {if $domain_street_address }\n {$domain_street_address}\n {/if}\n {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}
{$street_address} {$supplemental_address_1}Invoice Number:{if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n {if $domain_state }{$domain_state}{/if}
{$supplemental_address_2} {$stateProvinceAbbreviation}{$invoice_id}{if $domain_city}\n {$domain_city}\n {/if}\n {if $domain_postal_code }\n {$domain_postal_code}\n {/if}\n
{$city} {$postal_code}Reference: {if $domain_country}\n {$domain_country}\n {/if}
{$source} {if $domain_phone}{$domain_phone}{/if}
{if $domain_email}\n {$domain_email}\n {/if}
\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=taxpricevalue}\n {if $smarty.foreach.taxpricevalue.index eq 0}\n \n {else}\n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n\n \n \n \n \n \n\n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n \n \n \n \n
DescriptionQuantityUnit Price{$taxTerm} Amount {$defaultCurrency}


\n {if $value.html_type eq \'Text\'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description}
{$value.description|truncate:30:\"...\"}
{/if}\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%No {$taxTerm}{$value.subTotal|crmMoney:$currency}

Sub Total {$subTotal|crmMoney:$currency}
TOTAL {$taxTerm} {$priceset}%{$value|crmMoney:$currency} TOTAL NO {$taxTerm}{$value|crmMoney:$currency}

TOTAL {$defaultCurrency}{$amount|crmMoney:$currency}
\n {if $contribution_status_id == $refundedStatusId}\n LESS Amount Credited\n {else}\n LESS Amount Paid\n {/if}\n {$amount|crmMoney:$currency}

AMOUNT DUE: {$amountDue|crmMoney:$currency}
DUE DATE: {$dueDate}
\n
\n \n \n \n \n
\n \n \n \n \n \n
PAYMENT ADVICE

To:
\n {$domain_organization}
\n {$domain_street_address} {$domain_supplemental_address_1}
\n {$domain_supplemental_address_2} {$domain_state}
\n {$domain_city} {$domain_postal_code}
\n {$domain_country}
\n {$domain_phone}
\n {$domain_email}
\n


{$notes}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 1}\n \n \n \n \n \n {else}\n \n \n \n \n \n {/if}\n \n \n \n \n \n \n \n \n
Customer: {$display_name}
Invoice Number: {$invoice_id}

Amount Due:{$amount|crmMoney:$currency}
Amount Due: {$amountDue|crmMoney:$currency}
Due Date: {$dueDate}

\n
\n\n\n {if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}\n \n \n \n \n
\n
\n\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
CREDIT NOTEDate:{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n {if $domain_street_address }\n {$domain_street_address}\n {/if}\n {if $domain_supplemental_address_1 }\n {$domain_supplemental_address_1}\n {/if}
{$street_address} {$supplemental_address_1}Credit Note Number:{if $domain_supplemental_address_2 }\n {$domain_supplemental_address_2}\n {/if}\n {if $domain_state }\n {$domain_state}\n {/if}\n
{$supplemental_address_2} {$stateProvinceAbbreviation}{$creditnote_id}{if $domain_city}\n {$domain_city}\n {/if}\n {if $domain_postal_code }\n {$domain_postal_code}\n {/if}\n
{$city} {$postal_code}Reference: {if $domain_country}\n {$domain_country}\n {/if}
{$source} {if $domain_phone}\n {$domain_phone}\n {/if}
{if $domain_email}\n {$domain_email}\n {/if}
\n\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=pricevalue}\n {if $smarty.foreach.pricevalue.index eq 0}\n \n {else}\n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n\n \n \n \n \n \n\n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n \n \n \n \n
DescriptionQuantityUnit Price{$taxTerm} Amount {$defaultCurrency}


\n {if $value.html_type eq \'Text\'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description}
{$value.description|truncate:30:\"...\"}
{/if}\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%No {$taxTerm}{$value.subTotal|crmMoney:$currency}

Sub Total {$subTotal|crmMoney:$currency}
TOTAL {$taxTerm} {$priceset}%{$value|crmMoney:$currency} TOTAL NO {$taxTerm}{$value|crmMoney:$currency}

TOTAL {$defaultCurrency}{$amount|crmMoney:$currency}
LESS Credit to invoice(s){$amount|crmMoney:$currency}

REMAINING CREDIT{$amountDue|crmMoney:$currency}
\n
\n\n \n \n \n \n
\n\n \n \n \n \n \n
CREDIT ADVICE

Please do not pay on this advice. Deduct the amount of this Credit Note\nfrom your next payment to us

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Customer: {$display_name}
Credit Note#: {$creditnote_id}

Credit Amount:{$amount|crmMoney:$currency}
\n
\n {/if}\n
\n \n\n',1,731,0,1,0,NULL),(11,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts}\n','{ts 1=$displayName}Dear %1{/ts},\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{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n\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{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by visiting this web page.{/ts}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\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 for your support.{/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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n {if $recur_txnType eq \'START\'}\n {if $auto_renew_membership}\n \n \n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n\n {elseif $recur_txnType eq \'END\'}\n\n {if $auto_renew_membership}\n \n \n \n {else}\n \n \n \n \n \n \n\n {/if}\n {/if}\n\n
\n

{ts 1=$displayName}Dear %1{/ts},

\n
 
\n

{ts}Thanks for your auto renew membership sign-up.{/ts}

\n

{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}

\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n

{ts}Thanks for your recurring contribution sign-up.{/ts}

\n

{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}.

\n

{ts}Start Date{/ts}: {$recur_start_date|crmDate}

\n
\n {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by visiting this web page.{/ts}\n
\n

{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}

\n
\n

{ts}Your recurring contribution term has ended.{/ts}

\n

{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n
\n {ts}Start Date{/ts}\n \n {$recur_start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$recur_end_date|crmDate}\n
\n
\n
\n\n\n\n',1,732,1,0,0,NULL),(12,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts}\n','{ts 1=$displayName}Dear %1{/ts},\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{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n\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{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by visiting this web page.{/ts}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\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 for your support.{/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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n {if $recur_txnType eq \'START\'}\n {if $auto_renew_membership}\n \n \n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n\n {elseif $recur_txnType eq \'END\'}\n\n {if $auto_renew_membership}\n \n \n \n {else}\n \n \n \n \n \n \n\n {/if}\n {/if}\n\n
\n

{ts 1=$displayName}Dear %1{/ts},

\n
 
\n

{ts}Thanks for your auto renew membership sign-up.{/ts}

\n

{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}

\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n

{ts}Thanks for your recurring contribution sign-up.{/ts}

\n

{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}.

\n

{ts}Start Date{/ts}: {$recur_start_date|crmDate}

\n
\n {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by visiting this web page.{/ts}\n
\n

{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}

\n
\n

{ts}Your recurring contribution term has ended.{/ts}

\n

{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n
\n {ts}Start Date{/ts}\n \n {$recur_start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$recur_end_date|crmDate}\n
\n
\n
\n\n\n\n',1,732,0,1,0,NULL),(13,'Contributions - Recurring Cancellation Notification','{ts}Recurring Contribution Cancellation Notification{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\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
\n
\n\n\n\n',1,733,1,0,0,NULL),(14,'Contributions - Recurring Cancellation Notification','{ts}Recurring Contribution Cancellation Notification{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\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
\n
\n\n\n\n',1,733,0,1,0,NULL),(15,'Contributions - Recurring Billing Updates','{ts}Recurring Contribution Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\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\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\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 \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n',1,734,1,0,0,NULL),(16,'Contributions - Recurring Billing Updates','{ts}Recurring Contribution Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\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\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\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 \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n',1,734,0,1,0,NULL),(17,'Contributions - Recurring Updates','{ts}Recurring Contribution Update Notification{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\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\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts}Your recurring contribution has been updated as requested:{/ts}\n

{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}.

\n\n

{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}

\n
\n
\n\n\n\n',1,735,1,0,0,NULL),(18,'Contributions - Recurring Updates','{ts}Recurring Contribution Update Notification{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\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\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts}Your recurring contribution has been updated as requested:{/ts}\n

{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}.

\n\n

{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}

\n
\n
\n\n\n\n',1,735,0,1,0,NULL),(19,'Personal Campaign Pages - Admin Notification','{ts}Personal Campaign Page Notification{/ts}\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}{/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','\n\n\n \n \n\n\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}{/capture}\n\n
\n \n\n \n \n \n\n \n\n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Personal Campaign Page Notification{/ts}\n
\n {ts}Action{/ts}:\n \n {if $mode EQ \'Update\'}\n {ts}Updated personal campaign page{/ts}\n {else}\n {ts}New personal campaign page{/ts}\n {/if}\n
\n {ts}Personal Campaign Page Title{/ts}\n \n {$pcpTitle}\n
\n {ts}Current Status{/ts}\n \n {$pcpStatus}\n
\n {ts}View Page{/ts}\n
\n {ts}Supporter{/ts}\n \n {$supporterName}\n
\n {ts}Linked to Contribution Page{/ts}\n \n {$contribPageTitle}\n
\n {ts}Manage Personal Campaign Pages{/ts}\n
\n
\n
\n\n\n\n',1,736,1,0,0,NULL),(20,'Personal Campaign Pages - Admin Notification','{ts}Personal Campaign Page Notification{/ts}\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}{/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','\n\n\n \n \n\n\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}{/capture}\n\n
\n \n\n \n \n \n\n \n\n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Personal Campaign Page Notification{/ts}\n
\n {ts}Action{/ts}:\n \n {if $mode EQ \'Update\'}\n {ts}Updated personal campaign page{/ts}\n {else}\n {ts}New personal campaign page{/ts}\n {/if}\n
\n {ts}Personal Campaign Page Title{/ts}\n \n {$pcpTitle}\n
\n {ts}Current Status{/ts}\n \n {$pcpStatus}\n
\n {ts}View Page{/ts}\n
\n {ts}Supporter{/ts}\n \n {$supporterName}\n
\n {ts}Linked to Contribution Page{/ts}\n \n {$contribPageTitle}\n
\n {ts}Manage Personal Campaign Pages{/ts}\n
\n
\n
\n\n\n\n',1,736,0,1,0,NULL),(21,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\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','\n\n\n \n \n\n\n\n
\n \n\n \n \n \n\n \n\n \n \n \n\n
\n\n

{ts}Your Personal Campaign Page{/ts}

\n\n {if $pcpStatus eq \'Approved\'}\n\n

{ts}Your personal campaign page has been approved and is now live.{/ts}

\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \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

{ts}After logging in, you can use this form to promote your fundraising page{/ts}

\n {/if}\n\n {if $pcpNotifyEmailAddress}\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {elseif $pcpStatus eq \'Not Approved\'}\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 {if $pcpNotifyEmailAddress}\n

{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {/if}\n\n
\n
\n\n\n\n',1,737,1,0,0,NULL),(22,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\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','\n\n\n \n \n\n\n\n
\n \n\n \n \n \n\n \n\n \n \n \n\n
\n\n

{ts}Your Personal Campaign Page{/ts}

\n\n {if $pcpStatus eq \'Approved\'}\n\n

{ts}Your personal campaign page has been approved and is now live.{/ts}

\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \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

{ts}After logging in, you can use this form to promote your fundraising page{/ts}

\n {/if}\n\n {if $pcpNotifyEmailAddress}\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {elseif $pcpStatus eq \'Not Approved\'}\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 {if $pcpNotifyEmailAddress}\n

{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {/if}\n\n
\n
\n\n\n\n',1,737,0,1,0,NULL),(23,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\n','{ts}Dear supporter{/ts},\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n\n {if $pcpStatus eq \'Approved\'}\n\n \n \n \n\n {elseif $pcpStatus EQ \'Waiting Review\'}\n\n \n \n \n\n {/if}\n\n {if $pcpNotifyEmailAddress}\n \n \n \n {/if}\n\n
\n

{ts}Dear supporter{/ts},

\n

{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Promoting Your Page{/ts}\n
\n {if $isTellFriendEnabled}\n

{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link and follow the prompts{/ts}
  4. \n
\n {else}\n

{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}

\n {/if}\n
\n {ts}Managing Your Page{/ts}\n
\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \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

{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}

\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

{ts}You can still preview your page prior to approval{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link{/ts}
  4. \n
\n
\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n
\n
\n\n\n\n',1,738,1,0,0,NULL),(24,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\n','{ts}Dear supporter{/ts},\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n\n {if $pcpStatus eq \'Approved\'}\n\n \n \n \n\n {elseif $pcpStatus EQ \'Waiting Review\'}\n\n \n \n \n\n {/if}\n\n {if $pcpNotifyEmailAddress}\n \n \n \n {/if}\n\n
\n

{ts}Dear supporter{/ts},

\n

{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Promoting Your Page{/ts}\n
\n {if $isTellFriendEnabled}\n

{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link and follow the prompts{/ts}
  4. \n
\n {else}\n

{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}

\n {/if}\n
\n {ts}Managing Your Page{/ts}\n
\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \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

{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}

\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

{ts}You can still preview your page prior to approval{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link{/ts}
  4. \n
\n
\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n
\n
\n\n\n\n',1,738,0,1,0,NULL),(25,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\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}Receive Date{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\n','\n\n\n \n \n\n\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

{ts}You have received a donation at your personal page{/ts}: {$page_title}

\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 \n \n \n \n \n
{ts}Receive Date{/ts}: {$receive_date|crmDate}
{ts}Amount{/ts}: {$total_amount|crmMoney}
{ts}Name{/ts}: {$donors_display_name}
{ts}Email{/ts}: {$donors_email}
\n\n\n',1,739,1,0,0,NULL),(26,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\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}Receive Date{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\n','\n\n\n \n \n\n\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

{ts}You have received a donation at your personal page{/ts}: {$page_title}

\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 \n \n \n \n \n
{ts}Receive Date{/ts}: {$receive_date|crmDate}
{ts}Amount{/ts}: {$total_amount|crmMoney}
{ts}Name{/ts}: {$donors_display_name}
{ts}Email{/ts}: {$donors_email}
\n\n\n',1,739,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}','Dear {$contactDisplayName}\n{if $paymentConfig.confirm_email_text}\n{$paymentConfig.confirm_email_text}\n{elseif $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}A payment has been received.{/ts}\n{/if}\n\n{ts}Please print this confirmation for your records.{/ts}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}You Paid{/ts}: {$totalPaid|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Refund Amount{/ts}: {$refundAmount|crmMoney}\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}\n\n{if $paymentsComplete}\n\n{ts}Thank-you. This completes your payment for {/ts}{if $component eq \'event\'}{$event.event_title}{/if}.\n{/if}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode eq \'direct\' and !$isAmountzero}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero}\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 $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{if $location.address.1.name}\n\n{$location.address.1.name}\n{/if}\n{if $location.address.1.street_address}{$location.address.1.street_address}\n{/if}\n{if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}\n{/if}\n{if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}\n{/if}\n{if $location.address.1.city}{$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}\n{/if}\n\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $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','\n\n\n \n \n\n\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

Dear {$contactDisplayName}

\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n\n
\n {if $paymentConfig.confirm_email_text}\n

{$paymentConfig.confirm_email_text|htmlize}

\n {elseif $isRefund}\n

{ts}A refund has been issued based on changes in your registration selections.{/ts}

\n {else}\n

{ts}A payment has been received.{/ts}

\n {/if}\n

{ts}Please print this confirmation for your records.{/ts}

\n
\n \n {if $isRefund}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n \n \n \n \n \n \n {* This will be zero after final payment. *}\n \n \n \n {if $paymentsComplete}\n \n \n \n {/if}\n {/if}\n {if $receive_date}\n \n \n \n \n {/if}\n {if $trxn_id}\n \n \n \n \n {/if}\n {if $paidBy}\n \n \n \n \n {/if}\n {if $checkNumber}\n \n \n \n \n {/if}\n
{ts}Refund Details{/ts}
\n {ts}Total Fees{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}You Paid{/ts}\n \n {$totalPaid|crmMoney}\n
\n {ts}Refund Amount{/ts}\n \n {$refundAmount|crmMoney}\n \n
{ts}Payment Details{/ts}
\n {ts}{if $component eq \'event\'}Total Fees{/if}{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}This Payment Amount{/ts}\n \n {$paymentAmount|crmMoney}\n
\n {ts}Balance Owed{/ts}\n \n {$amountOwed|crmMoney}\n
\n {ts}Thank-you. This completes your payment for {if $component eq \'event\'}{$event.event_title}{/if}.{/ts}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n
\n \n {if $contributeMode eq \'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $contributeMode eq\'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $component eq \'event\'}\n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if} {*phone block close*}\n {/if}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n {ts}Event Information and Location{/ts}\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}\n \n {$event.participant_role}\n
\n {if $location.address.1.name}\n {$location.address.1.name}
\n {/if}\n {if $location.address.1.street_address}\n {$location.address.1.street_address}
\n {/if}\n {if $location.address.1.supplemental_address_1}\n {$location.address.1.supplemental_address_1}
\n {/if}\n {if $location.address.1.supplemental_address_2}\n {$location.address.1.supplemental_address_2}
\n {/if}\n {if $location.address.1.city}\n {$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n
\n
\n\n \n\n',1,740,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}','Dear {$contactDisplayName}\n{if $paymentConfig.confirm_email_text}\n{$paymentConfig.confirm_email_text}\n{elseif $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}A payment has been received.{/ts}\n{/if}\n\n{ts}Please print this confirmation for your records.{/ts}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}You Paid{/ts}: {$totalPaid|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Refund Amount{/ts}: {$refundAmount|crmMoney}\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}\n\n{if $paymentsComplete}\n\n{ts}Thank-you. This completes your payment for {/ts}{if $component eq \'event\'}{$event.event_title}{/if}.\n{/if}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode eq \'direct\' and !$isAmountzero}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero}\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 $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{if $location.address.1.name}\n\n{$location.address.1.name}\n{/if}\n{if $location.address.1.street_address}{$location.address.1.street_address}\n{/if}\n{if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}\n{/if}\n{if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}\n{/if}\n{if $location.address.1.city}{$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}\n{/if}\n\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $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','\n\n\n \n \n\n\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

Dear {$contactDisplayName}

\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n\n
\n {if $paymentConfig.confirm_email_text}\n

{$paymentConfig.confirm_email_text|htmlize}

\n {elseif $isRefund}\n

{ts}A refund has been issued based on changes in your registration selections.{/ts}

\n {else}\n

{ts}A payment has been received.{/ts}

\n {/if}\n

{ts}Please print this confirmation for your records.{/ts}

\n
\n \n {if $isRefund}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n \n \n \n \n \n \n {* This will be zero after final payment. *}\n \n \n \n {if $paymentsComplete}\n \n \n \n {/if}\n {/if}\n {if $receive_date}\n \n \n \n \n {/if}\n {if $trxn_id}\n \n \n \n \n {/if}\n {if $paidBy}\n \n \n \n \n {/if}\n {if $checkNumber}\n \n \n \n \n {/if}\n
{ts}Refund Details{/ts}
\n {ts}Total Fees{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}You Paid{/ts}\n \n {$totalPaid|crmMoney}\n
\n {ts}Refund Amount{/ts}\n \n {$refundAmount|crmMoney}\n \n
{ts}Payment Details{/ts}
\n {ts}{if $component eq \'event\'}Total Fees{/if}{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}This Payment Amount{/ts}\n \n {$paymentAmount|crmMoney}\n
\n {ts}Balance Owed{/ts}\n \n {$amountOwed|crmMoney}\n
\n {ts}Thank-you. This completes your payment for {if $component eq \'event\'}{$event.event_title}{/if}.{/ts}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n
\n \n {if $contributeMode eq \'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $contributeMode eq\'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $component eq \'event\'}\n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if} {*phone block close*}\n {/if}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n {ts}Event Information and Location{/ts}\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}\n \n {$event.participant_role}\n
\n {if $location.address.1.name}\n {$location.address.1.name}
\n {/if}\n {if $location.address.1.street_address}\n {$location.address.1.street_address}
\n {/if}\n {if $location.address.1.supplemental_address_1}\n {$location.address.1.supplemental_address_1}
\n {/if}\n {if $location.address.1.supplemental_address_2}\n {$location.address.1.supplemental_address_2}
\n {/if}\n {if $location.address.1.city}\n {$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n
\n
\n\n \n\n',1,740,0,1,0,NULL),(29,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {$event.title}\n','{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $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 $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{if $location.address.1.name}\n\n{$location.address.1.name}\n{/if}\n{if $location.address.1.street_address}{$location.address.1.street_address}\n{/if}\n{if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}\n{/if}\n{if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}\n{/if}\n{if $location.address.1.city}{$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}\n{/if}\n\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $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 $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 $email}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$email}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $lineItem}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if $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 $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 $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 $pricesetFieldsCount }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{foreach from=$value item=line}\n{if $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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\"} {$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n{/if}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amount && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary}\n\n{if $balanceAmount}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $balanceAmount}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if $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 $is_pay_later }\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $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 $contributionTypeName}\n{ts}Financial Type{/ts}: {$contributionTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $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 $customPre}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if $customPost}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if $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 $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if $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 $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\n','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n {/if}\n\n {if $isOnWaitlist}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n {if $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 {elseif $isRequireApproval}\n

{ts}Your registration has been submitted.{/ts}

\n {if $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 {/if}\n {elseif $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $email}\n \n \n \n \n \n \n {/if}\n\n\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amount && !$lineItem}\n {foreach from=$amount item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $balanceAmount}\n \n \n \n \n {/if}\n {if $pricesetFieldsCount }\n \n \n \n \n {/if}\n {if $is_pay_later}\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $contributionTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customProfile}\n {foreach from=$customProfile item=value key=customName}\n \n \n \n {foreach from=$value item=val key=field}\n {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n \n \n \n {foreach from=$val item=v key=f}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/foreach}\n {/if}\n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}\n \n {$event.participant_role}\n
\n {if $location.address.1.name}\n {$location.address.1.name}
\n {/if}\n {if $location.address.1.street_address}\n {$location.address.1.street_address}
\n {/if}\n {if $location.address.1.supplemental_address_1}\n {$location.address.1.supplemental_address_1}
\n {/if}\n {if $location.address.1.supplemental_address_2}\n {$location.address.1.supplemental_address_2}
\n {/if}\n {if $location.address.1.city}\n {$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\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}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount }\n \n {/if}\n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.participant_count}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {if $balanceAmount}\n {ts}Total Paid{/ts}\n {else}\n {ts}Total Amount{/ts}\n {/if}\n \n {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n
\n {ts}Balance{/ts}\n \n {$balanceAmount|crmMoney}\n
\n {ts}Total Participants{/ts}\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
\n {$pay_later_receipt}\n
\n {ts}Registration Date{/ts}\n \n {$register_date|crmDate}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Financial Type{/ts}\n \n {$contributionTypeName}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n
\n {if $field eq \'additionalCustomPre\'}\n {$additionalCustomPre_grouptitle}\n {else}\n {$additionalCustomPost_grouptitle}\n {/if}\n
\n {$f}\n \n {$v}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,741,1,0,0,NULL),(30,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {$event.title}\n','{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $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 $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{if $location.address.1.name}\n\n{$location.address.1.name}\n{/if}\n{if $location.address.1.street_address}{$location.address.1.street_address}\n{/if}\n{if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}\n{/if}\n{if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}\n{/if}\n{if $location.address.1.city}{$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}\n{/if}\n\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $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 $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 $email}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$email}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $lineItem}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if $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 $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 $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 $pricesetFieldsCount }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{foreach from=$value item=line}\n{if $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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\"} {$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n{/if}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amount && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary}\n\n{if $balanceAmount}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $balanceAmount}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if $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 $is_pay_later }\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $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 $contributionTypeName}\n{ts}Financial Type{/ts}: {$contributionTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $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 $customPre}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if $customPost}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if $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 $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if $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 $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\n','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n {/if}\n\n {if $isOnWaitlist}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n {if $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 {elseif $isRequireApproval}\n

{ts}Your registration has been submitted.{/ts}

\n {if $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 {/if}\n {elseif $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $email}\n \n \n \n \n \n \n {/if}\n\n\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amount && !$lineItem}\n {foreach from=$amount item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $balanceAmount}\n \n \n \n \n {/if}\n {if $pricesetFieldsCount }\n \n \n \n \n {/if}\n {if $is_pay_later}\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $contributionTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customProfile}\n {foreach from=$customProfile item=value key=customName}\n \n \n \n {foreach from=$value item=val key=field}\n {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n \n \n \n {foreach from=$val item=v key=f}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/foreach}\n {/if}\n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}\n \n {$event.participant_role}\n
\n {if $location.address.1.name}\n {$location.address.1.name}
\n {/if}\n {if $location.address.1.street_address}\n {$location.address.1.street_address}
\n {/if}\n {if $location.address.1.supplemental_address_1}\n {$location.address.1.supplemental_address_1}
\n {/if}\n {if $location.address.1.supplemental_address_2}\n {$location.address.1.supplemental_address_2}
\n {/if}\n {if $location.address.1.city}\n {$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\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}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount }\n \n {/if}\n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.participant_count}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {if $balanceAmount}\n {ts}Total Paid{/ts}\n {else}\n {ts}Total Amount{/ts}\n {/if}\n \n {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n
\n {ts}Balance{/ts}\n \n {$balanceAmount|crmMoney}\n
\n {ts}Total Participants{/ts}\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
\n {$pay_later_receipt}\n
\n {ts}Registration Date{/ts}\n \n {$register_date|crmDate}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Financial Type{/ts}\n \n {$contributionTypeName}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n
\n {if $field eq \'additionalCustomPre\'}\n {$additionalCustomPre_grouptitle}\n {else}\n {$additionalCustomPost_grouptitle}\n {/if}\n
\n {$f}\n \n {$v}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,741,0,1,0,NULL),(31,'Events - Registration Confirmation and Receipt (on-line)','{if $isOnWaitlist}{ts}Wait List Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title}','Dear {contact.display_name},\n\n{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n\n{else}\nThank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}.\n\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $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 $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 $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{if $location.address.1.name}\n\n{$location.address.1.name}\n{/if}\n{if $location.address.1.street_address}{$location.address.1.street_address}\n{/if}\n{if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}\n{/if}\n{if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}\n{/if}\n{if $location.address.1.city}{$location.address.1.city}, {$location.address.1.state_province} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}\n{/if}\n\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $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 $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 $payer.name}\nYou were registered by: {$payer.name}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $lineItem}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if $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 $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 $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 $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 $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n-----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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\"}{$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if $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 $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amounts && !$lineItem}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary }\n\n{ts}Total Amount{/ts}: {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $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 $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $contributionTypeName}\n{ts}Financial Type{/ts}: {$contributionTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $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 $customPre}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if $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{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n
\n

Dear {contact.display_name},

\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n\n {else}\n

Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}.

\n\n {/if}\n\n

\n {if $isOnWaitlist}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n {if $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 {elseif $isRequireApproval}\n

{ts}Your registration has been submitted.{/ts}

\n {if $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 {/if}\n {elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n\n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $event.is_share}\n \n \n \n {/if}\n {if $payer.name}\n \n \n \n \n \n \n {/if}\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amounts && !$lineItem}\n {foreach from=$amounts item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $pricesetFieldsCount }\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $contributionTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n\n{if $customPre}\n{foreach from=$customPre item=customPr key=i}\n \n {foreach from=$customPr item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n \n {foreach from=$customPos item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customProfile}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n \n {foreach from=$eachParticipant item=eachProfile key=pid}\n \n {foreach from=$eachProfile item=val key=field}\n {foreach from=$val item=v key=f}\n \n \n {/foreach}\n \n {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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
\n {ts}Your schedule:{/ts}\n
\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 {$group_by_day|date_format:\"%m/%d/%Y\"}
\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
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {if $location.address.1.name}\n {$location.address.1.name}
\n {/if}\n {if $location.address.1.street_address}\n {$location.address.1.street_address}
\n {/if}\n {if $location.address.1.supplemental_address_1}\n {$location.address.1.supplemental_address_1}
\n {/if}\n {if $location.address.1.supplemental_address_2}\n {$location.address.1.supplemental_address_2}
\n {/if}\n {if $location.address.1.city}\n {$location.address.1.city}, {$location.address.1.state_province} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\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}\n
\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
\n {ts}You were registered by:{/ts}\n
\n {$payer.name}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount } {/if}\n \n {/foreach}\n {if $individual}\n \n \n \n \n \n \n {/if}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n {$line.participant_count}
{ts}Participant Total{/ts}{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalAmtWithTax|crmMoney}
\n
\n {ts} Amount Before Tax: {/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney:$currency} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n
\n {ts}Total Participants{/ts}\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
\n {ts}Registration Date{/ts}\n \n {$register_date|crmDate}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Financial Type{/ts}\n \n {$contributionTypeName}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
{$customPre_grouptitle.$i}
{$customName}{$customValue}
{$customPost_grouptitle.$j}
{$customName}{$customValue}
{ts 1=$participantID+2}Participant %1{/ts}
{$customProfile.title.$pid}
{$field}{$v}
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,742,1,0,0,NULL),(32,'Events - Registration Confirmation and Receipt (on-line)','{if $isOnWaitlist}{ts}Wait List Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title}','Dear {contact.display_name},\n\n{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n\n{else}\nThank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}.\n\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $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 $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 $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{if $location.address.1.name}\n\n{$location.address.1.name}\n{/if}\n{if $location.address.1.street_address}{$location.address.1.street_address}\n{/if}\n{if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}\n{/if}\n{if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}\n{/if}\n{if $location.address.1.city}{$location.address.1.city}, {$location.address.1.state_province} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}\n{/if}\n\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $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 $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 $payer.name}\nYou were registered by: {$payer.name}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $lineItem}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if $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 $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 $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 $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 $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n-----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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\"}{$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if $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 $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amounts && !$lineItem}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary }\n\n{ts}Total Amount{/ts}: {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $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 $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $contributionTypeName}\n{ts}Financial Type{/ts}: {$contributionTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $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 $customPre}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if $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{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n
\n

Dear {contact.display_name},

\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n\n {else}\n

Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}.

\n\n {/if}\n\n

\n {if $isOnWaitlist}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n {if $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 {elseif $isRequireApproval}\n

{ts}Your registration has been submitted.{/ts}

\n {if $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 {/if}\n {elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n\n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $event.is_share}\n \n \n \n {/if}\n {if $payer.name}\n \n \n \n \n \n \n {/if}\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amounts && !$lineItem}\n {foreach from=$amounts item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $pricesetFieldsCount }\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $contributionTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n\n{if $customPre}\n{foreach from=$customPre item=customPr key=i}\n \n {foreach from=$customPr item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n \n {foreach from=$customPos item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customProfile}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n \n {foreach from=$eachParticipant item=eachProfile key=pid}\n \n {foreach from=$eachProfile item=val key=field}\n {foreach from=$val item=v key=f}\n \n \n {/foreach}\n \n {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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
\n {ts}Your schedule:{/ts}\n
\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 {$group_by_day|date_format:\"%m/%d/%Y\"}
\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
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {if $location.address.1.name}\n {$location.address.1.name}
\n {/if}\n {if $location.address.1.street_address}\n {$location.address.1.street_address}
\n {/if}\n {if $location.address.1.supplemental_address_1}\n {$location.address.1.supplemental_address_1}
\n {/if}\n {if $location.address.1.supplemental_address_2}\n {$location.address.1.supplemental_address_2}
\n {/if}\n {if $location.address.1.city}\n {$location.address.1.city}, {$location.address.1.state_province} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\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}\n
\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
\n {ts}You were registered by:{/ts}\n
\n {$payer.name}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount } {/if}\n \n {/foreach}\n {if $individual}\n \n \n \n \n \n \n {/if}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n {$line.participant_count}
{ts}Participant Total{/ts}{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalAmtWithTax|crmMoney}
\n
\n {ts} Amount Before Tax: {/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney:$currency} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n
\n {ts}Total Participants{/ts}\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
\n {ts}Registration Date{/ts}\n \n {$register_date|crmDate}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Financial Type{/ts}\n \n {$contributionTypeName}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
{$customPre_grouptitle.$i}
{$customName}{$customValue}
{$customPost_grouptitle.$j}
{$customName}{$customValue}
{ts 1=$participantID+2}Participant %1{/ts}
{$customProfile.title.$pid}
{$field}{$v}
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,742,0,1,0,NULL),(33,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if}\n','Dear {contact.display_name},\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 $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 {$pay_later_receipt}\n{/if}\n\n Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$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 $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 {if $line_item.location.address.1.name}\n {$line_item.location.address.1.name}\n {/if}\n {if $line_item.location.address.1.street_address}\n {$line_item.location.address.1.street_address}\n {/if}\n {if $line_item.location.address.1.supplemental_address_1}\n {$line_item.location.address.1.supplemental_address_1}\n {/if}\n {if $line_item.location.address.1.supplemental_address_2}\n {$line_item.location.address.1.supplemental_address_2}\n {/if}\n {if $line_item.location.address.1.city}\n {$line_item.location.address.1.city}, {$line_item.location.address.1.state_province} {$line_item.location.address.1.postal_code}\n {/if}\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','\n\n \n \n \n \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

Dear {contact.display_name},

\n {if $is_pay_later}\n

\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

\n {else}\n

\n This is being sent to you as a {if $is_refund}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

\n {/if}\n\n

Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$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\n{if $billing_name}\n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billing_name}
\n {$billing_street_address}
\n {$billing_city}, {$billing_state} {$billing_postal_code}
\n
\n {$email}\n
\n{/if}\n{if $credit_card_type}\n

 

\n \n \n \n \n \n \n \n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n
\n{/if}\n{if $source}\n

 

\n {$source}\n{/if}\n

 

\n \n \n \n{if $line_items}\n \n \n{/if}\n \n \n \n \n \n {foreach from=$line_items item=line_item}\n \n \n \n \n \n \n {/foreach}\n \n \n {if $discounts}\n \n \n \n \n \n \n {foreach from=$discounts key=myId item=i}\n \n \n \n \n \n \n {/foreach}\n {/if}\n \n{if $line_items}\n \n \n{/if}\n \n \n \n \n
\n Event\n \n Participants\n \n Price\n \n Total\n
\n {$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})
\n {if $line_item.event->is_show_location}\n {if $line_item.location.address.1.name}\n {$line_item.location.address.1.name}
\n {/if}\n {if $line_item.location.address.1.street_address}\n {$line_item.location.address.1.street_address}
\n {/if}\n {if $line_item.location.address.1.supplemental_address_1}\n {$line_item.location.address.1.supplemental_address_1}
\n {/if}\n {if $line_item.location.address.1.supplemental_address_2}\n {$line_item.location.address.1.supplemental_address_2}
\n {/if}\n {if $line_item.location.address.1.city}\n {$line_item.location.address.1.city}, {$line_item.location.address.1.state_province} {$location.address.1.postal_code}\n {/if}\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 {$line_item.num_participants}\n {if $line_item.num_participants > 0}\n
\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}
\n {/foreach}\n
\n {/if}\n {if $line_item.num_waiting_participants > 0}\n Waitlisted:
\n
\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}
\n {/foreach}\n
\n {/if}\n
\n {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\n \n  {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n
\n \n \n Subtotal:\n \n  {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n
\n {$i.title}\n \n \n \n -{$i.amount}\n
\n \n \n Total:\n \n  {$total|crmMoney:$currency|string_format:\"%10s\"}\n
\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\n \n\n',1,743,1,0,0,NULL),(34,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if}\n','Dear {contact.display_name},\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 $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 {$pay_later_receipt}\n{/if}\n\n Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$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 $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 {if $line_item.location.address.1.name}\n {$line_item.location.address.1.name}\n {/if}\n {if $line_item.location.address.1.street_address}\n {$line_item.location.address.1.street_address}\n {/if}\n {if $line_item.location.address.1.supplemental_address_1}\n {$line_item.location.address.1.supplemental_address_1}\n {/if}\n {if $line_item.location.address.1.supplemental_address_2}\n {$line_item.location.address.1.supplemental_address_2}\n {/if}\n {if $line_item.location.address.1.city}\n {$line_item.location.address.1.city}, {$line_item.location.address.1.state_province} {$line_item.location.address.1.postal_code}\n {/if}\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','\n\n \n \n \n \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

Dear {contact.display_name},

\n {if $is_pay_later}\n

\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

\n {else}\n

\n This is being sent to you as a {if $is_refund}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

\n {/if}\n\n

Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$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\n{if $billing_name}\n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billing_name}
\n {$billing_street_address}
\n {$billing_city}, {$billing_state} {$billing_postal_code}
\n
\n {$email}\n
\n{/if}\n{if $credit_card_type}\n

 

\n \n \n \n \n \n \n \n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n
\n{/if}\n{if $source}\n

 

\n {$source}\n{/if}\n

 

\n \n \n \n{if $line_items}\n \n \n{/if}\n \n \n \n \n \n {foreach from=$line_items item=line_item}\n \n \n \n \n \n \n {/foreach}\n \n \n {if $discounts}\n \n \n \n \n \n \n {foreach from=$discounts key=myId item=i}\n \n \n \n \n \n \n {/foreach}\n {/if}\n \n{if $line_items}\n \n \n{/if}\n \n \n \n \n
\n Event\n \n Participants\n \n Price\n \n Total\n
\n {$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})
\n {if $line_item.event->is_show_location}\n {if $line_item.location.address.1.name}\n {$line_item.location.address.1.name}
\n {/if}\n {if $line_item.location.address.1.street_address}\n {$line_item.location.address.1.street_address}
\n {/if}\n {if $line_item.location.address.1.supplemental_address_1}\n {$line_item.location.address.1.supplemental_address_1}
\n {/if}\n {if $line_item.location.address.1.supplemental_address_2}\n {$line_item.location.address.1.supplemental_address_2}
\n {/if}\n {if $line_item.location.address.1.city}\n {$line_item.location.address.1.city}, {$line_item.location.address.1.state_province} {$location.address.1.postal_code}\n {/if}\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 {$line_item.num_participants}\n {if $line_item.num_participants > 0}\n
\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}
\n {/foreach}\n
\n {/if}\n {if $line_item.num_waiting_participants > 0}\n Waitlisted:
\n
\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}
\n {/foreach}\n
\n {/if}\n
\n {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\n \n  {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n
\n \n \n Subtotal:\n \n  {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n
\n {$i.title}\n \n \n \n -{$i.amount}\n
\n \n \n Total:\n \n  {$total|crmMoney:$currency|string_format:\"%10s\"}\n
\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\n \n\n',1,743,0,1,0,NULL),(35,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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{if $event.location.address.1.name}\n\n{$event.location.address.1.name}\n{/if}\n{if $event.location.address.1.street_address}{$event.location.address.1.street_address}\n{/if}\n{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}\n{/if}\n{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}\n{/if}\n{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}\n{/if}\n\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts}Your Event Registration has been cancelled.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}:\n \n {$participant.role}\n
\n {if $event.location.address.1.name}\n {$event.location.address.1.name}
\n {/if}\n {if $event.location.address.1.street_address}\n {$event.location.address.1.street_address}
\n {/if}\n {if $event.location.address.1.supplemental_address_1}\n {$event.location.address.1.supplemental_address_1}
\n {/if}\n {if $event.location.address.1.supplemental_address_2}\n {$event.location.address.1.supplemental_address_2}
\n {/if}\n {if $event.location.address.1.city}\n {$event.location.address.1.city} {$event.location.address.1.postal_code}\n {if $event.location.address.1.postal_code_suffix}\n - {$event.location.address.1.postal_code_suffix}\n {/if}\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\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
\n\n\n\n',1,744,1,0,0,NULL),(36,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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{if $event.location.address.1.name}\n\n{$event.location.address.1.name}\n{/if}\n{if $event.location.address.1.street_address}{$event.location.address.1.street_address}\n{/if}\n{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}\n{/if}\n{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}\n{/if}\n{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}\n{/if}\n\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts}Your Event Registration has been cancelled.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}:\n \n {$participant.role}\n
\n {if $event.location.address.1.name}\n {$event.location.address.1.name}
\n {/if}\n {if $event.location.address.1.street_address}\n {$event.location.address.1.street_address}
\n {/if}\n {if $event.location.address.1.supplemental_address_1}\n {$event.location.address.1.supplemental_address_1}
\n {/if}\n {if $event.location.address.1.supplemental_address_2}\n {$event.location.address.1.supplemental_address_2}
\n {/if}\n {if $event.location.address.1.city}\n {$event.location.address.1.city} {$event.location.address.1.postal_code}\n {if $event.location.address.1.postal_code_suffix}\n - {$event.location.address.1.postal_code_suffix}\n {/if}\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\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
\n\n\n\n',1,744,0,1,0,NULL),(37,'Events - Registration Confirmation Invite','{ts 1=$event.event_title}Confirm your registration for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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\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{if $event.location.address.1.name}\n\n{$event.location.address.1.name}\n{/if}\n{if $event.location.address.1.street_address}{$event.location.address.1.street_address}\n{/if}\n{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}\n{/if}\n{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}\n{/if}\n{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}\n{/if}\n\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n {if !$isAdditional and $participant.id}\n \n \n \n \n \n \n {/if}\n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n
\n {ts}Confirm Your Registration{/ts}\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}\n Go to a web page where you can confirm your registration online\n
\n \n \n \n \n \n \n \n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}Your schedule:{/ts}\n
\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 {$group_by_day|date_format:\"%m/%d/%Y\"}
\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
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {if $event.location.address.1.name}\n {$event.location.address.1.name}
\n {/if}\n {if $event.location.address.1.street_address}\n {$event.location.address.1.street_address}
\n {/if}\n {if $event.location.address.1.supplemental_address_1}\n {$event.location.address.1.supplemental_address_1}
\n {/if}\n {if $event.location.address.1.supplemental_address_2}\n {$event.location.address.1.supplemental_address_2}
\n {/if}\n {if $event.location.address.1.city}\n {$event.location.address.1.city} {$event.location.address.1.postal_code}\n {if $event.location.address.1.postal_code_suffix}\n - {$event.location.address.1.postal_code_suffix}\n {/if}\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\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}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\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
\n\n\n\n',1,745,1,0,0,NULL),(38,'Events - Registration Confirmation Invite','{ts 1=$event.event_title}Confirm your registration for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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\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{if $event.location.address.1.name}\n\n{$event.location.address.1.name}\n{/if}\n{if $event.location.address.1.street_address}{$event.location.address.1.street_address}\n{/if}\n{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}\n{/if}\n{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}\n{/if}\n{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}\n{/if}\n\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n {if !$isAdditional and $participant.id}\n \n \n \n \n \n \n {/if}\n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n
\n {ts}Confirm Your Registration{/ts}\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}\n Go to a web page where you can confirm your registration online\n
\n \n \n \n \n \n \n \n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}Your schedule:{/ts}\n
\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 {$group_by_day|date_format:\"%m/%d/%Y\"}
\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
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {if $event.location.address.1.name}\n {$event.location.address.1.name}
\n {/if}\n {if $event.location.address.1.street_address}\n {$event.location.address.1.street_address}
\n {/if}\n {if $event.location.address.1.supplemental_address_1}\n {$event.location.address.1.supplemental_address_1}
\n {/if}\n {if $event.location.address.1.supplemental_address_2}\n {$event.location.address.1.supplemental_address_2}
\n {/if}\n {if $event.location.address.1.city}\n {$event.location.address.1.city} {$event.location.address.1.postal_code}\n {if $event.location.address.1.postal_code_suffix}\n - {$event.location.address.1.postal_code_suffix}\n {/if}\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\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}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\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
\n\n\n\n',1,745,0,1,0,NULL),(39,'Events - Pending Registration Expiration Notice','{ts 1=$event.event_title}Event registration has expired for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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{if $event.location.address.1.name}\n\n{$event.location.address.1.name}\n{/if}\n{if $event.location.address.1.street_address}{$event.location.address.1.street_address}\n{/if}\n{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}\n{/if}\n{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}\n{/if}\n{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}\n{/if}\n\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}

\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 \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}:\n \n {$participant.role}\n
\n {if $event.location.address.1.name}\n {$event.location.address.1.name}
\n {/if}\n {if $event.location.address.1.street_address}\n {$event.location.address.1.street_address}
\n {/if}\n {if $event.location.address.1.supplemental_address_1}\n {$event.location.address.1.supplemental_address_1}
\n {/if}\n {if $event.location.address.1.supplemental_address_2}\n {$event.location.address.1.supplemental_address_2}
\n {/if}\n {if $event.location.address.1.city}\n {$event.location.address.1.city} {$event.location.address.1.postal_code}\n {if $event.location.address.1.postal_code_suffix}\n - {$event.location.address.1.postal_code_suffix}\n {/if}\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\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
\n\n\n\n',1,746,1,0,0,NULL),(40,'Events - Pending Registration Expiration Notice','{ts 1=$event.event_title}Event registration has expired for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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{if $event.location.address.1.name}\n\n{$event.location.address.1.name}\n{/if}\n{if $event.location.address.1.street_address}{$event.location.address.1.street_address}\n{/if}\n{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}\n{/if}\n{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}\n{/if}\n{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}\n{/if}\n\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}

\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 \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}:\n \n {$participant.role}\n
\n {if $event.location.address.1.name}\n {$event.location.address.1.name}
\n {/if}\n {if $event.location.address.1.street_address}\n {$event.location.address.1.street_address}
\n {/if}\n {if $event.location.address.1.supplemental_address_1}\n {$event.location.address.1.supplemental_address_1}
\n {/if}\n {if $event.location.address.1.supplemental_address_2}\n {$event.location.address.1.supplemental_address_2}
\n {/if}\n {if $event.location.address.1.city}\n {$event.location.address.1.city} {$event.location.address.1.postal_code}\n {if $event.location.address.1.postal_code_suffix}\n - {$event.location.address.1.postal_code_suffix}\n {/if}\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\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
\n\n\n\n',1,746,0,1,0,NULL),(41,'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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n

{$senderMessage}

\n {if $generalLink}\n

{ts}More information{/ts}

\n {/if}\n {if $contribute}\n

{ts}Make a contribution{/ts}

\n {/if}\n {if $event}\n

{ts}Find out more about this event{/ts}

\n {/if}\n
\n
\n\n\n\n',1,747,1,0,0,NULL),(42,'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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n

{$senderMessage}

\n {if $generalLink}\n

{ts}More information{/ts}

\n {/if}\n {if $contribute}\n

{ts}Make a contribution{/ts}

\n {/if}\n {if $event}\n

{ts}Find out more about this event{/ts}

\n {/if}\n
\n
\n\n\n\n',1,747,0,1,0,NULL),(43,'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}\n','{if $formValues.receipt_text_signup}\n{$formValues.receipt_text_signup}\n{elseif $formValues.receipt_text_renewal}\n{$formValues.receipt_text_renewal}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{if ! $cancelled}{ts}Please print this receipt for your records.{/ts}\n\n\n{/if}\n{if !$lineItem}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{/if}\n{if ! $cancelled}\n{if !$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 $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{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $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 $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $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{$taxTerm} {$priceset|string_format:\"%.2f\"} %: {$value|crmMoney:$currency}\n{elseif $priceset == 0}\n{ts}No{/ts} {$taxTerm}: {$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 $receive_date}\n{ts}Received Date{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $formValues.paidBy}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if $isPrimary }\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\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 $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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n {if $isPrimary}\n \n \n \n {/if}\n\n {if $customValues}\n \n \n \n {/if}\n\n
\n {if $formValues.receipt_text_signup}\n

{$formValues.receipt_text_signup|htmlize}

\n {elseif $formValues.receipt_text_renewal}\n

{$formValues.receipt_text_renewal|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n {if ! $cancelled}\n

{ts}Please print this receipt for your records.{/ts}

\n {/if}\n
\n \n {if !$lineItem}\n \n \n \n \n \n \n \n {/if}\n {if ! $cancelled}\n {if !$lineItem}\n \n \n \n \n \n \n \n \n {/if}\n {if $formValues.total_amount OR $formValues.total_amount eq 0 }\n \n \n \n {if $formValues.contributionType_name}\n \n \n \n \n {/if}\n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if isset($totalTaxAmount)}\n \n \n \n \n {/if}\n \n \n \n \n {if $receive_date}\n \n \n \n \n {/if}\n {if $formValues.paidBy}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n {/if}\n {/if}\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date}\n
\n {ts}Membership Fee{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$formValues.total_amount|crmMoney}\n
\n {ts}Received Date{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n
\n \n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\n \n \n \n \n \n \n \n \n \n \n {/if}\n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}\n
\n {ts}Expires{/ts}\n \n {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n
\n \n \n \n \n {foreach from=$customValues item=value key=customName}\n \n \n \n \n {/foreach}\n
\n {ts}Membership Options{/ts}\n
\n {$customName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,748,1,0,0,NULL),(44,'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}\n','{if $formValues.receipt_text_signup}\n{$formValues.receipt_text_signup}\n{elseif $formValues.receipt_text_renewal}\n{$formValues.receipt_text_renewal}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{if ! $cancelled}{ts}Please print this receipt for your records.{/ts}\n\n\n{/if}\n{if !$lineItem}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{/if}\n{if ! $cancelled}\n{if !$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 $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{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $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 $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $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{$taxTerm} {$priceset|string_format:\"%.2f\"} %: {$value|crmMoney:$currency}\n{elseif $priceset == 0}\n{ts}No{/ts} {$taxTerm}: {$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 $receive_date}\n{ts}Received Date{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $formValues.paidBy}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if $isPrimary }\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\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 $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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n {if $isPrimary}\n \n \n \n {/if}\n\n {if $customValues}\n \n \n \n {/if}\n\n
\n {if $formValues.receipt_text_signup}\n

{$formValues.receipt_text_signup|htmlize}

\n {elseif $formValues.receipt_text_renewal}\n

{$formValues.receipt_text_renewal|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n {if ! $cancelled}\n

{ts}Please print this receipt for your records.{/ts}

\n {/if}\n
\n \n {if !$lineItem}\n \n \n \n \n \n \n \n {/if}\n {if ! $cancelled}\n {if !$lineItem}\n \n \n \n \n \n \n \n \n {/if}\n {if $formValues.total_amount OR $formValues.total_amount eq 0 }\n \n \n \n {if $formValues.contributionType_name}\n \n \n \n \n {/if}\n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if isset($totalTaxAmount)}\n \n \n \n \n {/if}\n \n \n \n \n {if $receive_date}\n \n \n \n \n {/if}\n {if $formValues.paidBy}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n {/if}\n {/if}\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date}\n
\n {ts}Membership Fee{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$formValues.total_amount|crmMoney}\n
\n {ts}Received Date{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n
\n \n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\n \n \n \n \n \n \n \n \n \n \n {/if}\n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}\n
\n {ts}Expires{/ts}\n \n {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n
\n \n \n \n \n {foreach from=$customValues item=value key=customName}\n \n \n \n \n {/foreach}\n
\n {ts}Membership Options{/ts}\n
\n {$customName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,748,0,1,0,NULL),(45,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\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 && $membership_amount && $is_quick_config}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount}\n{if ! $is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n{else}\n{ts}Additional Contribution{/ts}: {$amount|crmMoney}\n{/if}\n{/if}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{elseif !$useForMember && $lineItem and $priceSetID & !$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 && !$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 $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 $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $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{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}\n{/if}\n{elseif $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 $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if $membership_trx_id}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if $is_recur}\n{if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/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 $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 $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 !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0 OR $membership_amount GT 0 }\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) }\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 $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 $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $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 $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n\n {if $receipt_text}\n

{$receipt_text|htmlize}

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $membership_assign && !$useForMember}\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n {/if}\n\n\n {if $amount}\n \n \n \n\n {if !$useForMember and $membership_amount and $is_quick_config}\n\n \n \n \n \n {if $amount}\n {if ! $is_separate_payment }\n \n \n \n \n {else}\n \n \n \n \n {/if}\n {/if}\n \n \n \n \n\n {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n \n \n \n \n\n {else}\n {if $useForMember && $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n\n {elseif $membership_amount}\n\n\n \n \n \n \n \n \n \n\n\n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $membership_trx_id}\n \n \n \n \n {/if}\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later}\n \n \n \n \n \n \n {elseif $amount GT 0 OR $membership_amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Contribution Amount{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Additional Contribution{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Total{/ts}\n \n {$amount+$membership_amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n {foreach from=$value item=line}\n \n \n \n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Total{/ts}
\n {$line.description|truncate:30:\"...\"}\n \n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.line_total|crmMoney}\n
\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}NO{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Membership Transaction #{/ts}\n \n {$membership_trx_id}\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\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}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,749,1,0,0,NULL),(46,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\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 && $membership_amount && $is_quick_config}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount}\n{if ! $is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n{else}\n{ts}Additional Contribution{/ts}: {$amount|crmMoney}\n{/if}\n{/if}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{elseif !$useForMember && $lineItem and $priceSetID & !$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 && !$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 $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 $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $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{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}\n{/if}\n{elseif $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 $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if $membership_trx_id}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if $is_recur}\n{if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/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 $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 $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 !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0 OR $membership_amount GT 0 }\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) }\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 $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 $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $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 $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n\n {if $receipt_text}\n

{$receipt_text|htmlize}

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $membership_assign && !$useForMember}\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n {/if}\n\n\n {if $amount}\n \n \n \n\n {if !$useForMember and $membership_amount and $is_quick_config}\n\n \n \n \n \n {if $amount}\n {if ! $is_separate_payment }\n \n \n \n \n {else}\n \n \n \n \n {/if}\n {/if}\n \n \n \n \n\n {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n \n \n \n \n\n {else}\n {if $useForMember && $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n\n {elseif $membership_amount}\n\n\n \n \n \n \n \n \n \n\n\n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $membership_trx_id}\n \n \n \n \n {/if}\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later}\n \n \n \n \n \n \n {elseif $amount GT 0 OR $membership_amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Contribution Amount{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Additional Contribution{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Total{/ts}\n \n {$amount+$membership_amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n {foreach from=$value item=line}\n \n \n \n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Total{/ts}
\n {$line.description|truncate:30:\"...\"}\n \n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.line_total|crmMoney}\n
\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}NO{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Membership Transaction #{/ts}\n \n {$membership_trx_id}\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\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}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,749,0,1,0,NULL),(47,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts}\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\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 \n\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Status{/ts}\n \n {$membership_status}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n
\n\n\n\n',1,750,1,0,0,NULL),(48,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts}\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\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 \n\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Status{/ts}\n \n {$membership_status}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n
\n\n\n\n',1,750,0,1,0,NULL),(49,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\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\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n\n',1,751,1,0,0,NULL),(50,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\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\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n\n',1,751,0,1,0,NULL),(51,'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','
\n \n \n \n \n
\n

{ts}Test-drive Email / Receipt{/ts}

\n

{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}

\n
\n
\n',1,752,1,0,0,NULL),(52,'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','
\n \n \n \n \n
\n

{ts}Test-drive Email / Receipt{/ts}

\n

{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}

\n
\n
\n',1,752,0,1,0,NULL),(53,'Pledges - Acknowledgement','{ts}Thank you for your Pledge{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Thank you for your generous pledge. Please print this acknowledgment for your records.{/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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n

{ts 1=$contact.display_name}dear %1{/ts},

\n

{ts}thank you for your generous pledge. please print this acknowledgment for your records.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {if $payments}\n {assign var=\"count\" value=\"1\"}\n {foreach from=$payments item=payment}\n \n \n \n \n {assign var=\"count\" value=`$count+1`}\n {/foreach}\n {/if}\n\n \n \n \n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$total_pledge_amount|crmMoney:$currency}\n
\n {ts}Payment Schedule{/ts}\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

{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}

\n {/if}\n
\n {ts 1=$count}Payment %1{/ts}\n \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
\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 {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,753,1,0,0,NULL),(54,'Pledges - Acknowledgement','{ts}Thank you for your Pledge{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Thank you for your generous pledge. Please print this acknowledgment for your records.{/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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n

{ts 1=$contact.display_name}dear %1{/ts},

\n

{ts}thank you for your generous pledge. please print this acknowledgment for your records.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {if $payments}\n {assign var=\"count\" value=\"1\"}\n {foreach from=$payments item=payment}\n \n \n \n \n {assign var=\"count\" value=`$count+1`}\n {/foreach}\n {/if}\n\n \n \n \n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$total_pledge_amount|crmMoney:$currency}\n
\n {ts}Payment Schedule{/ts}\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

{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}

\n {/if}\n
\n {ts 1=$count}Payment %1{/ts}\n \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
\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 {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,753,0,1,0,NULL),(55,'Pledges - Payment Reminder','{ts}Pledge Payment Reminder{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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}{/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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\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 \n \n \n \n \n \n \n
\n {ts}Payment Due{/ts}\n
\n {ts}Amount Due{/ts}\n \n {$amount_due|crmMoney:$currency}\n
\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}{/capture}\n

{ts}Go to a web page where you can make your payment online{/ts}

\n {else}\n

{ts}Please mail your payment to{/ts}: {$domain.address}

\n {/if}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Paid{/ts}\n \n {$amount_paid|crmMoney:$currency}\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

{ts}Thank your for your generous support.{/ts}

\n
\n
\n\n\n\n',1,754,1,0,0,NULL),(56,'Pledges - Payment Reminder','{ts}Pledge Payment Reminder{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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}{/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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\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 \n \n \n \n \n \n \n
\n {ts}Payment Due{/ts}\n
\n {ts}Amount Due{/ts}\n \n {$amount_due|crmMoney:$currency}\n
\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}{/capture}\n

{ts}Go to a web page where you can make your payment online{/ts}

\n {else}\n

{ts}Please mail your payment to{/ts}: {$domain.address}

\n {/if}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Paid{/ts}\n \n {$amount_paid|crmMoney:$currency}\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

{ts}Thank your for your generous support.{/ts}

\n
\n
\n\n\n\n',1,754,0,1,0,NULL),(57,'Profiles - Admin Notification','{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts}\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n\n {foreach from=$values item=value key=valueName}\n \n \n \n \n {/foreach}\n
\n {ts}Submitted For{/ts}\n \n {$displayName}\n
\n {ts}Date{/ts}\n \n {$currentDate}\n
\n {ts}Contact Summary{/ts}\n \n {$contactLink}\n
\n {$grouptitle}\n
\n {$valueName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,755,1,0,0,NULL),(58,'Profiles - Admin Notification','{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts}\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n\n {foreach from=$values item=value key=valueName}\n \n \n \n \n {/foreach}\n
\n {ts}Submitted For{/ts}\n \n {$displayName}\n
\n {ts}Date{/ts}\n \n {$currentDate}\n
\n {ts}Contact Summary{/ts}\n \n {$contactLink}\n
\n {$grouptitle}\n
\n {$valueName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,755,0,1,0,NULL),(59,'Petition - signature added','Thank you for signing {$petition.title}','Thank you for signing {$petition.title}.\n','

Thank you for signing {$petition.title}.

\n\n{include file=\"CRM/Campaign/Page/Petition/SocialNetwork.tpl\" petition_id=$survey_id noscript=true emailMode=true}\n',1,756,1,0,0,NULL),(60,'Petition - signature added','Thank you for signing {$petition.title}','Thank you for signing {$petition.title}.\n','

Thank you for signing {$petition.title}.

\n\n{include file=\"CRM/Campaign/Page/Petition/SocialNetwork.tpl\" petition_id=$survey_id noscript=true emailMode=true}\n',1,756,0,1,0,NULL),(61,'Petition - need verification','Confirmation of signature needed for {$petition.title}\n','Thank 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','

Thank you for signing {$petition.title}.

\n\n

In order to complete your signature, we must confirm your e-mail.\n
\nPlease do so by visiting the following web page by clicking\non the link below or pasting the link into your browser.\n

\nEmail confirmation page: {$petition.confirmUrl}

\n\n

If you did not sign this petition, please ignore this message.

\n',1,757,1,0,0,NULL),(62,'Petition - need verification','Confirmation of signature needed for {$petition.title}\n','Thank 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','

Thank you for signing {$petition.title}.

\n\n

In order to complete your signature, we must confirm your e-mail.\n
\nPlease do so by visiting the following web page by clicking\non the link below or pasting the link into your browser.\n

\nEmail confirmation page: {$petition.confirmUrl}

\n\n

If you did not sign this petition, please ignore this message.

\n',1,757,0,1,0,NULL),(63,'Sample CiviMail Newsletter Template','Sample CiviMail Newsletter','','\n\n\n \n \n\n\n\n\n \n \n \n \n \n\n \n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \"Replace\n    \n Your Newsletter Title\n
\n
\n \n \n \n \n \n
\n \n Greetings {contact.display_name},\n

\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

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

The logo you use must be uploaded to your server. Copy and paste the URL path to the logo into the <img src= tag in the HTML at the top. Click \"Source\" or the Image button if you are using the text editor.\n

\n Edit the color of the links and headers using the color button or by editing the HTML.\n

\n Your newsletter message and donation appeal can go here. Click the link button to create links - remember to use a fully qualified URL starting with http:// in all your links!\n

\n To use CiviMail:\n \n Sincerely,\n

\n Your Team\n

\n
\n
\n
\n \n \n \n \n \n \n \n \n
News and Events
\n \n Featured Events
\n Fundraising Dinner
\n Training Meeting
\n Board of Directors Annual Meeting
\n\n

\n Community Events
\n Bake Sale
\n Charity Auction
\n Art Exhibit
\n\n

\n Important Dates
\n Tuesday August 27
\n Wednesday September 8
\n Thursday September 29
\n Saturday October 1
\n Sunday October 20
\n
\n
\n
\n \n \n \n \n
\n \n Helpful Tips\n

\n Tokens
\n Click \"Insert Tokens\" to dynamically insert names, addresses, and other contact data of your recipients.\n

\n Plain Text Version
\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

\n Play by the Rules
\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. {action.optOutUrl} creates a link for recipients to click if they want to opt out of receiving emails from your organization. {action.unsubscribeUrl} 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

\n Composing Offline
\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

\n Images
\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
\n
\n \n
\n Click here to unsubscribe from this mailing list.

\n Our mailing address is:
\n {domain.address}\n
\n\n\n\n',1,NULL,1,0,0,NULL),(64,'Sample Responsive Design Newsletter - Single Column Template','Sample Responsive Design Newsletter - Single Column','','\n\n \n \n\n \n\n\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n
Organization or Program Name Here
\n\n \n \n \n \n \n \n
Month and Year
\n
 
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
\"Replace\n
 
\n
\n
 
\n
\n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
Headline Here
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
Your Heading Here
 
\n

{contact.email_greeting},

\n

Replace with your text and images, and remember to link the facebook and twitter links in the footer to your pages. Have fun!

\n
Read More
 
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
Your Heading Here
 
\n

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna

\n
Read More
 
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
\n

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna

\n
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
\n

Remember to link the facebook and twitter links below to your pages!

\n
Read More
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n \n \n \n \n \n
 Unsubscribe | Subscribe | Opt out
 {domain.address}
\n \n\n \n \n \n \n \n \n \n \n \n
\n \n  \n \n  
\n
 
\n
\n
\n\n\n\n',1,NULL,1,0,0,NULL),(65,'Sample Responsive Design Newsletter - Two Column Template','Sample Responsive Design Newsletter - Two Column','','\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n
Organization or Program Name Here
\n\n \n \n \n \n \n \n
Month Year
\n
 
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n\n \n
\n \n \n \n \n \n \n \n \n \n \n
\"Replace
\n
 
\n
\n\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
Hero Story Heading
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n\n \n\n\n\n \n \n
\n
\"\"
\n
 
Subheading Here
 
Replace with your text and images, and remember to link the facebook and twitter links in the footer to your pages. Have fun!
 
\n
\n
\n
Section Heading Here
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n
\n
\n \n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n
\n
\n \n\n\n\n\n\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n

Remember to link the facebook and twitter links below to your pages!

\n
\n
\n
\n \n\n \n\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n \n \n \n \n \n
 Unsubscribe | Subscribe | Opt out
 {domain.address}
\n \n \n \n \n \n \n \n \n \n \n
\n  \n \n  
\n
 
 
\n
\n
\n \n \n\n',1,NULL,1,0,0,NULL); +INSERT INTO `civicrm_msg_template` (`id`, `msg_title`, `msg_subject`, `msg_text`, `msg_html`, `is_active`, `workflow_id`, `is_default`, `is_reserved`, `is_sms`, `pdf_format_id`) VALUES (1,'Cases - Send Copy of an Activity','{if $idHash}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if $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 $field.category}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label}{if $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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n \n \n \n \n {if $isCaseActivity}\n \n \n \n \n {if $manageCaseURL}\n \n \n \n {/if}\n {/if}\n {if $editActURL}\n \n \n \n {/if}\n {if $viewActURL}\n \n \n \n {/if}\n {foreach from=$activity.fields item=field}\n \n \n \n \n {/foreach}\n\n {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n \n \n \n {foreach from=$customGroup item=field}\n \n \n \n \n {/foreach}\n {/foreach}\n
\n {ts}Activity Summary{/ts} - {$activityTypeName}\n
\n {ts}Your Case Role(s){/ts}\n \n {$contact.role}\n
\n {ts}Manage Case{/ts}\n
\n {ts}Edit activity{/ts}\n
\n {ts}View activity{/ts}\n
\n {$field.label}{if $field.category}({$field.category}){/if}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n {$customGroupName}\n
\n {$field.label}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n
\n
\n\n\n\n',1,727,1,0,0,NULL),(2,'Cases - Send Copy of an Activity','{if $idHash}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if $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 $field.category}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label}{if $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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n \n \n \n \n {if $isCaseActivity}\n \n \n \n \n {if $manageCaseURL}\n \n \n \n {/if}\n {/if}\n {if $editActURL}\n \n \n \n {/if}\n {if $viewActURL}\n \n \n \n {/if}\n {foreach from=$activity.fields item=field}\n \n \n \n \n {/foreach}\n\n {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n \n \n \n {foreach from=$customGroup item=field}\n \n \n \n \n {/foreach}\n {/foreach}\n
\n {ts}Activity Summary{/ts} - {$activityTypeName}\n
\n {ts}Your Case Role(s){/ts}\n \n {$contact.role}\n
\n {ts}Manage Case{/ts}\n
\n {ts}Edit activity{/ts}\n
\n {ts}View activity{/ts}\n
\n {$field.label}{if $field.category}({$field.category}){/if}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n {$customGroupName}\n
\n {$field.label}\n \n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n
\n
\n
\n\n\n\n',1,727,0,1,0,NULL),(3,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts}\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n {if $receiptMessage}\n \n \n \n {/if}\n
\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 \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Organization Name{/ts}\n \n {$onBehalfName}\n
\n {ts}Organization Email{/ts}\n \n {$onBehalfEmail}\n
\n {ts}Organization Contact ID{/ts}\n \n {$onBehalfID}\n
\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 \n \n \n \n \n \n \n
\n {ts}Copy of Contribution Receipt{/ts}\n
\n {* FIXME: the below is most probably not HTML-ised *}\n {$receiptMessage}\n
\n
\n
\n\n\n\n',1,728,1,0,0,NULL),(4,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts}\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n {if $receiptMessage}\n \n \n \n {/if}\n
\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 \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Organization Name{/ts}\n \n {$onBehalfName}\n
\n {ts}Organization Email{/ts}\n \n {$onBehalfEmail}\n
\n {ts}Organization Contact ID{/ts}\n \n {$onBehalfID}\n
\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 \n \n \n \n \n \n \n
\n {ts}Copy of Contribution Receipt{/ts}\n
\n {* FIXME: the below is most probably not HTML-ised *}\n {$receiptMessage}\n
\n
\n
\n\n\n\n',1,728,0,1,0,NULL),(5,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts}\n','{if $formValues.receipt_text}\n{$formValues.receipt_text}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{ts}Please print this receipt for your records.{/ts}\n\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\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 $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 $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 $getTaxDetails}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $getTaxDetails && $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{$taxTerm} {$priceset|string_format:\"%.2f\"}% : {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm} : {$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 $receive_date}\n{ts}Received Date{/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 $formValues.paidBy and !$formValues.hidden_CreditCard}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{if $formValues.trxn_id}\n{ts}Transaction ID{/ts}: {$formValues.trxn_id}\n{/if}\n\n{if $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 $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 $softCreditTypes and $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 $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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n\n {if $formValues.receipt_text}\n

{$formValues.receipt_text|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n\n

{ts}Please print this receipt for your records.{/ts}

\n\n
\n \n \n \n \n \n \n \n \n\n {if $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {/if}\n {if $getTaxDetails && $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0 || $value != \'\'}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n\n {if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n \n \n \n \n {/if}\n\n \n \n \n \n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $receipt_date}\n \n \n \n \n {/if}\n\n {if $formValues.paidBy and !$formValues.hidden_CreditCard}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n\n {if $formValues.trxn_id}\n \n \n \n \n {/if}\n\n {if $ccContribution}\n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n\n {if $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $formValues.product_name}\n \n \n \n \n \n \n {if $formValues.product_option}\n \n \n \n \n {/if}\n {if $formValues.product_sku}\n \n \n \n \n {/if}\n {if $fulfilled_date}\n \n \n \n \n {/if}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $getTaxDetails}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$formValues.total_amount|crmMoney:$currency}\n
\n {ts}Received Date{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Receipt Date{/ts}\n \n {$receipt_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n {ts}Transaction ID{/ts}\n \n {$formValues.trxn_id}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n {ts}Premium Information{/ts}\n
\n {$formValues.product_name}\n
\n {ts}Option{/ts}\n \n {$formValues.product_option}\n
\n {ts}SKU{/ts}\n \n {$formValues.product_sku}\n
\n {ts}Sent{/ts}\n \n {$fulfilled_date|truncate:10:\'\'|crmDate}\n
\n
\n
\n\n\n\n',1,729,1,0,0,NULL),(6,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts}\n','{if $formValues.receipt_text}\n{$formValues.receipt_text}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{ts}Please print this receipt for your records.{/ts}\n\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Financial Type{/ts}: {$formValues.contributionType_name}\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 $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 $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 $getTaxDetails}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $getTaxDetails && $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{$taxTerm} {$priceset|string_format:\"%.2f\"}% : {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm} : {$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 $receive_date}\n{ts}Received Date{/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 $formValues.paidBy and !$formValues.hidden_CreditCard}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{if $formValues.trxn_id}\n{ts}Transaction ID{/ts}: {$formValues.trxn_id}\n{/if}\n\n{if $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 $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 $softCreditTypes and $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 $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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n\n {if $formValues.receipt_text}\n

{$formValues.receipt_text|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n\n

{ts}Please print this receipt for your records.{/ts}

\n\n
\n \n \n \n \n \n \n \n \n\n {if $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {/if}\n {if $getTaxDetails && $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0 || $value != \'\'}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n\n {if isset($totalTaxAmount) && $totalTaxAmount !== \'null\'}\n \n \n \n \n {/if}\n\n \n \n \n \n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $receipt_date}\n \n \n \n \n {/if}\n\n {if $formValues.paidBy and !$formValues.hidden_CreditCard}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n\n {if $formValues.trxn_id}\n \n \n \n \n {/if}\n\n {if $ccContribution}\n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n\n {if $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $formValues.product_name}\n \n \n \n \n \n \n {if $formValues.product_option}\n \n \n \n \n {/if}\n {if $formValues.product_sku}\n \n \n \n \n {/if}\n {if $fulfilled_date}\n \n \n \n \n {/if}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $getTaxDetails}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$formValues.total_amount|crmMoney:$currency}\n
\n {ts}Received Date{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Receipt Date{/ts}\n \n {$receipt_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n {ts}Transaction ID{/ts}\n \n {$formValues.trxn_id}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n {ts}Premium Information{/ts}\n
\n {$formValues.product_name}\n
\n {ts}Option{/ts}\n \n {$formValues.product_option}\n
\n {ts}SKU{/ts}\n \n {$formValues.product_sku}\n
\n {ts}Sent{/ts}\n \n {$fulfilled_date|truncate:10:\'\'|crmDate}\n
\n
\n
\n\n\n\n',1,729,0,1,0,NULL),(7,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\n{/if}\n\n{if $amount}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $lineItem and $priceSetID and !$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 $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 $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 $dataArray}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $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{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if $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 $amount_level } - {$amount_level} {/if}\n{/if}\n{/if}\n{if $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if $is_recur and ($contributeMode eq \'notify\' or $contributeMode eq \'directIPN\')}\n{ts}This is a recurring contribution. You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\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\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 $softCreditTypes and $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 $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 $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 !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\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 $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 $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $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 $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n\n {if $receipt_text}\n

{$receipt_text|htmlize}

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $amount}\n\n\n \n \n \n\n {if $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {else}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n {/if}\n\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n \n \n \n \n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {elseif $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $isShare}\n \n \n \n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n \n \n \n \n \n \n {elseif $amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney:$currency} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts 1=$cancelSubscriptionUrl}This is a recurring contribution. You can cancel future contributions by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\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
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\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}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,730,1,0,0,NULL),(8,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\n{/if}\n\n{if $amount}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $lineItem and $priceSetID and !$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 $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 $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 $dataArray}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $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{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n\n{if $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 $amount_level } - {$amount_level} {/if}\n{/if}\n{/if}\n{if $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if $is_recur and ($contributeMode eq \'notify\' or $contributeMode eq \'directIPN\')}\n{ts}This is a recurring contribution. You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\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\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 $softCreditTypes and $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 $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 $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 !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\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 $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 $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $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 $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n\n {if $receipt_text}\n

{$receipt_text|htmlize}

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $amount}\n\n\n \n \n \n\n {if $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n\n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {else}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n {/if}\n\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n {if $updateSubscriptionBillingUrl}\n \n \n \n {/if}\n \n \n \n \n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {elseif $softCreditTypes and $softCredits}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n \n \n \n {foreach from=$softCredits.$n item=value key=label}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $isShare}\n \n \n \n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later && !$isBillingAddressRequiredForPayLater}\n \n \n \n \n \n \n {elseif $amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND $amount GT 0}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Contribution Information{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n \n {foreach from=$value item=line}\n \n \n \n \n {if $getTaxDetails}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Subtotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney:$currency}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney:$currency}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n
\n
\n {ts} Amount before Tax : {/ts}\n \n {$amount-$totalTaxAmount|crmMoney:$currency}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney:$currency} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts 1=$cancelSubscriptionUrl}This is a recurring contribution. You can cancel future contributions by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {$softCreditType}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\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
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\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}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,730,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','{ts}Contribution Invoice{/ts}\n','\n\n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
INVOICEInvoice Date:{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n {if $domain_street_address }\n {$domain_street_address}\n {/if}\n {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}
{$street_address} {$supplemental_address_1}Invoice Number:{if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n {if $domain_state }{$domain_state}{/if}
{$supplemental_address_2} {$stateProvinceAbbreviation}{$invoice_id}{if $domain_city}\n {$domain_city}\n {/if}\n {if $domain_postal_code }\n {$domain_postal_code}\n {/if}\n
{$city} {$postal_code}Reference: {if $domain_country}\n {$domain_country}\n {/if}
{$source} {if $domain_phone}{$domain_phone}{/if}
{if $domain_email}\n {$domain_email}\n {/if}
\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=taxpricevalue}\n {if $smarty.foreach.taxpricevalue.index eq 0}\n \n {else}\n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n\n \n \n \n \n \n\n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n \n \n \n \n
DescriptionQuantityUnit Price{$taxTerm} Amount {$defaultCurrency}


\n {if $value.html_type eq \'Text\'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description}
{$value.description|truncate:30:\"...\"}
{/if}\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%No {$taxTerm}{$value.subTotal|crmMoney:$currency}

Sub Total {$subTotal|crmMoney:$currency}
TOTAL {$taxTerm} {$priceset}%{$value|crmMoney:$currency} TOTAL NO {$taxTerm}{$value|crmMoney:$currency}

TOTAL {$defaultCurrency}{$amount|crmMoney:$currency}
\n {if $contribution_status_id == $refundedStatusId}\n LESS Amount Credited\n {else}\n LESS Amount Paid\n {/if}\n {$amount|crmMoney:$currency}

AMOUNT DUE: {$amountDue|crmMoney:$currency}
DUE DATE: {$dueDate}
\n
\n \n \n \n \n
\n \n \n \n \n \n
PAYMENT ADVICE

To:
\n {$domain_organization}
\n {$domain_street_address} {$domain_supplemental_address_1}
\n {$domain_supplemental_address_2} {$domain_state}
\n {$domain_city} {$domain_postal_code}
\n {$domain_country}
\n {$domain_phone}
\n {$domain_email}
\n


{$notes}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 1}\n \n \n \n \n \n {else}\n \n \n \n \n \n {/if}\n \n \n \n \n \n \n \n \n
Customer: {$display_name}
Invoice Number: {$invoice_id}

Amount Due:{$amount|crmMoney:$currency}
Amount Due: {$amountDue|crmMoney:$currency}
Due Date: {$dueDate}

\n
\n\n\n {if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}\n \n \n \n \n
\n
\n\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
CREDIT NOTEDate:{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n {if $domain_street_address }\n {$domain_street_address}\n {/if}\n {if $domain_supplemental_address_1 }\n {$domain_supplemental_address_1}\n {/if}
{$street_address} {$supplemental_address_1}Credit Note Number:{if $domain_supplemental_address_2 }\n {$domain_supplemental_address_2}\n {/if}\n {if $domain_state }\n {$domain_state}\n {/if}\n
{$supplemental_address_2} {$stateProvinceAbbreviation}{$creditnote_id}{if $domain_city}\n {$domain_city}\n {/if}\n {if $domain_postal_code }\n {$domain_postal_code}\n {/if}\n
{$city} {$postal_code}Reference: {if $domain_country}\n {$domain_country}\n {/if}
{$source} {if $domain_phone}\n {$domain_phone}\n {/if}
{if $domain_email}\n {$domain_email}\n {/if}
\n\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=pricevalue}\n {if $smarty.foreach.pricevalue.index eq 0}\n \n {else}\n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n\n \n \n \n \n \n\n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n \n \n \n \n
DescriptionQuantityUnit Price{$taxTerm} Amount {$defaultCurrency}


\n {if $value.html_type eq \'Text\'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description}
{$value.description|truncate:30:\"...\"}
{/if}\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%No {$taxTerm}{$value.subTotal|crmMoney:$currency}

Sub Total {$subTotal|crmMoney:$currency}
TOTAL {$taxTerm} {$priceset}%{$value|crmMoney:$currency} TOTAL NO {$taxTerm}{$value|crmMoney:$currency}

TOTAL {$defaultCurrency}{$amount|crmMoney:$currency}
LESS Credit to invoice(s){$amount|crmMoney:$currency}

REMAINING CREDIT{$amountDue|crmMoney:$currency}
\n
\n\n \n \n \n \n
\n\n \n \n \n \n \n
CREDIT ADVICE

Please do not pay on this advice. Deduct the amount of this Credit Note\nfrom your next payment to us

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Customer: {$display_name}
Credit Note#: {$creditnote_id}

Credit Amount:{$amount|crmMoney:$currency}
\n
\n {/if}\n
\n \n\n',1,731,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','{ts}Contribution Invoice{/ts}\n','\n\n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
INVOICEInvoice Date:{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n {if $domain_street_address }\n {$domain_street_address}\n {/if}\n {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}
{$street_address} {$supplemental_address_1}Invoice Number:{if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if}\n {if $domain_state }{$domain_state}{/if}
{$supplemental_address_2} {$stateProvinceAbbreviation}{$invoice_id}{if $domain_city}\n {$domain_city}\n {/if}\n {if $domain_postal_code }\n {$domain_postal_code}\n {/if}\n
{$city} {$postal_code}Reference: {if $domain_country}\n {$domain_country}\n {/if}
{$source} {if $domain_phone}{$domain_phone}{/if}
{if $domain_email}\n {$domain_email}\n {/if}
\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=taxpricevalue}\n {if $smarty.foreach.taxpricevalue.index eq 0}\n \n {else}\n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n\n \n \n \n \n \n\n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n \n \n \n \n
DescriptionQuantityUnit Price{$taxTerm} Amount {$defaultCurrency}


\n {if $value.html_type eq \'Text\'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description}
{$value.description|truncate:30:\"...\"}
{/if}\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%No {$taxTerm}{$value.subTotal|crmMoney:$currency}

Sub Total {$subTotal|crmMoney:$currency}
TOTAL {$taxTerm} {$priceset}%{$value|crmMoney:$currency} TOTAL NO {$taxTerm}{$value|crmMoney:$currency}

TOTAL {$defaultCurrency}{$amount|crmMoney:$currency}
\n {if $contribution_status_id == $refundedStatusId}\n LESS Amount Credited\n {else}\n LESS Amount Paid\n {/if}\n {$amount|crmMoney:$currency}

AMOUNT DUE: {$amountDue|crmMoney:$currency}
DUE DATE: {$dueDate}
\n
\n \n \n \n \n
\n \n \n \n \n \n
PAYMENT ADVICE

To:
\n {$domain_organization}
\n {$domain_street_address} {$domain_supplemental_address_1}
\n {$domain_supplemental_address_2} {$domain_state}
\n {$domain_city} {$domain_postal_code}
\n {$domain_country}
\n {$domain_phone}
\n {$domain_email}
\n


{$notes}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {if $is_pay_later == 1}\n \n \n \n \n \n {else}\n \n \n \n \n \n {/if}\n \n \n \n \n \n \n \n \n
Customer: {$display_name}
Invoice Number: {$invoice_id}

Amount Due:{$amount|crmMoney:$currency}
Amount Due: {$amountDue|crmMoney:$currency}
Due Date: {$dueDate}

\n
\n\n\n {if $contribution_status_id == $refundedStatusId || $contribution_status_id == $cancelledStatusId}\n \n \n \n \n
\n
\n\n \n \n \n \n \n \n \n \n {if $organization_name}\n \n {else}\n \n {/if}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
CREDIT NOTEDate:{$domain_organization}
{$display_name} ({$organization_name}){$display_name}{$invoice_date}\n {if $domain_street_address }\n {$domain_street_address}\n {/if}\n {if $domain_supplemental_address_1 }\n {$domain_supplemental_address_1}\n {/if}
{$street_address} {$supplemental_address_1}Credit Note Number:{if $domain_supplemental_address_2 }\n {$domain_supplemental_address_2}\n {/if}\n {if $domain_state }\n {$domain_state}\n {/if}\n
{$supplemental_address_2} {$stateProvinceAbbreviation}{$creditnote_id}{if $domain_city}\n {$domain_city}\n {/if}\n {if $domain_postal_code }\n {$domain_postal_code}\n {/if}\n
{$city} {$postal_code}Reference: {if $domain_country}\n {$domain_country}\n {/if}
{$source} {if $domain_phone}\n {$domain_phone}\n {/if}
{if $domain_email}\n {$domain_email}\n {/if}
\n\n \n \n \n \n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n \n {foreach from=$lineItem item=value key=priceset name=pricevalue}\n {if $smarty.foreach.pricevalue.index eq 0}\n \n {else}\n \n {/if}\n \n \n \n \n {if $value.tax_amount != \'\'}\n \n {else}\n \n {/if}\n \n \n {/foreach}\n \n \n \n \n \n \n {foreach from = $dataArray item = value key = priceset}\n \n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n \n {/if}\n {/foreach}\n \n \n \n \n\n \n \n \n \n \n\n {if $is_pay_later == 0}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n


\n \n \n \n \n \n \n \n
DescriptionQuantityUnit Price{$taxTerm} Amount {$defaultCurrency}


\n {if $value.html_type eq \'Text\'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description}
{$value.description|truncate:30:\"...\"}
{/if}\n
{$value.qty} {$value.unit_price|crmMoney:$currency} {$value.tax_rate}%No {$taxTerm}{$value.subTotal|crmMoney:$currency}

Sub Total {$subTotal|crmMoney:$currency}
TOTAL {$taxTerm} {$priceset}%{$value|crmMoney:$currency} TOTAL NO {$taxTerm}{$value|crmMoney:$currency}

TOTAL {$defaultCurrency}{$amount|crmMoney:$currency}
LESS Credit to invoice(s){$amount|crmMoney:$currency}

REMAINING CREDIT{$amountDue|crmMoney:$currency}
\n
\n\n \n \n \n \n
\n\n \n \n \n \n \n
CREDIT ADVICE

Please do not pay on this advice. Deduct the amount of this Credit Note\nfrom your next payment to us

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Customer: {$display_name}
Credit Note#: {$creditnote_id}

Credit Amount:{$amount|crmMoney:$currency}
\n
\n {/if}\n
\n \n\n',1,731,0,1,0,NULL),(11,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts}\n','{ts 1=$displayName}Dear %1{/ts},\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{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n\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{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by visiting this web page.{/ts}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\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 for your support.{/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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n {if $recur_txnType eq \'START\'}\n {if $auto_renew_membership}\n \n \n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n\n {elseif $recur_txnType eq \'END\'}\n\n {if $auto_renew_membership}\n \n \n \n {else}\n \n \n \n \n \n \n\n {/if}\n {/if}\n\n
\n

{ts 1=$displayName}Dear %1{/ts},

\n
 
\n

{ts}Thanks for your auto renew membership sign-up.{/ts}

\n

{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}

\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n

{ts}Thanks for your recurring contribution sign-up.{/ts}

\n

{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}.

\n

{ts}Start Date{/ts}: {$recur_start_date|crmDate}

\n
\n {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by visiting this web page.{/ts}\n
\n

{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}

\n
\n

{ts}Your recurring contribution term has ended.{/ts}

\n

{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n
\n {ts}Start Date{/ts}\n \n {$recur_start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$recur_end_date|crmDate}\n
\n
\n
\n\n\n\n',1,732,1,0,0,NULL),(12,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts}\n','{ts 1=$displayName}Dear %1{/ts},\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{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n\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{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by visiting this web page.{/ts}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by visiting this web page.{/ts}\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 for your support.{/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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n\n \n \n \n\n {if $recur_txnType eq \'START\'}\n {if $auto_renew_membership}\n \n \n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n \n \n \n \n \n {/if}\n\n {elseif $recur_txnType eq \'END\'}\n\n {if $auto_renew_membership}\n \n \n \n {else}\n \n \n \n \n \n \n\n {/if}\n {/if}\n\n
\n

{ts 1=$displayName}Dear %1{/ts},

\n
 
\n

{ts}Thanks for your auto renew membership sign-up.{/ts}

\n

{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}

\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n

{ts}Thanks for your recurring contribution sign-up.{/ts}

\n

{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}.

\n

{ts}Start Date{/ts}: {$recur_start_date|crmDate}

\n
\n {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by visiting this web page.{/ts}\n
\n

{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}

\n
\n

{ts}Your recurring contribution term has ended.{/ts}

\n

{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n
\n {ts}Start Date{/ts}\n \n {$recur_start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$recur_end_date|crmDate}\n
\n
\n
\n\n\n\n',1,732,0,1,0,NULL),(13,'Contributions - Recurring Cancellation Notification','{ts}Recurring Contribution Cancellation Notification{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\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
\n
\n\n\n\n',1,733,1,0,0,NULL),(14,'Contributions - Recurring Cancellation Notification','{ts}Recurring Contribution Cancellation Notification{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\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
\n
\n\n\n\n',1,733,0,1,0,NULL),(15,'Contributions - Recurring Billing Updates','{ts}Recurring Contribution Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\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\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\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 \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n',1,734,1,0,0,NULL),(16,'Contributions - Recurring Billing Updates','{ts}Recurring Contribution Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\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\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\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 \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n',1,734,0,1,0,NULL),(17,'Contributions - Recurring Updates','{ts}Recurring Contribution Update Notification{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\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\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts}Your recurring contribution has been updated as requested:{/ts}\n

{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}.

\n\n

{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}

\n
\n
\n\n\n\n',1,735,1,0,0,NULL),(18,'Contributions - Recurring Updates','{ts}Recurring Contribution Update Notification{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\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\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts}Your recurring contribution has been updated as requested:{/ts}\n

{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}.

\n\n

{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}

\n
\n
\n\n\n\n',1,735,0,1,0,NULL),(19,'Personal Campaign Pages - Admin Notification','{ts}Personal Campaign Page Notification{/ts}\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}{/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','\n\n\n \n \n\n\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}{/capture}\n\n
\n \n\n \n \n \n\n \n\n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Personal Campaign Page Notification{/ts}\n
\n {ts}Action{/ts}:\n \n {if $mode EQ \'Update\'}\n {ts}Updated personal campaign page{/ts}\n {else}\n {ts}New personal campaign page{/ts}\n {/if}\n
\n {ts}Personal Campaign Page Title{/ts}\n \n {$pcpTitle}\n
\n {ts}Current Status{/ts}\n \n {$pcpStatus}\n
\n {ts}View Page{/ts}\n
\n {ts}Supporter{/ts}\n \n {$supporterName}\n
\n {ts}Linked to Contribution Page{/ts}\n \n {$contribPageTitle}\n
\n {ts}Manage Personal Campaign Pages{/ts}\n
\n
\n
\n\n\n\n',1,736,1,0,0,NULL),(20,'Personal Campaign Pages - Admin Notification','{ts}Personal Campaign Page Notification{/ts}\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}{/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','\n\n\n \n \n\n\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}{/capture}\n\n
\n \n\n \n \n \n\n \n\n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Personal Campaign Page Notification{/ts}\n
\n {ts}Action{/ts}:\n \n {if $mode EQ \'Update\'}\n {ts}Updated personal campaign page{/ts}\n {else}\n {ts}New personal campaign page{/ts}\n {/if}\n
\n {ts}Personal Campaign Page Title{/ts}\n \n {$pcpTitle}\n
\n {ts}Current Status{/ts}\n \n {$pcpStatus}\n
\n {ts}View Page{/ts}\n
\n {ts}Supporter{/ts}\n \n {$supporterName}\n
\n {ts}Linked to Contribution Page{/ts}\n \n {$contribPageTitle}\n
\n {ts}Manage Personal Campaign Pages{/ts}\n
\n
\n
\n\n\n\n',1,736,0,1,0,NULL),(21,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\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','\n\n\n \n \n\n\n\n
\n \n\n \n \n \n\n \n\n \n \n \n\n
\n\n

{ts}Your Personal Campaign Page{/ts}

\n\n {if $pcpStatus eq \'Approved\'}\n\n

{ts}Your personal campaign page has been approved and is now live.{/ts}

\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \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

{ts}After logging in, you can use this form to promote your fundraising page{/ts}

\n {/if}\n\n {if $pcpNotifyEmailAddress}\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {elseif $pcpStatus eq \'Not Approved\'}\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 {if $pcpNotifyEmailAddress}\n

{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {/if}\n\n
\n
\n\n\n\n',1,737,1,0,0,NULL),(22,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\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','\n\n\n \n \n\n\n\n
\n \n\n \n \n \n\n \n\n \n \n \n\n
\n\n

{ts}Your Personal Campaign Page{/ts}

\n\n {if $pcpStatus eq \'Approved\'}\n\n

{ts}Your personal campaign page has been approved and is now live.{/ts}

\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \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

{ts}After logging in, you can use this form to promote your fundraising page{/ts}

\n {/if}\n\n {if $pcpNotifyEmailAddress}\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {elseif $pcpStatus eq \'Not Approved\'}\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 {if $pcpNotifyEmailAddress}\n

{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}

\n {/if}\n\n {/if}\n\n
\n
\n\n\n\n',1,737,0,1,0,NULL),(23,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\n','{ts}Dear supporter{/ts},\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n\n {if $pcpStatus eq \'Approved\'}\n\n \n \n \n\n {elseif $pcpStatus EQ \'Waiting Review\'}\n\n \n \n \n\n {/if}\n\n {if $pcpNotifyEmailAddress}\n \n \n \n {/if}\n\n
\n

{ts}Dear supporter{/ts},

\n

{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Promoting Your Page{/ts}\n
\n {if $isTellFriendEnabled}\n

{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link and follow the prompts{/ts}
  4. \n
\n {else}\n

{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}

\n {/if}\n
\n {ts}Managing Your Page{/ts}\n
\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \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

{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}

\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

{ts}You can still preview your page prior to approval{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link{/ts}
  4. \n
\n
\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n
\n
\n\n\n\n',1,738,1,0,0,NULL),(24,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts}\n','{ts}Dear supporter{/ts},\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n\n {if $pcpStatus eq \'Approved\'}\n\n \n \n \n\n {elseif $pcpStatus EQ \'Waiting Review\'}\n\n \n \n \n\n {/if}\n\n {if $pcpNotifyEmailAddress}\n \n \n \n {/if}\n\n
\n

{ts}Dear supporter{/ts},

\n

{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Promoting Your Page{/ts}\n
\n {if $isTellFriendEnabled}\n

{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link and follow the prompts{/ts}
  4. \n
\n {else}\n

{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}

\n {/if}\n
\n {ts}Managing Your Page{/ts}\n
\n

{ts}Whenever you want to preview, update or promote your page{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Go to your page{/ts}
  4. \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

{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}

\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

{ts}You can still preview your page prior to approval{/ts}:

\n
    \n
  1. {ts}Login to your account{/ts}
  2. \n
  3. {ts}Click this link{/ts}
  4. \n
\n
\n

{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}

\n
\n
\n\n\n\n',1,738,0,1,0,NULL),(25,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\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}Receive Date{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\n','\n\n\n \n \n\n\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

{ts}You have received a donation at your personal page{/ts}: {$page_title}

\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 \n \n \n \n \n
{ts}Receive Date{/ts}: {$receive_date|crmDate}
{ts}Amount{/ts}: {$total_amount|crmMoney}
{ts}Name{/ts}: {$donors_display_name}
{ts}Email{/ts}: {$donors_email}
\n\n\n',1,739,1,0,0,NULL),(26,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\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}Receive Date{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\n','\n\n\n \n \n\n\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

{ts}You have received a donation at your personal page{/ts}: {$page_title}

\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 \n \n \n \n \n
{ts}Receive Date{/ts}: {$receive_date|crmDate}
{ts}Amount{/ts}: {$total_amount|crmMoney}
{ts}Name{/ts}: {$donors_display_name}
{ts}Email{/ts}: {$donors_email}
\n\n\n',1,739,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}','Dear {$contactDisplayName}\n{if $paymentConfig.confirm_email_text}\n{$paymentConfig.confirm_email_text}\n{elseif $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}A payment has been received.{/ts}\n{/if}\n\n{ts}Please print this confirmation for your records.{/ts}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}You Paid{/ts}: {$totalPaid|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Refund Amount{/ts}: {$refundAmount|crmMoney}\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}\n\n{if $paymentsComplete}\n\n{ts}Thank-you. This completes your payment for {/ts}{if $component eq \'event\'}{$event.event_title}{/if}.\n{/if}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode eq \'direct\' and !$isAmountzero}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero}\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 $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{if $location.address.1.name}\n\n{$location.address.1.name}\n{/if}\n{if $location.address.1.street_address}{$location.address.1.street_address}\n{/if}\n{if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}\n{/if}\n{if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}\n{/if}\n{if $location.address.1.city}{$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}\n{/if}\n\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $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','\n\n\n \n \n\n\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

Dear {$contactDisplayName}

\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n\n
\n {if $paymentConfig.confirm_email_text}\n

{$paymentConfig.confirm_email_text|htmlize}

\n {elseif $isRefund}\n

{ts}A refund has been issued based on changes in your registration selections.{/ts}

\n {else}\n

{ts}A payment has been received.{/ts}

\n {/if}\n

{ts}Please print this confirmation for your records.{/ts}

\n
\n \n {if $isRefund}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n \n \n \n \n \n \n {* This will be zero after final payment. *}\n \n \n \n {if $paymentsComplete}\n \n \n \n {/if}\n {/if}\n {if $receive_date}\n \n \n \n \n {/if}\n {if $trxn_id}\n \n \n \n \n {/if}\n {if $paidBy}\n \n \n \n \n {/if}\n {if $checkNumber}\n \n \n \n \n {/if}\n
{ts}Refund Details{/ts}
\n {ts}Total Fees{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}You Paid{/ts}\n \n {$totalPaid|crmMoney}\n
\n {ts}Refund Amount{/ts}\n \n {$refundAmount|crmMoney}\n \n
{ts}Payment Details{/ts}
\n {ts}{if $component eq \'event\'}Total Fees{/if}{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}This Payment Amount{/ts}\n \n {$paymentAmount|crmMoney}\n
\n {ts}Balance Owed{/ts}\n \n {$amountOwed|crmMoney}\n
\n {ts}Thank-you. This completes your payment for {if $component eq \'event\'}{$event.event_title}{/if}.{/ts}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n
\n \n {if $contributeMode eq \'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $contributeMode eq\'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $component eq \'event\'}\n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if} {*phone block close*}\n {/if}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n {ts}Event Information and Location{/ts}\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}\n \n {$event.participant_role}\n
\n {if $location.address.1.name}\n {$location.address.1.name}
\n {/if}\n {if $location.address.1.street_address}\n {$location.address.1.street_address}
\n {/if}\n {if $location.address.1.supplemental_address_1}\n {$location.address.1.supplemental_address_1}
\n {/if}\n {if $location.address.1.supplemental_address_2}\n {$location.address.1.supplemental_address_2}
\n {/if}\n {if $location.address.1.city}\n {$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n
\n
\n\n \n\n',1,740,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}','Dear {$contactDisplayName}\n{if $paymentConfig.confirm_email_text}\n{$paymentConfig.confirm_email_text}\n{elseif $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}A payment has been received.{/ts}\n{/if}\n\n{ts}Please print this confirmation for your records.{/ts}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}You Paid{/ts}: {$totalPaid|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Refund Amount{/ts}: {$refundAmount|crmMoney}\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}Total Fees{/ts}: {$totalAmount|crmMoney}\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}\n------------------------------------------------------------------------------------\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}\n\n{if $paymentsComplete}\n\n{ts}Thank-you. This completes your payment for {/ts}{if $component eq \'event\'}{$event.event_title}{/if}.\n{/if}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode eq \'direct\' and !$isAmountzero}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero}\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 $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{if $location.address.1.name}\n\n{$location.address.1.name}\n{/if}\n{if $location.address.1.street_address}{$location.address.1.street_address}\n{/if}\n{if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}\n{/if}\n{if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}\n{/if}\n{if $location.address.1.city}{$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}\n{/if}\n\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $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','\n\n\n \n \n\n\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

Dear {$contactDisplayName}

\n
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n\n
\n {if $paymentConfig.confirm_email_text}\n

{$paymentConfig.confirm_email_text|htmlize}

\n {elseif $isRefund}\n

{ts}A refund has been issued based on changes in your registration selections.{/ts}

\n {else}\n

{ts}A payment has been received.{/ts}

\n {/if}\n

{ts}Please print this confirmation for your records.{/ts}

\n
\n \n {if $isRefund}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {else}\n \n \n \n \n \n \n \n \n \n \n \n \n \n {* This will be zero after final payment. *}\n \n \n \n {if $paymentsComplete}\n \n \n \n {/if}\n {/if}\n {if $receive_date}\n \n \n \n \n {/if}\n {if $trxn_id}\n \n \n \n \n {/if}\n {if $paidBy}\n \n \n \n \n {/if}\n {if $checkNumber}\n \n \n \n \n {/if}\n
{ts}Refund Details{/ts}
\n {ts}Total Fees{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}You Paid{/ts}\n \n {$totalPaid|crmMoney}\n
\n {ts}Refund Amount{/ts}\n \n {$refundAmount|crmMoney}\n \n
{ts}Payment Details{/ts}
\n {ts}{if $component eq \'event\'}Total Fees{/if}{/ts}\n \n {$totalAmount|crmMoney}\n
\n {ts}This Payment Amount{/ts}\n \n {$paymentAmount|crmMoney}\n
\n {ts}Balance Owed{/ts}\n \n {$amountOwed|crmMoney}\n
\n {ts}Thank-you. This completes your payment for {if $component eq \'event\'}{$event.event_title}{/if}.{/ts}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n
\n \n {if $contributeMode eq \'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $contributeMode eq\'direct\' and !$isAmountzero}\n \n \n \n \n \n \n {/if}\n {if $component eq \'event\'}\n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if} {*phone block close*}\n {/if}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n {ts}Event Information and Location{/ts}\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}\n \n {$event.participant_role}\n
\n {if $location.address.1.name}\n {$location.address.1.name}
\n {/if}\n {if $location.address.1.street_address}\n {$location.address.1.street_address}
\n {/if}\n {if $location.address.1.supplemental_address_1}\n {$location.address.1.supplemental_address_1}
\n {/if}\n {if $location.address.1.supplemental_address_2}\n {$location.address.1.supplemental_address_2}
\n {/if}\n {if $location.address.1.city}\n {$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n
\n
\n\n \n\n',1,740,0,1,0,NULL),(29,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {$event.title}\n','{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $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 $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{if $location.address.1.name}\n\n{$location.address.1.name}\n{/if}\n{if $location.address.1.street_address}{$location.address.1.street_address}\n{/if}\n{if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}\n{/if}\n{if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}\n{/if}\n{if $location.address.1.city}{$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}\n{/if}\n\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $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 $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 $email}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$email}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $lineItem}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if $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 $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 $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 $pricesetFieldsCount }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{foreach from=$value item=line}\n{if $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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\"} {$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n{/if}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amount && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary}\n\n{if $balanceAmount}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $balanceAmount}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if $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 $is_pay_later }\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $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 $contributionTypeName}\n{ts}Financial Type{/ts}: {$contributionTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $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 $customPre}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if $customPost}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if $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 $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if $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 $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\n','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n {/if}\n\n {if $isOnWaitlist}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n {if $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 {elseif $isRequireApproval}\n

{ts}Your registration has been submitted.{/ts}

\n {if $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 {/if}\n {elseif $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $email}\n \n \n \n \n \n \n {/if}\n\n\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amount && !$lineItem}\n {foreach from=$amount item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $balanceAmount}\n \n \n \n \n {/if}\n {if $pricesetFieldsCount }\n \n \n \n \n {/if}\n {if $is_pay_later}\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $contributionTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customProfile}\n {foreach from=$customProfile item=value key=customName}\n \n \n \n {foreach from=$value item=val key=field}\n {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n \n \n \n {foreach from=$val item=v key=f}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/foreach}\n {/if}\n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}\n \n {$event.participant_role}\n
\n {if $location.address.1.name}\n {$location.address.1.name}
\n {/if}\n {if $location.address.1.street_address}\n {$location.address.1.street_address}
\n {/if}\n {if $location.address.1.supplemental_address_1}\n {$location.address.1.supplemental_address_1}
\n {/if}\n {if $location.address.1.supplemental_address_2}\n {$location.address.1.supplemental_address_2}
\n {/if}\n {if $location.address.1.city}\n {$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\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}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount }\n \n {/if}\n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.participant_count}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {if $balanceAmount}\n {ts}Total Paid{/ts}\n {else}\n {ts}Total Amount{/ts}\n {/if}\n \n {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n
\n {ts}Balance{/ts}\n \n {$balanceAmount|crmMoney}\n
\n {ts}Total Participants{/ts}\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
\n {$pay_later_receipt}\n
\n {ts}Registration Date{/ts}\n \n {$register_date|crmDate}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Financial Type{/ts}\n \n {$contributionTypeName}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n
\n {if $field eq \'additionalCustomPre\'}\n {$additionalCustomPre_grouptitle}\n {else}\n {$additionalCustomPost_grouptitle}\n {/if}\n
\n {$f}\n \n {$v}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,741,1,0,0,NULL),(30,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {$event.title}\n','{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $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 $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{if $location.address.1.name}\n\n{$location.address.1.name}\n{/if}\n{if $location.address.1.street_address}{$location.address.1.street_address}\n{/if}\n{if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}\n{/if}\n{if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}\n{/if}\n{if $location.address.1.city}{$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}\n{/if}\n\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $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 $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 $email}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$email}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $lineItem}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if $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 $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 $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 $pricesetFieldsCount }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{foreach from=$value item=line}\n{if $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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\"} {$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n{/if}\n{/foreach}\n\n{if $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amount && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary}\n\n{if $balanceAmount}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $balanceAmount}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if $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 $is_pay_later }\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $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 $contributionTypeName}\n{ts}Financial Type{/ts}: {$contributionTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $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 $customPre}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if $customPost}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if $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 $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if $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 $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\n','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n {/if}\n\n {if $isOnWaitlist}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n {if $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 {elseif $isRequireApproval}\n

{ts}Your registration has been submitted.{/ts}

\n {if $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 {/if}\n {elseif $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $email}\n \n \n \n \n \n \n {/if}\n\n\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amount && !$lineItem}\n {foreach from=$amount item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $balanceAmount}\n \n \n \n \n {/if}\n {if $pricesetFieldsCount }\n \n \n \n \n {/if}\n {if $is_pay_later}\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $contributionTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=value key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customProfile}\n {foreach from=$customProfile item=value key=customName}\n \n \n \n {foreach from=$value item=val key=field}\n {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n \n \n \n {foreach from=$val item=v key=f}\n \n \n \n \n {/foreach}\n {/if}\n {/foreach}\n {/foreach}\n {/if}\n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}\n \n {$event.participant_role}\n
\n {if $location.address.1.name}\n {$location.address.1.name}
\n {/if}\n {if $location.address.1.street_address}\n {$location.address.1.street_address}
\n {/if}\n {if $location.address.1.supplemental_address_1}\n {$location.address.1.supplemental_address_1}
\n {/if}\n {if $location.address.1.supplemental_address_2}\n {$location.address.1.supplemental_address_2}
\n {/if}\n {if $location.address.1.city}\n {$location.address.1.city} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\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}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount }\n \n {/if}\n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.participant_count}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {if $balanceAmount}\n {ts}Total Paid{/ts}\n {else}\n {ts}Total Amount{/ts}\n {/if}\n \n {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n
\n {ts}Balance{/ts}\n \n {$balanceAmount|crmMoney}\n
\n {ts}Total Participants{/ts}\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
\n {$pay_later_receipt}\n
\n {ts}Registration Date{/ts}\n \n {$register_date|crmDate}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Financial Type{/ts}\n \n {$contributionTypeName}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$value}\n
\n {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n
\n {if $field eq \'additionalCustomPre\'}\n {$additionalCustomPre_grouptitle}\n {else}\n {$additionalCustomPost_grouptitle}\n {/if}\n
\n {$f}\n \n {$v}\n
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,741,0,1,0,NULL),(31,'Events - Registration Confirmation and Receipt (on-line)','{if $isOnWaitlist}{ts}Wait List Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title}','Dear {contact.display_name},\n\n{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n\n{else}\nThank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}.\n\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $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 $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 $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{if $location.address.1.name}\n\n{$location.address.1.name}\n{/if}\n{if $location.address.1.street_address}{$location.address.1.street_address}\n{/if}\n{if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}\n{/if}\n{if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}\n{/if}\n{if $location.address.1.city}{$location.address.1.city}, {$location.address.1.state_province} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}\n{/if}\n\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $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 $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 $payer.name}\nYou were registered by: {$payer.name}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $lineItem}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if $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 $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 $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 $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 $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n-----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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\"}{$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if $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 $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amounts && !$lineItem}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary }\n\n{ts}Total Amount{/ts}: {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $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 $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $contributionTypeName}\n{ts}Financial Type{/ts}: {$contributionTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $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 $customPre}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if $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{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n
\n

Dear {contact.display_name},

\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n\n {else}\n

Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}.

\n\n {/if}\n\n

\n {if $isOnWaitlist}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n {if $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 {elseif $isRequireApproval}\n

{ts}Your registration has been submitted.{/ts}

\n {if $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 {/if}\n {elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n\n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $event.is_share}\n \n \n \n {/if}\n {if $payer.name}\n \n \n \n \n \n \n {/if}\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amounts && !$lineItem}\n {foreach from=$amounts item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $pricesetFieldsCount }\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $contributionTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n\n{if $customPre}\n{foreach from=$customPre item=customPr key=i}\n \n {foreach from=$customPr item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n \n {foreach from=$customPos item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customProfile}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n \n {foreach from=$eachParticipant item=eachProfile key=pid}\n \n {foreach from=$eachProfile item=val key=field}\n {foreach from=$val item=v key=f}\n \n \n {/foreach}\n \n {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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
\n {ts}Your schedule:{/ts}\n
\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 {$group_by_day|date_format:\"%m/%d/%Y\"}
\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
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {if $location.address.1.name}\n {$location.address.1.name}
\n {/if}\n {if $location.address.1.street_address}\n {$location.address.1.street_address}
\n {/if}\n {if $location.address.1.supplemental_address_1}\n {$location.address.1.supplemental_address_1}
\n {/if}\n {if $location.address.1.supplemental_address_2}\n {$location.address.1.supplemental_address_2}
\n {/if}\n {if $location.address.1.city}\n {$location.address.1.city}, {$location.address.1.state_province} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\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}\n
\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
\n {ts}You were registered by:{/ts}\n
\n {$payer.name}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount } {/if}\n \n {/foreach}\n {if $individual}\n \n \n \n \n \n \n {/if}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n {$line.participant_count}
{ts}Participant Total{/ts}{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalAmtWithTax|crmMoney}
\n
\n {ts} Amount Before Tax: {/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney:$currency} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n
\n {ts}Total Participants{/ts}\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
\n {ts}Registration Date{/ts}\n \n {$register_date|crmDate}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Financial Type{/ts}\n \n {$contributionTypeName}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
{$customPre_grouptitle.$i}
{$customName}{$customValue}
{$customPost_grouptitle.$j}
{$customName}{$customValue}
{ts 1=$participantID+2}Participant %1{/ts}
{$customProfile.title.$pid}
{$field}{$v}
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,742,1,0,0,NULL),(32,'Events - Registration Confirmation and Receipt (on-line)','{if $isOnWaitlist}{ts}Wait List Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {$event.event_title}','Dear {contact.display_name},\n\n{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n{$event.confirm_email_text}\n\n{else}\nThank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}.\n\n{/if}\n\n{if $isOnWaitlist}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if $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 $pricesetFieldsCount }===================={/if}\n\n{elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{else}\n\n{ts}Please print this confirmation for your records.{/ts}\n{/if}\n\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if $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 $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 $event.participant_role neq \'Attendee\' and $defaultRole}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if $isShowLocation}\n{if $location.address.1.name}\n\n{$location.address.1.name}\n{/if}\n{if $location.address.1.street_address}{$location.address.1.street_address}\n{/if}\n{if $location.address.1.supplemental_address_1}{$location.address.1.supplemental_address_1}\n{/if}\n{if $location.address.1.supplemental_address_2}{$location.address.1.supplemental_address_2}\n{/if}\n{if $location.address.1.city}{$location.address.1.city}, {$location.address.1.state_province} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}\n{/if}\n\n{/if}{*End of isShowLocation condition*}\n\n{if $location.phone.1.phone || $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 $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 $payer.name}\nYou were registered by: {$payer.name}\n{/if}\n{if $event.is_monetary} {* This section for Paid events only.*}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$event.fee_label}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{if $lineItem}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if $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 $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 $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 $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 $dataArray} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {$ts_participant_total|string_format:\"%10s\"}\n-----------------------------------------------------------{if $pricesetFieldsCount }-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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\"}{$ts_participant_count|string_format:\"%10s\"}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if $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 $dataArray}\n{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if $amounts && !$lineItem}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if $isPrimary }\n\n{ts}Total Amount{/ts}: {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n\n{if $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 $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $contributionTypeName}\n{ts}Financial Type{/ts}: {$contributionTypeName}\n{/if}\n{if $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if $paidBy}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if $checkNumber}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if $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 $customPre}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if $customProfile}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if $pricesetFieldsCount }--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if $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{if $customGroup}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{$customName}\n=========================================================={if $pricesetFieldsCount }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n
\n

Dear {contact.display_name},

\n\n {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}\n

{$event.confirm_email_text|htmlize}

\n\n {else}\n

Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}.

\n\n {/if}\n\n

\n {if $isOnWaitlist}\n

{ts}You have been added to the WAIT LIST for this event.{/ts}

\n {if $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 {elseif $isRequireApproval}\n

{ts}Your registration has been submitted.{/ts}

\n {if $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 {/if}\n {elseif $is_pay_later && !$isAmountzero && !$isAdditionalParticipant}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n \n \n \n \n \n \n\n\n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n\n {if $event.participant_role neq \'Attendee\' and $defaultRole}\n \n \n \n \n {/if}\n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $location.phone.1.phone || $location.email.1.email}\n \n \n \n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $event.is_share}\n \n \n \n {/if}\n {if $payer.name}\n \n \n \n \n \n \n {/if}\n {if $event.is_monetary}\n\n \n \n \n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $isPrimary}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n \n \n \n {/if}\n {/if}\n \n \n \n {/if}\n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n\n {if $amounts && !$lineItem}\n {foreach from=$amounts item=amnt key=level}\n \n \n \n {/foreach}\n {/if}\n\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n {if $isPrimary}\n \n \n \n \n {if $pricesetFieldsCount }\n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $contributionTypeName}\n \n \n \n \n {/if}\n\n {if $trxn_id}\n \n \n \n \n {/if}\n\n {if $paidBy}\n \n \n \n \n {/if}\n\n {if $checkNumber}\n \n \n \n \n {/if}\n\n {if $contributeMode ne \'notify\' and !$isAmountzero and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later and !$isOnWaitlist and !$isRequireApproval}\n \n \n \n \n \n \n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n\n{if $customPre}\n{foreach from=$customPre item=customPr key=i}\n \n {foreach from=$customPr item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n{/foreach}\n{/if}\n\n{if $customPost}\n{foreach from=$customPost item=customPos key=j}\n \n {foreach from=$customPos item=customValue key=customName}\n {if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n \n \n \n \n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if $customProfile}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n \n {foreach from=$eachParticipant item=eachProfile key=pid}\n \n {foreach from=$eachProfile item=val key=field}\n {foreach from=$val item=v key=f}\n \n \n {/foreach}\n \n {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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
\n {ts}Your schedule:{/ts}\n
\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 {$group_by_day|date_format:\"%m/%d/%Y\"}
\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
\n {ts}Participant Role{/ts}\n \n {$event.participant_role}\n
\n {if $location.address.1.name}\n {$location.address.1.name}
\n {/if}\n {if $location.address.1.street_address}\n {$location.address.1.street_address}
\n {/if}\n {if $location.address.1.supplemental_address_1}\n {$location.address.1.supplemental_address_1}
\n {/if}\n {if $location.address.1.supplemental_address_2}\n {$location.address.1.supplemental_address_2}
\n {/if}\n {if $location.address.1.city}\n {$location.address.1.city}, {$location.address.1.state_province} {$location.address.1.postal_code}{if $location.address.1.postal_code_suffix} - {$location.address.1.postal_code_suffix}{/if}
\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n \n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\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}\n
\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
\n {ts}You were registered by:{/ts}\n
\n {$payer.name}\n
\n {$event.fee_label}\n
\n {ts 1=$priceset+1}Participant %1{/ts} {$part.$priceset.info}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n {if $dataArray}\n \n \n \n {/if}\n \n {if $pricesetFieldsCount }{/if}\n \n {foreach from=$value item=line}\n \n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n {/if}\n \n {if $pricesetFieldsCount } {/if}\n \n {/foreach}\n {if $individual}\n \n \n \n \n \n \n {/if}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Total Participants{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.qty}\n \n {$line.unit_price|crmMoney:$currency}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n {$line.participant_count}
{ts}Participant Total{/ts}{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalTaxAmt|crmMoney}{$individual.$priceset.totalAmtWithTax|crmMoney}
\n
\n {ts} Amount Before Tax: {/ts}\n \n {$totalAmount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {$amnt.amount|crmMoney:$currency} {$amnt.label}\n
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Total Amount{/ts}\n \n {$totalAmount|crmMoney:$currency} {if $hookDiscount.message}({$hookDiscount.message}){/if}\n
\n {ts}Total Participants{/ts}\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
\n {ts}Registration Date{/ts}\n \n {$register_date|crmDate}\n
\n {ts}Transaction Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Financial Type{/ts}\n \n {$contributionTypeName}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Paid By{/ts}\n \n {$paidBy}\n
\n {ts}Check Number{/ts}\n \n {$checkNumber}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
{$customPre_grouptitle.$i}
{$customName}{$customValue}
{$customPost_grouptitle.$j}
{$customName}{$customValue}
{ts 1=$participantID+2}Participant %1{/ts}
{$customProfile.title.$pid}
{$field}{$v}
\n {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,742,0,1,0,NULL),(33,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if}\n','Dear {contact.display_name},\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 $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 {$pay_later_receipt}\n{/if}\n\n Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$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 $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 {if $line_item.location.address.1.name}\n {$line_item.location.address.1.name}\n {/if}\n {if $line_item.location.address.1.street_address}\n {$line_item.location.address.1.street_address}\n {/if}\n {if $line_item.location.address.1.supplemental_address_1}\n {$line_item.location.address.1.supplemental_address_1}\n {/if}\n {if $line_item.location.address.1.supplemental_address_2}\n {$line_item.location.address.1.supplemental_address_2}\n {/if}\n {if $line_item.location.address.1.city}\n {$line_item.location.address.1.city}, {$line_item.location.address.1.state_province} {$line_item.location.address.1.postal_code}\n {/if}\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','\n\n \n \n \n \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

Dear {contact.display_name},

\n {if $is_pay_later}\n

\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

\n {else}\n

\n This is being sent to you as a {if $is_refund}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

\n {/if}\n\n

Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$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\n{if $billing_name}\n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billing_name}
\n {$billing_street_address}
\n {$billing_city}, {$billing_state} {$billing_postal_code}
\n
\n {$email}\n
\n{/if}\n{if $credit_card_type}\n

 

\n \n \n \n \n \n \n \n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n
\n{/if}\n{if $source}\n

 

\n {$source}\n{/if}\n

 

\n \n \n \n{if $line_items}\n \n \n{/if}\n \n \n \n \n \n {foreach from=$line_items item=line_item}\n \n \n \n \n \n \n {/foreach}\n \n \n {if $discounts}\n \n \n \n \n \n \n {foreach from=$discounts key=myId item=i}\n \n \n \n \n \n \n {/foreach}\n {/if}\n \n{if $line_items}\n \n \n{/if}\n \n \n \n \n
\n Event\n \n Participants\n \n Price\n \n Total\n
\n {$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})
\n {if $line_item.event->is_show_location}\n {if $line_item.location.address.1.name}\n {$line_item.location.address.1.name}
\n {/if}\n {if $line_item.location.address.1.street_address}\n {$line_item.location.address.1.street_address}
\n {/if}\n {if $line_item.location.address.1.supplemental_address_1}\n {$line_item.location.address.1.supplemental_address_1}
\n {/if}\n {if $line_item.location.address.1.supplemental_address_2}\n {$line_item.location.address.1.supplemental_address_2}
\n {/if}\n {if $line_item.location.address.1.city}\n {$line_item.location.address.1.city}, {$line_item.location.address.1.state_province} {$location.address.1.postal_code}\n {/if}\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 {$line_item.num_participants}\n {if $line_item.num_participants > 0}\n
\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}
\n {/foreach}\n
\n {/if}\n {if $line_item.num_waiting_participants > 0}\n Waitlisted:
\n
\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}
\n {/foreach}\n
\n {/if}\n
\n {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\n \n  {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n
\n \n \n Subtotal:\n \n  {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n
\n {$i.title}\n \n \n \n -{$i.amount}\n
\n \n \n Total:\n \n  {$total|crmMoney:$currency|string_format:\"%10s\"}\n
\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\n \n\n',1,743,1,0,0,NULL),(34,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if}\n','Dear {contact.display_name},\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 $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 {$pay_later_receipt}\n{/if}\n\n Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$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 $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 {if $line_item.location.address.1.name}\n {$line_item.location.address.1.name}\n {/if}\n {if $line_item.location.address.1.street_address}\n {$line_item.location.address.1.street_address}\n {/if}\n {if $line_item.location.address.1.supplemental_address_1}\n {$line_item.location.address.1.supplemental_address_1}\n {/if}\n {if $line_item.location.address.1.supplemental_address_2}\n {$line_item.location.address.1.supplemental_address_2}\n {/if}\n {if $line_item.location.address.1.city}\n {$line_item.location.address.1.city}, {$line_item.location.address.1.state_province} {$line_item.location.address.1.postal_code}\n {/if}\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','\n\n \n \n \n \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

Dear {contact.display_name},

\n {if $is_pay_later}\n

\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

\n {else}\n

\n This is being sent to you as a {if $is_refund}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

\n {/if}\n\n

Your order number is #{$transaction_id}. Please print this confirmation for your records.{if $line_items && !$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\n{if $billing_name}\n \n \n \n \n \n \n \n
\n {ts}Billing Name and Address{/ts}\n
\n {$billing_name}
\n {$billing_street_address}
\n {$billing_city}, {$billing_state} {$billing_postal_code}
\n
\n {$email}\n
\n{/if}\n{if $credit_card_type}\n

 

\n \n \n \n \n \n \n \n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n
\n{/if}\n{if $source}\n

 

\n {$source}\n{/if}\n

 

\n \n \n \n{if $line_items}\n \n \n{/if}\n \n \n \n \n \n {foreach from=$line_items item=line_item}\n \n \n \n \n \n \n {/foreach}\n \n \n {if $discounts}\n \n \n \n \n \n \n {foreach from=$discounts key=myId item=i}\n \n \n \n \n \n \n {/foreach}\n {/if}\n \n{if $line_items}\n \n \n{/if}\n \n \n \n \n
\n Event\n \n Participants\n \n Price\n \n Total\n
\n {$line_item.event->title} ({$line_item.event->start_date|date_format:\"%D\"})
\n {if $line_item.event->is_show_location}\n {if $line_item.location.address.1.name}\n {$line_item.location.address.1.name}
\n {/if}\n {if $line_item.location.address.1.street_address}\n {$line_item.location.address.1.street_address}
\n {/if}\n {if $line_item.location.address.1.supplemental_address_1}\n {$line_item.location.address.1.supplemental_address_1}
\n {/if}\n {if $line_item.location.address.1.supplemental_address_2}\n {$line_item.location.address.1.supplemental_address_2}
\n {/if}\n {if $line_item.location.address.1.city}\n {$line_item.location.address.1.city}, {$line_item.location.address.1.state_province} {$location.address.1.postal_code}\n {/if}\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 {$line_item.num_participants}\n {if $line_item.num_participants > 0}\n
\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}
\n {/foreach}\n
\n {/if}\n {if $line_item.num_waiting_participants > 0}\n Waitlisted:
\n
\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}
\n {/foreach}\n
\n {/if}\n
\n {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\n \n  {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n
\n \n \n Subtotal:\n \n  {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n
\n {$i.title}\n \n \n \n -{$i.amount}\n
\n \n \n Total:\n \n  {$total|crmMoney:$currency|string_format:\"%10s\"}\n
\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\n \n\n',1,743,0,1,0,NULL),(35,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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{if $event.location.address.1.name}\n\n{$event.location.address.1.name}\n{/if}\n{if $event.location.address.1.street_address}{$event.location.address.1.street_address}\n{/if}\n{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}\n{/if}\n{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}\n{/if}\n{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}\n{/if}\n\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts}Your Event Registration has been cancelled.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}:\n \n {$participant.role}\n
\n {if $event.location.address.1.name}\n {$event.location.address.1.name}
\n {/if}\n {if $event.location.address.1.street_address}\n {$event.location.address.1.street_address}
\n {/if}\n {if $event.location.address.1.supplemental_address_1}\n {$event.location.address.1.supplemental_address_1}
\n {/if}\n {if $event.location.address.1.supplemental_address_2}\n {$event.location.address.1.supplemental_address_2}
\n {/if}\n {if $event.location.address.1.city}\n {$event.location.address.1.city} {$event.location.address.1.postal_code}\n {if $event.location.address.1.postal_code_suffix}\n - {$event.location.address.1.postal_code_suffix}\n {/if}\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\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
\n\n\n\n',1,744,1,0,0,NULL),(36,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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{if $event.location.address.1.name}\n\n{$event.location.address.1.name}\n{/if}\n{if $event.location.address.1.street_address}{$event.location.address.1.street_address}\n{/if}\n{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}\n{/if}\n{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}\n{/if}\n{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}\n{/if}\n\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts}Your Event Registration has been cancelled.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}:\n \n {$participant.role}\n
\n {if $event.location.address.1.name}\n {$event.location.address.1.name}
\n {/if}\n {if $event.location.address.1.street_address}\n {$event.location.address.1.street_address}
\n {/if}\n {if $event.location.address.1.supplemental_address_1}\n {$event.location.address.1.supplemental_address_1}
\n {/if}\n {if $event.location.address.1.supplemental_address_2}\n {$event.location.address.1.supplemental_address_2}
\n {/if}\n {if $event.location.address.1.city}\n {$event.location.address.1.city} {$event.location.address.1.postal_code}\n {if $event.location.address.1.postal_code_suffix}\n - {$event.location.address.1.postal_code_suffix}\n {/if}\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\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
\n\n\n\n',1,744,0,1,0,NULL),(37,'Events - Registration Confirmation Invite','{ts 1=$event.event_title}Confirm your registration for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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\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{if $event.location.address.1.name}\n\n{$event.location.address.1.name}\n{/if}\n{if $event.location.address.1.street_address}{$event.location.address.1.street_address}\n{/if}\n{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}\n{/if}\n{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}\n{/if}\n{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}\n{/if}\n\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n {if !$isAdditional and $participant.id}\n \n \n \n \n \n \n {/if}\n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n
\n {ts}Confirm Your Registration{/ts}\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}\n Go to a web page where you can confirm your registration online\n
\n \n \n \n \n \n \n \n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}Your schedule:{/ts}\n
\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 {$group_by_day|date_format:\"%m/%d/%Y\"}
\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
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {if $event.location.address.1.name}\n {$event.location.address.1.name}
\n {/if}\n {if $event.location.address.1.street_address}\n {$event.location.address.1.street_address}
\n {/if}\n {if $event.location.address.1.supplemental_address_1}\n {$event.location.address.1.supplemental_address_1}
\n {/if}\n {if $event.location.address.1.supplemental_address_2}\n {$event.location.address.1.supplemental_address_2}
\n {/if}\n {if $event.location.address.1.city}\n {$event.location.address.1.city} {$event.location.address.1.postal_code}\n {if $event.location.address.1.postal_code_suffix}\n - {$event.location.address.1.postal_code_suffix}\n {/if}\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\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}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\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
\n\n\n\n',1,745,1,0,0,NULL),(38,'Events - Registration Confirmation Invite','{ts 1=$event.event_title}Confirm your registration for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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\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{if $event.location.address.1.name}\n\n{$event.location.address.1.name}\n{/if}\n{if $event.location.address.1.street_address}{$event.location.address.1.street_address}\n{/if}\n{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}\n{/if}\n{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}\n{/if}\n{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}\n{/if}\n\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n {if !$isAdditional and $participant.id}\n \n \n \n \n \n \n {/if}\n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n
\n {ts}Confirm Your Registration{/ts}\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}\n Go to a web page where you can confirm your registration online\n
\n \n \n \n \n \n \n \n {if $conference_sessions}\n \n \n \n \n \n \n {/if}\n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $event.is_public}\n \n \n \n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}Your schedule:{/ts}\n
\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 {$group_by_day|date_format:\"%m/%d/%Y\"}
\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
\n {ts}Participant Role{/ts}:\n \n {$participant.role}\n
\n {if $event.location.address.1.name}\n {$event.location.address.1.name}
\n {/if}\n {if $event.location.address.1.street_address}\n {$event.location.address.1.street_address}
\n {/if}\n {if $event.location.address.1.supplemental_address_1}\n {$event.location.address.1.supplemental_address_1}
\n {/if}\n {if $event.location.address.1.supplemental_address_2}\n {$event.location.address.1.supplemental_address_2}
\n {/if}\n {if $event.location.address.1.city}\n {$event.location.address.1.city} {$event.location.address.1.postal_code}\n {if $event.location.address.1.postal_code_suffix}\n - {$event.location.address.1.postal_code_suffix}\n {/if}\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\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}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\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
\n\n\n\n',1,745,0,1,0,NULL),(39,'Events - Pending Registration Expiration Notice','{ts 1=$event.event_title}Event registration has expired for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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{if $event.location.address.1.name}\n\n{$event.location.address.1.name}\n{/if}\n{if $event.location.address.1.street_address}{$event.location.address.1.street_address}\n{/if}\n{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}\n{/if}\n{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}\n{/if}\n{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}\n{/if}\n\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}

\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 \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}:\n \n {$participant.role}\n
\n {if $event.location.address.1.name}\n {$event.location.address.1.name}
\n {/if}\n {if $event.location.address.1.street_address}\n {$event.location.address.1.street_address}
\n {/if}\n {if $event.location.address.1.supplemental_address_1}\n {$event.location.address.1.supplemental_address_1}
\n {/if}\n {if $event.location.address.1.supplemental_address_2}\n {$event.location.address.1.supplemental_address_2}
\n {/if}\n {if $event.location.address.1.city}\n {$event.location.address.1.city} {$event.location.address.1.postal_code}\n {if $event.location.address.1.postal_code_suffix}\n - {$event.location.address.1.postal_code_suffix}\n {/if}\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\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
\n\n\n\n',1,746,1,0,0,NULL),(40,'Events - Pending Registration Expiration Notice','{ts 1=$event.event_title}Event registration has expired for %1{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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{if $event.location.address.1.name}\n\n{$event.location.address.1.name}\n{/if}\n{if $event.location.address.1.street_address}{$event.location.address.1.street_address}\n{/if}\n{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}\n{/if}\n{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}\n{/if}\n{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}\n{/if}\n\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$event.event_title}Your pending event registration for %1 has expired\nbecause you did not confirm your registration.{/ts}

\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 \n \n \n \n \n \n \n \n \n \n\n {if $isShowLocation}\n \n \n \n {/if}\n\n {if $event.location.phone.1.phone || $event.location.email.1.email}\n \n \n \n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n \n \n \n \n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $contact.email}\n \n \n \n \n \n \n {/if}\n\n {if $register_date}\n \n \n \n \n {/if}\n\n
\n {ts}Event Information and Location{/ts}\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}:\n \n {$participant.role}\n
\n {if $event.location.address.1.name}\n {$event.location.address.1.name}
\n {/if}\n {if $event.location.address.1.street_address}\n {$event.location.address.1.street_address}
\n {/if}\n {if $event.location.address.1.supplemental_address_1}\n {$event.location.address.1.supplemental_address_1}
\n {/if}\n {if $event.location.address.1.supplemental_address_2}\n {$event.location.address.1.supplemental_address_2}
\n {/if}\n {if $event.location.address.1.city}\n {$event.location.address.1.city} {$event.location.address.1.postal_code}\n {if $event.location.address.1.postal_code_suffix}\n - {$event.location.address.1.postal_code_suffix}\n {/if}\n {/if}\n
\n {ts}Event Contacts:{/ts}\n
\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n \n {$phone.phone}\n
\n {ts}Email{/ts}\n \n {$eventEmail.email}\n
\n {ts}Registered Email{/ts}\n
\n {$contact.email}\n
\n {ts}Registration Date{/ts}\n \n {$participant.register_date|crmDate}\n
\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
\n\n\n\n',1,746,0,1,0,NULL),(41,'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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n

{$senderMessage}

\n {if $generalLink}\n

{ts}More information{/ts}

\n {/if}\n {if $contribute}\n

{ts}Make a contribution{/ts}

\n {/if}\n {if $event}\n

{ts}Find out more about this event{/ts}

\n {/if}\n
\n
\n\n\n\n',1,747,1,0,0,NULL),(42,'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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n

{$senderMessage}

\n {if $generalLink}\n

{ts}More information{/ts}

\n {/if}\n {if $contribute}\n

{ts}Make a contribution{/ts}

\n {/if}\n {if $event}\n

{ts}Find out more about this event{/ts}

\n {/if}\n
\n
\n\n\n\n',1,747,0,1,0,NULL),(43,'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}\n','{if $formValues.receipt_text_signup}\n{$formValues.receipt_text_signup}\n{elseif $formValues.receipt_text_renewal}\n{$formValues.receipt_text_renewal}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{if ! $cancelled}{ts}Please print this receipt for your records.{/ts}\n\n\n{/if}\n{if !$lineItem}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{/if}\n{if ! $cancelled}\n{if !$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 $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{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $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 $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $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{$taxTerm} {$priceset|string_format:\"%.2f\"} %: {$value|crmMoney:$currency}\n{elseif $priceset == 0}\n{ts}No{/ts} {$taxTerm}: {$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 $receive_date}\n{ts}Received Date{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $formValues.paidBy}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if $isPrimary }\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\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 $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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n {if $isPrimary}\n \n \n \n {/if}\n\n {if $customValues}\n \n \n \n {/if}\n\n
\n {if $formValues.receipt_text_signup}\n

{$formValues.receipt_text_signup|htmlize}

\n {elseif $formValues.receipt_text_renewal}\n

{$formValues.receipt_text_renewal|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n {if ! $cancelled}\n

{ts}Please print this receipt for your records.{/ts}

\n {/if}\n
\n \n {if !$lineItem}\n \n \n \n \n \n \n \n {/if}\n {if ! $cancelled}\n {if !$lineItem}\n \n \n \n \n \n \n \n \n {/if}\n {if $formValues.total_amount OR $formValues.total_amount eq 0 }\n \n \n \n {if $formValues.contributionType_name}\n \n \n \n \n {/if}\n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if isset($totalTaxAmount)}\n \n \n \n \n {/if}\n \n \n \n \n {if $receive_date}\n \n \n \n \n {/if}\n {if $formValues.paidBy}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n {/if}\n {/if}\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date}\n
\n {ts}Membership Fee{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$formValues.total_amount|crmMoney}\n
\n {ts}Received Date{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n
\n \n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\n \n \n \n \n \n \n \n \n \n \n {/if}\n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}\n
\n {ts}Expires{/ts}\n \n {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n
\n \n \n \n \n {foreach from=$customValues item=value key=customName}\n \n \n \n \n {/foreach}\n
\n {ts}Membership Options{/ts}\n
\n {$customName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,748,1,0,0,NULL),(44,'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}\n','{if $formValues.receipt_text_signup}\n{$formValues.receipt_text_signup}\n{elseif $formValues.receipt_text_renewal}\n{$formValues.receipt_text_renewal}\n{else}{ts}Thank you for your support.{/ts}{/if}\n\n{if ! $cancelled}{ts}Please print this receipt for your records.{/ts}\n\n\n{/if}\n{if !$lineItem}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{/if}\n{if ! $cancelled}\n{if !$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 $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{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $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 $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $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{$taxTerm} {$priceset|string_format:\"%.2f\"} %: {$value|crmMoney:$currency}\n{elseif $priceset == 0}\n{ts}No{/ts} {$taxTerm}: {$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 $receive_date}\n{ts}Received Date{/ts}: {$receive_date|truncate:10:\'\'|crmDate}\n{/if}\n{if $formValues.paidBy}\n{ts}Paid By{/ts}: {$formValues.paidBy}\n{if $formValues.check_number}\n{ts}Check Number{/ts}: {$formValues.check_number}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if $isPrimary }\n{if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\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 $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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n {if $isPrimary}\n \n \n \n {/if}\n\n {if $customValues}\n \n \n \n {/if}\n\n
\n {if $formValues.receipt_text_signup}\n

{$formValues.receipt_text_signup|htmlize}

\n {elseif $formValues.receipt_text_renewal}\n

{$formValues.receipt_text_renewal|htmlize}

\n {else}\n

{ts}Thank you for your support.{/ts}

\n {/if}\n {if ! $cancelled}\n

{ts}Please print this receipt for your records.{/ts}

\n {/if}\n
\n \n {if !$lineItem}\n \n \n \n \n \n \n \n {/if}\n {if ! $cancelled}\n {if !$lineItem}\n \n \n \n \n \n \n \n \n {/if}\n {if $formValues.total_amount OR $formValues.total_amount eq 0 }\n \n \n \n {if $formValues.contributionType_name}\n \n \n \n \n {/if}\n\n {if $lineItem}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset}\n \n \n {elseif $priceset == 0}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if isset($totalTaxAmount)}\n \n \n \n \n {/if}\n \n \n \n \n {if $receive_date}\n \n \n \n \n {/if}\n {if $formValues.paidBy}\n \n \n \n \n {if $formValues.check_number}\n \n \n \n \n {/if}\n {/if}\n {/if}\n {/if}\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date}\n
\n {ts}Membership Fee{/ts}\n
\n {ts}Financial Type{/ts}\n \n {$formValues.contributionType_name}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$formValues.total_amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}No{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$formValues.total_amount|crmMoney}\n
\n {ts}Received Date{/ts}\n \n {$receive_date|truncate:10:\'\'|crmDate}\n
\n {ts}Paid By{/ts}\n \n {$formValues.paidBy}\n
\n {ts}Check Number{/ts}\n \n {$formValues.check_number}\n
\n
\n \n\n {if $contributeMode ne \'notify\' and !$isAmountzero and !$is_pay_later }\n \n \n \n \n \n \n {/if}\n\n {if $contributeMode eq \'direct\' and !$isAmountzero and !$is_pay_later}\n \n \n \n \n \n \n \n \n \n \n {/if}\n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}\n
\n {ts}Expires{/ts}\n \n {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n
\n
\n \n \n \n \n {foreach from=$customValues item=value key=customName}\n \n \n \n \n {/foreach}\n
\n {ts}Membership Options{/ts}\n
\n {$customName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,748,0,1,0,NULL),(45,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\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 && $membership_amount && $is_quick_config}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount}\n{if ! $is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n{else}\n{ts}Additional Contribution{/ts}: {$amount|crmMoney}\n{/if}\n{/if}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{elseif !$useForMember && $lineItem and $priceSetID & !$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 && !$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 $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 $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $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{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}\n{/if}\n{elseif $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 $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if $membership_trx_id}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if $is_recur}\n{if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/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 $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 $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 !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0 OR $membership_amount GT 0 }\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) }\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 $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 $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $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 $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n\n {if $receipt_text}\n

{$receipt_text|htmlize}

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $membership_assign && !$useForMember}\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n {/if}\n\n\n {if $amount}\n \n \n \n\n {if !$useForMember and $membership_amount and $is_quick_config}\n\n \n \n \n \n {if $amount}\n {if ! $is_separate_payment }\n \n \n \n \n {else}\n \n \n \n \n {/if}\n {/if}\n \n \n \n \n\n {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n \n \n \n \n\n {else}\n {if $useForMember && $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n\n {elseif $membership_amount}\n\n\n \n \n \n \n \n \n \n\n\n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $membership_trx_id}\n \n \n \n \n {/if}\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later}\n \n \n \n \n \n \n {elseif $amount GT 0 OR $membership_amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Contribution Amount{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Additional Contribution{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Total{/ts}\n \n {$amount+$membership_amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n {foreach from=$value item=line}\n \n \n \n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Total{/ts}
\n {$line.description|truncate:30:\"...\"}\n \n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.line_total|crmMoney}\n
\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}NO{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Membership Transaction #{/ts}\n \n {$membership_trx_id}\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\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}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,749,1,0,0,NULL),(46,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}\n','{if $receipt_text}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{else}\n\n{ts}Please print this receipt for your records.{/ts}\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 && $membership_amount && $is_quick_config}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount}\n{if ! $is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n{else}\n{ts}Additional Contribution{/ts}: {$amount|crmMoney}\n{/if}\n{/if}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{elseif !$useForMember && $lineItem and $priceSetID & !$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 && !$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 $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 $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 $dataArray} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $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 $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{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if $amount_level } - {$amount_level} {/if}\n{/if}\n{elseif $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 $receive_date}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if $is_monetary and $trxn_id}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if $membership_trx_id}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if $is_recur}\n{if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/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 $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 $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 !( $contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\' ) and $is_monetary}\n{if $is_pay_later}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{elseif $amount GT 0 OR $membership_amount GT 0 }\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{/if} {* End ! is_pay_later condition. *}\n{/if}\n{if $contributeMode eq \'direct\' AND !$is_pay_later AND ( $amount GT 0 OR $membership_amount GT 0 ) }\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 $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 $contact_email OR $contact_phone}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if $contact_email}\n {$contact_email}\n{/if}\n{if $contact_phone}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND $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 $customPre}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if $customPost}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( $trackingFields and ! in_array( $customName, $trackingFields ) ) or ! $trackingFields}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\n\n {if $receipt_text}\n

{$receipt_text|htmlize}

\n {/if}\n\n {if $is_pay_later}\n

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *}\n {else}\n

{ts}Please print this confirmation for your records.{/ts}

\n {/if}\n\n
\n \n\n {if $membership_assign && !$useForMember}\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n {/if}\n\n\n {if $amount}\n \n \n \n\n {if !$useForMember and $membership_amount and $is_quick_config}\n\n \n \n \n \n {if $amount}\n {if ! $is_separate_payment }\n \n \n \n \n {else}\n \n \n \n \n {/if}\n {/if}\n \n \n \n \n\n {elseif !$useForMember && $lineItem and $priceSetID and !$is_quick_config}\n\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n \n \n \n \n\n {else}\n {if $useForMember && $lineItem and !$is_quick_config}\n {foreach from=$lineItem item=value key=priceset}\n \n \n \n {/foreach}\n {if $dataArray}\n \n \n \n \n {foreach from=$dataArray item=value key=priceset}\n \n {if $priceset || $priceset == 0}\n \n \n {else}\n \n \n {/if}\n \n {/foreach}\n {/if}\n {/if}\n {if $totalTaxAmount}\n \n \n \n \n {/if}\n \n \n \n \n\n {/if}\n\n\n {elseif $membership_amount}\n\n\n \n \n \n \n \n \n \n\n\n {/if}\n\n {if $receive_date}\n \n \n \n \n {/if}\n\n {if $is_monetary and $trxn_id}\n \n \n \n \n {/if}\n\n {if $membership_trx_id}\n \n \n \n \n {/if}\n {if $is_recur}\n {if $contributeMode eq \'notify\' or $contributeMode eq \'directIPN\'}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $honor_block_is_active}\n \n \n \n {foreach from=$honoreeProfile item=value key=label}\n \n \n \n \n {/foreach}\n {/if}\n\n {if $pcpBlock}\n \n \n \n \n \n \n \n {if $pcp_roll_nickname}\n \n \n \n \n {/if}\n {if $pcp_personal_note}\n \n \n \n \n {/if}\n {/if}\n\n {if $onBehalfProfile}\n \n \n \n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n \n \n \n \n {/foreach}\n {/if}\n\n {if ! ($contributeMode eq \'notify\' OR $contributeMode eq \'directIPN\') and $is_monetary}\n {if $is_pay_later}\n \n \n \n \n \n \n {elseif $amount GT 0 OR $membership_amount GT 0}\n \n \n \n \n \n \n {/if}\n {/if}\n\n {if $contributeMode eq \'direct\' AND !$is_pay_later AND ($amount GT 0 OR $membership_amount GT 0)}\n \n \n \n \n \n \n {/if}\n\n {if $selectPremium}\n \n \n \n \n \n \n {if $option}\n \n \n \n \n {/if}\n {if $sku}\n \n \n \n \n {/if}\n {if $start_date}\n \n \n \n \n {/if}\n {if $end_date}\n \n \n \n \n {/if}\n {if $contact_email OR $contact_phone}\n \n \n \n {/if}\n {if $is_deductible AND $price}\n \n \n \n {/if}\n {/if}\n\n {if $customPre}\n \n \n \n {foreach from=$customPre item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n {if $customPost}\n \n \n \n {foreach from=$customPost item=customValue key=customName}\n {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}\n \n \n \n \n {/if}\n {/foreach}\n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Type{/ts}\n \n {$membership_name}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Contribution Amount{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Additional Contribution{/ts}\n \n {$amount|crmMoney}\n
\n {ts}Total{/ts}\n \n {$amount+$membership_amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n \n \n \n {foreach from=$value item=line}\n \n \n \n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Qty{/ts}{ts}Each{/ts}{ts}Total{/ts}
\n {$line.description|truncate:30:\"...\"}\n \n {$line.qty}\n \n {$line.unit_price|crmMoney}\n \n {$line.line_total|crmMoney}\n
\n
\n {ts}Total Amount{/ts}\n \n {$amount|crmMoney}\n
\n {* FIXME: style this table so that it looks like the text version (justification, etc.) *}\n \n \n \n {if $dataArray}\n \n \n \n \n {/if}\n \n \n \n {foreach from=$value item=line}\n \n \n \n {if $dataArray}\n \n {if $line.tax_rate != \"\" || $line.tax_amount != \"\"}\n \n \n {else}\n \n \n {/if}\n \n {/if}\n \n \n \n {/foreach}\n
{ts}Item{/ts}{ts}Fee{/ts}{ts}SubTotal{/ts}{ts}Tax Rate{/ts}{ts}Tax Amount{/ts}{ts}Total{/ts}{ts}Membership Start Date{/ts}{ts}Membership End Date{/ts}
\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}
{$line.description|truncate:30:\"...\"}
{/if}\n
\n {$line.line_total|crmMoney}\n \n {$line.unit_price*$line.qty|crmMoney}\n \n {$line.tax_rate|string_format:\"%.2f\"}%\n \n {$line.tax_amount|crmMoney}\n \n {$line.line_total+$line.tax_amount|crmMoney}\n \n {$line.start_date}\n \n {$line.end_date}\n
\n
\n {ts}Amount Before Tax:{/ts}\n \n {$amount-$totalTaxAmount|crmMoney}\n
 {$taxTerm} {$priceset|string_format:\"%.2f\"}% {$value|crmMoney:$currency} {ts}NO{/ts} {$taxTerm} {$value|crmMoney:$currency}
\n {ts}Total Tax Amount{/ts}\n \n {$totalTaxAmount|crmMoney:$currency}\n
\n {ts}Amount{/ts}\n \n {$amount|crmMoney} {if $amount_level} - {$amount_level}{/if}\n
\n {ts}Membership Fee{/ts}\n
\n {ts 1=$membership_name}%1 Membership{/ts}\n \n {$membership_amount|crmMoney}\n
\n {ts}Date{/ts}\n \n {$receive_date|crmDate}\n
\n {ts}Transaction #{/ts}\n \n {$trxn_id}\n
\n {ts}Membership Transaction #{/ts}\n \n {$membership_trx_id}\n
\n {ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}\n
\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}\n
\n {$soft_credit_type}\n
\n {$label}\n \n {$value}\n
\n {ts}Personal Campaign Page{/ts}\n
\n {ts}Display In Honor Roll{/ts}\n \n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n
\n {ts}Nickname{/ts}\n \n {$pcp_roll_nickname}\n
\n {ts}Personal Note{/ts}\n \n {$pcp_personal_note}\n
\n {$onBehalfProfile_grouptitle}\n
\n {$onBehalfName}\n \n {$onBehalfValue}\n
\n {ts}Registered Email{/ts}\n
\n {$email}\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts}Premium Information{/ts}\n
\n {$product_name}\n
\n {ts}Option{/ts}\n \n {$option}\n
\n {ts}SKU{/ts}\n \n {$sku}\n
\n {ts}Start Date{/ts}\n \n {$start_date|crmDate}\n
\n {ts}End Date{/ts}\n \n {$end_date|crmDate}\n
\n

{ts}For information about this premium, contact:{/ts}

\n {if $contact_email}\n

{$contact_email}

\n {/if}\n {if $contact_phone}\n

{$contact_phone}

\n {/if}\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}

\n
\n {$customPre_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n {$customPost_grouptitle}\n
\n {$customName}\n \n {$customValue}\n
\n
\n\n\n\n',1,749,0,1,0,NULL),(47,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts}\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\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 \n\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Status{/ts}\n \n {$membership_status}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n
\n\n\n\n',1,750,1,0,0,NULL),(48,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts}\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n
\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 \n\n \n \n \n \n \n \n \n {if $mem_start_date}\n \n \n \n \n {/if}\n {if $mem_end_date}\n \n \n \n \n {/if}\n\n
\n {ts}Membership Information{/ts}\n
\n {ts}Membership Status{/ts}\n \n {$membership_status}\n
\n {ts}Membership Start Date{/ts}\n \n {$mem_start_date|crmDate}\n
\n {ts}Membership End Date{/ts}\n \n {$mem_end_date|crmDate}\n
\n
\n\n\n\n',1,750,0,1,0,NULL),(49,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\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\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n\n',1,751,1,0,0,NULL),(50,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts}','{ts 1=$contact.display_name}Dear %1{/ts},\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\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\n

{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}

\n
\n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n {ts}Billing Name and Address{/ts}\n
\n {$billingName}
\n {$address|nl2br}
\n {$email}\n
\n {ts}Credit Card Information{/ts}\n
\n {$credit_card_type}
\n {$credit_card_number}
\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}
\n
\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n
\n
\n\n\n\n',1,751,0,1,0,NULL),(51,'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','
\n \n \n \n \n
\n

{ts}Test-drive Email / Receipt{/ts}

\n

{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}

\n
\n
\n',1,752,1,0,0,NULL),(52,'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','
\n \n \n \n \n
\n

{ts}Test-drive Email / Receipt{/ts}

\n

{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}

\n
\n
\n',1,752,0,1,0,NULL),(53,'Pledges - Acknowledgement','{ts}Thank you for your Pledge{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Thank you for your generous pledge. Please print this acknowledgment for your records.{/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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n

{ts 1=$contact.display_name}dear %1{/ts},

\n

{ts}thank you for your generous pledge. please print this acknowledgment for your records.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {if $payments}\n {assign var=\"count\" value=\"1\"}\n {foreach from=$payments item=payment}\n \n \n \n \n {assign var=\"count\" value=`$count+1`}\n {/foreach}\n {/if}\n\n \n \n \n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$total_pledge_amount|crmMoney:$currency}\n
\n {ts}Payment Schedule{/ts}\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

{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}

\n {/if}\n
\n {ts 1=$count}Payment %1{/ts}\n \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
\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 {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,753,1,0,0,NULL),(54,'Pledges - Acknowledgement','{ts}Thank you for your Pledge{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\n\n{ts}Thank you for your generous pledge. Please print this acknowledgment for your records.{/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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n
\n

{ts 1=$contact.display_name}dear %1{/ts},

\n

{ts}thank you for your generous pledge. please print this acknowledgment for your records.{/ts}

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {if $payments}\n {assign var=\"count\" value=\"1\"}\n {foreach from=$payments item=payment}\n \n \n \n \n {assign var=\"count\" value=`$count+1`}\n {/foreach}\n {/if}\n\n \n \n \n\n {if $customGroup}\n {foreach from=$customGroup item=value key=customName}\n \n \n \n {foreach from=$value item=v key=n}\n \n \n \n \n {/foreach}\n {/foreach}\n {/if}\n\n
\n {ts}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$total_pledge_amount|crmMoney:$currency}\n
\n {ts}Payment Schedule{/ts}\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

{ts 1=$frequency_day 2=$frequency_unit}Payments are due on day %1 of the %2.{/ts}

\n {/if}\n
\n {ts 1=$count}Payment %1{/ts}\n \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
\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 {$customName}\n
\n {$n}\n \n {$v}\n
\n
\n
\n\n\n\n',1,753,0,1,0,NULL),(55,'Pledges - Payment Reminder','{ts}Pledge Payment Reminder{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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}{/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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\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 \n \n \n \n \n \n \n
\n {ts}Payment Due{/ts}\n
\n {ts}Amount Due{/ts}\n \n {$amount_due|crmMoney:$currency}\n
\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}{/capture}\n

{ts}Go to a web page where you can make your payment online{/ts}

\n {else}\n

{ts}Please mail your payment to{/ts}: {$domain.address}

\n {/if}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Paid{/ts}\n \n {$amount_paid|crmMoney:$currency}\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

{ts}Thank your for your generous support.{/ts}

\n
\n
\n\n\n\n',1,754,1,0,0,NULL),(56,'Pledges - Payment Reminder','{ts}Pledge Payment Reminder{/ts}\n','{ts 1=$contact.display_name}Dear %1{/ts},\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}{/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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n
\n

{ts 1=$contact.display_name}Dear %1{/ts},

\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 \n \n \n \n \n \n \n
\n {ts}Payment Due{/ts}\n
\n {ts}Amount Due{/ts}\n \n {$amount_due|crmMoney:$currency}\n
\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}{/capture}\n

{ts}Go to a web page where you can make your payment online{/ts}

\n {else}\n

{ts}Please mail your payment to{/ts}: {$domain.address}

\n {/if}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {ts}Pledge Information{/ts}\n
\n {ts}Pledge Received{/ts}\n \n {$create_date|truncate:10:\'\'|crmDate}\n
\n {ts}Total Pledge Amount{/ts}\n \n {$amount|crmMoney:$currency}\n
\n {ts}Total Paid{/ts}\n \n {$amount_paid|crmMoney:$currency}\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

{ts}Thank your for your generous support.{/ts}

\n
\n
\n\n\n\n',1,754,0,1,0,NULL),(57,'Profiles - Admin Notification','{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts}\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n\n {foreach from=$values item=value key=valueName}\n \n \n \n \n {/foreach}\n
\n {ts}Submitted For{/ts}\n \n {$displayName}\n
\n {ts}Date{/ts}\n \n {$currentDate}\n
\n {ts}Contact Summary{/ts}\n \n {$contactLink}\n
\n {$grouptitle}\n
\n {$valueName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,755,1,0,0,NULL),(58,'Profiles - Admin Notification','{$grouptitle} {ts 1=$displayName}Submitted by %1{/ts}\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','\n\n\n \n \n\n\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
\n \n\n \n \n \n\n \n\n \n \n \n\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n\n {foreach from=$values item=value key=valueName}\n \n \n \n \n {/foreach}\n
\n {ts}Submitted For{/ts}\n \n {$displayName}\n
\n {ts}Date{/ts}\n \n {$currentDate}\n
\n {ts}Contact Summary{/ts}\n \n {$contactLink}\n
\n {$grouptitle}\n
\n {$valueName}\n \n {$value}\n
\n
\n
\n\n\n\n',1,755,0,1,0,NULL),(59,'Petition - signature added','Thank you for signing {$petition.title}','Thank you for signing {$petition.title}.\n','

Thank you for signing {$petition.title}.

\n\n{include file=\"CRM/Campaign/Page/Petition/SocialNetwork.tpl\" petition_id=$survey_id noscript=true emailMode=true}\n',1,756,1,0,0,NULL),(60,'Petition - signature added','Thank you for signing {$petition.title}','Thank you for signing {$petition.title}.\n','

Thank you for signing {$petition.title}.

\n\n{include file=\"CRM/Campaign/Page/Petition/SocialNetwork.tpl\" petition_id=$survey_id noscript=true emailMode=true}\n',1,756,0,1,0,NULL),(61,'Petition - need verification','Confirmation of signature needed for {$petition.title}\n','Thank 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','

Thank you for signing {$petition.title}.

\n\n

In order to complete your signature, we must confirm your e-mail.\n
\nPlease do so by visiting the following web page by clicking\non the link below or pasting the link into your browser.\n

\nEmail confirmation page: {$petition.confirmUrl}

\n\n

If you did not sign this petition, please ignore this message.

\n',1,757,1,0,0,NULL),(62,'Petition - need verification','Confirmation of signature needed for {$petition.title}\n','Thank 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','

Thank you for signing {$petition.title}.

\n\n

In order to complete your signature, we must confirm your e-mail.\n
\nPlease do so by visiting the following web page by clicking\non the link below or pasting the link into your browser.\n

\nEmail confirmation page: {$petition.confirmUrl}

\n\n

If you did not sign this petition, please ignore this message.

\n',1,757,0,1,0,NULL),(63,'Sample CiviMail Newsletter Template','Sample CiviMail Newsletter','','\n\n\n \n \n\n\n\n\n \n \n \n \n \n\n \n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \"Replace\n    \n Your Newsletter Title\n
\n
\n \n \n \n \n \n
\n \n Greetings {contact.display_name},\n

\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

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

The logo you use must be uploaded to your server. Copy and paste the URL path to the logo into the <img src= tag in the HTML at the top. Click \"Source\" or the Image button if you are using the text editor.\n

\n Edit the color of the links and headers using the color button or by editing the HTML.\n

\n Your newsletter message and donation appeal can go here. Click the link button to create links - remember to use a fully qualified URL starting with http:// in all your links!\n

\n To use CiviMail:\n \n Sincerely,\n

\n Your Team\n

\n
\n
\n
\n \n \n \n \n \n \n \n \n
News and Events
\n \n Featured Events
\n Fundraising Dinner
\n Training Meeting
\n Board of Directors Annual Meeting
\n\n

\n Community Events
\n Bake Sale
\n Charity Auction
\n Art Exhibit
\n\n

\n Important Dates
\n Tuesday August 27
\n Wednesday September 8
\n Thursday September 29
\n Saturday October 1
\n Sunday October 20
\n
\n
\n
\n \n \n \n \n
\n \n Helpful Tips\n

\n Tokens
\n Click \"Insert Tokens\" to dynamically insert names, addresses, and other contact data of your recipients.\n

\n Plain Text Version
\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

\n Play by the Rules
\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. {action.optOutUrl} creates a link for recipients to click if they want to opt out of receiving emails from your organization. {action.unsubscribeUrl} 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

\n Composing Offline
\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

\n Images
\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
\n
\n \n
\n Click here to unsubscribe from this mailing list.

\n Our mailing address is:
\n {domain.address}\n
\n\n\n\n',1,NULL,1,0,0,NULL),(64,'Sample Responsive Design Newsletter - Single Column Template','Sample Responsive Design Newsletter - Single Column','','\n\n \n \n\n \n\n\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n
Organization or Program Name Here
\n\n \n \n \n \n \n \n
Month and Year
\n
 
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
\"Replace\n
 
\n
\n
 
\n
\n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
Headline Here
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
Your Heading Here
 
\n

{contact.email_greeting},

\n

Replace with your text and images, and remember to link the facebook and twitter links in the footer to your pages. Have fun!

\n
Read More
 
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
Your Heading Here
 
\n

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna

\n
Read More
 
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
\n

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna

\n
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\"\"
\n
 
\n

Remember to link the facebook and twitter links below to your pages!

\n
Read More
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n \n \n \n \n \n
 Unsubscribe | Subscribe | Opt out
 {domain.address}
\n \n\n \n \n \n \n \n \n \n \n \n
\n \n  \n \n  
\n
 
\n
\n
\n\n\n\n',1,NULL,1,0,0,NULL),(65,'Sample Responsive Design Newsletter - Two Column Template','Sample Responsive Design Newsletter - Two Column','','\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n
Organization or Program Name Here
\n\n \n \n \n \n \n \n
Month Year
\n
 
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n\n \n
\n \n \n \n \n \n \n \n \n \n \n
\"Replace
\n
 
\n
\n\n
\n
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
Hero Story Heading
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n\n \n\n\n\n \n \n
\n
\"\"
\n
 
Subheading Here
 
Replace with your text and images, and remember to link the facebook and twitter links in the footer to your pages. Have fun!
 
\n
\n
\n
Section Heading Here
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n
\n
\n \n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n
\n
\n \n\n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n
\n
\n \n\n\n\n\n\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
 
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\"\"
\n \n\n \n \n \n \n \n \n
 
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Heading Here
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna
Read More
\n
\n
 
\n

Remember to link the facebook and twitter links below to your pages!

\n
\n
\n
\n \n\n \n\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
 
\n \n \n \n \n \n \n \n \n \n \n \n
 Unsubscribe | Subscribe | Opt out
 {domain.address}
\n \n \n \n \n \n \n \n \n \n \n
\n  \n \n  
\n
 
 
\n
\n
\n \n \n\n',1,NULL,1,0,0,NULL); /*!40000 ALTER TABLE `civicrm_msg_template` ENABLE KEYS */; UNLOCK TABLES; @@ -976,7 +976,7 @@ UNLOCK TABLES; LOCK TABLES `civicrm_navigation` WRITE; /*!40000 ALTER TABLE `civicrm_navigation` DISABLE KEYS */; -INSERT INTO `civicrm_navigation` (`id`, `domain_id`, `label`, `name`, `url`, `permission`, `permission_operator`, `parent_id`, `is_active`, `has_separator`, `weight`) VALUES (1,1,'Home','Home','civicrm/dashboard?reset=1',NULL,'',NULL,1,NULL,0),(2,1,'Search','Search...',NULL,NULL,'',NULL,1,NULL,10),(3,1,'Find Contacts','Find Contacts','civicrm/contact/search?reset=1',NULL,'',2,1,NULL,1),(4,1,'Advanced Search','Advanced Search','civicrm/contact/search/advanced?reset=1',NULL,'',2,1,NULL,2),(5,1,'Full-text Search','Full-text Search','civicrm/contact/search/custom?csid=15&reset=1',NULL,'',2,1,NULL,3),(6,1,'Search Builder','Search Builder','civicrm/contact/search/builder?reset=1',NULL,'',2,1,1,4),(7,1,'Find Cases','Find Cases','civicrm/case/search?reset=1','access my cases and activities,access all cases and activities','OR',2,1,NULL,5),(8,1,'Find Contributions','Find Contributions','civicrm/contribute/search?reset=1','access CiviContribute','',2,1,NULL,6),(9,1,'Find Mailings','Find Mailings','civicrm/mailing?reset=1','access CiviMail','',2,1,NULL,7),(10,1,'Find Memberships','Find Memberships','civicrm/member/search?reset=1','access CiviMember','',2,1,NULL,8),(11,1,'Find Participants','Find Participants','civicrm/event/search?reset=1','access CiviEvent','',2,1,NULL,9),(12,1,'Find Pledges','Find Pledges','civicrm/pledge/search?reset=1','access CiviPledge','',2,1,NULL,10),(13,1,'Find Activities','Find Activities','civicrm/activity/search?reset=1',NULL,'',2,1,1,11),(14,1,'Custom Searches','Custom Searches','civicrm/contact/search/custom/list?reset=1',NULL,'',2,1,NULL,12),(15,1,'Contacts','Contacts',NULL,NULL,'',NULL,1,NULL,20),(16,1,'New Individual','New Individual','civicrm/contact/add?reset=1&ct=Individual','add contacts','',15,1,NULL,1),(17,1,'New Household','New Household','civicrm/contact/add?reset=1&ct=Household','add contacts','',15,1,NULL,2),(18,1,'New Organization','New Organization','civicrm/contact/add?reset=1&ct=Organization','add contacts','',15,1,1,3),(19,1,'Contact Reports','Contact Reports','civicrm/report/list?compid=99&reset=1','access CiviReport','',15,1,1,4),(20,1,'New Activity','New Activity','civicrm/activity?reset=1&action=add&context=standalone',NULL,'',15,1,NULL,5),(21,1,'New Email','New Email','civicrm/activity/email/add?atype=3&action=add&reset=1&context=standalone',NULL,'',15,1,1,6),(22,1,'Import Contacts','Import Contacts','civicrm/import/contact?reset=1','import contacts','',15,1,NULL,7),(23,1,'Import Activities','Import Activities','civicrm/import/activity?reset=1','import contacts','',15,1,1,8),(24,1,'New Group','New Group','civicrm/group/add?reset=1','edit groups','',15,1,NULL,9),(25,1,'Manage Groups','Manage Groups','civicrm/group?reset=1','access CiviCRM','',15,1,1,10),(26,1,'New Tag','New Tag','civicrm/admin/tag?reset=1&action=add','administer CiviCRM','',15,1,NULL,11),(27,1,'Manage Tags (Categories)','Manage Tags (Categories)','civicrm/admin/tag?reset=1','administer CiviCRM','',15,1,1,12),(28,1,'Find and Merge Duplicate Contacts','Find and Merge Duplicate Contacts','civicrm/contact/deduperules?reset=1','administer dedupe rules,merge duplicate contacts','OR',15,1,NULL,13),(29,1,'Contributions','Contributions',NULL,'access CiviContribute','',NULL,1,NULL,30),(30,1,'Dashboard','Dashboard','civicrm/contribute?reset=1','access CiviContribute','',29,1,NULL,1),(31,1,'New Contribution','New Contribution','civicrm/contribute/add?reset=1&action=add&context=standalone','access CiviContribute,edit contributions','AND',29,1,NULL,2),(32,1,'Find Contributions','Find Contributions','civicrm/contribute/search?reset=1','access CiviContribute','',29,1,NULL,3),(33,1,'Contribution Reports','Contribution Reports','civicrm/report/list?compid=2&reset=1','access CiviContribute','',29,1,1,4),(34,1,'Import Contributions','Import Contributions','civicrm/contribute/import?reset=1','access CiviContribute,edit contributions','AND',29,1,1,5),(35,1,'Batch Data Entry','Batch Data Entry','civicrm/batch?reset=1','access CiviContribute','',29,1,NULL,7),(36,1,'Pledges','Pledges',NULL,'access CiviPledge','',29,1,1,6),(37,1,'Accounting Batches','Accounting Batches',NULL,'view own manual batches,view all manual batches','OR',29,1,1,8),(38,1,'Dashboard','Dashboard','civicrm/pledge?reset=1','access CiviPledge','',36,1,NULL,1),(39,1,'New Pledge','New Pledge','civicrm/pledge/add?reset=1&action=add&context=standalone','access CiviPledge,edit pledges','AND',36,1,NULL,2),(40,1,'Find Pledges','Find Pledges','civicrm/pledge/search?reset=1','access CiviPledge','',36,1,NULL,3),(41,1,'Pledge Reports','Pledge Reports','civicrm/report/list?compid=6&reset=1','access CiviPledge','',36,1,0,4),(42,1,'New Contribution Page','New Contribution Page','civicrm/admin/contribute/add?reset=1&action=add','access CiviContribute,administer CiviCRM','AND',29,1,NULL,9),(43,1,'Manage Contribution Pages','Manage Contribution Pages','civicrm/admin/contribute?reset=1','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','access CiviContribute,administer CiviCRM','AND',29,1,NULL,11),(45,1,'Premiums (Thank-you Gifts)','Premiums','civicrm/admin/contribute/managePremiums?reset=1','access CiviContribute,administer CiviCRM','AND',29,1,1,12),(46,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add','access CiviContribute,administer CiviCRM','AND',29,1,NULL,13),(47,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1','access CiviContribute,administer CiviCRM','AND',29,1,NULL,14),(48,1,'New Batch','New Batch','civicrm/financial/batch?reset=1&action=add','create manual batch','AND',37,1,NULL,1),(49,1,'Open Batches','Open Batches','civicrm/financial/financialbatches?reset=1&batchStatus=1','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','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','view own manual batches,view all manual batches','OR',37,1,NULL,4),(52,1,'Events','Events',NULL,'access CiviEvent','',NULL,1,NULL,40),(53,1,'Dashboard','CiviEvent Dashboard','civicrm/event?reset=1','access CiviEvent','',52,1,NULL,1),(54,1,'Register Event Participant','Register Event Participant','civicrm/participant/add?reset=1&action=add&context=standalone','access CiviEvent,edit event participants','AND',52,1,NULL,2),(55,1,'Find Participants','Find Participants','civicrm/event/search?reset=1','access CiviEvent','',52,1,NULL,3),(56,1,'Event Reports','Event Reports','civicrm/report/list?compid=1&reset=1','access CiviEvent','',52,1,1,4),(57,1,'Import Participants','Import Participants','civicrm/event/import?reset=1','access CiviEvent,edit event participants','AND',52,1,1,5),(58,1,'New Event','New Event','civicrm/event/add?reset=1&action=add','access CiviEvent,edit all events','AND',52,1,NULL,6),(59,1,'Manage Events','Manage Events','civicrm/event/manage?reset=1','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','access CiviEvent,administer CiviCRM','AND',52,1,1,8),(61,1,'Event Templates','Event Templates','civicrm/admin/eventTemplate?reset=1','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','access CiviEvent,edit all events','AND',52,1,NULL,10),(63,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1','access CiviEvent,edit all events','AND',52,1,NULL,11),(64,1,'Mailings','Mailings',NULL,'access CiviMail,create mailings,approve mailings,schedule mailings','OR',NULL,1,NULL,50),(65,1,'New Mailing','New Mailing','civicrm/mailing/send?reset=1','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','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','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','access CiviMail,create mailings','OR',64,1,NULL,4),(69,1,'Mailing Reports','Mailing Reports','civicrm/report/list?compid=4&reset=1','access CiviMail','',64,1,1,5),(70,1,'Headers, Footers, and Automated Messages','Headers, Footers, and Automated Messages','civicrm/admin/component?reset=1','access CiviMail,administer CiviCRM','AND',64,1,NULL,6),(71,1,'Message Templates','Message Templates','civicrm/admin/messageTemplates?reset=1','edit message templates','',64,1,NULL,7),(72,1,'From Email Addresses','From Email Addresses','civicrm/admin/options/from_email_address?reset=1','administer CiviCRM','',64,1,1,8),(73,1,'New SMS','New SMS','civicrm/sms/send?reset=1','administer CiviCRM',NULL,64,1,NULL,9),(74,1,'Find Mass SMS','Find Mass SMS','civicrm/mailing/browse?reset=1&sms=1','administer CiviCRM',NULL,64,1,1,10),(75,1,'New A/B Test','New A/B Test','civicrm/a/#/abtest/new','access CiviMail','',64,1,NULL,15),(76,1,'Manage A/B Tests','Manage A/B Tests','civicrm/a/#/abtest','access CiviMail','',64,1,1,16),(77,1,'Memberships','Memberships',NULL,'access CiviMember','',NULL,1,NULL,60),(78,1,'Dashboard','Dashboard','civicrm/member?reset=1','access CiviMember','',77,1,NULL,1),(79,1,'New Membership','New Membership','civicrm/member/add?reset=1&action=add&context=standalone','access CiviMember,edit memberships','AND',77,1,NULL,2),(80,1,'Find Memberships','Find Memberships','civicrm/member/search?reset=1','access CiviMember','',77,1,NULL,3),(81,1,'Membership Reports','Membership Reports','civicrm/report/list?compid=3&reset=1','access CiviMember','',77,1,1,4),(82,1,'Batch Data Entry','Batch Data Entry','civicrm/batch?reset=1','access CiviContribute','',77,1,NULL,5),(83,1,'Import Memberships','Import Members','civicrm/member/import?reset=1','access CiviMember,edit memberships','AND',77,1,1,6),(84,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add','access CiviMember,administer CiviCRM','AND',77,1,NULL,7),(85,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1','access CiviMember,administer CiviCRM','AND',77,1,NULL,8),(86,1,'Campaigns','Campaigns',NULL,'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','manage campaign,administer CiviCampaign','OR',86,1,NULL,1),(88,1,'Surveys','Survey Dashboard','civicrm/campaign?reset=1&subPage=survey','manage campaign,administer CiviCampaign','OR',87,1,NULL,1),(89,1,'Petitions','Petition Dashboard','civicrm/campaign?reset=1&subPage=petition','manage campaign,administer CiviCampaign','OR',87,1,NULL,2),(90,1,'Campaigns','Campaign Dashboard','civicrm/campaign?reset=1&subPage=campaign','manage campaign,administer CiviCampaign','OR',87,1,NULL,3),(91,1,'New Campaign','New Campaign','civicrm/campaign/add?reset=1','manage campaign,administer CiviCampaign','OR',86,1,NULL,2),(92,1,'New Survey','New Survey','civicrm/survey/add?reset=1','manage campaign,administer CiviCampaign','OR',86,1,NULL,3),(93,1,'New Petition','New Petition','civicrm/petition/add?reset=1','manage campaign,administer CiviCampaign','OR',86,1,NULL,4),(94,1,'Reserve Respondents','Reserve Respondents','civicrm/survey/search?reset=1&op=reserve','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','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','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','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','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','administer CiviCampaign,manage campaign,release campaign contacts,gotv campaign contacts','OR',86,1,NULL,10),(100,1,'Cases','Cases',NULL,'access my cases and activities,access all cases and activities','OR',NULL,1,NULL,80),(101,1,'Dashboard','Dashboard','civicrm/case?reset=1','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','add cases,access all cases and activities','OR',100,1,NULL,2),(103,1,'Find Cases','Find Cases','civicrm/case/search?reset=1','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','access my cases and activities,access all cases and activities,administer CiviCase','OR',100,1,0,4),(105,1,'Grants','Grants',NULL,'access CiviGrant','',NULL,1,NULL,90),(106,1,'Dashboard','Dashboard','civicrm/grant?reset=1','access CiviGrant','',105,1,NULL,1),(107,1,'New Grant','New Grant','civicrm/grant/add?reset=1&action=add&context=standalone','access CiviGrant,edit grants','AND',105,1,NULL,2),(108,1,'Find Grants','Find Grants','civicrm/grant/search?reset=1','access CiviGrant','',105,1,1,3),(109,1,'Grant Reports','Grant Reports','civicrm/report/list?compid=5&reset=1','access CiviGrant','',105,1,0,4),(110,1,'Administer','Administer',NULL,'administer CiviCRM','',NULL,1,NULL,100),(111,1,'Administration Console','Administration Console','civicrm/admin?reset=1','administer CiviCRM','',110,1,NULL,1),(112,1,'Configuration Checklist','Configuration Checklist','civicrm/admin/configtask?reset=1','administer CiviCRM','',111,1,NULL,1),(113,1,'Customize Data and Screens','Customize Data and Screens',NULL,'administer CiviCRM','',110,1,NULL,3),(114,1,'Custom Fields','Custom Fields','civicrm/admin/custom/group?reset=1','administer CiviCRM','',113,1,NULL,1),(115,1,'Profiles','Profiles','civicrm/admin/uf/group?reset=1','administer CiviCRM','',113,1,NULL,2),(116,1,'Tags (Categories)','Tags (Categories)','civicrm/admin/tag?reset=1','administer CiviCRM','',113,1,NULL,3),(117,1,'Activity Types','Activity Types','civicrm/admin/options/activity_type?reset=1','administer CiviCRM','',113,1,NULL,4),(118,1,'Relationship Types','Relationship Types','civicrm/admin/reltype?reset=1','administer CiviCRM','',113,1,NULL,5),(119,1,'Contact Types','Contact Types','civicrm/admin/options/subtype?reset=1','administer CiviCRM','',113,1,NULL,6),(120,1,'Display Preferences','Display Preferences','civicrm/admin/setting/preferences/display?reset=1','administer CiviCRM','',113,1,NULL,9),(121,1,'Search Preferences','Search Preferences','civicrm/admin/setting/search?reset=1','administer CiviCRM','',113,1,NULL,10),(122,1,'Date Preferences','Date Preferences','civicrm/admin/setting/preferences/date?reset=1','administer CiviCRM','',113,1,NULL,11),(123,1,'Navigation Menu','Navigation Menu','civicrm/admin/menu?reset=1','administer CiviCRM','',113,1,NULL,12),(124,1,'Word Replacements','Word Replacements','civicrm/admin/options/wordreplacements?reset=1','administer CiviCRM','',113,1,NULL,13),(125,1,'Manage Custom Searches','Manage Custom Searches','civicrm/admin/options/custom_search?reset=1','administer CiviCRM','',113,1,NULL,14),(126,1,'Dropdown Options','Dropdown Options',NULL,'administer CiviCRM','',113,1,NULL,8),(127,1,'Gender Options','Gender Options','civicrm/admin/options/gender?reset=1','administer CiviCRM','',126,1,NULL,1),(128,1,'Individual Prefixes (Ms, Mr...)','Individual Prefixes (Ms, Mr...)','civicrm/admin/options/individual_prefix?reset=1','administer CiviCRM','',126,1,NULL,2),(129,1,'Individual Suffixes (Jr, Sr...)','Individual Suffixes (Jr, Sr...)','civicrm/admin/options/individual_suffix?reset=1','administer CiviCRM','',126,1,NULL,3),(130,1,'Instant Messenger Services','Instant Messenger Services','civicrm/admin/options/instant_messenger_service?reset=1','administer CiviCRM','',126,1,NULL,4),(131,1,'Location Types (Home, Work...)','Location Types (Home, Work...)','civicrm/admin/locationType?reset=1','administer CiviCRM','',126,1,NULL,5),(132,1,'Mobile Phone Providers','Mobile Phone Providers','civicrm/admin/options/mobile_provider?reset=1','administer CiviCRM','',126,1,NULL,6),(133,1,'Phone Types','Phone Types','civicrm/admin/options/phone_type?reset=1','administer CiviCRM','',126,1,NULL,7),(134,1,'Website Types','Website Types','civicrm/admin/options/website_type?reset=1','administer CiviCRM','',126,1,NULL,8),(135,1,'Communications','Communications',NULL,'administer CiviCRM','',110,1,NULL,4),(136,1,'Organization Address and Contact Info','Organization Address and Contact Info','civicrm/admin/domain?action=update&reset=1','administer CiviCRM','',135,1,NULL,1),(137,1,'FROM Email Addresses','FROM Email Addresses','civicrm/admin/options/from_email_address?reset=1','administer CiviCRM','',135,1,NULL,2),(138,1,'Message Templates','Message Templates','civicrm/admin/messageTemplates?reset=1','administer CiviCRM','',135,1,NULL,3),(139,1,'Schedule Reminders','Schedule Reminders','civicrm/admin/scheduleReminders?reset=1','administer CiviCRM','',135,1,NULL,4),(140,1,'Preferred Communication Methods','Preferred Communication Methods','civicrm/admin/options/preferred_communication_method?reset=1','administer CiviCRM','',135,1,NULL,5),(141,1,'Label Formats','Label Formats','civicrm/admin/labelFormats?reset=1','administer CiviCRM','',135,1,NULL,6),(142,1,'Print Page (PDF) Formats','Print Page (PDF) Formats','civicrm/admin/pdfFormats?reset=1','administer CiviCRM','',135,1,NULL,7),(143,1,'Communication Style Options','Communication Style Options','civicrm/admin/options/communication_style?reset=1','administer CiviCRM','',135,1,NULL,8),(144,1,'Email Greeting Formats','Email Greeting Formats','civicrm/admin/options/email_greeting?reset=1','administer CiviCRM','',135,1,NULL,9),(145,1,'Postal Greeting Formats','Postal Greeting Formats','civicrm/admin/options/postal_greeting?reset=1','administer CiviCRM','',135,1,NULL,10),(146,1,'Addressee Formats','Addressee Formats','civicrm/admin/options/addressee?reset=1','administer CiviCRM','',135,1,NULL,11),(147,1,'Localization','Localization',NULL,'administer CiviCRM','',110,1,NULL,6),(148,1,'Languages, Currency, Locations','Languages, Currency, Locations','civicrm/admin/setting/localization?reset=1','administer CiviCRM','',147,1,NULL,1),(149,1,'Address Settings','Address Settings','civicrm/admin/setting/preferences/address?reset=1','administer CiviCRM','',147,1,NULL,2),(150,1,'Date Formats','Date Formats','civicrm/admin/setting/date?reset=1','administer CiviCRM','',147,1,NULL,3),(151,1,'Preferred Language Options','Preferred Language Options','civicrm/admin/options/languages?reset=1','administer CiviCRM','',147,1,NULL,4),(152,1,'Users and Permissions','Users and Permissions',NULL,'administer CiviCRM','',110,1,NULL,7),(153,1,'Permissions (Access Control)','Permissions (Access Control)','civicrm/admin/access?reset=1','administer CiviCRM','',152,1,NULL,1),(154,1,'Synchronize Users to Contacts','Synchronize Users to Contacts','civicrm/admin/synchUser?reset=1','administer CiviCRM','',152,1,NULL,2),(155,1,'System Settings','System Settings',NULL,'administer CiviCRM','',110,1,NULL,8),(156,1,'Enable CiviCRM Components','Enable Components','civicrm/admin/setting/component?reset=1','administer CiviCRM','',155,1,NULL,1),(157,1,'Manage Extensions','Manage Extensions','civicrm/admin/extensions?reset=1','administer CiviCRM','',155,1,NULL,2),(158,1,'Outbound Email (SMTP/Sendmail)','Outbound Email','civicrm/admin/setting/smtp?reset=1','administer CiviCRM','',155,1,NULL,3),(159,1,'Payment Processors','Payment Processors','civicrm/admin/paymentProcessor?reset=1','administer CiviCRM','',155,1,NULL,4),(160,1,'Mapping and Geocoding','Mapping and Geocoding','civicrm/admin/setting/mapping?reset=1','administer CiviCRM','',155,1,NULL,5),(161,1,'Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)','Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)','civicrm/admin/setting/misc?reset=1','administer CiviCRM','',155,1,NULL,6),(162,1,'Directories','Directories','civicrm/admin/setting/path?reset=1','administer CiviCRM','',155,1,NULL,7),(163,1,'Resource URLs','Resource URLs','civicrm/admin/setting/url?reset=1','administer CiviCRM','',155,1,NULL,8),(164,1,'Cleanup Caches and Update Paths','Cleanup Caches and Update Paths','civicrm/admin/setting/updateConfigBackend?reset=1','administer CiviCRM','',155,1,NULL,9),(165,1,'CMS Database Integration','CMS Integration','civicrm/admin/setting/uf?reset=1','administer CiviCRM','',155,1,NULL,10),(166,1,'Safe File Extensions','Safe File Extensions','civicrm/admin/options/safe_file_extension?reset=1','administer CiviCRM','',155,1,NULL,11),(167,1,'Option Groups','Option Groups','civicrm/admin/options?reset=1','administer CiviCRM','',155,1,NULL,12),(168,1,'Import/Export Mappings','Import/Export Mappings','civicrm/admin/mapping?reset=1','administer CiviCRM','',155,1,NULL,13),(169,1,'Debugging and Error Handling','Debugging and Error Handling','civicrm/admin/setting/debug?reset=1','administer CiviCRM','',155,1,NULL,14),(170,1,'Multi Site Settings','Multi Site Settings','civicrm/admin/setting/preferences/multisite?reset=1','administer CiviCRM','',155,1,NULL,15),(171,1,'Scheduled Jobs','Scheduled Jobs','civicrm/admin/job?reset=1','administer CiviCRM','',155,1,NULL,16),(172,1,'SMS Providers','SMS Providers','civicrm/admin/sms/provider?reset=1','administer CiviCRM','',155,1,NULL,17),(173,1,'CiviCampaign','CiviCampaign',NULL,'administer CiviCampaign,administer CiviCRM','AND',110,1,NULL,9),(174,1,'Survey Types','Survey Types','civicrm/admin/campaign/surveyType?reset=1','administer CiviCampaign','',173,1,NULL,1),(175,1,'Campaign Types','Campaign Types','civicrm/admin/options/campaign_type?reset=1','administer CiviCampaign','',173,1,NULL,2),(176,1,'Campaign Status','Campaign Status','civicrm/admin/options/campaign_status?reset=1','administer CiviCampaign','',173,1,NULL,3),(177,1,'Engagement Index','Engagement Index','civicrm/admin/options/engagement_index?reset=1','administer CiviCampaign','',173,1,NULL,4),(178,1,'CiviCampaign Component Settings','CiviCampaign Component Settings','civicrm/admin/setting/preferences/campaign?reset=1','administer CiviCampaign','',173,1,NULL,5),(179,1,'CiviCase','CiviCase',NULL,'administer CiviCase',NULL,110,1,NULL,10),(180,1,'Case Types','Case Types','civicrm/a/#/caseType','administer CiviCase',NULL,179,1,NULL,1),(181,1,'Redaction Rules','Redaction Rules','civicrm/admin/options/redaction_rule?reset=1','administer CiviCase',NULL,179,1,NULL,2),(182,1,'Case Statuses','Case Statuses','civicrm/admin/options/case_status?reset=1','administer CiviCase',NULL,179,1,NULL,3),(183,1,'Encounter Medium','Encounter Medium','civicrm/admin/options/encounter_medium?reset=1','administer CiviCase',NULL,179,1,NULL,4),(184,1,'CiviContribute','CiviContribute',NULL,'access CiviContribute,administer CiviCRM','AND',110,1,NULL,11),(185,1,'New Contribution Page','New Contribution Page','civicrm/admin/contribute?reset=1&action=add','access CiviContribute,administer CiviCRM','AND',184,1,NULL,6),(186,1,'Manage Contribution Pages','Manage Contribution Pages','civicrm/admin/contribute?reset=1','access CiviContribute,administer CiviCRM','AND',184,1,1,7),(187,1,'Personal Campaign Pages','Personal Campaign Pages','civicrm/admin/pcp?reset=1&page_type=contribute','access CiviContribute,administer CiviCRM','AND',184,1,NULL,8),(188,1,'Premiums (Thank-you Gifts)','Premiums','civicrm/admin/contribute/managePremiums?reset=1','access CiviContribute,administer CiviCRM','AND',184,1,1,9),(189,1,'Financial Types','Financial Types','civicrm/admin/financial/financialType?reset=1','access CiviContribute,administer CiviCRM','AND',184,1,NULL,10),(190,1,'Financial Accounts','Financial Accounts','civicrm/admin/financial/financialAccount?reset=1','access CiviContribute,administer CiviCRM','AND',184,1,NULL,11),(191,1,'Payment Instruments','Payment Instruments','civicrm/admin/options/payment_instrument?reset=1','access CiviContribute,administer CiviCRM','AND',184,1,NULL,12),(192,1,'Accepted Credit Cards','Accepted Credit Cards','civicrm/admin/options/accept_creditcard?reset=1','access CiviContribute,administer CiviCRM','AND',184,1,NULL,13),(193,1,'Soft Credit Types','Soft Credit Types','civicrm/admin/options/soft_credit_type?reset=1','access CiviContribute,administer CiviCRM','AND',184,1,1,14),(194,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add','access CiviContribute,administer CiviCRM','AND',184,1,NULL,15),(195,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1','access CiviContribute,administer CiviCRM','AND',184,1,NULL,16),(196,1,'Payment Processors','Payment Processors','civicrm/admin/paymentProcessor?reset=1','administer CiviCRM','',184,1,NULL,17),(197,1,'CiviContribute Component Settings','CiviContribute Component Settings','civicrm/admin/setting/preferences/contribute?reset=1','administer CiviCRM','',184,1,NULL,18),(198,1,'CiviEvent','CiviEvent',NULL,'access CiviEvent,administer CiviCRM','AND',110,1,NULL,12),(199,1,'New Event','New Event','civicrm/event/add?reset=1&action=add','access CiviEvent,administer CiviCRM','AND',198,1,NULL,1),(200,1,'Manage Events','Manage Events','civicrm/event/manage?reset=1','access CiviEvent,administer CiviCRM','AND',198,1,1,2),(201,1,'Personal Campaign Pages','Personal Campaign Pages','civicrm/admin/pcp?reset=1&page_type=event','access CiviEvent,administer CiviCRM','AND',198,1,1,3),(202,1,'Event Templates','Event Templates','civicrm/admin/eventTemplate?reset=1','access CiviEvent,administer CiviCRM','AND',198,1,1,4),(203,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add','access CiviEvent,administer CiviCRM','AND',198,1,NULL,5),(204,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1','access CiviEvent,administer CiviCRM','AND',198,1,1,6),(205,1,'Event Types','Event Types','civicrm/admin/options/event_type?reset=1','access CiviEvent,administer CiviCRM','AND',198,1,NULL,7),(206,1,'Participant Statuses','Participant Statuses','civicrm/admin/participant_status?reset=1','access CiviEvent,administer CiviCRM','AND',198,1,NULL,8),(207,1,'Participant Roles','Participant Roles','civicrm/admin/options/participant_role?reset=1','access CiviEvent,administer CiviCRM','AND',198,1,NULL,9),(208,1,'Participant Listing Options','Participant Listing Options','civicrm/admin/options/participant_listing?reset=1','access CiviEvent,administer CiviCRM','AND',198,1,NULL,10),(209,1,'Event Name Badge Layouts','Event Name Badge Layouts','civicrm/admin/badgelayout?reset=1','access CiviEvent,administer CiviCRM','AND',198,1,NULL,11),(210,1,'Payment Processors','Payment Processors','civicrm/admin/paymentProcessor?reset=1','administer CiviCRM','',198,1,NULL,12),(211,1,'CiviEvent Component Settings','CiviEvent Component Settings','civicrm/admin/setting/preferences/event?reset=1','access CiviEvent,administer CiviCRM','AND',198,1,NULL,13),(212,1,'CiviGrant','CiviGrant',NULL,'access CiviGrant,administer CiviCRM','AND',110,1,NULL,13),(213,1,'Grant Types','Grant Types','civicrm/admin/options/grant_type?reset=1','access CiviGrant,administer CiviCRM','AND',212,1,NULL,1),(214,1,'Grant Status','Grant Status','civicrm/admin/options/grant_status?reset=1','access CiviGrant,administer CiviCRM','AND',212,1,NULL,2),(215,1,'CiviMail','CiviMail',NULL,'access CiviMail,administer CiviCRM','AND',110,1,NULL,14),(216,1,'Headers, Footers, and Automated Messages','Headers, Footers, and Automated Messages','civicrm/admin/component?reset=1','access CiviMail,administer CiviCRM','AND',215,1,NULL,1),(217,1,'Message Templates','Message Templates','civicrm/admin/messageTemplates?reset=1','administer CiviCRM','',215,1,NULL,2),(218,1,'From Email Addresses','From Email Addresses','civicrm/admin/options/from_email_address?reset=1','administer CiviCRM','',215,1,NULL,3),(219,1,'Mail Accounts','Mail Accounts','civicrm/admin/mailSettings?reset=1','access CiviMail,administer CiviCRM','AND',215,1,NULL,4),(220,1,'Mailer Settings','Mailer Settings','civicrm/admin/mail?reset=1','access CiviMail,administer CiviCRM','AND',215,1,NULL,5),(221,1,'CiviMail Component Settings','CiviMail Component Settings','civicrm/admin/setting/preferences/mailing?reset=1','access CiviMail,administer CiviCRM','AND',215,1,NULL,6),(222,1,'CiviMember','CiviMember',NULL,'access CiviMember,administer CiviCRM','AND',110,1,NULL,15),(223,1,'Membership Types','Membership Types','civicrm/admin/member/membershipType?reset=1','access CiviMember,administer CiviCRM','AND',222,1,NULL,1),(224,1,'Membership Status Rules','Membership Status Rules','civicrm/admin/member/membershipStatus?reset=1','access CiviMember,administer CiviCRM','AND',222,1,1,2),(225,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add','access CiviMember,administer CiviCRM','AND',222,1,NULL,3),(226,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1','access CiviMember,administer CiviCRM','AND',222,1,NULL,4),(227,1,'CiviMember Component Settings','CiviMember Component Settings','civicrm/admin/setting/preferences/member?reset=1','access CiviMember,administer CiviCRM','AND',222,1,NULL,5),(228,1,'CiviReport','CiviReport',NULL,'access CiviReport,administer CiviCRM','AND',110,1,NULL,16),(229,1,'All Reports','All Reports','civicrm/report/list?reset=1','access CiviReport','',228,1,NULL,1),(230,1,'Create New Report from Template','Create New Report from Template','civicrm/admin/report/template/list?reset=1','administer Reports','',228,1,NULL,2),(231,1,'Manage Templates','Manage Templates','civicrm/admin/report/options/report_template?reset=1','administer Reports','',228,1,NULL,3),(232,1,'Register Report','Register Report','civicrm/admin/report/register?reset=1','administer Reports','',228,1,NULL,4),(233,1,'Support','Support',NULL,NULL,'',NULL,1,NULL,110),(234,1,'Get started','Get started','https://civicrm.org/get-started?src=iam',NULL,'AND',233,1,NULL,1),(235,1,'Documentation','Documentation','https://civicrm.org/documentation?src=iam',NULL,'AND',233,1,NULL,2),(236,1,'Ask a question','Ask a question','https://civicrm.org/ask-a-question?src=iam',NULL,'AND',233,1,NULL,3),(237,1,'Get expert help','Get expert help','https://civicrm.org/experts?src=iam',NULL,'AND',233,1,NULL,4),(238,1,'About CiviCRM','About CiviCRM','https://civicrm.org/about?src=iam',NULL,'AND',233,1,1,5),(239,1,'Register your site','Register your site','https://civicrm.org/register-your-site?src=iam&sid={sid}',NULL,'AND',233,1,NULL,6),(240,1,'Join CiviCRM','Join CiviCRM','https://civicrm.org/become-a-member?src=iam&sid={sid}',NULL,'AND',233,1,NULL,7),(241,1,'Developer','Developer',NULL,'administer CiviCRM','',233,1,1,8),(242,1,'API Explorer','API Explorer','civicrm/api','administer CiviCRM','',241,1,NULL,1),(243,1,'Developer Docs','Developer Docs','https://civicrm.org/developer-documentation?src=iam','administer CiviCRM','',241,1,NULL,3),(244,1,'Reports','Reports',NULL,'access CiviReport','',NULL,1,NULL,95),(245,1,'Contact Reports','Contact Reports','civicrm/report/list?compid=99&reset=1','administer CiviCRM','',244,1,0,1),(246,1,'Contribution Reports','Contribution Reports','civicrm/report/list?compid=2&reset=1','access CiviContribute','',244,1,0,2),(247,1,'Pledge Reports','Pledge Reports','civicrm/report/list?compid=6&reset=1','access CiviPledge','',244,1,0,3),(248,1,'Event Reports','Event Reports','civicrm/report/list?compid=1&reset=1','access CiviEvent','',244,1,0,4),(249,1,'Mailing Reports','Mailing Reports','civicrm/report/list?compid=4&reset=1','access CiviMail','',244,1,0,5),(250,1,'Membership Reports','Membership Reports','civicrm/report/list?compid=3&reset=1','access CiviMember','',244,1,0,6),(251,1,'Campaign Reports','Campaign Reports','civicrm/report/list?compid=9&reset=1','interview campaign contacts,release campaign contacts,reserve campaign contacts,manage campaign,administer CiviCampaign,gotv campaign contacts','OR',244,1,0,7),(252,1,'Case Reports','Case Reports','civicrm/report/list?compid=7&reset=1','access my cases and activities,access all cases and activities,administer CiviCase','OR',244,1,0,8),(253,1,'Grant Reports','Grant Reports','civicrm/report/list?compid=5&reset=1','access CiviGrant','',244,1,0,9),(254,1,'All Reports','All Reports','civicrm/report/list?reset=1','access CiviReport','',244,1,1,10),(255,1,'New Student','New Student','civicrm/contact/add?ct=Individual&cst=Student&reset=1','add contacts','',16,1,NULL,1),(256,1,'New Parent','New Parent','civicrm/contact/add?ct=Individual&cst=Parent&reset=1','add contacts','',16,1,NULL,2),(257,1,'New Staff','New Staff','civicrm/contact/add?ct=Individual&cst=Staff&reset=1','add contacts','',16,1,NULL,3),(258,1,'New Team','New Team','civicrm/contact/add?ct=Organization&cst=Team&reset=1','add contacts','',18,1,NULL,1),(259,1,'New Sponsor','New Sponsor','civicrm/contact/add?ct=Organization&cst=Sponsor&reset=1','add contacts','',18,1,NULL,2); +INSERT INTO `civicrm_navigation` (`id`, `domain_id`, `label`, `name`, `url`, `permission`, `permission_operator`, `parent_id`, `is_active`, `has_separator`, `weight`) VALUES (1,1,'Home','Home','civicrm/dashboard?reset=1',NULL,'',NULL,1,NULL,0),(2,1,'Search','Search...',NULL,NULL,'',NULL,1,NULL,10),(3,1,'Find Contacts','Find Contacts','civicrm/contact/search?reset=1',NULL,'',2,1,NULL,1),(4,1,'Advanced Search','Advanced Search','civicrm/contact/search/advanced?reset=1',NULL,'',2,1,NULL,2),(5,1,'Full-text Search','Full-text Search','civicrm/contact/search/custom?csid=15&reset=1',NULL,'',2,1,NULL,3),(6,1,'Search Builder','Search Builder','civicrm/contact/search/builder?reset=1',NULL,'',2,1,1,4),(7,1,'Find Cases','Find Cases','civicrm/case/search?reset=1','access my cases and activities,access all cases and activities','OR',2,1,NULL,5),(8,1,'Find Contributions','Find Contributions','civicrm/contribute/search?reset=1','access CiviContribute','',2,1,NULL,6),(9,1,'Find Mailings','Find Mailings','civicrm/mailing?reset=1','access CiviMail','',2,1,NULL,7),(10,1,'Find Memberships','Find Memberships','civicrm/member/search?reset=1','access CiviMember','',2,1,NULL,8),(11,1,'Find Participants','Find Participants','civicrm/event/search?reset=1','access CiviEvent','',2,1,NULL,9),(12,1,'Find Pledges','Find Pledges','civicrm/pledge/search?reset=1','access CiviPledge','',2,1,NULL,10),(13,1,'Find Activities','Find Activities','civicrm/activity/search?reset=1',NULL,'',2,1,1,11),(14,1,'Custom Searches','Custom Searches','civicrm/contact/search/custom/list?reset=1',NULL,'',2,1,NULL,12),(15,1,'Contacts','Contacts',NULL,NULL,'',NULL,1,NULL,20),(16,1,'New Individual','New Individual','civicrm/contact/add?reset=1&ct=Individual','add contacts','',15,1,NULL,1),(17,1,'New Household','New Household','civicrm/contact/add?reset=1&ct=Household','add contacts','',15,1,NULL,2),(18,1,'New Organization','New Organization','civicrm/contact/add?reset=1&ct=Organization','add contacts','',15,1,1,3),(19,1,'Contact Reports','Contact Reports','civicrm/report/list?compid=99&reset=1','access CiviReport','',15,1,1,4),(20,1,'New Activity','New Activity','civicrm/activity?reset=1&action=add&context=standalone',NULL,'',15,1,NULL,5),(21,1,'New Email','New Email','civicrm/activity/email/add?atype=3&action=add&reset=1&context=standalone',NULL,'',15,1,1,6),(22,1,'Import Contacts','Import Contacts','civicrm/import/contact?reset=1','import contacts','',15,1,NULL,7),(23,1,'Import Activities','Import Activities','civicrm/import/activity?reset=1','import contacts','',15,1,1,8),(24,1,'New Group','New Group','civicrm/group/add?reset=1','edit groups','',15,1,NULL,9),(25,1,'Manage Groups','Manage Groups','civicrm/group?reset=1','access CiviCRM','',15,1,1,10),(26,1,'New Tag','New Tag','civicrm/admin/tag?reset=1&action=add','administer CiviCRM','',15,1,NULL,11),(27,1,'Manage Tags (Categories)','Manage Tags (Categories)','civicrm/admin/tag?reset=1','administer CiviCRM','',15,1,1,12),(28,1,'Find and Merge Duplicate Contacts','Find and Merge Duplicate Contacts','civicrm/contact/deduperules?reset=1','administer dedupe rules,merge duplicate contacts','OR',15,1,NULL,13),(29,1,'Contributions','Contributions',NULL,'access CiviContribute','',NULL,1,NULL,30),(30,1,'Dashboard','Dashboard','civicrm/contribute?reset=1','access CiviContribute','',29,1,NULL,1),(31,1,'New Contribution','New Contribution','civicrm/contribute/add?reset=1&action=add&context=standalone','access CiviContribute,edit contributions','AND',29,1,NULL,2),(32,1,'Find Contributions','Find Contributions','civicrm/contribute/search?reset=1','access CiviContribute','',29,1,NULL,3),(33,1,'Contribution Reports','Contribution Reports','civicrm/report/list?compid=2&reset=1','access CiviContribute','',29,1,1,4),(34,1,'Import Contributions','Import Contributions','civicrm/contribute/import?reset=1','access CiviContribute,edit contributions','AND',29,1,1,5),(35,1,'Batch Data Entry','Batch Data Entry','civicrm/batch?reset=1','access CiviContribute','',29,1,NULL,7),(36,1,'Pledges','Pledges',NULL,'access CiviPledge','',29,1,1,6),(37,1,'Accounting Batches','Accounting Batches',NULL,'view own manual batches,view all manual batches','OR',29,1,1,8),(38,1,'Dashboard','Dashboard','civicrm/pledge?reset=1','access CiviPledge','',36,1,NULL,1),(39,1,'New Pledge','New Pledge','civicrm/pledge/add?reset=1&action=add&context=standalone','access CiviPledge,edit pledges','AND',36,1,NULL,2),(40,1,'Find Pledges','Find Pledges','civicrm/pledge/search?reset=1','access CiviPledge','',36,1,NULL,3),(41,1,'Pledge Reports','Pledge Reports','civicrm/report/list?compid=6&reset=1','access CiviPledge','',36,1,0,4),(42,1,'New Contribution Page','New Contribution Page','civicrm/admin/contribute/add?reset=1&action=add','access CiviContribute,administer CiviCRM','AND',29,1,NULL,9),(43,1,'Manage Contribution Pages','Manage Contribution Pages','civicrm/admin/contribute?reset=1','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','access CiviContribute,administer CiviCRM','AND',29,1,NULL,11),(45,1,'Premiums (Thank-you Gifts)','Premiums','civicrm/admin/contribute/managePremiums?reset=1','access CiviContribute,administer CiviCRM','AND',29,1,1,12),(46,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add','access CiviContribute,administer CiviCRM','AND',29,1,NULL,13),(47,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1','access CiviContribute,administer CiviCRM','AND',29,1,NULL,14),(48,1,'New Batch','New Batch','civicrm/financial/batch?reset=1&action=add','create manual batch','AND',37,1,NULL,1),(49,1,'Open Batches','Open Batches','civicrm/financial/financialbatches?reset=1&batchStatus=1','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','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','view own manual batches,view all manual batches','OR',37,1,NULL,4),(52,1,'Events','Events',NULL,'access CiviEvent','',NULL,1,NULL,40),(53,1,'Dashboard','CiviEvent Dashboard','civicrm/event?reset=1','access CiviEvent','',52,1,NULL,1),(54,1,'Register Event Participant','Register Event Participant','civicrm/participant/add?reset=1&action=add&context=standalone','access CiviEvent,edit event participants','AND',52,1,NULL,2),(55,1,'Find Participants','Find Participants','civicrm/event/search?reset=1','access CiviEvent','',52,1,NULL,3),(56,1,'Event Reports','Event Reports','civicrm/report/list?compid=1&reset=1','access CiviEvent','',52,1,1,4),(57,1,'Import Participants','Import Participants','civicrm/event/import?reset=1','access CiviEvent,edit event participants','AND',52,1,1,5),(58,1,'New Event','New Event','civicrm/event/add?reset=1&action=add','access CiviEvent,edit all events','AND',52,1,NULL,6),(59,1,'Manage Events','Manage Events','civicrm/event/manage?reset=1','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','access CiviEvent,administer CiviCRM','AND',52,1,1,8),(61,1,'Event Templates','Event Templates','civicrm/admin/eventTemplate?reset=1','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','access CiviEvent,edit all events','AND',52,1,NULL,10),(63,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1','access CiviEvent,edit all events','AND',52,1,NULL,11),(64,1,'Mailings','Mailings',NULL,'access CiviMail,create mailings,approve mailings,schedule mailings','OR',NULL,1,NULL,50),(65,1,'New Mailing','New Mailing','civicrm/mailing/send?reset=1','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','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','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','access CiviMail,create mailings','OR',64,1,NULL,4),(69,1,'Mailing Reports','Mailing Reports','civicrm/report/list?compid=4&reset=1','access CiviMail','',64,1,1,5),(70,1,'Headers, Footers, and Automated Messages','Headers, Footers, and Automated Messages','civicrm/admin/component?reset=1','access CiviMail,administer CiviCRM','AND',64,1,NULL,6),(71,1,'Message Templates','Message Templates','civicrm/admin/messageTemplates?reset=1','edit message templates','',64,1,NULL,7),(72,1,'From Email Addresses','From Email Addresses','civicrm/admin/options/from_email_address?reset=1','administer CiviCRM','',64,1,1,8),(73,1,'New SMS','New SMS','civicrm/sms/send?reset=1','administer CiviCRM',NULL,64,1,NULL,9),(74,1,'Find Mass SMS','Find Mass SMS','civicrm/mailing/browse?reset=1&sms=1','administer CiviCRM',NULL,64,1,1,10),(75,1,'New A/B Test','New A/B Test','civicrm/a/#/abtest/new','access CiviMail','',64,1,NULL,15),(76,1,'Manage A/B Tests','Manage A/B Tests','civicrm/a/#/abtest','access CiviMail','',64,1,1,16),(77,1,'Memberships','Memberships',NULL,'access CiviMember','',NULL,1,NULL,60),(78,1,'Dashboard','Dashboard','civicrm/member?reset=1','access CiviMember','',77,1,NULL,1),(79,1,'New Membership','New Membership','civicrm/member/add?reset=1&action=add&context=standalone','access CiviMember,edit memberships','AND',77,1,NULL,2),(80,1,'Find Memberships','Find Memberships','civicrm/member/search?reset=1','access CiviMember','',77,1,NULL,3),(81,1,'Membership Reports','Membership Reports','civicrm/report/list?compid=3&reset=1','access CiviMember','',77,1,1,4),(82,1,'Batch Data Entry','Batch Data Entry','civicrm/batch?reset=1','access CiviContribute','',77,1,NULL,5),(83,1,'Import Memberships','Import Members','civicrm/member/import?reset=1','access CiviMember,edit memberships','AND',77,1,1,6),(84,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add','access CiviMember,administer CiviCRM','AND',77,1,NULL,7),(85,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1','access CiviMember,administer CiviCRM','AND',77,1,NULL,8),(86,1,'Campaigns','Campaigns',NULL,'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','manage campaign,administer CiviCampaign','OR',86,1,NULL,1),(88,1,'Surveys','Survey Dashboard','civicrm/campaign?reset=1&subPage=survey','manage campaign,administer CiviCampaign','OR',87,1,NULL,1),(89,1,'Petitions','Petition Dashboard','civicrm/campaign?reset=1&subPage=petition','manage campaign,administer CiviCampaign','OR',87,1,NULL,2),(90,1,'Campaigns','Campaign Dashboard','civicrm/campaign?reset=1&subPage=campaign','manage campaign,administer CiviCampaign','OR',87,1,NULL,3),(91,1,'New Campaign','New Campaign','civicrm/campaign/add?reset=1','manage campaign,administer CiviCampaign','OR',86,1,NULL,2),(92,1,'New Survey','New Survey','civicrm/survey/add?reset=1','manage campaign,administer CiviCampaign','OR',86,1,NULL,3),(93,1,'New Petition','New Petition','civicrm/petition/add?reset=1','manage campaign,administer CiviCampaign','OR',86,1,NULL,4),(94,1,'Reserve Respondents','Reserve Respondents','civicrm/survey/search?reset=1&op=reserve','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','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','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','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','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','administer CiviCampaign,manage campaign,release campaign contacts,gotv campaign contacts','OR',86,1,NULL,10),(100,1,'Cases','Cases',NULL,'access my cases and activities,access all cases and activities','OR',NULL,1,NULL,80),(101,1,'Dashboard','Dashboard','civicrm/case?reset=1','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','add cases,access all cases and activities','OR',100,1,NULL,2),(103,1,'Find Cases','Find Cases','civicrm/case/search?reset=1','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','access my cases and activities,access all cases and activities,administer CiviCase','OR',100,1,0,4),(105,1,'Grants','Grants',NULL,'access CiviGrant','',NULL,1,NULL,90),(106,1,'Dashboard','Dashboard','civicrm/grant?reset=1','access CiviGrant','',105,1,NULL,1),(107,1,'New Grant','New Grant','civicrm/grant/add?reset=1&action=add&context=standalone','access CiviGrant,edit grants','AND',105,1,NULL,2),(108,1,'Find Grants','Find Grants','civicrm/grant/search?reset=1','access CiviGrant','',105,1,1,3),(109,1,'Grant Reports','Grant Reports','civicrm/report/list?compid=5&reset=1','access CiviGrant','',105,1,0,4),(110,1,'Administer','Administer',NULL,'administer CiviCRM','',NULL,1,NULL,100),(111,1,'Administration Console','Administration Console','civicrm/admin?reset=1','administer CiviCRM','',110,1,NULL,1),(112,1,'Configuration Checklist','Configuration Checklist','civicrm/admin/configtask?reset=1','administer CiviCRM','',111,1,NULL,1),(113,1,'Customize Data and Screens','Customize Data and Screens',NULL,'administer CiviCRM','',110,1,NULL,3),(114,1,'Custom Fields','Custom Fields','civicrm/admin/custom/group?reset=1','administer CiviCRM','',113,1,NULL,1),(115,1,'Profiles','Profiles','civicrm/admin/uf/group?reset=1','administer CiviCRM','',113,1,NULL,2),(116,1,'Tags (Categories)','Tags (Categories)','civicrm/admin/tag?reset=1','administer CiviCRM','',113,1,NULL,3),(117,1,'Activity Types','Activity Types','civicrm/admin/options/activity_type?reset=1','administer CiviCRM','',113,1,NULL,4),(118,1,'Relationship Types','Relationship Types','civicrm/admin/reltype?reset=1','administer CiviCRM','',113,1,NULL,5),(119,1,'Contact Types','Contact Types','civicrm/admin/options/subtype?reset=1','administer CiviCRM','',113,1,NULL,6),(120,1,'Display Preferences','Display Preferences','civicrm/admin/setting/preferences/display?reset=1','administer CiviCRM','',113,1,NULL,9),(121,1,'Search Preferences','Search Preferences','civicrm/admin/setting/search?reset=1','administer CiviCRM','',113,1,NULL,10),(122,1,'Date Preferences','Date Preferences','civicrm/admin/setting/preferences/date?reset=1','administer CiviCRM','',113,1,NULL,11),(123,1,'Navigation Menu','Navigation Menu','civicrm/admin/menu?reset=1','administer CiviCRM','',113,1,NULL,12),(124,1,'Word Replacements','Word Replacements','civicrm/admin/options/wordreplacements?reset=1','administer CiviCRM','',113,1,NULL,13),(125,1,'Manage Custom Searches','Manage Custom Searches','civicrm/admin/options/custom_search?reset=1','administer CiviCRM','',113,1,NULL,14),(126,1,'Dropdown Options','Dropdown Options',NULL,'administer CiviCRM','',113,1,NULL,8),(127,1,'Gender Options','Gender Options','civicrm/admin/options/gender?reset=1','administer CiviCRM','',126,1,NULL,1),(128,1,'Individual Prefixes (Ms, Mr...)','Individual Prefixes (Ms, Mr...)','civicrm/admin/options/individual_prefix?reset=1','administer CiviCRM','',126,1,NULL,2),(129,1,'Individual Suffixes (Jr, Sr...)','Individual Suffixes (Jr, Sr...)','civicrm/admin/options/individual_suffix?reset=1','administer CiviCRM','',126,1,NULL,3),(130,1,'Instant Messenger Services','Instant Messenger Services','civicrm/admin/options/instant_messenger_service?reset=1','administer CiviCRM','',126,1,NULL,4),(131,1,'Location Types (Home, Work...)','Location Types (Home, Work...)','civicrm/admin/locationType?reset=1','administer CiviCRM','',126,1,NULL,5),(132,1,'Mobile Phone Providers','Mobile Phone Providers','civicrm/admin/options/mobile_provider?reset=1','administer CiviCRM','',126,1,NULL,6),(133,1,'Phone Types','Phone Types','civicrm/admin/options/phone_type?reset=1','administer CiviCRM','',126,1,NULL,7),(134,1,'Website Types','Website Types','civicrm/admin/options/website_type?reset=1','administer CiviCRM','',126,1,NULL,8),(135,1,'Communications','Communications',NULL,'administer CiviCRM','',110,1,NULL,4),(136,1,'Organization Address and Contact Info','Organization Address and Contact Info','civicrm/admin/domain?action=update&reset=1','administer CiviCRM','',135,1,NULL,1),(137,1,'FROM Email Addresses','FROM Email Addresses','civicrm/admin/options/from_email_address?reset=1','administer CiviCRM','',135,1,NULL,2),(138,1,'Message Templates','Message Templates','civicrm/admin/messageTemplates?reset=1','administer CiviCRM','',135,1,NULL,3),(139,1,'Schedule Reminders','Schedule Reminders','civicrm/admin/scheduleReminders?reset=1','administer CiviCRM','',135,1,NULL,4),(140,1,'Preferred Communication Methods','Preferred Communication Methods','civicrm/admin/options/preferred_communication_method?reset=1','administer CiviCRM','',135,1,NULL,5),(141,1,'Label Formats','Label Formats','civicrm/admin/labelFormats?reset=1','administer CiviCRM','',135,1,NULL,6),(142,1,'Print Page (PDF) Formats','Print Page (PDF) Formats','civicrm/admin/pdfFormats?reset=1','administer CiviCRM','',135,1,NULL,7),(143,1,'Communication Style Options','Communication Style Options','civicrm/admin/options/communication_style?reset=1','administer CiviCRM','',135,1,NULL,8),(144,1,'Email Greeting Formats','Email Greeting Formats','civicrm/admin/options/email_greeting?reset=1','administer CiviCRM','',135,1,NULL,9),(145,1,'Postal Greeting Formats','Postal Greeting Formats','civicrm/admin/options/postal_greeting?reset=1','administer CiviCRM','',135,1,NULL,10),(146,1,'Addressee Formats','Addressee Formats','civicrm/admin/options/addressee?reset=1','administer CiviCRM','',135,1,NULL,11),(147,1,'Localization','Localization',NULL,'administer CiviCRM','',110,1,NULL,6),(148,1,'Languages, Currency, Locations','Languages, Currency, Locations','civicrm/admin/setting/localization?reset=1','administer CiviCRM','',147,1,NULL,1),(149,1,'Address Settings','Address Settings','civicrm/admin/setting/preferences/address?reset=1','administer CiviCRM','',147,1,NULL,2),(150,1,'Date Formats','Date Formats','civicrm/admin/setting/date?reset=1','administer CiviCRM','',147,1,NULL,3),(151,1,'Preferred Language Options','Preferred Language Options','civicrm/admin/options/languages?reset=1','administer CiviCRM','',147,1,NULL,4),(152,1,'Users and Permissions','Users and Permissions',NULL,'administer CiviCRM','',110,1,NULL,7),(153,1,'Permissions (Access Control)','Permissions (Access Control)','civicrm/admin/access?reset=1','administer CiviCRM','',152,1,NULL,1),(154,1,'Synchronize Users to Contacts','Synchronize Users to Contacts','civicrm/admin/synchUser?reset=1','administer CiviCRM','',152,1,NULL,2),(155,1,'System Settings','System Settings',NULL,'administer CiviCRM','',110,1,NULL,8),(156,1,'Enable CiviCRM Components','Enable Components','civicrm/admin/setting/component?reset=1','administer CiviCRM','',155,1,NULL,1),(157,1,'Manage Extensions','Manage Extensions','civicrm/admin/extensions?reset=1','administer CiviCRM','',155,1,NULL,2),(158,1,'Connections','Connections','civicrm/a/#/cxn','administer CiviCRM','',155,1,NULL,3),(159,1,'Outbound Email (SMTP/Sendmail)','Outbound Email','civicrm/admin/setting/smtp?reset=1','administer CiviCRM','',155,1,NULL,4),(160,1,'Payment Processors','Payment Processors','civicrm/admin/paymentProcessor?reset=1','administer CiviCRM','',155,1,NULL,5),(161,1,'Mapping and Geocoding','Mapping and Geocoding','civicrm/admin/setting/mapping?reset=1','administer CiviCRM','',155,1,NULL,6),(162,1,'Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)','Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)','civicrm/admin/setting/misc?reset=1','administer CiviCRM','',155,1,NULL,7),(163,1,'Directories','Directories','civicrm/admin/setting/path?reset=1','administer CiviCRM','',155,1,NULL,8),(164,1,'Resource URLs','Resource URLs','civicrm/admin/setting/url?reset=1','administer CiviCRM','',155,1,NULL,9),(165,1,'Cleanup Caches and Update Paths','Cleanup Caches and Update Paths','civicrm/admin/setting/updateConfigBackend?reset=1','administer CiviCRM','',155,1,NULL,10),(166,1,'CMS Database Integration','CMS Integration','civicrm/admin/setting/uf?reset=1','administer CiviCRM','',155,1,NULL,11),(167,1,'Safe File Extensions','Safe File Extensions','civicrm/admin/options/safe_file_extension?reset=1','administer CiviCRM','',155,1,NULL,12),(168,1,'Option Groups','Option Groups','civicrm/admin/options?reset=1','administer CiviCRM','',155,1,NULL,13),(169,1,'Import/Export Mappings','Import/Export Mappings','civicrm/admin/mapping?reset=1','administer CiviCRM','',155,1,NULL,14),(170,1,'Debugging and Error Handling','Debugging and Error Handling','civicrm/admin/setting/debug?reset=1','administer CiviCRM','',155,1,NULL,15),(171,1,'Multi Site Settings','Multi Site Settings','civicrm/admin/setting/preferences/multisite?reset=1','administer CiviCRM','',155,1,NULL,16),(172,1,'Scheduled Jobs','Scheduled Jobs','civicrm/admin/job?reset=1','administer CiviCRM','',155,1,NULL,17),(173,1,'SMS Providers','SMS Providers','civicrm/admin/sms/provider?reset=1','administer CiviCRM','',155,1,NULL,18),(174,1,'CiviCampaign','CiviCampaign',NULL,'administer CiviCampaign,administer CiviCRM','AND',110,1,NULL,9),(175,1,'Survey Types','Survey Types','civicrm/admin/campaign/surveyType?reset=1','administer CiviCampaign','',174,1,NULL,1),(176,1,'Campaign Types','Campaign Types','civicrm/admin/options/campaign_type?reset=1','administer CiviCampaign','',174,1,NULL,2),(177,1,'Campaign Status','Campaign Status','civicrm/admin/options/campaign_status?reset=1','administer CiviCampaign','',174,1,NULL,3),(178,1,'Engagement Index','Engagement Index','civicrm/admin/options/engagement_index?reset=1','administer CiviCampaign','',174,1,NULL,4),(179,1,'CiviCampaign Component Settings','CiviCampaign Component Settings','civicrm/admin/setting/preferences/campaign?reset=1','administer CiviCampaign','',174,1,NULL,5),(180,1,'CiviCase','CiviCase',NULL,'administer CiviCase',NULL,110,1,NULL,10),(181,1,'Case Types','Case Types','civicrm/a/#/caseType','administer CiviCase',NULL,180,1,NULL,1),(182,1,'Redaction Rules','Redaction Rules','civicrm/admin/options/redaction_rule?reset=1','administer CiviCase',NULL,180,1,NULL,2),(183,1,'Case Statuses','Case Statuses','civicrm/admin/options/case_status?reset=1','administer CiviCase',NULL,180,1,NULL,3),(184,1,'Encounter Medium','Encounter Medium','civicrm/admin/options/encounter_medium?reset=1','administer CiviCase',NULL,180,1,NULL,4),(185,1,'CiviContribute','CiviContribute',NULL,'access CiviContribute,administer CiviCRM','AND',110,1,NULL,11),(186,1,'New Contribution Page','New Contribution Page','civicrm/admin/contribute?reset=1&action=add','access CiviContribute,administer CiviCRM','AND',185,1,NULL,6),(187,1,'Manage Contribution Pages','Manage Contribution Pages','civicrm/admin/contribute?reset=1','access CiviContribute,administer CiviCRM','AND',185,1,1,7),(188,1,'Personal Campaign Pages','Personal Campaign Pages','civicrm/admin/pcp?reset=1&page_type=contribute','access CiviContribute,administer CiviCRM','AND',185,1,NULL,8),(189,1,'Premiums (Thank-you Gifts)','Premiums','civicrm/admin/contribute/managePremiums?reset=1','access CiviContribute,administer CiviCRM','AND',185,1,1,9),(190,1,'Financial Types','Financial Types','civicrm/admin/financial/financialType?reset=1','access CiviContribute,administer CiviCRM','AND',185,1,NULL,10),(191,1,'Financial Accounts','Financial Accounts','civicrm/admin/financial/financialAccount?reset=1','access CiviContribute,administer CiviCRM','AND',185,1,NULL,11),(192,1,'Payment Instruments','Payment Instruments','civicrm/admin/options/payment_instrument?reset=1','access CiviContribute,administer CiviCRM','AND',185,1,NULL,12),(193,1,'Accepted Credit Cards','Accepted Credit Cards','civicrm/admin/options/accept_creditcard?reset=1','access CiviContribute,administer CiviCRM','AND',185,1,NULL,13),(194,1,'Soft Credit Types','Soft Credit Types','civicrm/admin/options/soft_credit_type?reset=1','access CiviContribute,administer CiviCRM','AND',185,1,1,14),(195,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add','access CiviContribute,administer CiviCRM','AND',185,1,NULL,15),(196,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1','access CiviContribute,administer CiviCRM','AND',185,1,NULL,16),(197,1,'Payment Processors','Payment Processors','civicrm/admin/paymentProcessor?reset=1','administer CiviCRM','',185,1,NULL,17),(198,1,'CiviContribute Component Settings','CiviContribute Component Settings','civicrm/admin/setting/preferences/contribute?reset=1','administer CiviCRM','',185,1,NULL,18),(199,1,'CiviEvent','CiviEvent',NULL,'access CiviEvent,administer CiviCRM','AND',110,1,NULL,12),(200,1,'New Event','New Event','civicrm/event/add?reset=1&action=add','access CiviEvent,administer CiviCRM','AND',199,1,NULL,1),(201,1,'Manage Events','Manage Events','civicrm/event/manage?reset=1','access CiviEvent,administer CiviCRM','AND',199,1,1,2),(202,1,'Personal Campaign Pages','Personal Campaign Pages','civicrm/admin/pcp?reset=1&page_type=event','access CiviEvent,administer CiviCRM','AND',199,1,1,3),(203,1,'Event Templates','Event Templates','civicrm/admin/eventTemplate?reset=1','access CiviEvent,administer CiviCRM','AND',199,1,1,4),(204,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add','access CiviEvent,administer CiviCRM','AND',199,1,NULL,5),(205,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1','access CiviEvent,administer CiviCRM','AND',199,1,1,6),(206,1,'Event Types','Event Types','civicrm/admin/options/event_type?reset=1','access CiviEvent,administer CiviCRM','AND',199,1,NULL,7),(207,1,'Participant Statuses','Participant Statuses','civicrm/admin/participant_status?reset=1','access CiviEvent,administer CiviCRM','AND',199,1,NULL,8),(208,1,'Participant Roles','Participant Roles','civicrm/admin/options/participant_role?reset=1','access CiviEvent,administer CiviCRM','AND',199,1,NULL,9),(209,1,'Participant Listing Options','Participant Listing Options','civicrm/admin/options/participant_listing?reset=1','access CiviEvent,administer CiviCRM','AND',199,1,NULL,10),(210,1,'Event Name Badge Layouts','Event Name Badge Layouts','civicrm/admin/badgelayout?reset=1','access CiviEvent,administer CiviCRM','AND',199,1,NULL,11),(211,1,'Payment Processors','Payment Processors','civicrm/admin/paymentProcessor?reset=1','administer CiviCRM','',199,1,NULL,12),(212,1,'CiviEvent Component Settings','CiviEvent Component Settings','civicrm/admin/setting/preferences/event?reset=1','access CiviEvent,administer CiviCRM','AND',199,1,NULL,13),(213,1,'CiviGrant','CiviGrant',NULL,'access CiviGrant,administer CiviCRM','AND',110,1,NULL,13),(214,1,'Grant Types','Grant Types','civicrm/admin/options/grant_type?reset=1','access CiviGrant,administer CiviCRM','AND',213,1,NULL,1),(215,1,'Grant Status','Grant Status','civicrm/admin/options/grant_status?reset=1','access CiviGrant,administer CiviCRM','AND',213,1,NULL,2),(216,1,'CiviMail','CiviMail',NULL,'access CiviMail,administer CiviCRM','AND',110,1,NULL,14),(217,1,'Headers, Footers, and Automated Messages','Headers, Footers, and Automated Messages','civicrm/admin/component?reset=1','access CiviMail,administer CiviCRM','AND',216,1,NULL,1),(218,1,'Message Templates','Message Templates','civicrm/admin/messageTemplates?reset=1','administer CiviCRM','',216,1,NULL,2),(219,1,'From Email Addresses','From Email Addresses','civicrm/admin/options/from_email_address?reset=1','administer CiviCRM','',216,1,NULL,3),(220,1,'Mail Accounts','Mail Accounts','civicrm/admin/mailSettings?reset=1','access CiviMail,administer CiviCRM','AND',216,1,NULL,4),(221,1,'Mailer Settings','Mailer Settings','civicrm/admin/mail?reset=1','access CiviMail,administer CiviCRM','AND',216,1,NULL,5),(222,1,'CiviMail Component Settings','CiviMail Component Settings','civicrm/admin/setting/preferences/mailing?reset=1','access CiviMail,administer CiviCRM','AND',216,1,NULL,6),(223,1,'CiviMember','CiviMember',NULL,'access CiviMember,administer CiviCRM','AND',110,1,NULL,15),(224,1,'Membership Types','Membership Types','civicrm/admin/member/membershipType?reset=1','access CiviMember,administer CiviCRM','AND',223,1,NULL,1),(225,1,'Membership Status Rules','Membership Status Rules','civicrm/admin/member/membershipStatus?reset=1','access CiviMember,administer CiviCRM','AND',223,1,1,2),(226,1,'New Price Set','New Price Set','civicrm/admin/price?reset=1&action=add','access CiviMember,administer CiviCRM','AND',223,1,NULL,3),(227,1,'Manage Price Sets','Manage Price Sets','civicrm/admin/price?reset=1','access CiviMember,administer CiviCRM','AND',223,1,NULL,4),(228,1,'CiviMember Component Settings','CiviMember Component Settings','civicrm/admin/setting/preferences/member?reset=1','access CiviMember,administer CiviCRM','AND',223,1,NULL,5),(229,1,'CiviReport','CiviReport',NULL,'access CiviReport,administer CiviCRM','AND',110,1,NULL,16),(230,1,'All Reports','All Reports','civicrm/report/list?reset=1','access CiviReport','',229,1,NULL,1),(231,1,'Create New Report from Template','Create New Report from Template','civicrm/admin/report/template/list?reset=1','administer Reports','',229,1,NULL,2),(232,1,'Manage Templates','Manage Templates','civicrm/admin/report/options/report_template?reset=1','administer Reports','',229,1,NULL,3),(233,1,'Register Report','Register Report','civicrm/admin/report/register?reset=1','administer Reports','',229,1,NULL,4),(234,1,'Support','Support',NULL,NULL,'',NULL,1,NULL,110),(235,1,'Get started','Get started','https://civicrm.org/get-started?src=iam',NULL,'AND',234,1,NULL,1),(236,1,'Documentation','Documentation','https://civicrm.org/documentation?src=iam',NULL,'AND',234,1,NULL,2),(237,1,'Ask a question','Ask a question','https://civicrm.org/ask-a-question?src=iam',NULL,'AND',234,1,NULL,3),(238,1,'Get expert help','Get expert help','https://civicrm.org/experts?src=iam',NULL,'AND',234,1,NULL,4),(239,1,'About CiviCRM','About CiviCRM','https://civicrm.org/about?src=iam',NULL,'AND',234,1,1,5),(240,1,'Register your site','Register your site','https://civicrm.org/register-your-site?src=iam&sid={sid}',NULL,'AND',234,1,NULL,6),(241,1,'Join CiviCRM','Join CiviCRM','https://civicrm.org/become-a-member?src=iam&sid={sid}',NULL,'AND',234,1,NULL,7),(242,1,'Developer','Developer',NULL,'administer CiviCRM','',234,1,1,8),(243,1,'API Explorer','API Explorer','civicrm/api','administer CiviCRM','',242,1,NULL,1),(244,1,'Developer Docs','Developer Docs','https://civicrm.org/developer-documentation?src=iam','administer CiviCRM','',242,1,NULL,3),(245,1,'Reports','Reports',NULL,'access CiviReport','',NULL,1,NULL,95),(246,1,'Contact Reports','Contact Reports','civicrm/report/list?compid=99&reset=1','administer CiviCRM','',245,1,0,1),(247,1,'Contribution Reports','Contribution Reports','civicrm/report/list?compid=2&reset=1','access CiviContribute','',245,1,0,2),(248,1,'Pledge Reports','Pledge Reports','civicrm/report/list?compid=6&reset=1','access CiviPledge','',245,1,0,3),(249,1,'Event Reports','Event Reports','civicrm/report/list?compid=1&reset=1','access CiviEvent','',245,1,0,4),(250,1,'Mailing Reports','Mailing Reports','civicrm/report/list?compid=4&reset=1','access CiviMail','',245,1,0,5),(251,1,'Membership Reports','Membership Reports','civicrm/report/list?compid=3&reset=1','access CiviMember','',245,1,0,6),(252,1,'Campaign Reports','Campaign Reports','civicrm/report/list?compid=9&reset=1','interview campaign contacts,release campaign contacts,reserve campaign contacts,manage campaign,administer CiviCampaign,gotv campaign contacts','OR',245,1,0,7),(253,1,'Case Reports','Case Reports','civicrm/report/list?compid=7&reset=1','access my cases and activities,access all cases and activities,administer CiviCase','OR',245,1,0,8),(254,1,'Grant Reports','Grant Reports','civicrm/report/list?compid=5&reset=1','access CiviGrant','',245,1,0,9),(255,1,'All Reports','All Reports','civicrm/report/list?reset=1','access CiviReport','',245,1,1,10),(256,1,'New Student','New Student','civicrm/contact/add?ct=Individual&cst=Student&reset=1','add contacts','',16,1,NULL,1),(257,1,'New Parent','New Parent','civicrm/contact/add?ct=Individual&cst=Parent&reset=1','add contacts','',16,1,NULL,2),(258,1,'New Staff','New Staff','civicrm/contact/add?ct=Individual&cst=Staff&reset=1','add contacts','',16,1,NULL,3),(259,1,'New Team','New Team','civicrm/contact/add?ct=Organization&cst=Team&reset=1','add contacts','',18,1,NULL,1),(260,1,'New Sponsor','New Sponsor','civicrm/contact/add?ct=Organization&cst=Sponsor&reset=1','add contacts','',18,1,NULL,2); /*!40000 ALTER TABLE `civicrm_navigation` ENABLE KEYS */; UNLOCK TABLES; @@ -986,7 +986,7 @@ 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`, `modified_date`, `subject`, `privacy`) VALUES (1,'civicrm_contact',139,'Arrange collection of funds from members',1,'2015-10-05',NULL,'0'),(2,'civicrm_contact',90,'Organize the Terry Fox run',1,'2015-05-26',NULL,'0'),(3,'civicrm_contact',160,'Get the registration done for NGO status',1,'2015-08-30',NULL,'0'),(4,'civicrm_contact',75,'Arrange for cricket match with Sunil Gavaskar',1,'2015-03-13',NULL,'0'),(5,'civicrm_contact',64,'Connect for presentation',1,'2015-04-05',NULL,'0'),(6,'civicrm_contact',147,'Organize the Terry Fox run',1,'2015-09-10',NULL,'0'),(7,'civicrm_contact',96,'Send reminder for annual dinner',1,'2015-04-01',NULL,'0'),(8,'civicrm_contact',113,'Chart out route map for next 10k run',1,'2015-08-20',NULL,'0'),(9,'civicrm_contact',36,'Organize the Terry Fox run',1,'2015-02-24',NULL,'0'),(10,'civicrm_contact',40,'Arrange collection of funds from members',1,'2015-02-21',NULL,'0'),(11,'civicrm_contact',95,'Get the registration done for NGO status',1,'2015-06-10',NULL,'0'),(12,'civicrm_contact',44,'Arrange for cricket match with Sunil Gavaskar',1,'2014-11-07',NULL,'0'),(13,'civicrm_contact',200,'Send newsletter for April 2005',1,'2015-06-08',NULL,'0'),(14,'civicrm_contact',10,'Reminder screening of \"Black\" on next Friday',1,'2015-08-14',NULL,'0'),(15,'civicrm_contact',155,'Contact the Commisioner of Charities',1,'2014-12-31',NULL,'0'),(16,'civicrm_contact',40,'Connect for presentation',1,'2015-07-21',NULL,'0'),(17,'civicrm_contact',142,'Chart out route map for next 10k run',1,'2015-07-30',NULL,'0'),(18,'civicrm_contact',52,'Send reminder for annual dinner',1,'2015-08-18',NULL,'0'),(19,'civicrm_contact',56,'Contact the Commisioner of Charities',1,'2015-02-24',NULL,'0'),(20,'civicrm_contact',131,'Send reminder for annual dinner',1,'2015-02-05',NULL,'0'); +INSERT INTO `civicrm_note` (`id`, `entity_table`, `entity_id`, `note`, `contact_id`, `modified_date`, `subject`, `privacy`) VALUES (1,'civicrm_contact',83,'Connect for presentation',1,'2016-01-05',NULL,'0'),(2,'civicrm_contact',176,'Send reminder for annual dinner',1,'2015-01-13',NULL,'0'),(3,'civicrm_contact',43,'Send reminder for annual dinner',1,'2015-10-18',NULL,'0'),(4,'civicrm_contact',94,'Connect for presentation',1,'2015-11-10',NULL,'0'),(5,'civicrm_contact',157,'Connect for presentation',1,'2015-07-11',NULL,'0'),(6,'civicrm_contact',100,'Contact the Commisioner of Charities',1,'2015-02-12',NULL,'0'),(7,'civicrm_contact',49,'Get the registration done for NGO status',1,'2015-01-15',NULL,'0'),(8,'civicrm_contact',120,'Send reminder for annual dinner',1,'2015-08-15',NULL,'0'),(9,'civicrm_contact',54,'Get the registration done for NGO status',1,'2015-06-04',NULL,'0'),(10,'civicrm_contact',125,'Arrange collection of funds from members',1,'2015-07-05',NULL,'0'),(11,'civicrm_contact',72,'Reminder screening of \"Black\" on next Friday',1,'2015-04-13',NULL,'0'),(12,'civicrm_contact',184,'Arrange for cricket match with Sunil Gavaskar',1,'2015-11-25',NULL,'0'),(13,'civicrm_contact',196,'Arrange for cricket match with Sunil Gavaskar',1,'2015-04-01',NULL,'0'),(14,'civicrm_contact',173,'Chart out route map for next 10k run',1,'2015-07-16',NULL,'0'),(15,'civicrm_contact',70,'Connect for presentation',1,'2015-02-23',NULL,'0'),(16,'civicrm_contact',100,'Connect for presentation',1,'2015-03-21',NULL,'0'),(17,'civicrm_contact',189,'Send newsletter for April 2005',1,'2015-11-25',NULL,'0'),(18,'civicrm_contact',57,'Send reminder for annual dinner',1,'2015-03-09',NULL,'0'),(19,'civicrm_contact',11,'Send newsletter for April 2005',1,'2015-10-22',NULL,'0'),(20,'civicrm_contact',179,'Reminder screening of \"Black\" on next Friday',1,'2015-07-11',NULL,'0'); /*!40000 ALTER TABLE `civicrm_note` ENABLE KEYS */; UNLOCK TABLES; @@ -1025,7 +1025,7 @@ 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`) VALUES (1,38,1,1,'1','2009-01-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(2,76,2,2,'2','2008-05-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(3,190,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),(4,92,1,4,'4','2008-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(5,67,2,1,'1','2008-01-10 00:00:00','Check','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(6,3,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),(7,84,1,3,'3','2009-07-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(8,54,2,4,'4','2009-03-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(9,55,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),(10,25,1,2,'2','2008-02-01 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(11,130,2,3,'3','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(12,182,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),(13,145,1,1,'2','2008-06-04 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(14,100,2,2,'3','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(15,198,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),(16,44,1,4,'2','2009-01-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(17,139,2,2,'3','2008-01-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(18,75,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),(19,8,1,2,'1','2008-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(20,157,2,4,'1','2009-01-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(21,9,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),(22,90,1,2,'3','2009-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(23,103,2,4,'1','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(24,7,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),(25,133,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),(26,52,1,1,'1','2009-01-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(27,123,2,2,'2','2008-05-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(28,80,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),(29,89,1,4,'4','2009-12-13 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(30,41,2,1,'1','2009-12-14 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(31,109,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),(32,179,1,3,'3','2009-07-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(33,11,2,4,'4','2009-03-07 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(34,10,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),(35,147,1,2,'2','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(36,30,2,3,'3','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(37,98,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),(38,168,1,1,'2','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(39,94,2,2,'3','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(40,45,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),(41,125,1,4,'2','2009-01-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(42,165,2,2,'3','2009-12-15 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(43,22,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),(44,56,1,2,'1','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(45,96,2,4,'1','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(46,64,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),(47,88,1,2,'3','2009-10-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(48,192,2,4,'1','2009-12-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(49,160,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),(50,99,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); +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`) VALUES (1,22,1,1,'1','2009-01-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(2,32,2,2,'2','2008-05-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(3,169,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),(4,52,1,4,'4','2008-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(5,58,2,1,'1','2008-01-10 00:00:00','Check','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(6,44,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),(7,2,1,3,'3','2009-07-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(8,151,2,4,'4','2009-03-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(9,122,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),(10,35,1,2,'2','2008-02-01 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(11,186,2,3,'3','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(12,18,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),(13,53,1,1,'2','2008-06-04 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(14,156,2,2,'3','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(15,63,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),(16,71,1,4,'2','2009-01-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(17,133,2,2,'3','2008-01-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(18,30,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),(19,98,1,2,'1','2008-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(20,34,2,4,'1','2009-01-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(21,150,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),(22,158,1,2,'3','2009-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(23,75,2,4,'1','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(24,154,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),(25,113,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),(26,118,1,1,'1','2009-01-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(27,139,2,2,'2','2008-05-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(28,124,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),(29,153,1,4,'4','2009-12-13 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(30,28,2,1,'1','2009-12-14 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(31,146,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),(32,152,1,3,'3','2009-07-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(33,183,2,4,'4','2009-03-07 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(34,49,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),(35,50,1,2,'2','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(36,180,2,3,'3','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(37,194,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),(38,89,1,1,'2','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(39,164,2,2,'3','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(40,110,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),(41,77,1,4,'2','2009-01-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(42,91,2,2,'3','2009-12-15 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(43,87,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),(44,7,1,2,'1','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(45,97,2,4,'1','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(46,15,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),(47,29,1,2,'3','2009-10-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(48,170,2,4,'1','2009-12-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL),(49,47,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),(50,99,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); /*!40000 ALTER TABLE `civicrm_participant` ENABLE KEYS */; UNLOCK TABLES; @@ -1035,7 +1035,7 @@ 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,6,45),(2,24,46),(3,19,47),(4,21,48),(5,34,49),(6,33,50),(7,43,51),(8,10,52),(9,36,53),(10,1,54),(11,30,55),(12,16,56),(13,40,57),(14,26,58),(15,8,59),(16,9,60),(17,44,61),(18,46,62),(19,5,63),(20,18,64),(21,2,65),(22,28,66),(23,7,67),(24,47,68),(25,29,69),(26,22,70),(27,4,71),(28,39,72),(29,45,73),(30,37,74),(31,50,75),(32,14,76),(33,23,77),(34,31,78),(35,27,79),(36,41,80),(37,11,81),(38,25,82),(39,17,83),(40,13,84),(41,35,85),(42,20,86),(43,49,87),(44,42,88),(45,38,89),(46,32,90),(47,12,91),(48,3,92),(49,48,93),(50,15,94); +INSERT INTO `civicrm_participant_payment` (`id`, `participant_id`, `contribution_id`) VALUES (1,7,45),(2,44,46),(3,46,47),(4,12,48),(5,1,49),(6,30,50),(7,47,51),(8,18,52),(9,2,53),(10,20,54),(11,10,55),(12,6,56),(13,49,57),(14,34,58),(15,35,59),(16,4,60),(17,13,61),(18,5,62),(19,15,63),(20,16,64),(21,23,65),(22,41,66),(23,43,67),(24,38,68),(25,42,69),(26,45,70),(27,19,71),(28,50,72),(29,40,73),(30,25,74),(31,26,75),(32,9,76),(33,28,77),(34,17,78),(35,27,79),(36,31,80),(37,21,81),(38,8,82),(39,32,83),(40,29,84),(41,24,85),(42,14,86),(43,22,87),(44,39,88),(45,3,89),(46,48,90),(47,36,91),(48,33,92),(49,11,93),(50,37,94); /*!40000 ALTER TABLE `civicrm_participant_payment` ENABLE KEYS */; UNLOCK TABLES; @@ -1083,7 +1083,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,46,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.','

Friends and family - please help build much needed infrastructure for the civic sector by supporting my personal campaign!

\r\n

You can learn more about CiviCRM here.

\r\n

Then click the Contribute Now button to go to our easy-to-use online contribution form.

','Contribute Now',1,'contribute',1,1,1,5000.00,'USD',1,1); +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,64,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.','

Friends and family - please help build much needed infrastructure for the civic sector by supporting my personal campaign!

\r\n

You can learn more about CiviCRM here.

\r\n

Then click the Contribute Now button to go to our easy-to-use online contribution form.

','Contribute Now',1,'contribute',1,1,1,5000.00,'USD',1,1); /*!40000 ALTER TABLE `civicrm_pcp` ENABLE KEYS */; UNLOCK TABLES; @@ -1112,7 +1112,7 @@ 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,167,1,1,0,NULL,'(711) 770-5358',NULL,'7117705358',1),(2,123,1,1,0,NULL,'846-7134',NULL,'8467134',2),(3,46,1,1,0,NULL,'(693) 286-5830',NULL,'6932865830',1),(4,160,1,1,0,NULL,'836-3654',NULL,'8363654',2),(5,160,1,0,0,NULL,'(358) 779-7071',NULL,'3587797071',2),(6,148,1,1,0,NULL,'(506) 855-7590',NULL,'5068557590',2),(7,55,1,1,0,NULL,'(288) 328-1858',NULL,'2883281858',1),(8,55,1,0,0,NULL,'666-5558',NULL,'6665558',1),(9,174,1,1,0,NULL,'(234) 654-8862',NULL,'2346548862',2),(10,67,1,1,0,NULL,'(401) 639-9995',NULL,'4016399995',2),(11,67,1,0,0,NULL,'382-8499',NULL,'3828499',2),(12,8,1,1,0,NULL,'(329) 688-8785',NULL,'3296888785',2),(13,70,1,1,0,NULL,'548-8569',NULL,'5488569',2),(14,65,1,1,0,NULL,'833-6996',NULL,'8336996',1),(15,65,1,0,0,NULL,'(568) 725-1959',NULL,'5687251959',1),(16,34,1,1,0,NULL,'(801) 231-4832',NULL,'8012314832',2),(17,69,1,1,0,NULL,'(730) 686-9077',NULL,'7306869077',1),(18,69,1,0,0,NULL,'430-9837',NULL,'4309837',2),(19,103,1,1,0,NULL,'632-7838',NULL,'6327838',2),(20,103,1,0,0,NULL,'890-4321',NULL,'8904321',1),(21,195,1,1,0,NULL,'341-4318',NULL,'3414318',1),(22,195,1,0,0,NULL,'(225) 563-3387',NULL,'2255633387',1),(23,78,1,1,0,NULL,'(672) 562-1040',NULL,'6725621040',1),(24,78,1,0,0,NULL,'(624) 363-4136',NULL,'6243634136',1),(25,198,1,1,0,NULL,'(228) 267-2339',NULL,'2282672339',1),(26,198,1,0,0,NULL,'(724) 396-7847',NULL,'7243967847',2),(27,176,1,1,0,NULL,'490-1572',NULL,'4901572',1),(28,149,1,1,0,NULL,'643-9762',NULL,'6439762',2),(29,30,1,1,0,NULL,'677-5173',NULL,'6775173',2),(30,107,1,1,0,NULL,'(315) 883-5041',NULL,'3158835041',2),(31,28,1,1,0,NULL,'786-4658',NULL,'7864658',1),(32,28,1,0,0,NULL,'(697) 860-1403',NULL,'6978601403',1),(33,159,1,1,0,NULL,'505-3823',NULL,'5053823',2),(34,159,1,0,0,NULL,'(891) 321-8710',NULL,'8913218710',1),(35,168,1,1,0,NULL,'(635) 364-7738',NULL,'6353647738',2),(36,168,1,0,0,NULL,'(350) 898-1234',NULL,'3508981234',1),(37,180,1,1,0,NULL,'698-8494',NULL,'6988494',1),(38,150,1,1,0,NULL,'(452) 399-7224',NULL,'4523997224',2),(39,130,1,1,0,NULL,'(687) 844-5623',NULL,'6878445623',1),(40,10,1,1,0,NULL,'830-9924',NULL,'8309924',2),(41,116,1,1,0,NULL,'(635) 671-8333',NULL,'6356718333',2),(42,57,1,1,0,NULL,'(758) 265-7837',NULL,'7582657837',1),(43,51,1,1,0,NULL,'(306) 730-3530',NULL,'3067303530',1),(44,99,1,1,0,NULL,'536-6153',NULL,'5366153',1),(45,200,1,1,0,NULL,'(508) 470-2865',NULL,'5084702865',2),(46,200,1,0,0,NULL,'(727) 857-5767',NULL,'7278575767',1),(47,113,1,1,0,NULL,'(544) 836-1729',NULL,'5448361729',2),(48,113,1,0,0,NULL,'865-9075',NULL,'8659075',2),(49,186,1,1,0,NULL,'(331) 754-3360',NULL,'3317543360',2),(50,100,1,1,0,NULL,'300-9559',NULL,'3009559',1),(51,100,1,0,0,NULL,'627-1290',NULL,'6271290',2),(52,146,1,1,0,NULL,'(255) 589-2321',NULL,'2555892321',2),(53,44,1,1,0,NULL,'(519) 850-5015',NULL,'5198505015',1),(54,44,1,0,0,NULL,'782-1175',NULL,'7821175',1),(55,133,1,1,0,NULL,'(519) 519-5546',NULL,'5195195546',2),(56,36,1,1,0,NULL,'(300) 751-1598',NULL,'3007511598',1),(57,36,1,0,0,NULL,'(644) 601-3652',NULL,'6446013652',2),(58,14,1,1,0,NULL,'(796) 329-4931',NULL,'7963294931',1),(59,14,1,0,0,NULL,'(477) 388-7873',NULL,'4773887873',2),(60,74,1,1,0,NULL,'(868) 398-4625',NULL,'8683984625',2),(61,188,1,1,0,NULL,'(616) 786-6783',NULL,'6167866783',1),(62,40,1,1,0,NULL,'(550) 552-1932',NULL,'5505521932',2),(63,40,1,0,0,NULL,'798-8146',NULL,'7988146',2),(64,6,1,1,0,NULL,'(437) 316-5830',NULL,'4373165830',1),(65,6,1,0,0,NULL,'602-3445',NULL,'6023445',1),(66,102,1,1,0,NULL,'824-6744',NULL,'8246744',2),(67,102,1,0,0,NULL,'(772) 839-4174',NULL,'7728394174',2),(68,64,1,1,0,NULL,'(894) 402-3067',NULL,'8944023067',1),(69,64,1,0,0,NULL,'(524) 866-6761',NULL,'5248666761',2),(70,94,1,1,0,NULL,'(895) 634-2572',NULL,'8956342572',2),(71,94,1,0,0,NULL,'(244) 733-6112',NULL,'2447336112',2),(72,27,1,1,0,NULL,'395-3262',NULL,'3953262',2),(73,27,1,0,0,NULL,'(631) 508-7148',NULL,'6315087148',2),(74,18,1,1,0,NULL,'388-7387',NULL,'3887387',2),(75,18,1,0,0,NULL,'497-7824',NULL,'4977824',1),(76,120,1,1,0,NULL,'219-3440',NULL,'2193440',1),(77,120,1,0,0,NULL,'601-4509',NULL,'6014509',1),(78,134,1,1,0,NULL,'862-8377',NULL,'8628377',2),(79,134,1,0,0,NULL,'(882) 413-1920',NULL,'8824131920',2),(80,2,1,1,0,NULL,'638-8620',NULL,'6388620',2),(81,2,1,0,0,NULL,'(215) 314-4868',NULL,'2153144868',2),(82,61,1,1,0,NULL,'(298) 282-5933',NULL,'2982825933',2),(83,61,1,0,0,NULL,'721-8824',NULL,'7218824',2),(84,73,1,1,0,NULL,'(688) 552-9455',NULL,'6885529455',1),(85,73,1,0,0,NULL,'588-8968',NULL,'5888968',1),(86,125,1,1,0,NULL,'(515) 833-6607',NULL,'5158336607',2),(87,201,1,1,0,NULL,'681-7080',NULL,'6817080',1),(88,201,1,0,0,NULL,'349-1556',NULL,'3491556',2),(89,97,1,1,0,NULL,'323-5675',NULL,'3235675',2),(90,31,1,1,0,NULL,'780-1895',NULL,'7801895',1),(91,31,1,0,0,NULL,'(585) 311-3376',NULL,'5853113376',2),(92,47,1,1,0,NULL,'(422) 802-2325',NULL,'4228022325',2),(93,47,1,0,0,NULL,'(761) 596-8003',NULL,'7615968003',1),(94,98,1,1,0,NULL,'(690) 668-9203',NULL,'6906689203',2),(95,33,1,1,0,NULL,'(442) 351-4602',NULL,'4423514602',1),(96,33,1,0,0,NULL,'(733) 211-9839',NULL,'7332119839',1),(97,76,1,1,0,NULL,'(895) 710-3292',NULL,'8957103292',2),(98,76,1,0,0,NULL,'(838) 204-6493',NULL,'8382046493',2),(99,66,1,1,0,NULL,'700-9762',NULL,'7009762',2),(100,79,1,1,0,NULL,'(670) 218-5046',NULL,'6702185046',1),(101,79,1,0,0,NULL,'(358) 216-1953',NULL,'3582161953',2),(102,4,1,1,0,NULL,'(340) 331-6803',NULL,'3403316803',1),(103,4,1,0,0,NULL,'(522) 228-4296',NULL,'5222284296',1),(104,19,1,1,0,NULL,'(739) 381-3548',NULL,'7393813548',2),(105,19,1,0,0,NULL,'(525) 342-8652',NULL,'5253428652',2),(106,199,1,1,0,NULL,'(454) 612-7966',NULL,'4546127966',2),(107,90,1,1,0,NULL,'(284) 836-4876',NULL,'2848364876',1),(108,90,1,0,0,NULL,'431-8787',NULL,'4318787',1),(109,129,1,1,0,NULL,'856-5304',NULL,'8565304',1),(110,129,1,0,0,NULL,'870-4587',NULL,'8704587',2),(111,196,1,1,0,NULL,'646-9496',NULL,'6469496',2),(112,196,1,0,0,NULL,'561-6068',NULL,'5616068',1),(113,93,1,1,0,NULL,'350-7634',NULL,'3507634',1),(114,11,1,1,0,NULL,'(543) 349-3936',NULL,'5433493936',1),(115,126,1,1,0,NULL,'472-9786',NULL,'4729786',1),(116,155,1,1,0,NULL,'321-4539',NULL,'3214539',2),(117,155,1,0,0,NULL,'532-9387',NULL,'5329387',1),(118,117,1,1,0,NULL,'468-8466',NULL,'4688466',2),(119,112,1,1,0,NULL,'(474) 568-8402',NULL,'4745688402',2),(120,112,1,0,0,NULL,'238-6000',NULL,'2386000',1),(121,106,1,1,0,NULL,'293-3165',NULL,'2933165',1),(122,62,1,1,0,NULL,'(257) 308-3313',NULL,'2573083313',1),(123,62,1,0,0,NULL,'425-2179',NULL,'4252179',2),(124,197,1,1,0,NULL,'(720) 412-5806',NULL,'7204125806',1),(125,197,1,0,0,NULL,'214-2971',NULL,'2142971',1),(126,141,1,1,0,NULL,'652-6481',NULL,'6526481',1),(127,154,1,1,0,NULL,'(223) 426-8882',NULL,'2234268882',2),(128,89,1,1,0,NULL,'370-4222',NULL,'3704222',1),(129,45,1,1,0,NULL,'344-5631',NULL,'3445631',1),(130,80,1,1,0,NULL,'(403) 525-7447',NULL,'4035257447',1),(131,80,1,0,0,NULL,'242-5093',NULL,'2425093',2),(132,169,1,1,0,NULL,'(296) 240-7156',NULL,'2962407156',2),(133,169,1,0,0,NULL,'723-5284',NULL,'7235284',1),(134,50,1,1,0,NULL,'(735) 465-8641',NULL,'7354658641',2),(135,50,1,0,0,NULL,'(600) 572-7511',NULL,'6005727511',2),(136,147,1,1,0,NULL,'862-8130',NULL,'8628130',2),(137,136,1,1,0,NULL,'239-7707',NULL,'2397707',2),(138,59,1,1,0,NULL,'(230) 202-8199',NULL,'2302028199',1),(139,60,1,1,0,NULL,'352-2847',NULL,'3522847',1),(140,60,1,0,0,NULL,'341-4226',NULL,'3414226',1),(141,49,1,1,0,NULL,'209-8248',NULL,'2098248',2),(142,49,1,0,0,NULL,'(258) 794-7529',NULL,'2587947529',1),(143,162,1,1,0,NULL,'339-4914',NULL,'3394914',1),(144,162,1,0,0,NULL,'832-9289',NULL,'8329289',2),(145,143,1,1,0,NULL,'(266) 214-1027',NULL,'2662141027',2),(146,138,1,1,0,NULL,'(445) 326-5665',NULL,'4453265665',2),(147,122,1,1,0,NULL,'269-2937',NULL,'2692937',2),(148,145,1,1,0,NULL,'(759) 835-3798',NULL,'7598353798',2),(149,185,1,1,0,NULL,'(395) 529-7335',NULL,'3955297335',1),(150,25,1,1,0,NULL,'(407) 310-6699',NULL,'4073106699',1),(151,71,1,1,0,NULL,'(726) 349-4877',NULL,'7263494877',1),(152,71,1,0,0,NULL,'232-5837',NULL,'2325837',1),(153,189,1,1,0,NULL,'(324) 569-2167',NULL,'3245692167',1),(154,189,1,0,0,NULL,'(794) 473-1698',NULL,'7944731698',1),(155,NULL,1,0,0,NULL,'204 222-1000',NULL,'2042221000',1),(156,NULL,1,0,0,NULL,'204 223-1000',NULL,'2042231000',1),(157,NULL,1,0,0,NULL,'303 323-1000',NULL,'3033231000',1); +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,63,1,1,0,NULL,'708-8155',NULL,'7088155',1),(2,63,1,0,0,NULL,'490-4771',NULL,'4904771',2),(3,157,1,1,0,NULL,'419-8392',NULL,'4198392',2),(4,98,1,1,0,NULL,'(686) 720-5900',NULL,'6867205900',1),(5,98,1,0,0,NULL,'677-4729',NULL,'6774729',1),(6,164,1,1,0,NULL,'309-9739',NULL,'3099739',1),(7,172,1,1,0,NULL,'428-2462',NULL,'4282462',2),(8,130,1,1,0,NULL,'(610) 796-2235',NULL,'6107962235',2),(9,31,1,1,0,NULL,'(540) 425-4080',NULL,'5404254080',2),(10,31,1,0,0,NULL,'(396) 465-5171',NULL,'3964655171',2),(11,144,1,1,0,NULL,'679-5410',NULL,'6795410',2),(12,144,1,0,0,NULL,'517-9278',NULL,'5179278',2),(13,85,1,1,0,NULL,'(427) 811-1691',NULL,'4278111691',1),(14,57,1,1,0,NULL,'(231) 682-9746',NULL,'2316829746',2),(15,57,1,0,0,NULL,'375-9361',NULL,'3759361',2),(16,53,1,1,0,NULL,'(274) 725-7960',NULL,'2747257960',2),(17,53,1,0,0,NULL,'483-8446',NULL,'4838446',1),(18,73,1,1,0,NULL,'(599) 231-6734',NULL,'5992316734',2),(19,146,1,1,0,NULL,'219-6818',NULL,'2196818',2),(20,86,1,1,0,NULL,'(617) 431-1812',NULL,'6174311812',1),(21,51,1,1,0,NULL,'496-8158',NULL,'4968158',1),(22,151,1,1,0,NULL,'(450) 404-9573',NULL,'4504049573',1),(23,151,1,0,0,NULL,'386-4742',NULL,'3864742',2),(24,188,1,1,0,NULL,'(585) 849-4539',NULL,'5858494539',2),(25,188,1,0,0,NULL,'248-9128',NULL,'2489128',2),(26,49,1,1,0,NULL,'(489) 215-5702',NULL,'4892155702',2),(27,70,1,1,0,NULL,'(233) 842-4765',NULL,'2338424765',2),(28,70,1,0,0,NULL,'726-9086',NULL,'7269086',2),(29,152,1,1,0,NULL,'314-2651',NULL,'3142651',2),(30,152,1,0,0,NULL,'476-5954',NULL,'4765954',1),(31,4,1,1,0,NULL,'(536) 689-8856',NULL,'5366898856',1),(32,124,1,1,0,NULL,'(415) 260-1321',NULL,'4152601321',2),(33,124,1,0,0,NULL,'(783) 807-6030',NULL,'7838076030',1),(34,16,1,1,0,NULL,'(433) 326-5801',NULL,'4333265801',1),(35,16,1,0,0,NULL,'(218) 680-3630',NULL,'2186803630',1),(36,87,1,1,0,NULL,'834-8617',NULL,'8348617',2),(37,10,1,1,0,NULL,'(573) 249-2919',NULL,'5732492919',1),(38,10,1,0,0,NULL,'515-4388',NULL,'5154388',2),(39,113,1,1,0,NULL,'623-7437',NULL,'6237437',2),(40,94,1,1,0,NULL,'829-4666',NULL,'8294666',2),(41,193,1,1,0,NULL,'(211) 641-1386',NULL,'2116411386',2),(42,32,1,1,0,NULL,'614-8740',NULL,'6148740',1),(43,32,1,0,0,NULL,'(820) 245-8255',NULL,'8202458255',1),(44,105,1,1,0,NULL,'(836) 736-8148',NULL,'8367368148',2),(45,84,1,1,0,NULL,'347-7799',NULL,'3477799',1),(46,135,1,1,0,NULL,'768-4418',NULL,'7684418',2),(47,26,1,1,0,NULL,'547-4757',NULL,'5474757',1),(48,153,1,1,0,NULL,'(695) 717-7362',NULL,'6957177362',1),(49,197,1,1,0,NULL,'(497) 664-6664',NULL,'4976646664',2),(50,197,1,0,0,NULL,'566-6887',NULL,'5666887',2),(51,141,1,1,0,NULL,'(738) 625-1804',NULL,'7386251804',1),(52,141,1,0,0,NULL,'735-7841',NULL,'7357841',1),(53,88,1,1,0,NULL,'(565) 253-4792',NULL,'5652534792',2),(54,88,1,0,0,NULL,'(265) 473-3459',NULL,'2654733459',2),(55,133,1,1,0,NULL,'(558) 717-7769',NULL,'5587177769',2),(56,126,1,1,0,NULL,'(254) 328-3608',NULL,'2543283608',1),(57,126,1,0,0,NULL,'(373) 649-6419',NULL,'3736496419',2),(58,166,1,1,0,NULL,'(792) 317-4749',NULL,'7923174749',1),(59,121,1,1,0,NULL,'350-6454',NULL,'3506454',1),(60,118,1,1,0,NULL,'(494) 388-3304',NULL,'4943883304',2),(61,132,1,1,0,NULL,'(493) 620-1494',NULL,'4936201494',1),(62,42,1,1,0,NULL,'783-3715',NULL,'7833715',1),(63,163,1,1,0,NULL,'(869) 218-6044',NULL,'8692186044',2),(64,104,1,1,0,NULL,'578-5285',NULL,'5785285',1),(65,104,1,0,0,NULL,'350-5523',NULL,'3505523',1),(66,159,1,1,0,NULL,'333-5206',NULL,'3335206',2),(67,159,1,0,0,NULL,'(763) 790-1338',NULL,'7637901338',2),(68,24,1,1,0,NULL,'(319) 306-8562',NULL,'3193068562',1),(69,75,1,1,0,NULL,'(319) 450-1663',NULL,'3194501663',2),(70,75,1,0,0,NULL,'423-5737',NULL,'4235737',2),(71,195,1,1,0,NULL,'(480) 565-5019',NULL,'4805655019',1),(72,195,1,0,0,NULL,'396-5660',NULL,'3965660',1),(73,19,1,1,0,NULL,'(606) 673-4485',NULL,'6066734485',2),(74,19,1,0,0,NULL,'(267) 271-3117',NULL,'2672713117',1),(75,3,1,1,0,NULL,'(528) 322-5110',NULL,'5283225110',1),(76,3,1,0,0,NULL,'778-2594',NULL,'7782594',2),(77,103,1,1,0,NULL,'(615) 288-9967',NULL,'6152889967',1),(78,44,1,1,0,NULL,'435-8468',NULL,'4358468',2),(79,100,1,1,0,NULL,'530-6678',NULL,'5306678',1),(80,184,1,1,0,NULL,'221-6210',NULL,'2216210',1),(81,184,1,0,0,NULL,'805-6739',NULL,'8056739',2),(82,81,1,1,0,NULL,'(541) 321-2686',NULL,'5413212686',2),(83,108,1,1,0,NULL,'237-3077',NULL,'2373077',1),(84,108,1,0,0,NULL,'(647) 363-2213',NULL,'6473632213',1),(85,93,1,1,0,NULL,'(744) 246-9178',NULL,'7442469178',1),(86,17,1,1,0,NULL,'(524) 644-4499',NULL,'5246444499',2),(87,123,1,1,0,NULL,'612-5988',NULL,'6125988',2),(88,123,1,0,0,NULL,'337-4982',NULL,'3374982',2),(89,33,1,1,0,NULL,'664-8657',NULL,'6648657',2),(90,33,1,0,0,NULL,'(226) 410-1158',NULL,'2264101158',2),(91,90,1,1,0,NULL,'673-6980',NULL,'6736980',1),(92,190,1,1,0,NULL,'231-5470',NULL,'2315470',1),(93,190,1,0,0,NULL,'(361) 330-4068',NULL,'3613304068',2),(94,40,1,1,0,NULL,'559-6375',NULL,'5596375',1),(95,45,1,1,0,NULL,'(708) 320-6277',NULL,'7083206277',2),(96,7,1,1,0,NULL,'(274) 206-4803',NULL,'2742064803',1),(97,7,1,0,0,NULL,'(778) 691-3971',NULL,'7786913971',2),(98,196,1,1,0,NULL,'(305) 763-1114',NULL,'3057631114',1),(99,196,1,0,0,NULL,'381-6157',NULL,'3816157',2),(100,149,1,1,0,NULL,'(779) 565-4570',NULL,'7795654570',2),(101,156,1,1,0,NULL,'(395) 529-7065',NULL,'3955297065',2),(102,156,1,0,0,NULL,'(269) 275-6702',NULL,'2692756702',2),(103,92,1,1,0,NULL,'(877) 525-2460',NULL,'8775252460',1),(104,92,1,0,0,NULL,'361-3364',NULL,'3613364',2),(105,131,1,1,0,NULL,'(731) 767-5629',NULL,'7317675629',1),(106,183,1,1,0,NULL,'(248) 675-4031',NULL,'2486754031',1),(107,183,1,0,0,NULL,'527-8053',NULL,'5278053',2),(108,143,1,1,0,NULL,'487-6343',NULL,'4876343',2),(109,46,1,1,0,NULL,'(237) 789-4675',NULL,'2377894675',2),(110,182,1,1,0,NULL,'(537) 502-1401',NULL,'5375021401',1),(111,182,1,0,0,NULL,'(876) 655-9312',NULL,'8766559312',2),(112,55,1,1,0,NULL,'(347) 500-3268',NULL,'3475003268',2),(113,55,1,0,0,NULL,'(274) 585-5161',NULL,'2745855161',1),(114,48,1,1,0,NULL,'(847) 692-5796',NULL,'8476925796',2),(115,114,1,1,0,NULL,'687-5355',NULL,'6875355',1),(116,161,1,1,0,NULL,'(528) 478-7990',NULL,'5284787990',1),(117,139,1,1,0,NULL,'(652) 706-3160',NULL,'6527063160',2),(118,139,1,0,0,NULL,'810-7473',NULL,'8107473',1),(119,154,1,1,0,NULL,'(557) 574-1731',NULL,'5575741731',1),(120,154,1,0,0,NULL,'(757) 845-6611',NULL,'7578456611',1),(121,186,1,1,0,NULL,'(557) 644-9060',NULL,'5576449060',2),(122,186,1,0,0,NULL,'546-7846',NULL,'5467846',1),(123,185,1,1,0,NULL,'(333) 443-8804',NULL,'3334438804',1),(124,78,1,1,0,NULL,'283-5023',NULL,'2835023',2),(125,59,1,1,0,NULL,'641-5379',NULL,'6415379',2),(126,59,1,0,0,NULL,'599-4189',NULL,'5994189',1),(127,109,1,1,0,NULL,'(264) 423-9926',NULL,'2644239926',1),(128,109,1,0,0,NULL,'646-7358',NULL,'6467358',2),(129,37,1,1,0,NULL,'407-1508',NULL,'4071508',2),(130,116,1,1,0,NULL,'(326) 822-8524',NULL,'3268228524',2),(131,116,1,0,0,NULL,'(871) 549-9527',NULL,'8715499527',2),(132,60,1,1,0,NULL,'(723) 773-3836',NULL,'7237733836',1),(133,60,1,0,0,NULL,'(717) 413-7650',NULL,'7174137650',1),(134,171,1,1,0,NULL,'(213) 449-2672',NULL,'2134492672',1),(135,43,1,1,0,NULL,'670-5732',NULL,'6705732',1),(136,43,1,0,0,NULL,'496-8853',NULL,'4968853',2),(137,18,1,1,0,NULL,'(682) 329-5177',NULL,'6823295177',1),(138,176,1,1,0,NULL,'(364) 564-7295',NULL,'3645647295',2),(139,22,1,1,0,NULL,'(726) 296-2917',NULL,'7262962917',1),(140,47,1,1,0,NULL,'(745) 823-9056',NULL,'7458239056',1),(141,111,1,1,0,NULL,'529-2122',NULL,'5292122',2),(142,111,1,0,0,NULL,'573-2056',NULL,'5732056',2),(143,136,1,1,0,NULL,'693-8374',NULL,'6938374',2),(144,145,1,1,0,NULL,'(369) 639-5272',NULL,'3696395272',1),(145,145,1,0,0,NULL,'(610) 303-1022',NULL,'6103031022',2),(146,30,1,1,0,NULL,'(426) 365-6441',NULL,'4263656441',1),(147,170,1,1,0,NULL,'(388) 463-8503',NULL,'3884638503',2),(148,194,1,1,0,NULL,'(697) 513-7761',NULL,'6975137761',2),(149,12,1,1,0,NULL,'(416) 814-1583',NULL,'4168141583',2),(150,5,1,1,0,NULL,'(325) 778-3112',NULL,'3257783112',2),(151,5,1,0,0,NULL,'(236) 217-5827',NULL,'2362175827',1),(152,NULL,1,0,0,NULL,'204 222-1000',NULL,'2042221000',1),(153,NULL,1,0,0,NULL,'204 223-1000',NULL,'2042231000',1),(154,NULL,1,0,0,NULL,'303 323-1000',NULL,'3033231000',1); /*!40000 ALTER TABLE `civicrm_phone` ENABLE KEYS */; UNLOCK TABLES; @@ -1269,7 +1269,7 @@ 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,128,82,1,NULL,NULL,1,NULL,0,0,NULL),(2,120,82,1,NULL,NULL,1,NULL,0,0,NULL),(3,128,26,1,NULL,NULL,1,NULL,0,0,NULL),(4,120,26,1,NULL,NULL,1,NULL,0,0,NULL),(5,120,128,4,NULL,NULL,1,NULL,0,0,NULL),(6,26,140,8,NULL,NULL,1,NULL,0,0,NULL),(7,128,140,8,NULL,NULL,1,NULL,0,0,NULL),(8,120,140,8,NULL,NULL,1,NULL,0,0,NULL),(9,82,140,7,NULL,NULL,1,NULL,0,0,NULL),(10,26,82,2,NULL,NULL,1,NULL,0,0,NULL),(11,134,115,1,NULL,NULL,1,NULL,0,0,NULL),(12,35,115,1,NULL,NULL,1,NULL,0,0,NULL),(13,134,161,1,NULL,NULL,1,NULL,0,0,NULL),(14,35,161,1,NULL,NULL,1,NULL,0,0,NULL),(15,35,134,4,NULL,NULL,1,NULL,0,0,NULL),(16,161,177,8,NULL,NULL,1,NULL,0,0,NULL),(17,134,177,8,NULL,NULL,1,NULL,0,0,NULL),(18,35,177,8,NULL,NULL,1,NULL,0,0,NULL),(19,115,177,7,NULL,NULL,1,NULL,0,0,NULL),(20,161,115,2,NULL,NULL,1,NULL,0,0,NULL),(21,73,2,1,NULL,NULL,1,NULL,0,0,NULL),(22,125,2,1,NULL,NULL,1,NULL,0,0,NULL),(23,73,61,1,NULL,NULL,1,NULL,0,0,NULL),(24,125,61,1,NULL,NULL,1,NULL,0,0,NULL),(25,125,73,4,NULL,NULL,1,NULL,0,0,NULL),(26,61,42,8,NULL,NULL,1,NULL,0,0,NULL),(27,73,42,8,NULL,NULL,1,NULL,0,0,NULL),(28,125,42,8,NULL,NULL,1,NULL,0,0,NULL),(29,2,42,7,NULL,NULL,0,NULL,0,0,NULL),(30,61,2,2,NULL,NULL,0,NULL,0,0,NULL),(31,97,163,1,NULL,NULL,1,NULL,0,0,NULL),(32,41,163,1,NULL,NULL,1,NULL,0,0,NULL),(33,97,201,1,NULL,NULL,1,NULL,0,0,NULL),(34,41,201,1,NULL,NULL,1,NULL,0,0,NULL),(35,41,97,4,NULL,NULL,1,NULL,0,0,NULL),(36,201,139,8,NULL,NULL,1,NULL,0,0,NULL),(37,97,139,8,NULL,NULL,1,NULL,0,0,NULL),(38,41,139,8,NULL,NULL,1,NULL,0,0,NULL),(39,163,139,7,NULL,NULL,0,NULL,0,0,NULL),(40,201,163,2,NULL,NULL,0,NULL,0,0,NULL),(41,47,31,1,NULL,NULL,1,NULL,0,0,NULL),(42,164,31,1,NULL,NULL,1,NULL,0,0,NULL),(43,47,191,1,NULL,NULL,1,NULL,0,0,NULL),(44,164,191,1,NULL,NULL,1,NULL,0,0,NULL),(45,164,47,4,NULL,NULL,1,NULL,0,0,NULL),(46,191,157,8,NULL,NULL,1,NULL,0,0,NULL),(47,47,157,8,NULL,NULL,1,NULL,0,0,NULL),(48,164,157,8,NULL,NULL,1,NULL,0,0,NULL),(49,31,157,7,NULL,NULL,1,NULL,0,0,NULL),(50,191,31,2,NULL,NULL,1,NULL,0,0,NULL),(51,98,53,1,NULL,NULL,1,NULL,0,0,NULL),(52,33,53,1,NULL,NULL,1,NULL,0,0,NULL),(53,98,68,1,NULL,NULL,1,NULL,0,0,NULL),(54,33,68,1,NULL,NULL,1,NULL,0,0,NULL),(55,33,98,4,NULL,NULL,1,NULL,0,0,NULL),(56,68,109,8,NULL,NULL,1,NULL,0,0,NULL),(57,98,109,8,NULL,NULL,1,NULL,0,0,NULL),(58,33,109,8,NULL,NULL,1,NULL,0,0,NULL),(59,53,109,7,NULL,NULL,1,NULL,0,0,NULL),(60,68,53,2,NULL,NULL,1,NULL,0,0,NULL),(61,38,76,1,NULL,NULL,1,NULL,0,0,NULL),(62,66,76,1,NULL,NULL,1,NULL,0,0,NULL),(63,38,170,1,NULL,NULL,1,NULL,0,0,NULL),(64,66,170,1,NULL,NULL,1,NULL,0,0,NULL),(65,66,38,4,NULL,NULL,1,NULL,0,0,NULL),(66,170,101,8,NULL,NULL,1,NULL,0,0,NULL),(67,38,101,8,NULL,NULL,1,NULL,0,0,NULL),(68,66,101,8,NULL,NULL,1,NULL,0,0,NULL),(69,76,101,7,NULL,NULL,1,NULL,0,0,NULL),(70,170,76,2,NULL,NULL,1,NULL,0,0,NULL),(71,178,79,1,NULL,NULL,1,NULL,0,0,NULL),(72,19,79,1,NULL,NULL,1,NULL,0,0,NULL),(73,178,4,1,NULL,NULL,1,NULL,0,0,NULL),(74,19,4,1,NULL,NULL,1,NULL,0,0,NULL),(75,19,178,4,NULL,NULL,1,NULL,0,0,NULL),(76,4,15,8,NULL,NULL,1,NULL,0,0,NULL),(77,178,15,8,NULL,NULL,1,NULL,0,0,NULL),(78,19,15,8,NULL,NULL,1,NULL,0,0,NULL),(79,79,15,7,NULL,NULL,0,NULL,0,0,NULL),(80,4,79,2,NULL,NULL,0,NULL,0,0,NULL),(81,90,166,1,NULL,NULL,1,NULL,0,0,NULL),(82,129,166,1,NULL,NULL,1,NULL,0,0,NULL),(83,90,199,1,NULL,NULL,1,NULL,0,0,NULL),(84,129,199,1,NULL,NULL,1,NULL,0,0,NULL),(85,129,90,4,NULL,NULL,1,NULL,0,0,NULL),(86,199,39,8,NULL,NULL,1,NULL,0,0,NULL),(87,90,39,8,NULL,NULL,1,NULL,0,0,NULL),(88,129,39,8,NULL,NULL,1,NULL,0,0,NULL),(89,166,39,7,NULL,NULL,0,NULL,0,0,NULL),(90,199,166,2,NULL,NULL,0,NULL,0,0,NULL),(91,151,43,1,NULL,NULL,1,NULL,0,0,NULL),(92,93,43,1,NULL,NULL,1,NULL,0,0,NULL),(93,151,196,1,NULL,NULL,1,NULL,0,0,NULL),(94,93,196,1,NULL,NULL,1,NULL,0,0,NULL),(95,93,151,4,NULL,NULL,1,NULL,0,0,NULL),(96,196,173,8,NULL,NULL,1,NULL,0,0,NULL),(97,151,173,8,NULL,NULL,1,NULL,0,0,NULL),(98,93,173,8,NULL,NULL,1,NULL,0,0,NULL),(99,43,173,7,NULL,NULL,1,NULL,0,0,NULL),(100,196,43,2,NULL,NULL,1,NULL,0,0,NULL),(101,126,11,1,NULL,NULL,1,NULL,0,0,NULL),(102,24,11,1,NULL,NULL,1,NULL,0,0,NULL),(103,126,83,1,NULL,NULL,1,NULL,0,0,NULL),(104,24,83,1,NULL,NULL,1,NULL,0,0,NULL),(105,24,126,4,NULL,NULL,1,NULL,0,0,NULL),(106,83,32,8,NULL,NULL,1,NULL,0,0,NULL),(107,126,32,8,NULL,NULL,1,NULL,0,0,NULL),(108,24,32,8,NULL,NULL,1,NULL,0,0,NULL),(109,11,32,7,NULL,NULL,1,NULL,0,0,NULL),(110,83,11,2,NULL,NULL,1,NULL,0,0,NULL),(111,155,104,1,NULL,NULL,1,NULL,0,0,NULL),(112,117,104,1,NULL,NULL,1,NULL,0,0,NULL),(113,155,7,1,NULL,NULL,1,NULL,0,0,NULL),(114,117,7,1,NULL,NULL,1,NULL,0,0,NULL),(115,117,155,4,NULL,NULL,1,NULL,0,0,NULL),(116,7,183,8,NULL,NULL,1,NULL,0,0,NULL),(117,155,183,8,NULL,NULL,1,NULL,0,0,NULL),(118,117,183,8,NULL,NULL,1,NULL,0,0,NULL),(119,104,183,7,NULL,NULL,0,NULL,0,0,NULL),(120,7,104,2,NULL,NULL,0,NULL,0,0,NULL),(121,62,112,1,NULL,NULL,1,NULL,0,0,NULL),(122,197,112,1,NULL,NULL,1,NULL,0,0,NULL),(123,62,106,1,NULL,NULL,1,NULL,0,0,NULL),(124,197,106,1,NULL,NULL,1,NULL,0,0,NULL),(125,197,62,4,NULL,NULL,1,NULL,0,0,NULL),(126,106,165,8,NULL,NULL,1,NULL,0,0,NULL),(127,62,165,8,NULL,NULL,1,NULL,0,0,NULL),(128,197,165,8,NULL,NULL,1,NULL,0,0,NULL),(129,112,165,7,NULL,NULL,1,NULL,0,0,NULL),(130,106,112,2,NULL,NULL,1,NULL,0,0,NULL),(131,154,127,1,NULL,NULL,1,NULL,0,0,NULL),(132,194,127,1,NULL,NULL,1,NULL,0,0,NULL),(133,154,141,1,NULL,NULL,1,NULL,0,0,NULL),(134,194,141,1,NULL,NULL,1,NULL,0,0,NULL),(135,194,154,4,NULL,NULL,1,NULL,0,0,NULL),(136,141,3,8,NULL,NULL,1,NULL,0,0,NULL),(137,154,3,8,NULL,NULL,1,NULL,0,0,NULL),(138,194,3,8,NULL,NULL,1,NULL,0,0,NULL),(139,127,3,7,NULL,NULL,1,NULL,0,0,NULL),(140,141,127,2,NULL,NULL,1,NULL,0,0,NULL),(141,72,89,1,NULL,NULL,1,NULL,0,0,NULL),(142,80,89,1,NULL,NULL,1,NULL,0,0,NULL),(143,72,45,1,NULL,NULL,1,NULL,0,0,NULL),(144,80,45,1,NULL,NULL,1,NULL,0,0,NULL),(145,80,72,4,NULL,NULL,1,NULL,0,0,NULL),(146,45,95,8,NULL,NULL,1,NULL,0,0,NULL),(147,72,95,8,NULL,NULL,1,NULL,0,0,NULL),(148,80,95,8,NULL,NULL,1,NULL,0,0,NULL),(149,89,95,7,NULL,NULL,1,NULL,0,0,NULL),(150,45,89,2,NULL,NULL,1,NULL,0,0,NULL),(151,147,169,1,NULL,NULL,1,NULL,0,0,NULL),(152,136,169,1,NULL,NULL,1,NULL,0,0,NULL),(153,147,50,1,NULL,NULL,1,NULL,0,0,NULL),(154,136,50,1,NULL,NULL,1,NULL,0,0,NULL),(155,136,147,4,NULL,NULL,1,NULL,0,0,NULL),(156,50,144,8,NULL,NULL,1,NULL,0,0,NULL),(157,147,144,8,NULL,NULL,1,NULL,0,0,NULL),(158,136,144,8,NULL,NULL,1,NULL,0,0,NULL),(159,169,144,7,NULL,NULL,1,NULL,0,0,NULL),(160,50,169,2,NULL,NULL,1,NULL,0,0,NULL),(161,60,59,1,NULL,NULL,1,NULL,0,0,NULL),(162,88,59,1,NULL,NULL,1,NULL,0,0,NULL),(163,60,190,1,NULL,NULL,1,NULL,0,0,NULL),(164,88,190,1,NULL,NULL,1,NULL,0,0,NULL),(165,88,60,4,NULL,NULL,1,NULL,0,0,NULL),(166,190,12,8,NULL,NULL,1,NULL,0,0,NULL),(167,60,12,8,NULL,NULL,1,NULL,0,0,NULL),(168,88,12,8,NULL,NULL,1,NULL,0,0,NULL),(169,59,12,7,NULL,NULL,1,NULL,0,0,NULL),(170,190,59,2,NULL,NULL,1,NULL,0,0,NULL),(171,143,49,1,NULL,NULL,1,NULL,0,0,NULL),(172,138,49,1,NULL,NULL,1,NULL,0,0,NULL),(173,143,162,1,NULL,NULL,1,NULL,0,0,NULL),(174,138,162,1,NULL,NULL,1,NULL,0,0,NULL),(175,138,143,4,NULL,NULL,1,NULL,0,0,NULL),(176,162,86,8,NULL,NULL,1,NULL,0,0,NULL),(177,143,86,8,NULL,NULL,1,NULL,0,0,NULL),(178,138,86,8,NULL,NULL,1,NULL,0,0,NULL),(179,49,86,7,NULL,NULL,1,NULL,0,0,NULL),(180,162,49,2,NULL,NULL,1,NULL,0,0,NULL),(181,37,131,1,NULL,NULL,1,NULL,0,0,NULL),(182,145,131,1,NULL,NULL,1,NULL,0,0,NULL),(183,37,122,1,NULL,NULL,1,NULL,0,0,NULL),(184,145,122,1,NULL,NULL,1,NULL,0,0,NULL),(185,145,37,4,NULL,NULL,1,NULL,0,0,NULL),(186,122,118,8,NULL,NULL,1,NULL,0,0,NULL),(187,37,118,8,NULL,NULL,1,NULL,0,0,NULL),(188,145,118,8,NULL,NULL,1,NULL,0,0,NULL),(189,131,118,7,NULL,NULL,1,NULL,0,0,NULL),(190,122,131,2,NULL,NULL,1,NULL,0,0,NULL),(191,71,185,1,NULL,NULL,1,NULL,0,0,NULL),(192,189,185,1,NULL,NULL,1,NULL,0,0,NULL),(193,71,25,1,NULL,NULL,1,NULL,0,0,NULL),(194,189,25,1,NULL,NULL,1,NULL,0,0,NULL),(195,189,71,4,NULL,NULL,1,NULL,0,0,NULL),(196,25,192,8,NULL,NULL,1,NULL,0,0,NULL),(197,71,192,8,NULL,NULL,1,NULL,0,0,NULL),(198,189,192,8,NULL,NULL,1,NULL,0,0,NULL),(199,185,192,7,NULL,NULL,0,NULL,0,0,NULL),(200,25,185,2,NULL,NULL,0,NULL,0,0,NULL),(201,159,5,5,NULL,NULL,1,NULL,0,0,NULL),(202,64,13,5,NULL,NULL,1,NULL,0,0,NULL),(203,154,16,5,NULL,NULL,1,NULL,0,0,NULL),(204,123,29,5,NULL,NULL,1,NULL,0,0,NULL),(205,164,48,5,NULL,NULL,1,NULL,0,0,NULL),(206,79,56,5,NULL,NULL,1,NULL,0,0,NULL),(207,70,85,5,NULL,NULL,1,NULL,0,0,NULL),(208,129,87,5,NULL,NULL,1,NULL,0,0,NULL),(209,91,105,5,NULL,NULL,1,NULL,0,0,NULL),(210,31,108,5,NULL,NULL,1,NULL,0,0,NULL),(211,178,111,5,NULL,NULL,1,NULL,0,0,NULL),(212,18,119,5,NULL,NULL,1,NULL,0,0,NULL),(213,152,124,5,NULL,NULL,1,NULL,0,0,NULL),(214,34,171,5,NULL,NULL,1,NULL,0,0,NULL),(215,52,172,5,NULL,NULL,1,NULL,0,0,NULL),(216,38,181,5,NULL,NULL,1,NULL,0,0,NULL),(217,104,182,5,NULL,NULL,1,NULL,0,0,NULL),(218,168,187,5,NULL,NULL,1,NULL,0,0,NULL); +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,184,44,1,NULL,NULL,1,NULL,0,0,NULL),(2,81,44,1,NULL,NULL,1,NULL,0,0,NULL),(3,184,100,1,NULL,NULL,1,NULL,0,0,NULL),(4,81,100,1,NULL,NULL,1,NULL,0,0,NULL),(5,81,184,4,NULL,NULL,1,NULL,0,0,NULL),(6,100,181,8,NULL,NULL,1,NULL,0,0,NULL),(7,184,181,8,NULL,NULL,1,NULL,0,0,NULL),(8,81,181,8,NULL,NULL,1,NULL,0,0,NULL),(9,44,181,7,NULL,NULL,0,NULL,0,0,NULL),(10,100,44,2,NULL,NULL,0,NULL,0,0,NULL),(11,108,165,1,NULL,NULL,1,NULL,0,0,NULL),(12,93,165,1,NULL,NULL,1,NULL,0,0,NULL),(13,108,122,1,NULL,NULL,1,NULL,0,0,NULL),(14,93,122,1,NULL,NULL,1,NULL,0,0,NULL),(15,93,108,4,NULL,NULL,1,NULL,0,0,NULL),(16,122,137,8,NULL,NULL,1,NULL,0,0,NULL),(17,108,137,8,NULL,NULL,1,NULL,0,0,NULL),(18,93,137,8,NULL,NULL,1,NULL,0,0,NULL),(19,165,137,7,NULL,NULL,0,NULL,0,0,NULL),(20,122,165,2,NULL,NULL,0,NULL,0,0,NULL),(21,13,83,1,NULL,NULL,1,NULL,0,0,NULL),(22,179,83,1,NULL,NULL,1,NULL,0,0,NULL),(23,13,17,1,NULL,NULL,1,NULL,0,0,NULL),(24,179,17,1,NULL,NULL,1,NULL,0,0,NULL),(25,179,13,4,NULL,NULL,1,NULL,0,0,NULL),(26,17,125,8,NULL,NULL,1,NULL,0,0,NULL),(27,13,125,8,NULL,NULL,1,NULL,0,0,NULL),(28,179,125,8,NULL,NULL,1,NULL,0,0,NULL),(29,83,125,7,NULL,NULL,0,NULL,0,0,NULL),(30,17,83,2,NULL,NULL,0,NULL,0,0,NULL),(31,34,123,1,NULL,NULL,1,NULL,0,0,NULL),(32,90,123,1,NULL,NULL,1,NULL,0,0,NULL),(33,34,33,1,NULL,NULL,1,NULL,0,0,NULL),(34,90,33,1,NULL,NULL,1,NULL,0,0,NULL),(35,90,34,4,NULL,NULL,1,NULL,0,0,NULL),(36,33,102,8,NULL,NULL,1,NULL,0,0,NULL),(37,34,102,8,NULL,NULL,1,NULL,0,0,NULL),(38,90,102,8,NULL,NULL,1,NULL,0,0,NULL),(39,123,102,7,NULL,NULL,1,NULL,0,0,NULL),(40,33,123,2,NULL,NULL,1,NULL,0,0,NULL),(41,40,177,1,NULL,NULL,1,NULL,0,0,NULL),(42,45,177,1,NULL,NULL,1,NULL,0,0,NULL),(43,40,190,1,NULL,NULL,1,NULL,0,0,NULL),(44,45,190,1,NULL,NULL,1,NULL,0,0,NULL),(45,45,40,4,NULL,NULL,1,NULL,0,0,NULL),(46,190,74,8,NULL,NULL,1,NULL,0,0,NULL),(47,40,74,8,NULL,NULL,1,NULL,0,0,NULL),(48,45,74,8,NULL,NULL,1,NULL,0,0,NULL),(49,177,74,7,NULL,NULL,1,NULL,0,0,NULL),(50,190,177,2,NULL,NULL,1,NULL,0,0,NULL),(51,140,7,1,NULL,NULL,1,NULL,0,0,NULL),(52,61,7,1,NULL,NULL,1,NULL,0,0,NULL),(53,140,196,1,NULL,NULL,1,NULL,0,0,NULL),(54,61,196,1,NULL,NULL,1,NULL,0,0,NULL),(55,61,140,4,NULL,NULL,1,NULL,0,0,NULL),(56,196,72,8,NULL,NULL,1,NULL,0,0,NULL),(57,140,72,8,NULL,NULL,1,NULL,0,0,NULL),(58,61,72,8,NULL,NULL,1,NULL,0,0,NULL),(59,7,72,7,NULL,NULL,1,NULL,0,0,NULL),(60,196,7,2,NULL,NULL,1,NULL,0,0,NULL),(61,92,149,1,NULL,NULL,1,NULL,0,0,NULL),(62,200,149,1,NULL,NULL,1,NULL,0,0,NULL),(63,92,156,1,NULL,NULL,1,NULL,0,0,NULL),(64,200,156,1,NULL,NULL,1,NULL,0,0,NULL),(65,200,92,4,NULL,NULL,1,NULL,0,0,NULL),(66,156,23,8,NULL,NULL,1,NULL,0,0,NULL),(67,92,23,8,NULL,NULL,1,NULL,0,0,NULL),(68,200,23,8,NULL,NULL,1,NULL,0,0,NULL),(69,149,23,7,NULL,NULL,0,NULL,0,0,NULL),(70,156,149,2,NULL,NULL,0,NULL,0,0,NULL),(71,80,187,1,NULL,NULL,1,NULL,0,0,NULL),(72,183,187,1,NULL,NULL,1,NULL,0,0,NULL),(73,80,131,1,NULL,NULL,1,NULL,0,0,NULL),(74,183,131,1,NULL,NULL,1,NULL,0,0,NULL),(75,183,80,4,NULL,NULL,1,NULL,0,0,NULL),(76,131,142,8,NULL,NULL,1,NULL,0,0,NULL),(77,80,142,8,NULL,NULL,1,NULL,0,0,NULL),(78,183,142,8,NULL,NULL,1,NULL,0,0,NULL),(79,187,142,7,NULL,NULL,0,NULL,0,0,NULL),(80,131,187,2,NULL,NULL,0,NULL,0,0,NULL),(81,182,143,1,NULL,NULL,1,NULL,0,0,NULL),(82,55,143,1,NULL,NULL,1,NULL,0,0,NULL),(83,182,46,1,NULL,NULL,1,NULL,0,0,NULL),(84,55,46,1,NULL,NULL,1,NULL,0,0,NULL),(85,55,182,4,NULL,NULL,1,NULL,0,0,NULL),(86,46,28,8,NULL,NULL,1,NULL,0,0,NULL),(87,182,28,8,NULL,NULL,1,NULL,0,0,NULL),(88,55,28,8,NULL,NULL,1,NULL,0,0,NULL),(89,143,28,7,NULL,NULL,0,NULL,0,0,NULL),(90,46,143,2,NULL,NULL,0,NULL,0,0,NULL),(91,161,48,1,NULL,NULL,1,NULL,0,0,NULL),(92,139,48,1,NULL,NULL,1,NULL,0,0,NULL),(93,161,114,1,NULL,NULL,1,NULL,0,0,NULL),(94,139,114,1,NULL,NULL,1,NULL,0,0,NULL),(95,139,161,4,NULL,NULL,1,NULL,0,0,NULL),(96,114,138,8,NULL,NULL,1,NULL,0,0,NULL),(97,161,138,8,NULL,NULL,1,NULL,0,0,NULL),(98,139,138,8,NULL,NULL,1,NULL,0,0,NULL),(99,48,138,7,NULL,NULL,1,NULL,0,0,NULL),(100,114,48,2,NULL,NULL,1,NULL,0,0,NULL),(101,186,154,1,NULL,NULL,1,NULL,0,0,NULL),(102,185,154,1,NULL,NULL,1,NULL,0,0,NULL),(103,186,97,1,NULL,NULL,1,NULL,0,0,NULL),(104,185,97,1,NULL,NULL,1,NULL,0,0,NULL),(105,185,186,4,NULL,NULL,1,NULL,0,0,NULL),(106,97,68,8,NULL,NULL,1,NULL,0,0,NULL),(107,186,68,8,NULL,NULL,1,NULL,0,0,NULL),(108,185,68,8,NULL,NULL,1,NULL,0,0,NULL),(109,154,68,7,NULL,NULL,1,NULL,0,0,NULL),(110,97,154,2,NULL,NULL,1,NULL,0,0,NULL),(111,69,78,1,NULL,NULL,1,NULL,0,0,NULL),(112,39,78,1,NULL,NULL,1,NULL,0,0,NULL),(113,69,59,1,NULL,NULL,1,NULL,0,0,NULL),(114,39,59,1,NULL,NULL,1,NULL,0,0,NULL),(115,39,69,4,NULL,NULL,1,NULL,0,0,NULL),(116,59,38,8,NULL,NULL,1,NULL,0,0,NULL),(117,69,38,8,NULL,NULL,1,NULL,0,0,NULL),(118,39,38,8,NULL,NULL,1,NULL,0,0,NULL),(119,78,38,7,NULL,NULL,1,NULL,0,0,NULL),(120,59,78,2,NULL,NULL,1,NULL,0,0,NULL),(121,37,109,1,NULL,NULL,1,NULL,0,0,NULL),(122,65,109,1,NULL,NULL,1,NULL,0,0,NULL),(123,37,62,1,NULL,NULL,1,NULL,0,0,NULL),(124,65,62,1,NULL,NULL,1,NULL,0,0,NULL),(125,65,37,4,NULL,NULL,1,NULL,0,0,NULL),(126,62,58,8,NULL,NULL,1,NULL,0,0,NULL),(127,37,58,8,NULL,NULL,1,NULL,0,0,NULL),(128,65,58,8,NULL,NULL,1,NULL,0,0,NULL),(129,109,58,7,NULL,NULL,1,NULL,0,0,NULL),(130,62,109,2,NULL,NULL,1,NULL,0,0,NULL),(131,175,116,1,NULL,NULL,1,NULL,0,0,NULL),(132,35,116,1,NULL,NULL,1,NULL,0,0,NULL),(133,175,60,1,NULL,NULL,1,NULL,0,0,NULL),(134,35,60,1,NULL,NULL,1,NULL,0,0,NULL),(135,35,175,4,NULL,NULL,1,NULL,0,0,NULL),(136,60,158,8,NULL,NULL,1,NULL,0,0,NULL),(137,175,158,8,NULL,NULL,1,NULL,0,0,NULL),(138,35,158,8,NULL,NULL,1,NULL,0,0,NULL),(139,116,158,7,NULL,NULL,0,NULL,0,0,NULL),(140,60,116,2,NULL,NULL,0,NULL,0,0,NULL),(141,18,171,1,NULL,NULL,1,NULL,0,0,NULL),(142,176,171,1,NULL,NULL,1,NULL,0,0,NULL),(143,18,43,1,NULL,NULL,1,NULL,0,0,NULL),(144,176,43,1,NULL,NULL,1,NULL,0,0,NULL),(145,176,18,4,NULL,NULL,1,NULL,0,0,NULL),(146,43,168,8,NULL,NULL,1,NULL,0,0,NULL),(147,18,168,8,NULL,NULL,1,NULL,0,0,NULL),(148,176,168,8,NULL,NULL,1,NULL,0,0,NULL),(149,171,168,7,NULL,NULL,1,NULL,0,0,NULL),(150,43,171,2,NULL,NULL,1,NULL,0,0,NULL),(151,111,22,1,NULL,NULL,1,NULL,0,0,NULL),(152,136,22,1,NULL,NULL,1,NULL,0,0,NULL),(153,111,47,1,NULL,NULL,1,NULL,0,0,NULL),(154,136,47,1,NULL,NULL,1,NULL,0,0,NULL),(155,136,111,4,NULL,NULL,1,NULL,0,0,NULL),(156,47,180,8,NULL,NULL,1,NULL,0,0,NULL),(157,111,180,8,NULL,NULL,1,NULL,0,0,NULL),(158,136,180,8,NULL,NULL,1,NULL,0,0,NULL),(159,22,180,7,NULL,NULL,0,NULL,0,0,NULL),(160,47,22,2,NULL,NULL,0,NULL,0,0,NULL),(161,147,145,1,NULL,NULL,1,NULL,0,0,NULL),(162,9,145,1,NULL,NULL,1,NULL,0,0,NULL),(163,147,128,1,NULL,NULL,1,NULL,0,0,NULL),(164,9,128,1,NULL,NULL,1,NULL,0,0,NULL),(165,9,147,4,NULL,NULL,1,NULL,0,0,NULL),(166,128,25,8,NULL,NULL,1,NULL,0,0,NULL),(167,147,25,8,NULL,NULL,1,NULL,0,0,NULL),(168,9,25,8,NULL,NULL,1,NULL,0,0,NULL),(169,145,25,7,NULL,NULL,0,NULL,0,0,NULL),(170,128,145,2,NULL,NULL,0,NULL,0,0,NULL),(171,20,110,1,NULL,NULL,1,NULL,0,0,NULL),(172,30,110,1,NULL,NULL,1,NULL,0,0,NULL),(173,20,106,1,NULL,NULL,1,NULL,0,0,NULL),(174,30,106,1,NULL,NULL,1,NULL,0,0,NULL),(175,30,20,4,NULL,NULL,1,NULL,0,0,NULL),(176,106,198,8,NULL,NULL,1,NULL,0,0,NULL),(177,20,198,8,NULL,NULL,1,NULL,0,0,NULL),(178,30,198,8,NULL,NULL,1,NULL,0,0,NULL),(179,110,198,7,NULL,NULL,0,NULL,0,0,NULL),(180,106,110,2,NULL,NULL,0,NULL,0,0,NULL),(181,194,170,1,NULL,NULL,1,NULL,0,0,NULL),(182,50,170,1,NULL,NULL,1,NULL,0,0,NULL),(183,194,120,1,NULL,NULL,1,NULL,0,0,NULL),(184,50,120,1,NULL,NULL,1,NULL,0,0,NULL),(185,50,194,4,NULL,NULL,1,NULL,0,0,NULL),(186,120,167,8,NULL,NULL,1,NULL,0,0,NULL),(187,194,167,8,NULL,NULL,1,NULL,0,0,NULL),(188,50,167,8,NULL,NULL,1,NULL,0,0,NULL),(189,170,167,7,NULL,NULL,1,NULL,0,0,NULL),(190,120,170,2,NULL,NULL,1,NULL,0,0,NULL),(191,5,162,1,NULL,NULL,1,NULL,0,0,NULL),(192,174,162,1,NULL,NULL,1,NULL,0,0,NULL),(193,5,12,1,NULL,NULL,1,NULL,0,0,NULL),(194,174,12,1,NULL,NULL,1,NULL,0,0,NULL),(195,174,5,4,NULL,NULL,1,NULL,0,0,NULL),(196,12,99,8,NULL,NULL,1,NULL,0,0,NULL),(197,5,99,8,NULL,NULL,1,NULL,0,0,NULL),(198,174,99,8,NULL,NULL,1,NULL,0,0,NULL),(199,162,99,7,NULL,NULL,1,NULL,0,0,NULL),(200,12,162,2,NULL,NULL,1,NULL,0,0,NULL),(201,34,36,5,NULL,NULL,1,NULL,0,0,NULL),(202,124,52,5,NULL,NULL,1,NULL,0,0,NULL),(203,112,54,5,NULL,NULL,1,NULL,0,0,NULL),(204,30,56,5,NULL,NULL,1,NULL,0,0,NULL),(205,17,66,5,NULL,NULL,1,NULL,0,0,NULL),(206,133,82,5,NULL,NULL,1,NULL,0,0,NULL),(207,44,89,5,NULL,NULL,1,NULL,0,0,NULL),(208,172,91,5,NULL,NULL,1,NULL,0,0,NULL),(209,8,96,5,NULL,NULL,1,NULL,0,0,NULL),(210,47,115,5,NULL,NULL,1,NULL,0,0,NULL),(211,114,119,5,NULL,NULL,1,NULL,0,0,NULL),(212,159,127,5,NULL,NULL,1,NULL,0,0,NULL),(213,186,160,5,NULL,NULL,1,NULL,0,0,NULL),(214,150,191,5,NULL,NULL,1,NULL,0,0,NULL); /*!40000 ALTER TABLE `civicrm_relationship` ENABLE KEYS */; UNLOCK TABLES; @@ -1308,7 +1308,7 @@ UNLOCK TABLES; LOCK TABLES `civicrm_setting` WRITE; /*!40000 ALTER TABLE `civicrm_setting` DISABLE KEYS */; -INSERT INTO `civicrm_setting` (`id`, `group_name`, `name`, `value`, `domain_id`, `contact_id`, `is_domain`, `component_id`, `created_date`, `created_id`) VALUES (1,'CiviCRM Preferences','contact_view_options','s:28:\"123456789101113\";',1,NULL,1,NULL,NULL,NULL),(2,'CiviCRM Preferences','contact_smart_group_display','s:1:\"1\";',1,NULL,1,NULL,NULL,NULL),(3,'CiviCRM Preferences','contact_edit_options','s:37:\"123456789111214151617\";',1,NULL,1,NULL,NULL,NULL),(4,'CiviCRM Preferences','advanced_search_options','s:46:\"123456789101112131516171819\";',1,NULL,1,NULL,NULL,NULL),(5,'CiviCRM Preferences','user_dashboard_options','s:15:\"1234578\";',1,NULL,1,NULL,NULL,NULL),(6,'CiviCRM Preferences','address_options','s:23:\"123456891011\";',1,NULL,1,NULL,NULL,NULL),(7,'CiviCRM Preferences','address_format','s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";',1,NULL,1,NULL,NULL,NULL),(8,'CiviCRM Preferences','mailing_format','s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";',1,NULL,1,NULL,NULL,NULL),(9,'CiviCRM Preferences','display_name_format','s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";',1,NULL,1,NULL,NULL,NULL),(10,'CiviCRM Preferences','sort_name_format','s:43:\"{contact.last_name}{, }{contact.first_name}\";',1,NULL,1,NULL,NULL,NULL),(11,'CiviCRM Preferences','editor_id','s:1:\"2\";',1,NULL,1,NULL,NULL,NULL),(12,'CiviCRM Preferences','contact_ajax_check_similar','s:1:\"1\";',1,NULL,1,NULL,NULL,NULL),(13,'CiviCRM Preferences','activity_assignee_notification','s:1:\"1\";',1,NULL,1,NULL,NULL,NULL),(14,'CiviCRM Preferences','activity_assignee_notification_ics','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(15,'CiviCRM Preferences','contact_autocomplete_options','s:5:\"12\";',1,NULL,1,NULL,NULL,NULL),(16,'CiviCRM Preferences','contact_reference_options','s:5:\"12\";',1,NULL,1,NULL,NULL,NULL),(17,'Address Standardization Preferences','address_standardization_provider',NULL,1,NULL,1,NULL,NULL,NULL),(18,'Address Standardization Preferences','address_standardization_userid',NULL,1,NULL,1,NULL,NULL,NULL),(19,'Address Standardization Preferences','address_standardization_url',NULL,1,NULL,1,NULL,NULL,NULL),(20,'Campaign Preferences','tag_unconfirmed','s:11:\"Unconfirmed\";',1,NULL,1,NULL,NULL,NULL),(21,'Campaign Preferences','petition_contacts','s:17:\"Petition Contacts\";',1,NULL,1,NULL,NULL,NULL),(22,'Event Preferences','enable_cart','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(23,'Mailing Preferences','profile_double_optin','s:1:\"1\";',1,NULL,1,NULL,NULL,NULL),(24,'Mailing Preferences','profile_add_to_group_double_optin','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(25,'Mailing Preferences','track_civimail_replies','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(26,'Mailing Preferences','civimail_workflow','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(27,'Mailing Preferences','civimail_server_wide_lock','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(28,'Mailing Preferences','mailing_backend','a:1:{s:15:\"outBound_option\";s:1:\"3\";}',1,NULL,1,NULL,NULL,NULL),(29,'Mailing Preferences','write_activity_record','s:1:\"1\";',1,NULL,1,NULL,NULL,NULL),(30,'Member Preferences','default_renewal_contribution_page',NULL,1,NULL,1,NULL,NULL,NULL),(31,'Multi Site Preferences','is_enabled','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(32,'Multi Site Preferences','uniq_email_per_site','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(33,'Multi Site Preferences','domain_group_id','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(34,'Multi Site Preferences','event_price_set_domain_id','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(35,'Directory Preferences','uploadDir',NULL,1,NULL,1,NULL,'2015-10-13 02:43:52',NULL),(36,'Directory Preferences','imageUploadDir',NULL,1,NULL,1,NULL,'2015-10-13 02:43:52',NULL),(37,'Directory Preferences','customFileUploadDir',NULL,1,NULL,1,NULL,'2015-10-13 02:43:52',NULL),(38,'Directory Preferences','customTemplateDir',NULL,1,NULL,1,NULL,NULL,NULL),(39,'Directory Preferences','customPHPPathDir',NULL,1,NULL,1,NULL,NULL,NULL),(40,'Directory Preferences','extensionsDir',NULL,1,NULL,1,NULL,'2015-10-13 02:43:52',NULL),(41,'URL Preferences','userFrameworkResourceURL',NULL,1,NULL,1,NULL,'2015-10-13 02:43:52',NULL),(42,'URL Preferences','imageUploadURL',NULL,1,NULL,1,NULL,'2015-10-13 02:43:52',NULL),(43,'URL Preferences','customCSSURL',NULL,1,NULL,1,NULL,NULL,NULL),(44,'URL Preferences','extensionsURL',NULL,1,NULL,1,NULL,'2015-10-13 02:43:52',NULL),(45,'Contribute Preferences','contribution_invoice_settings','a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}',1,NULL,1,NULL,NULL,NULL),(46,'Contribute Preferences','cvv_backoffice_required','s:1:\"1\";',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(47,'CiviCRM Preferences','ajaxPopupsEnabled','i:1;',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(48,'CiviCRM Preferences','max_attachments','i:3;',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(49,'CiviCRM Preferences','contact_undelete','i:1;',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(50,'CiviCRM Preferences','allowPermDeleteFinancial','b:0;',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(51,'CiviCRM Preferences','versionAlert','i:1;',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(52,'CiviCRM Preferences','securityUpdateAlert','i:3;',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(53,'CiviCRM Preferences','versionCheck','i:1;',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(54,'CiviCRM Preferences','versionCheckIgnoreDate',NULL,1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(55,'CiviCRM Preferences','securityAlert','i:1;',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(56,'CiviCRM Preferences','blogUrl','s:9:\"*default*\";',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(57,'CiviCRM Preferences','communityMessagesUrl','s:9:\"*default*\";',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(58,'CiviCRM Preferences','verifySSL','i:1;',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(59,'CiviCRM Preferences','enableSSL','i:0;',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(60,'CiviCRM Preferences','resCacheCode','s:5:\"QQrjw\";',1,NULL,1,NULL,'2015-10-13 02:43:59',NULL),(61,'CiviCRM Preferences','enable_components','a:6:{i:0;s:9:\"CiviEvent\";i:1;s:14:\"CiviContribute\";i:2;s:10:\"CiviMember\";i:3;s:8:\"CiviMail\";i:4;s:10:\"CiviReport\";i:5;s:10:\"CiviPledge\";}',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(62,'CiviCRM Preferences','disable_core_css','s:1:\"0\";',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(63,'CiviCRM Preferences','empoweredBy','b:1;',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(64,'CiviCRM Preferences','site_id',NULL,1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(65,'Developer Preferences','fatalErrorTemplate','s:20:\"CRM/common/fatal.tpl\";',1,NULL,1,NULL,'2015-10-13 02:43:58',NULL),(66,'Event Preferences','event_enable_cart','i:0;',1,NULL,1,NULL,'2015-10-13 02:43:59',NULL),(67,'Mailing Preferences','replyTo','i:0;',1,NULL,1,NULL,'2015-10-13 02:43:59',NULL),(68,'Mailing Preferences','disable_mandatory_tokens_check','i:0;',1,NULL,1,NULL,'2015-10-13 02:43:59',NULL),(69,'Mailing Preferences','dedupe_email_default','i:1;',1,NULL,1,NULL,'2015-10-13 02:43:59',NULL),(70,'Mailing Preferences','hash_mailing_url','i:0;',1,NULL,1,NULL,'2015-10-13 02:43:59',NULL),(71,'Search Preferences','search_autocomplete_count','i:10;',1,NULL,1,NULL,'2015-10-13 02:43:59',NULL),(72,'Search Preferences','enable_innodb_fts','i:0;',1,NULL,1,NULL,'2015-10-13 02:43:59',NULL),(73,'Search Preferences','fts_query_mode','s:6:\"simple\";',1,NULL,1,NULL,'2015-10-13 02:43:59',NULL); +INSERT INTO `civicrm_setting` (`id`, `group_name`, `name`, `value`, `domain_id`, `contact_id`, `is_domain`, `component_id`, `created_date`, `created_id`) VALUES (1,'CiviCRM Preferences','contact_view_options','s:28:\"123456789101113\";',1,NULL,1,NULL,NULL,NULL),(2,'CiviCRM Preferences','contact_smart_group_display','s:1:\"1\";',1,NULL,1,NULL,NULL,NULL),(3,'CiviCRM Preferences','contact_edit_options','s:37:\"123456789111214151617\";',1,NULL,1,NULL,NULL,NULL),(4,'CiviCRM Preferences','advanced_search_options','s:46:\"123456789101112131516171819\";',1,NULL,1,NULL,NULL,NULL),(5,'CiviCRM Preferences','user_dashboard_options','s:15:\"1234578\";',1,NULL,1,NULL,NULL,NULL),(6,'CiviCRM Preferences','address_options','s:23:\"123456891011\";',1,NULL,1,NULL,NULL,NULL),(7,'CiviCRM Preferences','address_format','s:198:\"{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";',1,NULL,1,NULL,NULL,NULL),(8,'CiviCRM Preferences','mailing_format','s:195:\"{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}\";',1,NULL,1,NULL,NULL,NULL),(9,'CiviCRM Preferences','display_name_format','s:102:\"{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}\";',1,NULL,1,NULL,NULL,NULL),(10,'CiviCRM Preferences','sort_name_format','s:43:\"{contact.last_name}{, }{contact.first_name}\";',1,NULL,1,NULL,NULL,NULL),(11,'CiviCRM Preferences','editor_id','s:1:\"2\";',1,NULL,1,NULL,NULL,NULL),(12,'CiviCRM Preferences','contact_ajax_check_similar','s:1:\"1\";',1,NULL,1,NULL,NULL,NULL),(13,'CiviCRM Preferences','activity_assignee_notification','s:1:\"1\";',1,NULL,1,NULL,NULL,NULL),(14,'CiviCRM Preferences','activity_assignee_notification_ics','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(15,'CiviCRM Preferences','contact_autocomplete_options','s:5:\"12\";',1,NULL,1,NULL,NULL,NULL),(16,'CiviCRM Preferences','contact_reference_options','s:5:\"12\";',1,NULL,1,NULL,NULL,NULL),(17,'Address Standardization Preferences','address_standardization_provider',NULL,1,NULL,1,NULL,NULL,NULL),(18,'Address Standardization Preferences','address_standardization_userid',NULL,1,NULL,1,NULL,NULL,NULL),(19,'Address Standardization Preferences','address_standardization_url',NULL,1,NULL,1,NULL,NULL,NULL),(20,'Campaign Preferences','tag_unconfirmed','s:11:\"Unconfirmed\";',1,NULL,1,NULL,NULL,NULL),(21,'Campaign Preferences','petition_contacts','s:17:\"Petition Contacts\";',1,NULL,1,NULL,NULL,NULL),(22,'Event Preferences','enable_cart','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(23,'Mailing Preferences','profile_double_optin','s:1:\"1\";',1,NULL,1,NULL,NULL,NULL),(24,'Mailing Preferences','profile_add_to_group_double_optin','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(25,'Mailing Preferences','track_civimail_replies','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(26,'Mailing Preferences','civimail_workflow','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(27,'Mailing Preferences','civimail_server_wide_lock','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(28,'Mailing Preferences','mailing_backend','a:1:{s:15:\"outBound_option\";s:1:\"3\";}',1,NULL,1,NULL,NULL,NULL),(29,'Mailing Preferences','write_activity_record','s:1:\"1\";',1,NULL,1,NULL,NULL,NULL),(30,'Member Preferences','default_renewal_contribution_page',NULL,1,NULL,1,NULL,NULL,NULL),(31,'Multi Site Preferences','is_enabled','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(32,'Multi Site Preferences','uniq_email_per_site','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(33,'Multi Site Preferences','domain_group_id','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(34,'Multi Site Preferences','event_price_set_domain_id','s:1:\"0\";',1,NULL,1,NULL,NULL,NULL),(35,'Directory Preferences','uploadDir',NULL,1,NULL,1,NULL,'2016-01-06 02:23:12',NULL),(36,'Directory Preferences','imageUploadDir',NULL,1,NULL,1,NULL,'2016-01-06 02:23:12',NULL),(37,'Directory Preferences','customFileUploadDir',NULL,1,NULL,1,NULL,'2016-01-06 02:23:12',NULL),(38,'Directory Preferences','customTemplateDir',NULL,1,NULL,1,NULL,NULL,NULL),(39,'Directory Preferences','customPHPPathDir',NULL,1,NULL,1,NULL,NULL,NULL),(40,'Directory Preferences','extensionsDir',NULL,1,NULL,1,NULL,'2016-01-06 02:23:12',NULL),(41,'URL Preferences','userFrameworkResourceURL',NULL,1,NULL,1,NULL,'2016-01-06 02:23:12',NULL),(42,'URL Preferences','imageUploadURL',NULL,1,NULL,1,NULL,'2016-01-06 02:23:12',NULL),(43,'URL Preferences','customCSSURL',NULL,1,NULL,1,NULL,NULL,NULL),(44,'URL Preferences','extensionsURL',NULL,1,NULL,1,NULL,'2016-01-06 02:23:12',NULL),(45,'Contribute Preferences','contribution_invoice_settings','a:7:{s:14:\"invoice_prefix\";s:4:\"INV_\";s:19:\"credit_notes_prefix\";s:3:\"CN_\";s:8:\"due_date\";s:2:\"10\";s:15:\"due_date_period\";s:4:\"days\";s:5:\"notes\";s:0:\"\";s:8:\"tax_term\";s:9:\"Sales Tax\";s:20:\"tax_display_settings\";s:9:\"Inclusive\";}',1,NULL,1,NULL,NULL,NULL),(46,'Contribute Preferences','cvv_backoffice_required','s:1:\"1\";',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(47,'CiviCRM Preferences','ajaxPopupsEnabled','i:1;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(48,'CiviCRM Preferences','max_attachments','i:3;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(49,'CiviCRM Preferences','contact_undelete','i:1;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(50,'CiviCRM Preferences','allowPermDeleteFinancial','b:0;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(51,'CiviCRM Preferences','versionAlert','i:1;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(52,'CiviCRM Preferences','securityUpdateAlert','i:3;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(53,'CiviCRM Preferences','versionCheck','i:1;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(54,'CiviCRM Preferences','versionCheckIgnoreDate',NULL,1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(55,'CiviCRM Preferences','securityAlert','i:1;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(56,'CiviCRM Preferences','blogUrl','s:9:\"*default*\";',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(57,'CiviCRM Preferences','communityMessagesUrl','s:9:\"*default*\";',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(58,'CiviCRM Preferences','verifySSL','i:1;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(59,'CiviCRM Preferences','enableSSL','i:0;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(60,'CiviCRM Preferences','resCacheCode','s:5:\"hrCWE\";',1,NULL,1,NULL,'2016-01-06 11:23:17',NULL),(61,'CiviCRM Preferences','enable_components','a:6:{i:0;s:9:\"CiviEvent\";i:1;s:14:\"CiviContribute\";i:2;s:10:\"CiviMember\";i:3;s:8:\"CiviMail\";i:4;s:10:\"CiviReport\";i:5;s:10:\"CiviPledge\";}',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(62,'CiviCRM Preferences','disable_core_css','s:1:\"0\";',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(63,'CiviCRM Preferences','empoweredBy','b:1;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(64,'CiviCRM Preferences','site_id',NULL,1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(65,'Developer Preferences','fatalErrorTemplate','s:20:\"CRM/common/fatal.tpl\";',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(66,'Event Preferences','event_enable_cart','i:0;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(67,'Mailing Preferences','replyTo','i:0;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(68,'Mailing Preferences','disable_mandatory_tokens_check','i:0;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(69,'Mailing Preferences','dedupe_email_default','i:1;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(70,'Mailing Preferences','hash_mailing_url','i:0;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(71,'Search Preferences','search_autocomplete_count','i:10;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(72,'Search Preferences','enable_innodb_fts','i:0;',1,NULL,1,NULL,'2016-01-06 11:23:16',NULL),(73,'Search Preferences','fts_query_mode','s:6:\"simple\";',1,NULL,1,NULL,'2016-01-06 11:23:17',NULL); /*!40000 ALTER TABLE `civicrm_setting` ENABLE KEYS */; UNLOCK TABLES; @@ -1337,7 +1337,7 @@ 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,167,2,'2015-04-12 09:32:21','Admin','Added',NULL),(2,193,2,'2014-11-14 05:39:21','Email','Added',NULL),(3,123,2,'2015-04-26 03:27:51','Email','Added',NULL),(4,46,2,'2015-07-18 12:22:04','Email','Added',NULL),(5,22,2,'2014-11-11 01:43:34','Email','Added',NULL),(6,54,2,'2015-03-24 03:03:29','Admin','Added',NULL),(7,160,2,'2015-05-27 09:45:21','Email','Added',NULL),(8,96,2,'2015-06-02 11:20:08','Email','Added',NULL),(9,137,2,'2015-03-10 11:31:58','Admin','Added',NULL),(10,148,2,'2015-08-22 12:04:32','Email','Added',NULL),(11,55,2,'2015-08-06 12:32:56','Email','Added',NULL),(12,174,2,'2015-05-29 05:14:38','Email','Added',NULL),(13,135,2,'2014-11-22 09:51:36','Email','Added',NULL),(14,67,2,'2015-05-14 07:02:29','Admin','Added',NULL),(15,8,2,'2014-10-21 07:24:26','Email','Added',NULL),(16,142,2,'2015-09-26 06:09:02','Admin','Added',NULL),(17,23,2,'2015-03-14 06:01:28','Admin','Added',NULL),(18,70,2,'2015-02-11 01:24:30','Admin','Added',NULL),(19,20,2,'2015-01-20 03:35:32','Email','Added',NULL),(20,132,2,'2014-11-03 11:17:51','Email','Added',NULL),(21,114,2,'2014-11-05 04:25:33','Admin','Added',NULL),(22,121,2,'2015-07-21 06:37:55','Email','Added',NULL),(23,65,2,'2015-07-30 11:17:13','Email','Added',NULL),(24,63,2,'2014-10-17 10:09:14','Admin','Added',NULL),(25,17,2,'2015-09-30 03:12:14','Admin','Added',NULL),(26,152,2,'2015-10-11 04:35:27','Email','Added',NULL),(27,34,2,'2015-03-26 03:44:35','Email','Added',NULL),(28,9,2,'2015-07-10 09:47:57','Admin','Added',NULL),(29,52,2,'2015-01-18 08:58:59','Admin','Added',NULL),(30,69,2,'2014-10-25 04:35:46','Admin','Added',NULL),(31,103,2,'2015-07-10 04:49:09','Admin','Added',NULL),(32,195,2,'2015-07-24 10:46:42','Email','Added',NULL),(33,110,2,'2015-04-13 01:17:16','Email','Added',NULL),(34,91,2,'2015-03-09 01:20:02','Admin','Added',NULL),(35,78,2,'2015-06-23 10:40:52','Admin','Added',NULL),(36,156,2,'2014-11-23 11:30:38','Admin','Added',NULL),(37,198,2,'2015-02-12 08:48:36','Email','Added',NULL),(38,176,2,'2015-05-20 05:35:55','Admin','Added',NULL),(39,149,2,'2015-09-03 09:45:02','Admin','Added',NULL),(40,30,2,'2014-12-11 01:13:23','Admin','Added',NULL),(41,107,2,'2015-04-06 04:48:05','Admin','Added',NULL),(42,28,2,'2015-10-11 03:31:24','Email','Added',NULL),(43,159,2,'2015-10-09 11:19:46','Email','Added',NULL),(44,168,2,'2015-06-10 10:17:33','Admin','Added',NULL),(45,184,2,'2015-06-18 01:05:17','Admin','Added',NULL),(46,175,2,'2015-02-22 12:58:07','Email','Added',NULL),(47,180,2,'2015-07-14 06:17:13','Email','Added',NULL),(48,150,2,'2015-07-09 03:03:00','Email','Added',NULL),(49,130,2,'2015-08-04 05:29:51','Email','Added',NULL),(50,10,2,'2015-09-25 10:51:51','Admin','Added',NULL),(51,153,2,'2015-06-14 10:38:37','Admin','Added',NULL),(52,116,2,'2015-05-23 09:52:40','Email','Added',NULL),(53,84,2,'2015-04-19 06:23:42','Admin','Added',NULL),(54,57,2,'2015-04-08 12:19:08','Admin','Added',NULL),(55,51,2,'2015-02-26 10:09:43','Email','Added',NULL),(56,21,2,'2015-03-10 01:21:44','Email','Added',NULL),(57,58,2,'2015-01-31 09:29:15','Admin','Added',NULL),(58,158,2,'2015-06-25 01:22:30','Email','Added',NULL),(59,81,2,'2015-05-08 10:20:19','Email','Added',NULL),(60,99,2,'2015-02-10 10:11:12','Email','Added',NULL),(61,179,3,'2015-01-26 09:36:29','Email','Added',NULL),(62,75,3,'2014-11-03 08:46:26','Admin','Added',NULL),(63,200,3,'2015-01-21 07:17:20','Admin','Added',NULL),(64,113,3,'2015-06-15 09:35:17','Admin','Added',NULL),(65,186,3,'2015-09-11 05:20:56','Email','Added',NULL),(66,100,3,'2014-12-06 09:42:18','Email','Added',NULL),(67,146,3,'2015-09-29 08:39:19','Admin','Added',NULL),(68,44,3,'2015-07-29 11:27:54','Admin','Added',NULL),(69,133,3,'2015-09-23 04:15:45','Admin','Added',NULL),(70,36,3,'2015-03-04 08:56:11','Admin','Added',NULL),(71,14,3,'2015-05-08 08:32:56','Email','Added',NULL),(72,74,3,'2014-10-18 01:53:56','Admin','Added',NULL),(73,188,3,'2015-06-28 02:44:39','Admin','Added',NULL),(74,40,3,'2015-02-14 09:19:47','Email','Added',NULL),(75,6,3,'2015-10-01 11:31:06','Admin','Added',NULL),(76,167,4,'2015-07-07 03:29:09','Admin','Added',NULL),(77,96,4,'2015-04-30 07:28:05','Email','Added',NULL),(78,8,4,'2015-02-06 03:33:00','Email','Added',NULL),(79,121,4,'2015-08-31 08:38:45','Email','Added',NULL),(80,52,4,'2014-10-29 05:36:52','Admin','Added',NULL),(81,156,4,'2015-03-18 09:47:35','Email','Added',NULL),(82,159,4,'2015-02-10 12:13:04','Email','Added',NULL),(83,10,4,'2015-07-11 04:30:22','Admin','Added',NULL); +INSERT INTO `civicrm_subscription_history` (`id`, `contact_id`, `group_id`, `date`, `method`, `status`, `tracking`) VALUES (1,6,2,'2015-06-12 03:51:41','Admin','Added',NULL),(2,63,2,'2015-10-22 08:22:33','Admin','Added',NULL),(3,157,2,'2015-02-28 06:00:46','Email','Added',NULL),(4,64,2,'2015-03-22 10:42:32','Email','Added',NULL),(5,98,2,'2015-04-04 07:53:09','Email','Added',NULL),(6,189,2,'2015-11-16 08:28:53','Admin','Added',NULL),(7,164,2,'2015-07-10 01:38:36','Email','Added',NULL),(8,172,2,'2015-06-16 01:49:13','Email','Added',NULL),(9,130,2,'2015-05-01 04:19:47','Email','Added',NULL),(10,31,2,'2015-07-19 07:42:53','Email','Added',NULL),(11,144,2,'2015-03-12 05:53:35','Admin','Added',NULL),(12,14,2,'2015-09-19 08:26:47','Email','Added',NULL),(13,178,2,'2015-01-12 01:29:48','Email','Added',NULL),(14,155,2,'2015-08-14 09:06:28','Admin','Added',NULL),(15,85,2,'2015-03-10 01:21:09','Admin','Added',NULL),(16,57,2,'2015-01-17 09:53:58','Admin','Added',NULL),(17,101,2,'2015-01-20 03:45:54','Email','Added',NULL),(18,53,2,'2015-07-02 03:38:10','Admin','Added',NULL),(19,73,2,'2015-11-04 11:34:40','Admin','Added',NULL),(20,146,2,'2015-10-28 12:35:06','Email','Added',NULL),(21,2,2,'2015-05-18 07:06:12','Email','Added',NULL),(22,86,2,'2015-09-27 07:00:24','Email','Added',NULL),(23,71,2,'2015-05-29 06:55:15','Email','Added',NULL),(24,201,2,'2015-06-27 10:47:21','Email','Added',NULL),(25,51,2,'2015-02-05 07:48:32','Admin','Added',NULL),(26,129,2,'2015-01-16 04:10:26','Admin','Added',NULL),(27,151,2,'2015-09-08 06:36:54','Email','Added',NULL),(28,77,2,'2015-07-20 09:58:54','Admin','Added',NULL),(29,188,2,'2015-04-24 08:43:24','Admin','Added',NULL),(30,49,2,'2015-04-04 08:44:50','Admin','Added',NULL),(31,112,2,'2015-12-09 04:46:46','Email','Added',NULL),(32,148,2,'2015-05-24 03:52:01','Email','Added',NULL),(33,70,2,'2015-10-31 01:16:32','Email','Added',NULL),(34,152,2,'2015-07-13 06:15:30','Email','Added',NULL),(35,107,2,'2015-11-20 05:27:03','Admin','Added',NULL),(36,4,2,'2015-06-12 06:06:50','Admin','Added',NULL),(37,173,2,'2015-03-31 03:22:41','Admin','Added',NULL),(38,11,2,'2015-09-26 01:31:06','Email','Added',NULL),(39,124,2,'2015-03-31 05:10:17','Admin','Added',NULL),(40,16,2,'2015-12-31 10:27:42','Email','Added',NULL),(41,87,2,'2015-09-16 11:36:03','Admin','Added',NULL),(42,10,2,'2015-03-21 03:04:11','Email','Added',NULL),(43,8,2,'2015-09-26 05:49:09','Admin','Added',NULL),(44,76,2,'2015-08-29 12:35:50','Admin','Added',NULL),(45,113,2,'2015-09-02 06:36:27','Email','Added',NULL),(46,94,2,'2015-08-14 05:51:38','Admin','Added',NULL),(47,117,2,'2015-03-03 03:56:47','Admin','Added',NULL),(48,193,2,'2015-05-05 10:24:06','Admin','Added',NULL),(49,32,2,'2015-11-01 01:09:01','Email','Added',NULL),(50,15,2,'2015-12-13 02:51:16','Email','Added',NULL),(51,105,2,'2015-05-20 04:39:52','Admin','Added',NULL),(52,84,2,'2015-11-22 04:34:48','Admin','Added',NULL),(53,135,2,'2015-05-31 03:24:30','Email','Added',NULL),(54,26,2,'2015-09-27 11:15:48','Admin','Added',NULL),(55,153,2,'2015-11-03 08:32:04','Email','Added',NULL),(56,197,2,'2015-09-11 09:41:59','Admin','Added',NULL),(57,141,2,'2015-10-14 07:48:47','Admin','Added',NULL),(58,88,2,'2015-11-30 07:33:54','Email','Added',NULL),(59,41,2,'2015-07-11 10:26:58','Admin','Added',NULL),(60,133,2,'2015-06-13 08:04:37','Admin','Added',NULL),(61,126,3,'2015-12-12 09:56:35','Admin','Added',NULL),(62,166,3,'2015-02-20 01:40:28','Admin','Added',NULL),(63,121,3,'2015-02-07 01:56:53','Email','Added',NULL),(64,118,3,'2015-08-25 08:16:50','Admin','Added',NULL),(65,132,3,'2015-09-22 05:16:16','Admin','Added',NULL),(66,169,3,'2015-02-26 07:37:52','Admin','Added',NULL),(67,27,3,'2015-08-12 10:33:32','Email','Added',NULL),(68,150,3,'2015-07-30 07:40:07','Email','Added',NULL),(69,42,3,'2015-08-02 02:50:14','Email','Added',NULL),(70,163,3,'2015-06-19 08:37:40','Admin','Added',NULL),(71,104,3,'2015-11-02 05:22:37','Email','Added',NULL),(72,159,3,'2015-06-14 08:34:32','Email','Added',NULL),(73,134,3,'2015-08-06 01:15:47','Admin','Added',NULL),(74,24,3,'2016-01-05 01:32:11','Admin','Added',NULL),(75,75,3,'2015-11-07 11:40:43','Admin','Added',NULL),(76,6,4,'2015-11-12 09:33:43','Admin','Added',NULL),(77,172,4,'2015-01-30 08:20:14','Admin','Added',NULL),(78,85,4,'2015-08-11 05:47:24','Admin','Added',NULL),(79,86,4,'2015-01-09 03:54:08','Email','Added',NULL),(80,188,4,'2015-07-02 04:01:11','Email','Added',NULL),(81,4,4,'2015-03-25 07:24:10','Email','Added',NULL),(82,8,4,'2015-02-22 08:08:58','Email','Added',NULL),(83,15,4,'2015-09-27 11:45:38','Email','Added',NULL); /*!40000 ALTER TABLE `civicrm_subscription_history` ENABLE KEYS */; UNLOCK TABLES; @@ -1433,7 +1433,7 @@ 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,187,'http://beechactioncenter.org',1),(2,29,'http://alleenehealthfund.org',1),(3,124,'http://cienvironmentalnetwork.org',1),(4,172,'http://urbansustainability.org',1),(5,111,'http://northpointtechnologyalliance.org',1),(6,16,'http://friendsfellowship.org',1),(7,105,'http://statesassociation.org',1),(8,56,'http://greentechnologycenter.org',1),(9,77,'http://kirklinfamilypartnership.org',1),(10,119,'http://beechhealth.org',1),(11,48,'http://orangeburgcenter.org',1),(12,171,'http://globalschool.org',1),(13,85,'http://collegepeacepartners.org',1),(14,87,'http://globalschool.org',1),(15,13,'http://secondtechnology.org',1); +INSERT INTO `civicrm_website` (`id`, `contact_id`, `url`, `website_type_id`) VALUES (1,95,'http://kenneyliteracysystems.org',1),(2,199,'http://ecfoodfellowship.org',1),(3,127,'http://mainempowermentnetwork.org',1),(4,56,'http://secondcultureschool.org',1),(5,52,'http://pennsylvaniatechnology.org',1),(6,89,'http://globalenvironmental.org',1),(7,36,'http://floridafund.org',1),(8,115,'http://floridafamily.org',1),(9,192,'http://springfieldmusic.org',1),(10,79,'http://sierraeducation.org',1),(11,67,'http://friendsmusicacademy.org',1),(12,119,'http://mooresburghealthsolutions.org',1),(13,54,'http://ruralsportspartners.org',1),(14,91,'http://mainfamilynetwork.org',1),(15,191,'http://collegeculturesolutions.org',1); /*!40000 ALTER TABLE `civicrm_website` ENABLE KEYS */; UNLOCK TABLES; @@ -1465,7 +1465,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2015-10-13 22:44:00 +-- Dump completed on 2016-01-06 14:23:17 -- +--------------------------------------------------------------------+ -- | CiviCRM version 4.6 | -- +--------------------------------------------------------------------+ diff --git a/templates/CRM/Admin/Page/APIExplorer.js b/templates/CRM/Admin/Page/APIExplorer.js index 3e2496106379..d9e04c5339f5 100644 --- a/templates/CRM/Admin/Page/APIExplorer.js +++ b/templates/CRM/Admin/Page/APIExplorer.js @@ -132,12 +132,14 @@ if (action === 'getfields') { fields.push({ id: 'api_action', - text: 'Action', + text: ts('Action') + }); + getFieldData.api_action = { options: _.reduce(actions.values, function(ret, item) { ret[item] = item; return ret; }, {}) - }); + }; showFields(['api_action']); return; } diff --git a/templates/CRM/Admin/Page/Admin.tpl b/templates/CRM/Admin/Page/Admin.tpl index 4f5272c5f9d5..ace006bf0699 100644 --- a/templates/CRM/Admin/Page/Admin.tpl +++ b/templates/CRM/Admin/Page/Admin.tpl @@ -28,7 +28,7 @@
+ {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 fill out the site registration form. 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}
- {ts 1='https://civicrm.org/register-site'}Have you registered this site at CiviCRM.org? If not, please help strengthen the CiviCRM ecosystem by taking a few minutes to fill out the site registration form. 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}
diff --git a/templates/CRM/Admin/Page/ConfigTaskList.tpl b/templates/CRM/Admin/Page/ConfigTaskList.tpl index b5eb0116d6f6..7a00d4e1a337 100644 --- a/templates/CRM/Admin/Page/ConfigTaskList.tpl +++ b/templates/CRM/Admin/Page/ConfigTaskList.tpl @@ -47,7 +47,7 @@ {ts}Enable the required CiviCRM components.(CiviContribute, CiviEvent etc.){/ts} - {ts}Register your site{/ts} + {ts}Register your site{/ts} {ts}Register your site, join the community, and help CiviCRM remain a leading CRM for organizations worldwide.{/ts} diff --git a/templates/CRM/Block/DidYouKnow.tpl b/templates/CRM/Block/DidYouKnow.tpl new file mode 100644 index 000000000000..26d3a8ef0752 --- /dev/null +++ b/templates/CRM/Block/DidYouKnow.tpl @@ -0,0 +1,33 @@ +{* + +--------------------------------------------------------------------+ + | CiviCRM version 4.6 | + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC (c) 2004-2015 | + +--------------------------------------------------------------------+ + | This file is a part of CiviCRM. | + | | + | CiviCRM is free software; you can copy, modify, and distribute it | + | under the terms of the GNU Affero General Public License | + | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | + | | + | CiviCRM 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 and the CiviCRM Licensing Exception along | + | with this program; if not, contact CiviCRM LLC | + | at info[AT]civicrm[DOT]org. If you have questions about the | + | GNU Affero General Public License or the licensing of CiviCRM, | + | see the CiviCRM license FAQ at http://civicrm.org/licensing | + +--------------------------------------------------------------------+ +*} +
+{$message.text}
+{if $message.link} +Learn more ... +{else} +Ask us how ... +{/if} +
diff --git a/templates/CRM/Campaign/Form/Petition.tpl b/templates/CRM/Campaign/Form/Petition.tpl index 0d5daf430e82..4d88786c445f 100644 --- a/templates/CRM/Campaign/Form/Petition.tpl +++ b/templates/CRM/Campaign/Form/Petition.tpl @@ -24,6 +24,9 @@ +--------------------------------------------------------------------+ *} +{if $cdType } + {include file="CRM/Custom/Form/CustomData.tpl"} +{else}
{include file="CRM/common/formButtons.tpl" location="top"}
{if $action eq 8} @@ -116,6 +119,11 @@
{ts}Is this the default petition?{/ts}
+ + +
+ + {/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}
@@ -140,3 +148,14 @@ }); {/literal} +{include file="CRM/common/customData.tpl" includeWysiwygEditor=true} +{literal} + +{/literal} +{/if} diff --git a/templates/CRM/Campaign/Form/Petition/Block.tpl b/templates/CRM/Campaign/Form/Petition/Block.tpl deleted file mode 100644 index 0ac0916348f7..000000000000 --- a/templates/CRM/Campaign/Form/Petition/Block.tpl +++ /dev/null @@ -1,156 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM 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 and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{* Edit or display Profile fields, when embedded in an online contribution or event registration form. *} -{if ! empty( $fields )} - {strip} - {if $help_pre && $action neq 4}
{$help_pre}
{/if} - {assign var=zeroField value="Initial Non Existent Fieldset"} - {assign var=fieldset value=$zeroField} - {foreach from=$fields item=field key=fieldName} - {if $field.groupTitle != $fieldset} - {if $fieldset != $zeroField} - {if $groupHelpPost && $action neq 4} -
{$groupHelpPost}
- {/if} - {if $mode ne 8} - - {/if} - {/if} - - - {assign var=fieldset value=`$field.groupTitle`} - {assign var=groupHelpPost value=`$field.groupHelpPost`} - {if $field.groupHelpPre && $action neq 4 && $action neq 1028} -
{$field.groupHelpPre}
- {/if} - {/if} - - {assign var=n value=$field.name} - - {if $field.options_per_line != 0} -
- {* Show explanatory text for field if not in 'view' or 'preview' modes *} - {if $field.help_pre && $action neq 4 && $action neq 1028} -   {$field.help_pre} - {/if} -
{$form.$n.label}
-
- {assign var="count" value="1"} - {strip} - - - {* sort by fails for option per line. Added a variable to iterate through the element array*} - {assign var="index" value="1"} - {foreach name=outer key=key item=item from=$form.$n} - {if $index < 10} - {assign var="index" value=`$index+1`} - {else} - - {if $count == $field.options_per_line} - - - {assign var="count" value="1"} - {else} - {assign var="count" value=`$count+1`} - {/if} - {/if} - {/foreach} - -
{$form.$n.$key.html}
- {/strip} - {* Show explanatory text for field if not in 'view' or 'preview' modes *} - {if $field.help_post && $action neq 4 && $action neq 1028} - {$field.help_post} - {/if} -
-
-
- {else} -
- {* Show explanatory text for field if not in 'view' or 'preview' modes *} - {if $field.help_pre && $action neq 4 && $action neq 1028} -   {$field.help_pre} - {/if} -
{$form.$n.label}
-
- {if $n|substr:0:3 eq 'im-'} - {assign var="provider" value=$n|cat:"-provider_id"} - {$form.$provider.html}  - {/if} - {if $n eq 'email_greeting' or $n eq 'postal_greeting' or $n eq 'addressee'} - {include file="CRM/Profile/Form/GreetingType.tpl"} - {elseif $n eq 'group'} - - *} -
{$form.$n.html}{* quickform add closing
- {elseif ( $field.data_type eq 'Date' or - ( ( ( $n eq 'birth_date' ) or ( $n eq 'deceased_date' ) ) ) ) } - {include file="CRM/common/jcalendar.tpl" elementName=$n} - {else} - {$form.$n.html} - {/if} - {*CRM-4564*} - {if $field.html_type eq 'Autocomplete-Select'} - {if $field.data_type eq 'ContactReference'} - {include file="CRM/Custom/Form/ContactReference.tpl" element_name = $n} - {/if} - {/if} - {* Show explanatory text for field if not in 'view' or 'preview' modes *} - {if $field.help_post && $action neq 4 && $action neq 1028} -
{$field.help_post} - {/if} -
-
-
- {/if} - {/foreach} - - {if $field.groupHelpPost && $action neq 4 && $action neq 1028} -
{$field.groupHelpPost}
- {/if} - - {if $mode eq 4} -
- {$form.buttons.html} -
- {/if} - - - {if $help_post && $action neq 4}
{$help_post}
{/if} - {/strip} - -{/if} {* fields array is not empty *} - -{literal} - -{/literal} diff --git a/templates/CRM/Campaign/Form/Petition/Signature.tpl b/templates/CRM/Campaign/Form/Petition/Signature.tpl index c427afe68cb4..00f78191b355 100644 --- a/templates/CRM/Campaign/Form/Petition/Signature.tpl +++ b/templates/CRM/Campaign/Form/Petition/Signature.tpl @@ -50,11 +50,11 @@ {/if} {else}
- {include file="CRM/Campaign/Form/Petition/Block.tpl" fields=$petitionContactProfile} + {include file="CRM/UF/Form/Block.tpl" fields=$petitionContactProfile hideFieldset=true}
- {include file="CRM/Campaign/Form/Petition/Block.tpl" fields=$petitionActivityProfile} + {include file="CRM/UF/Form/Block.tpl" fields=$petitionActivityProfile hideFieldset=true}
{if $isCaptcha} diff --git a/templates/CRM/Contact/Form/Merge.tpl b/templates/CRM/Contact/Form/Merge.tpl index 4eb7d984b26b..7e0ae600b333 100644 --- a/templates/CRM/Contact/Form/Merge.tpl +++ b/templates/CRM/Contact/Form/Merge.tpl @@ -24,136 +24,139 @@ +--------------------------------------------------------------------+ *}
-
-{ts}Click Merge to move data from the Duplicate Contact on the left into the Main Contact. In addition to the contact data (address, phone, email...), you may choose to move all or some of the related activity records (groups, contributions, memberships, etc.).{/ts} {help id="intro"} -
- -
- {include file="CRM/common/formButtons.tpl" location="top"} - {if $prev} {ts}Previous{/ts}{/if} - {if $next}{ts}Next{/ts} {/if} -
- - - - - - - - - - - - - {foreach from=$rows item=row key=field} - - - - - + + {/if} + {/foreach} +
 {$other_name} ({ts}duplicate{/ts}){ts}Mark All{/ts}
=={$form.toggleSelect.html} ==>
{$main_name}
{$row.title} - {if !is_array($row.other)} - {$row.other} - {elseif $row.other.fileName} - {$row.other.fileName} - {else} - {', '|implode:$row.other} - {/if} - {if $form.$field}=={$form.$field.html|crmAddClass:"select-row"}==>{/if} - {if $row.title|substr:0:5 == "Email" OR - $row.title|substr:0:7 == "Address" OR - $row.title|substr:0:2 == "IM" OR - $row.title|substr:0:6 == "OpenID" OR - $row.title|substr:0:5 == "Phone"} - - {assign var=position value=$field|strrpos:'_'} - {assign var=blockId value=$field|substr:$position+1} - {assign var=blockName value=$field|substr:14:$position-14} - - {$form.location.$blockName.$blockId.locTypeId.html}  - {if $blockName eq 'email' || $blockName eq 'phone' } - {if $row.main}(overwrite){$form.location.$blockName.$blockId.operation.html} 
{else}(add){/if}
- {literal} - - {/literal} - {else} - {if $row.main}(overwrite)
{else}(add){/if}
- {/if} - +
+ {ts}Click Merge to move data from the Duplicate Contact on the left into the Main Contact. In addition to the contact data (address, phone, email...), you may choose to move all or some of the related activity records (groups, contributions, memberships, etc.).{/ts} {help id="intro"} +
+ +
+ {include file="CRM/common/formButtons.tpl" location="top"} + {if $prev} {ts}Previous{/ts}{/if} + {if $next}{ts}Next{/ts} {/if} +
+ + + + + + + + + + + + + {foreach from=$rows item=row key=field} + + + - - {/foreach} + + + + + {/foreach} + + {foreach from=$rel_tables item=params key=paramName} + {if $paramName eq 'move_rel_table_users'} + + {/if} + + {else} - {/if} - - {else} - - - - {/if} - {/foreach} -
 {$other_name} ({ts}duplicate{/ts}){ts}Mark All{/ts}
=={$form.toggleSelect.html} ==>
{$main_name}
{$row.title} + {if !is_array($row.other)} + {$row.other} + {elseif $row.other.fileName} + {$row.other.fileName} + {else} + {', '|implode:$row.other} {/if} - {*NYSS 5546*} - - {if !is_array($row.main)} - {$row.main} - {elseif $row.main.fileName} - {$row.main.fileName} - {else} - {', '|implode:$row.main} - {/if} - -
{if $form.$field}=={$form.$field.html|crmAddClass:"select-row"}==>{/if} + {if $row.title|substr:0:5 == "Email" OR + $row.title|substr:0:7 == "Address" OR + $row.title|substr:0:2 == "IM" OR + $row.title|substr:0:6 == "OpenID" OR + $row.title|substr:0:5 == "Phone"} + + {assign var=position value=$field|strrpos:'_'} + {assign var=blockId value=$field|substr:$position+1} + {assign var=blockName value=$field|substr:14:$position-14} + + {$form.location.$blockName.$blockId.locTypeId.html}  + {if $blockName eq 'email' || $blockName eq 'phone' } + {if $row.main}(overwrite){$form.location.$blockName.$blockId.operation.html} 
{else}(add){/if}
+ {else} + {if $row.main}(overwrite)
{else}(add){/if}
+ {/if} - {foreach from=$rel_tables item=params key=paramName} - {if $paramName eq 'move_rel_table_users'} + {/if} + {*NYSS 5546*} + + {if !is_array($row.main)} + {$row.main} + {elseif $row.main.fileName} + {$row.main.fileName} + {else} + {', '|implode:$row.main} + {/if} + +
{ts}Move related...{/ts}{if $otherUfId}{$otherUfName}=={$form.$paramName.html|crmAddClass:"select-row"}==>{else}{if $mainUfId}{$mainUfName}{/if}
{ts}Move related...{/ts}{if $otherUfId}{$otherUfName}=={$form.$paramName.html|crmAddClass:"select-row"}==>{else}{if $mainUfId}{$mainUfName}{/if}
{ts}Move related...{/ts}{$params.title}=={$form.$paramName.html|crmAddClass:"select-row"}==>{$params.title}{if $form.operation.$paramName.add.html} {$form.operation.$paramName.add.html}{/if}
-
- - -
-
-

{ts}WARNING: The duplicate contact record WILL BE DELETED after the merge is complete.{/ts}

- {if $user} -

{ts 1=$config->userFramework}There are %1 user accounts associated with both the original and duplicate contacts. Ensure that the Drupal User you want to retain is on the right - if necessary use the 'Flip between original and duplicate contacts.' option at top to swap the positions of the two records before doing the merge. -The user record associated with the duplicate contact will not be deleted, but will be un-linked from the associated contact record (which will be deleted). -You will need to manually delete that user (click on the link to open Drupal User account in new screen). You may need to give thought to how you handle any content or contents associated with that user.{/ts}

- {/if} -
- -
- {include file="CRM/common/formButtons.tpl" location="bottom"} +
{ts}Move related...{/ts}{$params.title}=={$form.$paramName.html|crmAddClass:"select-row"}==>{$params.title}{if $form.operation.$paramName.add.html} {$form.operation.$paramName.add.html}{/if}
+
+ + +
+
+

{ts}WARNING: The duplicate contact record WILL BE DELETED after the merge is complete.{/ts}

+ {if $user} +

{ts 1=$config->userFramework}There are %1 user accounts associated with both the original and duplicate contacts. Ensure that the Drupal User you want to retain is on the right - if necessary use the 'Flip between original and duplicate contacts.' option at top to swap the positions of the two records before doing the merge. + The user record associated with the duplicate contact will not be deleted, but will be un-linked from the associated contact record (which will be deleted). + You will need to manually delete that user (click on the link to open Drupal User account in new screen). You may need to give thought to how you handle any content or contents associated with that user.{/ts}

+ {/if} +
+ +
+ {include file="CRM/common/formButtons.tpl" location="bottom"} +
{literal}