php js css php js css

Please Login

Changes to Email message: New Message 4


System
Change
Can't Undo: The change does not exist
71348
Today 2:07am

Created email message
Type:
autoresponder
Subject:
New Message 4
Datetime:
2020-12-01 03:43:37
From Address:
info@monsieurgraphic.com
From Name:
Monsieur Graphic
Reads Tracked:
1
Links Tracked:
1
Links Login:
no
Handle Bounces:
1
Design Id:
5
Content Plaintext:

														
													
													
													
												
Content Html:
<ss:logic:variable as="course" value="\Components\AF\Courses::get($course_id)" parsenow="value" />
<ss:logic:variable as="course_title" value="\Components\Commerce\Products::getColumn($course['product_id'], 'product_title')" parsenow="value" />

<p>Dear <ss:personalisation:firstname /></p>

<p>The course <strong>[? $course_title ?]</strong> you are enrolled in is starting soon. Check below for the details of the course.<p>

<div style="margin: 10px; margin-top: 20px; padding: 10px; border: 1px dotted #aaaaaa;">
<strong>[? $course_title ?]</strong><br />
[? $course['course_code'] ?] ([? ucfirst($course['course_type']) ?] Course)<br /><br />

<ss:logic:if test="$course['course_comment']">
<em>Note: [? $course['course_comment'] ?]</em><br />
</ss:logic:if>

<ul>
<ss:data:repeater as="course_location" datasource="\Components\AF\Courses\Units::getLocationAddressesForCourse($course)">
<li>
<strong>[? \Components\AF\Courses\Configuration\Locations::renderTitle($course_location['location_id'], true) ?]</strong>
<ss:logic:if test="$course_location['location_address']">
<br />[? $course_location['location_address'] ?]
</ss:logic:if>
</li>
</ss:data:repeater>
</ul>

<ss:data:table datasource="\Components\AF\Courses\Units::getAllForCourse($course['course_id'])" emptymessage="The schedule for this course has not been set yet." as="unit">
<ss:data:column heading="Unit">
[? \Components\AF\Courses\Units::renderTitle($unit) ?]
</ss:data:column>

<ss:logic:if test="!(\Components\AF\Courses\CollectiveCourses::configGetValue('hide_location_name'))">
<ss:data:column heading="Location" width="200px">
<ss:logic:if test="$unit['location_id']">
<small>[? \Components\AF\Courses\Configuration\Locations::renderTitle($unit['location_id'], true) ?]</small>
</ss:logic:if>
</ss:data:column>
</ss:logic:if>

<ss:logic:if test="!(\Components\AF\Courses\CollectiveCourses::configGetValue('hide_teacher_name'))">
<ss:data:column heading="Teacher" width="150px">
<ss:logic:if test="$unit['teacher_id']">
<ss:logic:variable as="teacher" value="\Components\Customers\Contacts::get($unit['teacher_id'])" parsenow="value" />
<small>[? $teacher['contact_first_name'] ?] [? strtoupper($teacher['contact_last_name']) ?]</small>
</ss:logic:if>
</ss:data:column>
</ss:logic:if>
</ss:data:table>
</div>