⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classlesson.ascx

📁 采用微软力推的ASP.Net(C#)编写而成的烁空网络课堂系统
💻 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&amp;C_ID=<%=GetClassInfo("C_ID")%>&amp;Road=BigID&amp;Do=Insert' >章节管理</A>] 
			[<A href='?Socut=Admin-ClassLesson&amp;Do=Insert&amp;C_ID=<%=GetClassInfo("C_ID")%>' >添加教程</A>] 
			[<A href='?Socut=Admin-ClassLesson&amp;Do=Index&amp;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">课室分节:</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="宋体">&nbsp;编号:
				<asp:textbox id="TBTaxis" runat="server" Width="80px"></asp:textbox>(可修改,编号越大则排得越后)</FONT></TD>
	</TR>
	<tr>
		<td>标题:</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">内容:</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="宋体">预览小图-Host:</FONT></td>
			<td><asp:textbox id="BPreviewURL" runat="server" Width="280px">/</asp:textbox><FONT face="宋体">(图片URL)</FONT></td>
		</tr>
		<TR>
			<TD><FONT face="宋体">预览大图-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>&nbsp;</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>&nbsp;</td>
	</tr>
	<tr>
		<td>&nbsp;</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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -