www.lightcourse.com/app/home/view/default/member/membercourse/index.html

86 lines
2.5 KiB
HTML

{include file="default/base/mall_top" /}
{block name="member_main"}
<link rel="stylesheet" href="{$Think.HOME_SITE_ROOT}/new/css/member.css">
<main class="user-container">
<section class="main-center container">
{include file='default/base/member_left'/}
<div class="right">
<h2 class="c-tit">My Courses</h2>
<div class="course-list-scroll">
<div class="course-list-content">
<div class="th">
<div>Course code</div>
<div>Course title</div>
<div>Host Institution</div>
<div>Status</div>
<div>Enrollment
start date</div>
<div>Enrollment
deadline</div>
<div>Class starting
date</div>
</div>
<div class="tbody">
{notempty name="membercourse"}
{foreach name="membercourse" item="val"}
<div class="td">
<div>{$val.code}</div>
<div>{$val.goods_name}</div>
<div>{$val.school}</div>
<div>
{if $val.status == "Unpaid"}
<a href="/Cart/index">
<div class="{$val.class}">{$val.status}
<div class="alt-txt">{$val.desc}</div>
</div>
</a>
{elseif $val.status == "Submit information"/}
<a href="/Memberinformation/index">
<div class="{$val.class}">{$val.status}
<div class="alt-txt">{$val.desc}</div>
</div>
</a>
{else/}
<div class="{$val.class}">{$val.status}
<div class="alt-txt">{$val.desc}</div>
</div>
{/if}
</div>
<div>{$val.enroll_start_date}<br>
<!-- (Counting down : {$val.day} days)--></div>
<div>{$val.enroll_end_date}</div>
<div>{$val.ke_start_time}</div>
</div>
{/foreach}
{/notempty}
</div>
</div>
</div>
</div>
</section>
</main>
{/block}
{include file="default/base/mall_footer" /}