<!--#include file="../../checkLogin.asp"-->
<!--#include file="../../SQLconn.asp"-->
<link rel="stylesheet" type="text/css" href="../../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>


<p>
  <script Language="JavaScript">
 function form_check(){
  if(document.form3.vid.value.length<1){window.alert("请输入序号");document.form3.vid.focus();return (false);}
   
                  }

  </script>
</p>


<%
   leibie=request("leibie")
   strtype=request("strtype")
   
   
   %>
      <form id="form3" name="form3" method="post" action="save.asp?leibie=<%=leibie%>&strtype=<%=strtype%>"  onSubmit="return form_check();">
	  <table width="588" border="1" align="center" cellpadding="3"   cellspacing="0"  bordercolor="#6D8DD8"  class="mtablehui"> 
<tr style="background-color:#D6E4FF"  class="TableHeader">      <td height="30" colspan="3" valign="middle"  align="center" nowrap class="NemuNot">
	  
      <table width="588" border="0" align="center" cellspacing="0" bordercolorlight="#11b1ff" bordercolordark="#f0f8ff">
      <tr align="middle">  <td class="STYLE1">&nbsp;</td>
      <td height="25" class="STYLE1"><div align="center">序号</div></td>
      <td align="center" valign="middle" class="STYLE1"><div align="left">
      <label><input name="xuhao" type="text" class="text" id="xuhao" size="5" /></label>
      </div></td><td>&nbsp;</td> </tr>
      <tr align="middle">
        <td class="STYLE1">&nbsp;</td>
        <td height="27" class="STYLE1"><div align="center">说明</div></td>
        <td align="center" valign="middle" class="STYLE1"><div align="left">
          <input name="shuoming" type="text" class="text" id="shuoming" size="30" maxlength="30" />
        </div></td>
        <td>&nbsp;</td>
      </tr>
      <tr align="middle"> <td width="83" class="STYLE1">&nbsp;</td>
      <td width="87" height="28" class="STYLE1"><div align="center">分值</div></td>
      <td width="398" align="center" valign="middle" class="STYLE1"><div align="left">
	  <input name="fenzhi" type="text" class="text" id="fenzhi" size="5" maxlength="5" />
	  <input name="Submit" type="submit" class="topanniu" value="添加" />
      </div> </label></td><td width="12">&nbsp;</td> 
      </tr></table>
	    </td>    </tr>    </table> 
      </form>

    <table width="588" align="center" border="1" cellpadding="3"   cellspacing="0"  bordercolor="#6D8DD8"  class="mtable">   
    <tr style="background-color:#D6E4FF"  class="TableHeader">
    <td align="center" nowrap class="STYLE1">序号</td>
	<td align="center" nowrap class="STYLE1">项目</td>
    <td height="27" align="center" nowrap class="STYLE1">说明
      <div align="center"></div></td><td width="86" align="center" nowrap class="STYLE1">分值</td>
    <td width="94" align="center" nowrap class="STYLE1">操作</td>
    </tr>

   
   <%Set Rslist=Server.CreateObject("Adodb.Recordset")
   sqllist="select * from xiangmuList where  项目名称='"&leibie& "'   and  一级项目='"&strtype& "'  order by 序号" 
   Rslist.open sqllist,conn,1,1
   while not Rslist.eof and not Rslist.bof%>
    <tr onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#EFF8FF'">
    <td width="50" height="27" align="center" nowrap class="STYLE1"><%=Rslist("序号")%></td>
    <td width="80" align="center" nowrap class="STYLE1"><%=Rslist("一级项目")%></td>
	<td width="200" align="center" nowrap class="STYLE1"><%=Rslist("二级项目")%></td>
    <td align="center" nowrap class="STYLE1"><%=Rslist("分值")%></td>
    <td align="center" nowrap class="STYLE1">
	<a href="modify.asp?leibie=<%=leibie%>&strtype=<%=strtype%>&id=<%=Rslist("id")%>">修改</a>&nbsp;
	 
	<a   href= "# "   onclick= "javascript:if(confirm( '您真的要删除记录？ '))href= 'delete.asp?leibie=<%=leibie%>&strtype=<%=strtype%>&id=<%=Rslist("id")%>'; "> 删除 </a>	  </td>	
    </tr>
<%  Rslist.movenext
    wend
%>
</table>
<br>
