| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 5 | <title></title> |
| 6 | </head> |
| 7 | <body> |
| 8 | |
| 9 | {capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} |
| 10 | {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} |
| 11 | {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} |
| 12 | |
| 13 | <center> |
| 14 | <table width="620" border="0" cellpadding="0" cellspacing="0" id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left;"> |
| 15 | |
| 16 | <!-- BEGIN HEADER --> |
| 17 | <!-- You can add table row(s) here with logo or other header elements --> |
| 18 | <!-- END HEADER --> |
| 19 | |
| 20 | <!-- BEGIN CONTENT --> |
| 21 | |
| 22 | <tr> |
| 23 | <td> |
| 24 | <p>{ts 1=$contact.display_name}Dear %1{/ts},</p> |
| 25 | </td> |
| 26 | </tr> |
| 27 | {if !$isAdditional and $participant.id} |
| 28 | <tr> |
| 29 | <th {$headerStyle}> |
| 30 | {ts}Confirm Your Registration{/ts} |
| 31 | </th> |
| 32 | </tr> |
| 33 | <tr> |
| 34 | <td colspan="2" {$valueStyle}> |
| 35 | {capture assign=confirmUrl}{crmURL p='civicrm/event/confirm' q="reset=1&participantId=`$participant.id`&cs=`$checksumValue`" a=true h=0 fe=1}{/capture} |
| 36 | <a href="{$confirmUrl}">Go to a web page where you can confirm your registration online</a> |
| 37 | </td> |
| 38 | </tr> |
| 39 | {/if} |
| 40 | <tr> |
| 41 | <td> |
| 42 | <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;"> |
| 43 | <tr> |
| 44 | <th {$headerStyle}> |
| 45 | {ts}Event Information and Location{/ts} |
| 46 | </th> |
| 47 | </tr> |
| 48 | <tr> |
| 49 | <td colspan="2" {$valueStyle}> |
| 50 | {$event.event_title}<br /> |
| 51 | {$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} |
| 52 | </td> |
| 53 | </tr> |
| 54 | {if $conference_sessions} |
| 55 | <tr> |
| 56 | <td colspan="2" {$labelStyle}> |
| 57 | {ts}Your schedule:{/ts} |
| 58 | </td> |
| 59 | </tr> |
| 60 | <tr> |
| 61 | <td colspan="2" {$valueStyle}> |
| 62 | {assign var='group_by_day' value='NA'} |
| 63 | {foreach from=$conference_sessions item=session} |
| 64 | {if $session.start_date|date_format:"%Y/%m/%d" != $group_by_day|date_format:"%Y/%m/%d"} |
| 65 | {assign var='group_by_day' value=$session.start_date} |
| 66 | <em>{$group_by_day|date_format:"%m/%d/%Y"}</em><br /> |
| 67 | {/if} |
| 68 | {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br /> |
| 69 | {if $session.location} {$session.location}<br />{/if} |
| 70 | {/foreach} |
| 71 | </td> |
| 72 | </tr> |
| 73 | {/if} |
| 74 | <tr> |
| 75 | <td {$labelStyle}> |
| 76 | {ts}Participant Role{/ts}: |
| 77 | </td> |
| 78 | <td {$valueStyle}> |
| 79 | {$participant.role} |
| 80 | </td> |
| 81 | </tr> |
| 82 | |
| 83 | {if $isShowLocation} |
| 84 | <tr> |
| 85 | <td colspan="2" {$valueStyle}> |
| 86 | {if $event.location.address.1.name} |
| 87 | {$event.location.address.1.name}<br /> |
| 88 | {/if} |
| 89 | {if $event.location.address.1.street_address} |
| 90 | {$event.location.address.1.street_address}<br /> |
| 91 | {/if} |
| 92 | {if $event.location.address.1.supplemental_address_1} |
| 93 | {$event.location.address.1.supplemental_address_1}<br /> |
| 94 | {/if} |
| 95 | {if $event.location.address.1.supplemental_address_2} |
| 96 | {$event.location.address.1.supplemental_address_2}<br /> |
| 97 | {/if} |
| 98 | {if $event.location.address.1.city} |
| 99 | {$event.location.address.1.city} {$event.location.address.1.postal_code} |
| 100 | {if $event.location.address.1.postal_code_suffix} |
| 101 | - {$event.location.address.1.postal_code_suffix} |
| 102 | {/if} |
| 103 | {/if} |
| 104 | </td> |
| 105 | </tr> |
| 106 | {/if} |
| 107 | |
| 108 | {if $event.location.phone.1.phone || $event.location.email.1.email} |
| 109 | <tr> |
| 110 | <td colspan="2" {$labelStyle}> |
| 111 | {ts}Event Contacts:{/ts} |
| 112 | </td> |
| 113 | </tr> |
| 114 | {foreach from=$event.location.phone item=phone} |
| 115 | {if $phone.phone} |
| 116 | <tr> |
| 117 | <td {$labelStyle}> |
| 118 | {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if} |
| 119 | </td> |
| 120 | <td {$valueStyle}> |
| 121 | {$phone.phone} |
| 122 | </td> |
| 123 | </tr> |
| 124 | {/if} |
| 125 | {/foreach} |
| 126 | {foreach from=$event.location.email item=eventEmail} |
| 127 | {if $eventEmail.email} |
| 128 | <tr> |
| 129 | <td {$labelStyle}> |
| 130 | {ts}Email{/ts} |
| 131 | </td> |
| 132 | <td {$valueStyle}> |
| 133 | {$eventEmail.email} |
| 134 | </td> |
| 135 | </tr> |
| 136 | {/if} |
| 137 | {/foreach} |
| 138 | {/if} |
| 139 | |
| 140 | {if $event.is_public} |
| 141 | <tr> |
| 142 | <td colspan="2" {$valueStyle}> |
| 143 | {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} |
| 144 | <a href="{$icalFeed}">{ts}Download iCalendar File{/ts}</a> |
| 145 | </td> |
| 146 | </tr> |
| 147 | {/if} |
| 148 | |
| 149 | {if $contact.email} |
| 150 | <tr> |
| 151 | <th {$headerStyle}> |
| 152 | {ts}Registered Email{/ts} |
| 153 | </th> |
| 154 | </tr> |
| 155 | <tr> |
| 156 | <td colspan="2" {$valueStyle}> |
| 157 | {$contact.email} |
| 158 | </td> |
| 159 | </tr> |
| 160 | {/if} |
| 161 | |
| 162 | {if $register_date} |
| 163 | <tr> |
| 164 | <td {$labelStyle}> |
| 165 | {ts}Registration Date{/ts} |
| 166 | </td> |
| 167 | <td {$valueStyle}> |
| 168 | {$participant.register_date|crmDate} |
| 169 | </td> |
| 170 | </tr> |
| 171 | {/if} |
| 172 | |
| 173 | </table> |
| 174 | </td> |
| 175 | </tr> |
| 176 | |
| 177 | <tr> |
| 178 | <td> |
| 179 | <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p> |
| 180 | </td> |
| 181 | </tr> |
| 182 | |
| 183 | </table> |
| 184 | </center> |
| 185 | |
| 186 | </body> |
| 187 | </html> |