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

📄 incsub.asp

📁 教师教学质量评价系统 教师教学质量评价系统 asp 源代码
💻 ASP
字号:

<link href="wangye9pt.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
body {
	margin-top: 0px;
}
-->
</style>

<%sub display1() %><table width="100%"  border="0" cellpadding="0" cellspacing="1" bgcolor="#336699" class="w9pt">
  <tr bgcolor="#FFFFFF">
    <td width="10%" height="40" align="center" class="w9pt">序号</td>
    <td width="50%" height="40" align="center" class="w9pt">评价内容</td>
    <td height="40" colspan="4" align="center" class="w9pt">    评价分数</td>
  </tr>
  			<% typed=3
		    strsql="select count(*) as total from content where typed="&typed
		    set rs=db.execute(strsql)
		    JISHU=RS("TOTAL")
			session("jishu")=jishu
		    JISHU1=JISHU
		    strsql="select * From content Where typed="&typed&" order by showid"
		    set rs=db.execute(strsql)
			 JISHU=JISHU+1
		    J=1
		    do while not rs.eof AND JISHU<>J
		    content=rs("content")
		   score=split(rs("score"),"*") 
		   %>   
  			<tr bgcolor="#FFFFFF">
    	<td width="10%" height="40" align="center"><%RESPONSE.Write J%>    	  </td>
    	<td width="50%" align="center" class="w9pt"><%=CONTENT%></td>
	 	<%for i=0 to 3 
			  IF I=0 THEN
			   response.Write "<td width='10%' align='center'>"&score(i)&"<input type='radio' name="&"RAD"&J&" value="&score(i)&" checked>"&"</td>"
			   ELSE
		      response.Write "<td width='10%' align='center'>"&score(i)&"<input type='radio' name="&"RAD"&J&" value="&score(i)&">"&"</td>"
              END IF
		  NEXT
		  %>
  </tr>
	 	  <%J=J+1
			rs.movenext
			loop%>
</table>

<%end sub
sub display2()
%>

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#336699" class="w9pt">

  <tr bgcolor="#FFFFFF" class="w9pt">
    <td width="31" rowspan="2">序号</td>
    <td width="72" height="40" rowspan="2" align="center" valign="middle">评价内容    </td>
    <td width="312" colspan="3" align="center">评价标准</td>
    <td width="216" colspan="7" align="center">评价分数</td>
  </tr>
  <tr>
    <td width="96" align="center" bgcolor="#FFFFFF" class="w9pt">差 </td>
    <td width="108" align="center" bgcolor="#FFFFFF" class="w9pt">中</td>
    <td width="108" align="center" bgcolor="#FFFFFF" class="w9pt">优</td>
    <td width="36" align="center" bgcolor="#FFFFFF" class="w9pt">差</td>
    <td width="108" colspan="4" align="center" bgcolor="#FFFFFF" class="w9pt">中</td>
    <td width="72" colspan="2" align="center" bgcolor="#FFFFFF" class="w9pt">优 </td>
  </tr>
  
  <%       typed=2
		    strsql="select count(*) as total from content where typed="&typed
		    set rs=db.execute(strsql)
		    JISHU=RS("TOTAL")
			session("jishu")=jishu
		    JISHU1=JISHU
		    strsql="select * From content Where typed="&typed&" order by showid"
		    set rs=db.execute(strsql)
			 JISHU=JISHU+1
		    J=1
		    do while not rs.eof AND JISHU<>J
		    content=SPLIT(rs("content"),"*")
		   score=split(rs("score"),"*") 
		   %>   
  <tr>
    <td width="3%" align="center" bgcolor="#FFFFFF"><%RESPONSE.Write J%></td>
    <td width="10%" height="40" align="center" bgcolor="#FFFFFF"> <%=content(0)%>    </td>
    <td Width="18%" align="center" bgcolor="#FFFFFF"><%=content(1)%></td>
    <td Width="18%" align="center" bgcolor="#FFFFFF"><%=content(2)%></td>
    <td Width="18%" align="center" bgcolor="#FFFFFF"><%=content(3)%></td>
	         <%for i=0 to 5 
			  IF I=5 THEN
			   response.Write "<td width='5%' bgcolor='#FFFFFF'>"&score(i)&"<input type='radio' name="&"RAD"&J&" value="&score(i)&" checked>"&"</td>"
			   ELSE
		      response.Write "<td width='5%' bgcolor='#FFFFFF'>"&score(i)&"<input type='radio' name="&"RAD"&J&" value="&score(i)&">"&"</td>"
              END IF
		  NEXT
		  %>
    
  </tr>
    <%J=J+1
			rs.movenext
			loop%>
</table>


<%end sub
sub display3()
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#336699" class="w9pt">
  <tr bgcolor="#FFFFFF" class="w9pt">
    <td width="31" rowspan="2">序号</td>
    <td width="72" height="40" rowspan="2" align="center" valign="middle">评价内容    </td>
    <td width="312" colspan="3" align="center">评价标准</td>
    <td width="216" colspan="7" align="center">评价分数</td>
  </tr>
  <tr>
    <td width="96" align="center" bgcolor="#FFFFFF" class="w9pt">差 </td>
    <td width="108" align="center" bgcolor="#FFFFFF" class="w9pt">中</td>
    <td width="108" align="center" bgcolor="#FFFFFF" class="w9pt">优</td>
    <td width="36" align="center" bgcolor="#FFFFFF" class="w9pt">差</td>
    <td width="108" colspan="4" align="center" bgcolor="#FFFFFF" class="w9pt">中</td>
    <td width="72" colspan="2" align="center" bgcolor="#FFFFFF" class="w9pt">优 </td>
  </tr>
  <%       typed=1
		    strsql="select count(*) as total from content where typed="&typed
		    set rs=db.execute(strsql)
		    JISHU=RS("TOTAL")
			session("jishu")=jishu
		    JISHU1=JISHU
		    strsql="select * From content Where typed="&typed&" order by showid"
		    set rs=db.execute(strsql)
			 JISHU=JISHU+1
		    J=1
		    do while not rs.eof AND JISHU<>J
		    content=SPLIT(rs("content"),"*")
		   score=split(rs("score"),"*") 
		   %>
  <tr>
    <td width="3%" align="center" bgcolor="#FFFFFF"><%RESPONSE.Write J%></td>
    <td width="10%" height="40" align="center" bgcolor="#FFFFFF"> <%=content(0)%>    </td>
    <td Width="18%" align="center" bgcolor="#FFFFFF"><%=content(1)%></td>
    <td Width="18%" align="center" bgcolor="#FFFFFF"><%=content(2)%></td>
    <td Width="18%" align="center" bgcolor="#FFFFFF"><%=content(3)%></td>
    <%for i=0 to 5 
			  IF I=5 THEN
			   response.Write "<td width='5%'  bgcolor='#FFFFFF'>"&score(i)&"<input type='radio' name="&"RAD"&J&" value="&score(i)&" checked>"&"</td>"
			   ELSE
		      response.Write "<td width='5%' bgcolor='#FFFFFF'>"&score(i)&"<input type='radio' name="&"RAD"&J&" value="&score(i)&">"&"</td>"
              END IF
		  NEXT
		  %>
  </tr>
  <%J=J+1
			rs.movenext
			loop%>
</table>
<%end sub
sub display4()
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#336699" class="w9pt">
  <tr bgcolor="#FFFFFF" class="w9pt">
    <td width="31" rowspan="2">序号</td>
    <td width="72" height="40" rowspan="2" align="center" valign="middle">评价内容    </td>
    <td width="312" colspan="3" align="center">评价标准</td>
    <td width="216" colspan="7" align="center">评价分数</td>
  </tr>
  <tr>
    <td width="96" align="center" bgcolor="#FFFFFF" class="w9pt">差 </td>
    <td width="108" align="center" bgcolor="#FFFFFF" class="w9pt">中</td>
    <td width="108" align="center" bgcolor="#FFFFFF" class="w9pt">优</td>
    <td width="36" align="center" bgcolor="#FFFFFF" class="w9pt">差</td>
    <td width="108" colspan="4" align="center" bgcolor="#FFFFFF" class="w9pt">中</td>
    <td width="72" colspan="2" align="center" bgcolor="#FFFFFF" class="w9pt">优 </td>
  </tr>
  <%       typed=5
		    strsql="select count(*) as total from content where typed="&typed
		    set rs=db.execute(strsql)
		    JISHU=RS("TOTAL")
			session("jishu")=jishu
		    JISHU1=JISHU
		    strsql="select * From content Where typed="&typed&" order by showid"
		    set rs=db.execute(strsql)
			 JISHU=JISHU+1
		    J=1
		    do while not rs.eof AND JISHU<>J
		    content=SPLIT(rs("content"),"*")
		   score=split(rs("score"),"*") 
		   %>
  <tr>
    <td width="3%" align="center" bgcolor="#FFFFFF"><%RESPONSE.Write J%></td>
    <td width="10%" height="40" align="center" bgcolor="#FFFFFF"> <%=content(0)%>    </td>
    <td Width="18%" align="center" bgcolor="#FFFFFF"><%=content(1)%></td>
    <td Width="18%" align="center" bgcolor="#FFFFFF"><%=content(2)%></td>
    <td Width="18%" align="center" bgcolor="#FFFFFF"><%=content(3)%></td>
    <%for i=0 to 5 
			  IF I=5 THEN
			   response.Write "<td width='5%'  bgcolor='#FFFFFF'>"&score(i)&"<input type='radio' name="&"RAD"&J&" value="&score(i)&" checked>"&"</td>"
			   ELSE
		      response.Write "<td width='5%' bgcolor='#FFFFFF'>"&score(i)&"<input type='radio' name="&"RAD"&J&" value="&score(i)&">"&"</td>"
              END IF
		  NEXT
		  %>
  </tr>
  <%J=J+1
			rs.movenext
			loop%>
</table>
<%end sub
%>

⌨️ 快捷键说明

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