<%= new MyMenuInstance(this) { MyMenuItem = MyMenuItem.My }.ToHtml()%>
<%--
学生
--%> <% if (this.User.ParentUserType.TeacherEbable == true) { %>
<%
if (SettingGroup.HasSubject)
{ %>
<%
}
%>
<%--
--%>
<%
}
%>
<%--
老师
--%> <% if (this.User.ParentUserType.InstructorEnable == true) { %>
<%--
--%>
<%-- <%if (this.User.ParentUserType.AlbumEnable)
{
%>
<%
}
%> --%>
<%
}
%>
学生
--%> <% if (this.User.ParentUserType.TeacherEbable == true) { %>
<%= new HtmlAnchor("我的实训课程") { Href="#" }%>
<%= new MyPublicClassParticipateInstance(this) { }.ToHtml() %>
<%= new HtmlAnchor("最新实训作业") { Href="#" }%>
<%= new IndexSubjectByInstance(this) { PageSize=8, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序, Stale = false, STEnable = (int)AVA.ResourcesPlatform.Model.Pub.SubjectSTEnableEnum.否 }.ToHtml() %>
<%= new HtmlAnchor("学科视频") { Href="#" }%>
<%= new IndexVideoByInstance(this) { PageSize=8, ParentCategory=this.User._ListUserCategory.Count>0?this.User._ListUserCategory[0].ParentCategory.Guid:"", OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 , TransferControl="/Index/IndexVideoByHot"}.ToHtml() %>
<%= new HtmlAnchor("实训课程学习") { Href="#" }%>
<%= new IndexPublicClassByInstance(this) { PageSize=8, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 }.ToHtml() %>
老师
--%> <% if (this.User.ParentUserType.InstructorEnable == true) { %>
<%= new HtmlAnchor("我布置的实训作业") { Href="#" }%>
<%= new MySubjectInstance(this) { TransferControl="/My/MySubject_Index", STEnable = (int)AVA.ResourcesPlatform.Model.Pub.SubjectSTEnableEnum.否}.ToHtml() %>
<%= new HtmlAnchor("我布置的实训竞赛") { Href="#" }%>
<%= new MySubjectInstance(this) { TransferControl="/My/MySubject_Index", STEnable = (int)AVA.ResourcesPlatform.Model.Pub.SubjectSTEnableEnum.是}.ToHtml() %>
<%= new HtmlAnchor("学科视频") { Href="#" }%>
<%= new IndexVideoByInstance(this) { PageSize=8, ParentCategory=this.User._ListUserCategory.Count>0?this.User._ListUserCategory[0].ParentCategory.Guid:"", OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 , TransferControl="/Index/IndexVideoByHot"}.ToHtml() %>
<%= new HtmlAnchor(Define.Get("Client_我的专辑")) { Href="#" }%>
<%= new IndexAlbumByInstance(this) { PageSize=8, ParentUser=this.UserCode, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 }.ToHtml() %>
<%= new HtmlAnchor("我的课程") { Href="#" }%>
<%= new MyPublicClassInstance(this) {}.ToHtml() %>
<%= new MyNoticeBarInstance(this) { ListNoticeCount = 10 }.ToHtml() %>
<%= new MyMessageBarInstance(this) { PageSize = 10 }.ToHtml() %>