{if $op == 'checklesson'} {if empty($edulessonlist)} {else} {loop $edulessonlist $row} {/loop} {/if} {else} {template 'common/header'}
课程管理 添加&编辑课程
{if $op == 'display'}
筛选
{loop $list $row} {/loop}
排序ID 标题图 课程信息 操作

{$row['priority']}

{$row['id']}

[ {$educate[$row['cateid']]['name']} ] {$row['title']}

{$row['integral']}分 {if $row['stustatus']==1} 必修 {elseif $row['stustatus']==2} 选修 {/if} {if $row['status']==1} 待续中 {elseif $row['status']==2} 已结课 {elseif $row['status']==3} 已隐藏 {/if} {php echo date("Y-m-d H:i",$row['createtime']);}
学习 {php echo intval($edustudytol[$row['id']]['tol'])} 章节 {php echo intval($educhaptertol[$row['id']]['tol'])} 修改 删除
{$pager}
{elseif $op == 'post'}
基本信息设置
降序,值越大越靠前
请选择文章分类......
{php echo tpl_form_field_image('tilpic',$edulesson['tilpic']);}
建议尺寸700*500
只有标记已结课的课程,党员学完所有章节时,才会计入得分
内容信息设置
{php echo tpl_form_field_audio('apath',$edulesson['apath']);}
为空时,前端不显示
{php echo tpl_form_field_video('vpath',$edulesson['vpath']);}
为空时,前端不显示
{php echo tpl_ueditor('details', $edulesson['details']);}
{/if} {template 'common/footer'} {/if}