*授课地点: |
<%= new HtmlSelect("ParentRecordEquipment", "Name", "Guid", "Guid") { Option = this.ListRecordEquipment,DefaultSelectValue= ViewData.Val("ParentRecordEquipment.Guid", this.Application) }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentRecordEquipment")%>
|
<%
if (this.Application == null)
{
%>
*直播日期: |
<%= new HtmlText("ApplicationDate", ViewData.Val("ApplicationDate", this.Application).ToDateTimeN().ToAutoShortDate()) { OnChange = "GetTimeRange();" }%>
<%= new HtmlYKTip("ApplicationDate") %>
|
*直播时间段: |
请先选择授课地点和直播日期
|
<%
}
else
{
%>
*开始时间: |
<%= new HtmlText("StartTime", ViewData.Val("StartTime", this.Application).ToDateTimeN().ToAutoShortDate()) { Class = "" }%>
<%= new HtmlYKTip("StartTime") %>
|
*结束时间: |
<%= new HtmlText("EndTime", ViewData.Val("EndTime", this.Application).ToDateTimeN().ToAutoShortDate()) { Class = " " }%>
<%= new HtmlYKTip("EndTime") %>
|
<%
}
%>
*年级: |
<%= new HtmlSelect("ParentGrade", "Name", "Guid", "Guid") { Option = this.ListAllGrade, OptGroup= CreateInstance.GradeDao.GetOptGroup(this.ListAllGrade), DefaultSelectValue = ViewData.Val("ParentGrade.Guid", this.Application), OnChange = "GetTextbook();" }.InsertOption("::选择::", "", 0)%>
|
<%
if (CreateInstance.ConfigDao.ApplicationLessonTag() != null)
{
%>
*学科: |
<%--<%= new HtmlSelect("Category", "Name", "Guid", "Guid") { Option = this.ListAllCategory, OptGroup= CreateInstance.CategoryDao.GetOptGroup(this.ListAllCategory), DefaultSelectValue = "", OnChange = "GetTextbook();", SelectedValue = ViewData.Val("=>_ListApplicationCategory[0].Guid", this.Application) }.InsertOption("::选择::", "", 0)%>--%>
<%= new HtmlSelect("Category", "Name", "Guid", "Guid") { Option = this.ListAllCategory, OptGroup= CreateInstance.CategoryDao.GetOptGroup(this.ListAllCategory), DefaultSelectValue = "", OnChange = "GetTextbook();", SelectedValue = (this.Application != null ? (this.Application._ListApplicationCategory.Count > 0? this.Application._ListApplicationCategory[0].ParentCategory.Guid : "" ):"") }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("Category") { }%>
|
*出版社: |
<%= new HtmlSelect("ParentPress", "Name", "Guid", "Guid") { Option = this.ListAllPress, DefaultSelectValue = "", SelectedValue = ViewData.Val("ParentLesson.ParentTextbook.ParentPress.Guid", this.Application), OnChange = "GetTextbook();" }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("ParentPress") { }%>
|
*课本: |
|
*课元课: |
|
<%
}
//如果这里是要有单元课的话,那么他这里肯定是只能选择一个学科
%>
<%= CreateInstance.ConfigDao.ApplicationTitleTag("*") %>标题: |
<%= new HtmlText("Title", ViewData.Val("Title", this.Application), 200) { }%>
<%= new HtmlYKTip("Title") %>
|
<%
if (CreateInstance.ConfigDao.ApplicationLessonTag() == null)
{
//如果有课表的话,这一个肯定是单选的
%>
<%= CreateInstance.ConfigDao.ApplicationChannelTag("*") %>*所属学科: |
<%= new HtmlSelect("Category", "Name", "Guid", "Guid") { Option = this.ListAllCategory, OptGroup= CreateInstance.CategoryDao.GetOptGroup(this.ListAllCategory), DefaultSelectValue = "", OnChange = "GetTextbook();", SelectedValue = (this.Application != null ? (this.Application._ListApplicationCategory.Count > 0? (this.Application._ListApplicationCategory[0].ParentCategory.ParentCategory==null?this.Application._ListApplicationCategory[1].ParentCategory.Guid:this.Application._ListApplicationCategory[0].ParentCategory.Guid) : "" ): CookieGroup.ListUserCategory.FirstResult()) }.InsertOption("::选择::", "", 0)%>
<%= new HtmlYKTip("Category") { }%>
|
<%
}
%>
<%= CreateInstance.ConfigDao.ApplicationSpeakerTag("*") %>主讲人: |
<% var speaker = ViewData.Val("Speaker", this.Application);
if (speaker == null) { speaker = this.UserName; }
%>
<%= new HtmlText("Speaker", speaker, 200) { }%>
<%= new HtmlYKTip("Speaker")%>
|
<%= Define.Get("Application_是否发布预约通知").ToScriptTag() %>: |
<%= new HtmlCheckBox("IsPubNotice", ViewData.Val("IsPubNotice", this.Application), true, false) { Class = ""}%>
|