📄 lesson_info.asp
字号:
<!--#include file="../../Include/Class_Conn.asp" -->
<!--#include file="../../Include/Class_Main.asp" -->
<%
Dim Param
Dim Schid,Username,Cmd,Rs,SQL
Param_Str = Split(Request.QueryString,".")
Str = Split(Param_Str(0),"-")
Param = Replace_Text(Str(3))
Schid = Replace_Text(Str(1))
'//调用存储过程
Set Cmd = Server.CreateObject("ADODB.Command")
Cmd.ActiveConnection = Conn
Cmd.CommandText = "Edu_Account"
Cmd.CommandType = 4
Cmd.Parameters.Append Cmd.CreateParameter("@Schid",200,1,30)
Cmd.Parameters("@Schid") = Schid
Set Rs = Cmd.Execute
If Rs.Eof Then
CloseRs
Set Cmd = Nothing
CloseDB
Response.write "没有找到会员资料!"
Response.End()
End if
Tmp = Rs.GetRows() '//将数据填充到数组
'//0院校名,1院校性质
'//关闭数据库对象
Rs.Close
Set Cmd = Nothing
SchoolName = Tmp(0,0)
Properity = Tmp(1,0)
SchoolType = Cls_EducateType(Properity)
'//查找课程
SQL = "Select * From [pH_Educate_Lesson] Where Schid='"&Schid&"' And Ncid="&Cstr(Param)
Set Rs = Conn.Execute(SQL)
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../../Css/Style.css" type=text/css rel=stylesheet>
<title><%= SchoolName&" -- 培训课程" %></title>
</head>
<body>
<table width="956" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>
<!--#include file="../../Include/Header.asp" -->
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td height="4"></td>
</tr>
</table>
<table width="956" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="164" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="../../Images/Company/toplogo.gif" width="164" height="34"></td>
</tr>
<tr>
<td height="70" align="center"><img src="../../Ad_Imgs/148_60_1(3).gif" width="148" height="60"></td>
</tr>
<tr>
<td height="70" align="center"><img src="../../Ad_Imgs/148_60_1.gif" width="148" height="60"></td>
</tr>
<tr>
<td height="70" align="center"><img src="../../Ad_Imgs/148_60_1(1).gif" width="148" height="60"></td>
</tr>
<tr>
<td height="70" align="center"><img src="../../Ad_Imgs/148_60_1(2).gif" width="148" height="60"></td>
</tr>
<tr>
<td height="70" align="center"><img src="../../Ad_Imgs/148_60_1(5).gif" width="148" height="60"></td>
</tr>
<tr>
<td height="70" align="center"><img src="../../Ad_Imgs/148_60_1(4).gif" width="148" height="60"></td>
</tr>
</table></td>
<td width="1" bgcolor="#eeeeee"></td>
<td width="3"></td>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="28%" align="left"><img src="../../Images/Company/welcome.gif" width="149" height="43"></td>
<td style="font-size:15px;color:#3333CC;font-weight:bold"><%= Tmp(0,0) %></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="188" height="21"> </td>
<td width="21" rowspan="2"><img src="../../Images/Company/yleft.gif" width="21" height="22"></td>
<td width="107" rowspan="2" align="center" valign="bottom" background="../../Images/Company/company_ybg.gif"><a href="Index.asp?Param-<%= Schid %>.html">机构简介</a></td>
<td width="28" rowspan="2"><img src="../../Images/Company/middle.gif" width="28" height="22"></td>
<td width="115" rowspan="2" align="center" valign="bottom" background="../../Images/Company/company_wbg.gif"><strong>培训课程</strong></td>
<td width="17" rowspan="2"><img src="../../Images/Company/person_wright.gif" width="24" height="22"></td>
<td width="312"> </td>
</tr>
<tr>
<td height=1 bgcolor=#ddddda width="188"></td>
<td height=1 bgcolor=#ddddda width="312"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="2"></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="dddddd">
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right"> 课程名称:</td>
<td height="25"><%= Rs("lessonname") %>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right"><STRONG></STRONG>课程性质:</td>
<td height="25"><%=Rs("Property")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">开课时间:</td>
<td height="25"><%= Rs("begindate") %></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">开课地点:</td>
<td height="25"><%= Rs("beginaddr") %></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">费 用:</td>
<td height="25"><%= Rs("currcy") %></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">培训目标:</td>
<td height="25"><%= Rs("mubiao") %></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">培训对象:</td>
<td height="25"><%= Rs("sudobj") %></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">课程内容:</td>
<td height="25"><%= Rs("content") %></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">联系人:</td>
<td height="25"><%= Rs("person") %></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">联系电话:</td>
<td height="25"><%= Rs("phone") %></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">传 真:</td>
<td height="25"><%= Rs("fax") %></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">有效期:</td>
<td height="25"><%= Cls_Valid(Rs("Valid")) %></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="2"></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="1" bgcolor="#eeeeee"></td>
</tr>
</table></td>
</tr>
</table>
<table width="956" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>
<!--#include file="../../Include/Footer.asp" -->
</td>
</tr>
</table>
</body>
</html>
<%
'//关闭数据库连接
Set Rs = Nothing
CloseDB
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -