<!--#include file="Const.Asp"-->
<!--#include file="error.ini"-->
<%PageName="Admin_Nclass_Add"%>
<!--#include file="Top.Asp"-->
<link href="Images/Admin_Style.Css" rel="stylesheet" type="text/css">
<%
NClassid=cstr(trim(request.QueryString("Nclassid")))
%>
<script>
function submitonce(theform){
	//if IE 4+ or NS 6+
	if (document.all||document.getElementById){
	//screen thru every element in the form, and hunt down "submit" and "reset"
	for (i=0;i<theform.length;i++){
		var tempobj=theform.elements[i]
		if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
		//disable em
		tempobj.disabled=true
		}
	}
}
</script>
     <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border">
         <tr class="title">
          <td width="100%" height="20" align=center>歌　手　资　料</td>
       </tr></table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0"  align=center class=tdbg>
 <form method="POST" action="Admin_Nclass_Err.Asp?act=rename&NClassid=<%=NClassid%>">
       	<tr>
          <td width="100%" class=tdbg>
                  <table border="0" cellpadding="3" cellspacing="0" width="100%" height="497" style="border-collapse: collapse" bordercolor="#111111">
                  <%
set rs=server.createobject("adodb.recordset")
	sql="select * from nclass where nclassid="&nclassid
	rs.open sql,conn,1,1
	abcd=rs("abcd")
	nclass=rs("nclass")
	pic=rs("pic")
	da=rs("da")
set rs=nothing
conn.close
set conn=nothing

%>
                  
                    <tr>
                      <td width="15%" height="26" class=tdbg align="right">歌手名称：</td>
                      <td width="85%" height="26" class=tdbg colspan="2"><input  class=input  type="text" value="<%=nclass%>" name="NClass" size="20"></td>
                    </tr>
                                   <tr>
                      <td width="15%" height="25" class=tdbg align="right">名字索引：</td>
                      <td width="85%" height="25" class=tdbg colspan="2"><input  class=input type="text" name="ABCD" value="<%=abcd%>" size="20"></td>
                    </tr>
                                        <tr>
                      <td width="15%" height="26" align="right" class=tdbg>歌手照片：</td>
                      <td width="16%" height="26" class=tdbg><input class=input  type="text" name="pic" value="../Photo/NoPic.gif" size="20"> </td>
                      <td width="69%" height="26" class=tdbg>
                      <iframe name="I1" width="369" height="20" src="upload.htm" scrolling="no" border="0" frameborder="0">
                      浏览器不支持嵌入式框架，或被配置为不显示嵌入式框架。</iframe></td>
                    </tr>
                    <tr>
                      <td width="15%" height="1" align="right"></td>
                      <td width="85%" height="1" colspan="2"> <font color="#808080">
                      上传后所有文件都将命名为***.JPG</font></td>
                    </tr>
                    <tr>
                      <td width="15%" height="69" align="right" class=tdbg>明星档案：</td>
                      <td width="85%" height="69" colspan="2" class=tdbg><TEXTAREA class=input name="da" rows=30 cols="130">暂无歌手资料</TEXTAREA></td>
                    </tr>
                    <tr>
                      <td width="15%" align="right" height="1"></td>
                      <td width="85%" height="1" colspan="2"></td>
                    </tr>
                    <tr>
                      <td width="15%" align="right" height="1"></td>
                      <td width="85%" height="1" colspan="2"></td>
                    </tr>

                  </table>
		  </td>
        </tr>
        <tr>
          <td width="100%" height="22" class=tdbg align=center>
              <input type="hidden" name="act"> 

              <input type="submit" class=input value=" 确 定 " name="cmdok">&nbsp; 

              <input type="reset" class=input value=" 取 消 " name="cmdcancel"></td>
        </tr>
       </form>
      </table>
</body></html>
<html></html>