| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- {// 引入标签库 }
- <tagLib name="html" />
- <include file="Public:header" />
- <div class="main">
- <div class="main_title">{%EDIT} <a href="{:u("ManagementCourse/index")}" class="back_list">{%BACK_LIST}</a></div>
- <div class="blank5"></div>
- <form name="edit" action="__APP__" method="post" enctype="multipart/form-data">
- <table class="form" cellpadding=0 cellspacing=0>
- <tr>
- <td colspan=2 class="topTd"></td>
- </tr>
- <tr>
- <td class="item_title">课程编号:</td>
- <td class="item_input">{$vo.id}</td>
- </tr>
- <tr>
- <td class="item_title">课程名称:</td>
- <td class="item_input">
- <input type="text" class="textbox require" name="title" value="{$vo.title}"/>
- <if condition="$vo['id']"><a href="{:u("ManagementCourse/view",array('id'=>$vo['id']))}" class="back_list">分集列表</a></if>
- </td>
- </tr>
- <tr>
- <td class="item_title">创建时间:</td>
- <td class="item_input"><?php echo date('Y-m-d H:i:s',$vo['create_time']);?></td>
- </tr>
- <tr>
- <td class="item_title">封面:</td>
- <td class="item_input"><html:imgUpload name="image" id='image' value="$vo.img"/>
- <span class='tip_span'> [封面规格为:??px*??px]</span>
- </td>
- </tr>
- <tr>
- <td class="item_title">热门:</td>
- <td class="item_input">
- <label>是<input type="radio" name="is_hot" value="1" <if condition="$vo['is_hot'] eq 1">checked="checked"</if> /></label>
- <label>否<input type="radio" name="is_hot" value="0" <if condition="$vo['is_hot'] eq 0">checked="checked"</if> /></label>
- </td>
- </tr>
- <tr>
- <td class="item_title">推荐:</td>
- <td class="item_input">
- <label>是<input type="radio" name="is_recommend" value="1" <if condition="$vo['is_recommend'] eq 1">checked="checked"</if> /></label>
- <label>否<input type="radio" name="is_recommend" value="0" <if condition="$vo['is_recommend'] eq 0">checked="checked"</if> /></label>
- </td>
- </tr>
- <tr id="general">
- <td class="item_title">内容:</td>
- <td class="item_input">
- <html:editor id="editor" name="content" type="KINDEDITOR" content="{$vo.content}" />
- </td>
- </tr>
- <tr>
- <td class="item_title">是否有效:</td>
- <td class="item_input">
- <label>是<input type="radio" name="is_effect" value="1" <if condition="$vo['is_effect'] eq 1">checked="checked"</if> /></label>
- <label>否<input type="radio" name="is_effect" value="0" <if condition="$vo['is_effect'] eq 0">checked="checked"</if> /></label>
- </td>
- </tr>
- <tr>
- <td class="item_title"></td>
- <td class="item_input">
- <!--隐藏元素-->
- <input type="hidden" name="{:conf("VAR_MODULE")}" value="ManagementCourse" />
- <input type="hidden" name="{:conf("VAR_ACTION")}" value="update" />
- <input type="hidden" name="id" value="{$vo.id}" />
- <!--隐藏元素-->
- <input type="submit" class="button" value="{%EDIT}" />
- <input type="reset" class="button" value="{%RESET}" />
- </td>
- </tr>
- </table>
- </form>
- </div>
- <include file="Public:footer" />
|