|
|
|
|
|
|
|
ADULTS A1.1 AFTRY CECILE COUPER
ADULTS A1.1 AFTRY CECILE COUPER
|
|
|
|
|
|
<style type="text/css">
.marginTop10 { margin-top: 10px; }
#recommended_material_container > div { box-shadow: 0 0px 10px rgba(0,0,0,0.15); border: 1px solid #ddd; margin: 10px; padding: 5px; }
#required_material_container > div { box-shadow: 0 0px 10px rgba(0,0,0,0.15); border: 1px solid #ddd; margin: 10px; padding: 5px; }
.materialImage { float: left; margin-right: 5px; }
.materialPrice { float: right; font-weight: bold; }
.materialTitle { font-weight: bold; margin-bottom: 5px; }
.hasPicture { margin-left: 90px; }
</style>
<ss:logic:variable as="course" value="[? \Components\AF\Courses\CollectiveCourses::getCourseFromProductId($product['product_id']) ?]" />
[? \Components\AF\Courses\CollectiveCourses::renderProductDescriptionTable($course) ?]
<ss:logic:if test="strlen($course['course_comment'])">
<div style="color: #b00;" class="marginTop10">
Note: [? $course['course_comment'] ?]
</div>
</ss:logic:if>
<ss:logic:if test="\Components\Settings\ConfigurationItems::getValue('\Components\AF\Courses\CollectiveCourses', 'membership_may_be_required')">
<ss:logic:if test="\Components\Commerce\Products::getColumn($course['product_id'], 'product_requires_membership')">
<div style="color: #b00;" class="marginTop10">
A valid membership is required in order to enroll in this course
</div>
</ss:logic:if>
</ss:logic:if>
<ss:logic:if test="\Components\Settings\ConfigurationItems::getValue('\Components\AF\Courses\CollectiveCourses', 'registration_fee_may_be_required')">
<ss:logic:if test="$course['course_requires_registrationfee']">
<div style="color: #b00;" class="marginTop10">
A valid registration fee is required in order to enroll in this course
<ss:logic:if test="\Components\Settings\ConfigurationItems::getValue('\Components\AF\Courses\CollectiveCourses', 'registration_fee_members_exempted')">
(members are exempt).
</ss:logic:if>
</div>
</ss:logic:if>
</ss:logic:if>
<ss:logic:variable as="course_levels" value="[? \Components\AF\Courses\Levels::getAllLevelIdsForCourse($course['course_id']) ?]" />
<ss:logic:if test="strlen($course['course_objectives'])">
<div class="marginTop10">
<strong>Objectives</strong><br />
<ss:logic:parse text="[? $course['course_objectives'] ?]" />
<div style="clear: both;"></div>
</div>
</ss:logic:if>
<ss:logic:else test="count($course_levels)">
<ss:logic:variable as="level" value="[? \Components\AF\Courses\Configuration\Levels::get($course_levels[0]) ?]" />
<ss:logic:if test="$level['level_objectives']">
<div class="marginTop10">
<strong>Objectives</strong><br />
<ss:logic:parse text="[? $level['level_objectives'] ?]" />
<div style="clear: both;"></div>
</div>
</ss:logic:if>
</ss:logic:else>
<ss:logic:variable as="books_required" value="[? \Components\AF\Courses\Books::getAllRequiredForCourse($course['course_id'], true) ?]" />
<ss:logic:variable as="books_recommended" value="[? \Components\AF\Courses\Books::getAllRecommendedForCourse($course['course_id'], true) ?]" />
<ss:logic:if test="($books_required && count($books_required)) || ($books_recommended && count($books_recommended))">
<div class="marginTop10">
<ss:logic:if test="count($books_required)">
<strong>Required Course Material</strong>
<div id="required_material_container">
<ss:data:repeater as="book" datasource="$books_required">
<div>
<div class="materialImage">
<ss:logic:if test="$book['product_icon']">
<ss:standard:image src="[? $book['product_icon'] ?]" width="80" />
</ss:logic:if>
</div>
<div class="materialPrice">[? formatCurrency($book['product_price_base']) ?]</div>
<div class="materialTitle[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_title'] ?]</div>
<div class="materialDescription[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_content'] ?]</div>
<div style="clear: both;"> </div>
</div>
</ss:data:repeater>
</div>
</ss:logic:if>
<ss:logic:if test="$books_recommended && count($books_recommended)">
<ss:logic:if test="$books_required && count($books_required)">
<br />
</ss:logic:if>
<strong>[? \Components\AF\Courses\CollectiveCourses::configGetValue('recommended_course_material_title') ?]</strong>
<div id="recommended_material_container">
<ss:data:repeater as="book" datasource="$books_recommended">
<div>
<div class="materialImage">
<ss:logic:if test="$book['product_icon']">
<ss:standard:image src="[? $book['product_icon'] ?]" width="80" />
</ss:logic:if>
</div>
<div class="materialPrice">[? formatCurrency($book['product_price_base']) ?]</div>
<div class="materialTitle[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_title'] ?]</div>
<div class="materialDescription[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_content'] ?]</div>
<div style="clear: both;"> </div>
</div>
</ss:data:repeater>
</div>
</ss:logic:if>
</div>
</ss:logic:if>
<style type="text/css">
.marginTop10 { margin-top: 10px; }
#recommended_material_container > div { box-shadow: 0 0px 10px rgba(0,0,0,0.15); border: 1px solid #ddd; margin: 10px; padding: 5px; }
#required_material_container > div { box-shadow: 0 0px 10px rgba(0,0,0,0.15); border: 1px solid #ddd; margin: 10px; padding: 5px; }
.materialImage { float: left; margin-right: 5px; }
.materialPrice { float: right; font-weight: bold; }
.materialTitle { font-weight: bold; margin-bottom: 5px; }
.hasPicture { margin-left: 90px; }
</style>
<ss:logic:variable as="course" value="[? \Components\AF\Courses\CollectiveCourses::getCourseFromProductId($product['product_id']) ?]" />
[? \Components\AF\Courses\CollectiveCourses::renderProductDescriptionTable($course) ?]
<ss:logic:if test="strlen($course['course_comment'])">
<div style="color: #b00;" class="marginTop10">
Note: [? $course['course_comment'] ?]
</div>
</ss:logic:if>
<ss:logic:if test="\Components\Settings\ConfigurationItems::getValue('\Components\AF\Courses\CollectiveCourses', 'membership_may_be_required')">
<ss:logic:if test="\Components\Commerce\Products::getColumn($course['product_id'], 'product_requires_membership')">
<div style="color: #b00;" class="marginTop10">
A valid membership is required in order to enroll in this course
</div>
</ss:logic:if>
</ss:logic:if>
<ss:logic:if test="\Components\Settings\ConfigurationItems::getValue('\Components\AF\Courses\CollectiveCourses', 'registration_fee_may_be_required')">
<ss:logic:if test="$course['course_requires_registrationfee']">
<div style="color: #b00;" class="marginTop10">
A valid registration fee is required in order to enroll in this course
<ss:logic:if test="\Components\Settings\ConfigurationItems::getValue('\Components\AF\Courses\CollectiveCourses', 'registration_fee_members_exempted')">
(members are exempt).
</ss:logic:if>
</div>
</ss:logic:if>
</ss:logic:if>
<ss:logic:variable as="course_levels" value="[? \Components\AF\Courses\Levels::getAllLevelIdsForCourse($course['course_id']) ?]" />
<ss:logic:if test="strlen($course['course_objectives'])">
<div class="marginTop10">
<strong>Objectives</strong><br />
<ss:logic:parse text="[? $course['course_objectives'] ?]" />
<div style="clear: both;"></div>
</div>
</ss:logic:if>
<ss:logic:else test="count($course_levels)">
<ss:logic:variable as="level" value="[? \Components\AF\Courses\Configuration\Levels::get($course_levels[0]) ?]" />
<ss:logic:if test="$level['level_objectives']">
<div class="marginTop10">
<strong>Objectives</strong><br />
<ss:logic:parse text="[? $level['level_objectives'] ?]" />
<div style="clear: both;"></div>
</div>
</ss:logic:if>
</ss:logic:else>
<ss:logic:variable as="books_required" value="[? \Components\AF\Courses\Books::getAllRequiredForCourse($course['course_id'], true) ?]" />
<ss:logic:variable as="books_recommended" value="[? \Components\AF\Courses\Books::getAllRecommendedForCourse($course['course_id'], true) ?]" />
<ss:logic:if test="($books_required && count($books_required)) || ($books_recommended && count($books_recommended))">
<div class="marginTop10">
<ss:logic:if test="count($books_required)">
<strong>Required Course Material</strong>
<div id="required_material_container">
<ss:data:repeater as="book" datasource="$books_required">
<div>
<div class="materialImage">
<ss:logic:if test="$book['product_icon']">
<ss:standard:image src="[? $book['product_icon'] ?]" width="80" />
</ss:logic:if>
</div>
<div class="materialPrice">[? formatCurrency($book['product_price_base']) ?]</div>
<div class="materialTitle[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_title'] ?]</div>
<div class="materialDescription[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_content'] ?]</div>
<div style="clear: both;"> </div>
</div>
</ss:data:repeater>
</div>
</ss:logic:if>
<ss:logic:if test="$books_recommended && count($books_recommended)">
<ss:logic:if test="$books_required && count($books_required)">
<br />
</ss:logic:if>
<strong>[? \Components\AF\Courses\CollectiveCourses::configGetValue('recommended_course_material_title') ?]</strong>
<div id="recommended_material_container">
<ss:data:repeater as="book" datasource="$books_recommended">
<div>
<div class="materialImage">
<ss:logic:if test="$book['product_icon']">
<ss:standard:image src="[? $book['product_icon'] ?]" width="80" />
</ss:logic:if>
</div>
<div class="materialPrice">[? formatCurrency($book['product_price_base']) ?]</div>
<div class="materialTitle[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_title'] ?]</div>
<div class="materialDescription[? $book['product_icon'] ? ' hasPicture' : '' ?]">[? $book['product_content'] ?]</div>
<div style="clear: both;"> </div>
</div>
</ss:data:repeater>
</div>
</ss:logic:if>
</div>
</ss:logic:if>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
af-adults-a11-aftry-cecile-couper-a11-2021
af-adults-a11-aftry-cecile-couper-a11-2021
|
|
|
|
adults a1.1 aftry cecile couper, course, product, book, title, required, material, content, base, price, formatcurrency, objectives, order, enroll, valid, comment, exempt, members, fee, registration, membership, configgetvalue, recommended
adults a1.1 aftry cecile couper, course, product, book, title, required, material, content, base, price, formatcurrency, objectives, order, enroll, valid, comment, exempt, members, fee, registration, membership, configgetvalue, recommended
|
|
|
|
|
|
|
|
[? \Components\AF\Courses\CollectiveCourses::renderProductDescriptionTable($course) ?] Note: [? $course['course_comment'] ?] A valid membership is required in order to enroll in this course A valid registration fee is required in order to enroll in this c
[? \Components\AF\Courses\CollectiveCourses::renderProductDescriptionTable($course) ?] Note: [? $course['course_comment'] ?] A valid membership is required in order to enroll in this course A valid registration fee is required in order to enroll in this c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|