?? classlesson.ascx
字號:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ClassLesson.ascx.cs" Inherits="Socut_Ver3.xx.Admin.ClassLesson" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%=mySocut.GetConfirm(1,"刪","確定刪除此教程?")%>
<script>
function Show(id)
{
if(id=="TArt")
{
document.getElementById ("TArt").style .display="block";
document.getElementById ("TMov").style .display="none";
}
else
{
document.getElementById ("TArt").style .display="none";
document.getElementById ("TMov").style .display="block";
}
}
function ShowArt()
{
document.getElementById ("TArt").style .display="block";
}
</script>
<script language="javascript" src="inc/socut.js"></script>
<table class="table_bottom" cellSpacing="0" cellPadding="3" width="90%" align="center"
border="0">
<tr>
<td><%=GetClassInfo("C_Name")%>
[<A href='?Socut=Admin-ClassNode&C_ID=<%=GetClassInfo("C_ID")%>&Road=BigID&Do=Insert' >章節(jié)管理</A>]
[<A href='?Socut=Admin-ClassLesson&Do=Insert&C_ID=<%=GetClassInfo("C_ID")%>' >添加教程</A>]
[<A href='?Socut=Admin-ClassLesson&Do=Index&C_ID=<%=GetClassInfo("C_ID")%>' >教程列表</A>]
<BR>
</td>
</tr>
</table>
<table class="table_bottom" id="TNodeList" cellSpacing="0" cellPadding="3" width="90%"
align="center" border="0" runat="server">
<tr>
<td vAlign="top" width="120"></td>
<td></td>
</tr>
</table>
<table class="set" id="T1" cellSpacing="0" cellPadding="0" width="90%" align="center" border="0"
runat="server">
<TR>
<TD style="HEIGHT: 18px" width="120">所屬課室:</TD>
<TD style="HEIGHT: 18px"><%=DDLClass()%></TD>
</TR>
<tr>
<td style="HEIGHT: 18px" width="120">課室分節(jié):</td>
<td style="HEIGHT: 18px"><%=DDLNode()%><FONT face="宋體"></FONT></td>
</tr>
<TR>
<TD><FONT face="宋體">類型:</FONT></TD>
<TD>
<%=CheckBox()%>
</TD>
</TR>
<TR>
<TD><FONT face="宋體">排序:</FONT></TD>
<TD><asp:checkbox id="CBTop" runat="server" Text="固頂"></asp:checkbox><asp:checkbox id="CBGood" runat="server" Text="推薦"></asp:checkbox><FONT face="宋體"> 編號:
<asp:textbox id="TBTaxis" runat="server" Width="80px"></asp:textbox>(可修改,編號越大則排得越后)</FONT></TD>
</TR>
<tr>
<td>標(biāo)題:</td>
<td><asp:textbox id="BTitle" runat="server" Width="360px"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="BTitle" ErrorMessage="!"></asp:requiredfieldvalidator></td>
</tr>
<TR>
<TD><FONT face="宋體">作者:</FONT></TD>
<TD><asp:textbox id="BAuthor" runat="server" Width="104px"></asp:textbox></TD>
</TR>
</table>
<div id="TArt" style="DISPLAY:none">
<TABLE class="set" id="TArt" cellSpacing="0" cellPadding="0" width="90%" align="center"
border="0" runat="server">
<TR>
<TD width="120">內(nèi)容:</TD>
<TD><asp:textbox id="BContent" runat="server" Width="100%" TextMode="MultiLine" Height="266px"></asp:textbox></TD>
</TR>
</TABLE>
</div>
<div id="TMov">
<TABLE class="set" id="TMov" cellSpacing="0" cellPadding="0" width="90%" align="center"
border="0" runat="server">
<TR>
<TD width="120" style="HEIGHT: 14px"><FONT face="宋體">播放器:</FONT></TD>
<TD style="HEIGHT: 14px"><asp:dropdownlist id="DDLPlayer" runat="server">
<asp:ListItem Value="1">FlashPlayer</asp:ListItem>
<asp:ListItem Value="2">MediaPlayer</asp:ListItem>
<asp:ListItem Value="3">RealPlayer</asp:ListItem>
<asp:ListItem Value="4">FlvPlayer</asp:ListItem>
</asp:dropdownlist></TD>
</TR>
<TR>
<TD width="120"><FONT face="宋體">片長:</FONT></TD>
<TD><asp:textbox id="BLength1" runat="server" Width="20px">00</asp:textbox><FONT face="宋體">時
<asp:textbox id="BLength2" runat="server" Width="20px">00</asp:textbox>分
<asp:textbox id="BLength3" runat="server" Width="20px">00</asp:textbox>秒</FONT></TD>
</TR>
<tr>
<td width="120"><FONT face="宋體">預(yù)覽小圖-Host:</FONT></td>
<td><asp:textbox id="BPreviewURL" runat="server" Width="280px">/</asp:textbox><FONT face="宋體">(圖片URL)</FONT></td>
</tr>
<TR>
<TD><FONT face="宋體">預(yù)覽大圖-Host:</FONT></TD>
<TD><FONT face="宋體"><asp:textbox id="BPreviewBig" runat="server" Width="280px">/</asp:textbox></FONT></TD>
</TR>
<tr>
<td><FONT face="宋體">簡介:
<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="!" ControlToValidate="BIntro"></asp:RequiredFieldValidator></FONT></td>
<td><asp:textbox id="BIntro" runat="server" Width="100%" TextMode="MultiLine" Height="136px" DESIGNTIMEDRAGDROP="280"></asp:textbox></td>
</tr>
<tr>
<td><FONT face="宋體">在線觀看-Host:</FONT></td>
<td><asp:textbox id="BFlashURL" runat="server" Width="208px">/</asp:textbox><FONT face="宋體">寬*高:
<asp:textbox id="BFlashW" runat="server" Width="30px">800</asp:textbox>*
<asp:textbox id="BFlashH" runat="server" Width="30px">600</asp:textbox>無則留空</FONT> </td>
</tr>
<tr>
<td><FONT face="宋體">資源下載-Host:</FONT></td>
<td><asp:textbox id="BLoadURL" runat="server" Width="336px">/</asp:textbox><FONT face="宋體">多文件,請用“|”分割</FONT></td>
</tr>
<TR>
<TD><FONT face="宋體">資源解壓密碼:</FONT></TD>
<TD><FONT face="宋體"><asp:textbox id="TBRARPass" runat="server">無</asp:textbox></FONT></TD>
</TR>
</TABLE>
</div>
<table class="set" id="TAdd" cellSpacing="0" cellPadding="0" width="90%" align="center"
border="0" runat="server">
<tr>
<td width="120"><FONT face="宋體">日期:</FONT></td>
<td><asp:textbox id="BPostTime" runat="server"></asp:textbox> </td>
</tr>
<tr>
<td> </td>
<td><FONT face="宋體"><asp:button id="Button1" runat="server" Text="添加"></asp:button></FONT></td>
</tr>
</table>
<table id="TOK" cellSpacing="0" cellPadding="3" width="90%" align="center" border="0" runat="server">
<tr>
<td align="center" height="100">操作成功!
<asp:label id="LOK" runat="server">Label</asp:label></td>
</tr>
</table>
<table id="TLessonList" cellSpacing="0" cellPadding="3" width="90%" align="center" border="0"
runat="server">
<tr>
<td class="set"><%=GetLessonList(0)%><BR>
</td>
</tr>
</table>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -