<%= CreateInstance.ConfigDao.ApplicationAlbumNameTag("*") %><%= Define.Get("Client_专辑")%>名称: |
<%
var album = ViewData.Val("AlbumName", this.Application);
if (album != null && this.ListAllAlbum.Select(l => l.Name).Contains(album))
{
%>
<%= new HtmlText("", ViewData.Val("AlbumName", this.Application), 64) { ID = "AlbumText" }.Style(new { display="none" })%>
取消
<%= new HtmlSelect("AlbumName", "Name", "Name", "Guid") { ID="AlbumSelect", Option = this.ListAllAlbum,DefaultSelectValue = "", SelectedValue= ViewData.Val("AlbumName", this.Application), OnChange="ChangeAlbumText(this)" }.InsertOption("我要输入...","change",this.ListAllAlbum.Count).InsertOption("::选择::", "", 0)%>
<%
}
else if (album != null && album !="" && this.ListAllAlbum.Select(l => l.Name).Contains(album) == false)
{
%>
<%= new HtmlText("", ViewData.Val("AlbumName", this.Application), 64) { ID = "AlbumText" }%>
取消
<%= new HtmlSelect("AlbumName", "Name", "Name", "Guid") { ID = "AlbumSelect", Option = this.ListAllAlbum, DefaultSelectValue = "", SelectedValue = ViewData.Val("AlbumName", this.Application), OnChange = "ChangeAlbumText(this)" }.InsertOption("我要输入...", "change", this.ListAllAlbum.Count).InsertOption("::选择::", "", 0).Style(new { display="none"})%>
<%
}
else if (album == null || album == "")
{
%>
<%= new HtmlText("", ViewData.Val("AlbumName", this.Application), 64) { ID = "AlbumText" }.Style(new { display="none" })%>
取消
<%= new HtmlSelect("AlbumName", "Name", "Name", "Guid") { ID="AlbumSelect", Option = this.ListAllAlbum,DefaultSelectValue = "", SelectedValue= ViewData.Val("AlbumName", this.Application), OnChange="ChangeAlbumText(this)" }.InsertOption("我要输入...","change",this.ListAllAlbum.Count).InsertOption("::选择::", "", 0)%>
<%
}
%>
<%= new HtmlYKTip("AlbumName")%>
|
<%= CreateInstance.ConfigDao.ApplicationViewPasswordTag("*") %><%= Define.Get("Application_需要登录观看").ToScriptTag() %>: |
<%= new HtmlCheckBox("NeetLoginToLive", ViewData.Val("NeetLoginToLive", this.Application), true, false) { Class = ""}%>
|
<%= CreateInstance.ConfigDao.ApplicationViewPasswordTag("*") %>观看密码: |
<%= new HtmlText("ViewPassword", ViewData.Val("ViewPassword", this.Application), 200) { }%>
<%= new HtmlYKTip("ViewPassword")%>
|
<%= CreateInstance.ConfigDao.ApplicationCoverTag("*") %>直播封面: |
|
*观看权限: |
<%= new HtmlRadio("Share", 0, null) { ID = "Application_Share_0", Checked=(ViewData.Val("Share", this.Application).ToIntN()==0) }.Style(new { Width = "auto" })%>
<%--<%= new HtmlRadio("Share", 1, null) { ID = "Application_Share_1", Checked=(ViewData.Val("Share", this.Application).ToIntN()==1) }.Style(new { Width = "auto" })%>
--%>
<%= new HtmlRadio("Share", true , 2, null) { ID = "Application_Share_2", Checked=(ViewData.Val("Share", this.Application).ToIntN()==2 || ViewData.Val("Share", this.Application).ToIntN()==null) }.Style(new { Width = "auto" })%>
<%= new HtmlYKTip("Share") %>
|
*到场人数: |
<%= new HtmlText("NumberOfPeople", 1) { Class = "ipt-t ipt-t-dft " }%><%--不显示到场人数--%>
<%= new HtmlYKTip("NumberOfPeople") %>
|
<%= CreateInstance.ConfigDao.ApplicationDescriptionTag("*") %>申请说明: |
<%= new HtmlTextArea("Description", ViewData.Val("Description", this.Application), 2000)%>
<%= new HtmlYKTip("Description") %>
|
<%= CreateInstance.ConfigDao.ApplicationChannelTag("*") %>课程分类: |
<%
for (var i = 0; i <= this.ListAllChannel.Count - 1; i++)
{
var channel = this.ListAllChannel[i];
string parentChannelGuid = "";
if (channel.ParentChannel != null)
{
parentChannelGuid = channel.ParentChannel.Guid;
%>
-
<%= new HtmlCheckBox("Channel", CreateInstance.ApplicationChannelDao.Count(l=>l.ParentApplication== this.Application
&& l.ParentChannel== channel)>0, channel.Guid, "") { ID = "Channel" + channel.Guid, Class = "ChannelItem ChannelItemChannel" + parentChannelGuid, Lang = channel.ParentChannel.Guid }.Style(new { Width = "auto" })%>
<%= new HtmlLabel("Channel" + channel.Guid, channel.Name)%>
<%
if (i == 0)
{
%>
<%= new HtmlYKTip("Channel")%>
<%
}
%>
<%
}
else
{
%>
-
<%= new HtmlCheckBox("Channel", CreateInstance.ApplicationChannelDao.Count(l=>l.ParentApplication== this.Application
&& l.ParentChannel== channel)>0 , channel.Guid, "") { ID = "Channel" + channel.Guid, Class = "ChannelMaster ChannelMaster" + channel.Guid }.Style(new { Width = "auto" })%>
<%= new HtmlLabel("Channel" + channel.Guid, channel.Name)%>
<%
if (i == 0)
{
%>
<%= new HtmlYKTip("Channel")%>
<%
}
%>
<%
}
}
%>
|