<%= new HtmlCheckBox() { Value = SetKey(pvHistory.Guid, pvHistory.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%>
|
-
<%
if (pvHistory.PVTarget == "Video")
{
var video = CreateInstance.VideoDao.Get(pvHistory.PVGuid);
if (video != null)
{
%>
<%= new HtmlAnchor(video.Name) { Href = WebUrl.VideoPlay(video.Guid), Title=video.Name, Target = "_blank" }%>
<%
}
}
else if (pvHistory.PVTarget == "Album")
{
var album = CreateInstance.AlbumDao.Get(pvHistory.PVGuid);
if (album != null)
{
%>
<%= new HtmlAnchor(album.Name) { Href = WebUrl.AlbumView(album.Guid), Title=album.Name, Target = "_blank" }%>
<%
}
}
else if (pvHistory.PVTarget == "Meeting")
{
var meeting = CreateInstance.MeetingDao.Get(pvHistory.PVGuid);
if (meeting != null)
{
%>
<%= new HtmlAnchor(meeting.Name) { Href = WebUrl.MeetingView(meeting.Guid), Title=meeting.Name, Target = "_blank" }%>
<%
}
}
else if (pvHistory.PVTarget == "Subject")
{
var subject = CreateInstance.SubjectDao.Get(pvHistory.PVGuid);
if (subject != null)
{
%>
<%= new HtmlAnchor(subject.Name) { Href = WebUrl.SubjectView(subject.Guid), Title=subject.Name, Target = "_blank" }%>
<%
}
}
else if (pvHistory.PVTarget == "Application")
{
var application = CreateInstance.ApplicationDao.Get(pvHistory.PVGuid);
if (application != null)
{
%>
<%= new HtmlAnchor(application.Title) { Href = WebUrl.LivePlay(application.Guid), Title=application.Title, Target = "_blank" }%>
<%
}
}
%>
|
取消收藏
|
<%
}
%>