www.gusucode.com > 星云DJ舞曲 4.5a源码程序 > admin/admin_xuanmana.asp

    <!--#include file="conn.asp"-->
<!--#include file="checkadmin.inc"-->
<html>
<head>
<title>迪吧后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Admin_Style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
      <table width="100%" cellspacing="0" cellpadding="0" class="tdbg" border="1" bordercolor="#ffffff">
        <tr>
          <td width="100%" colspan=6 height="22" align=center class="topbg">站内宣传员列表</td>
        </tr>
        <tr>
          <td width="7%" align="center">ID</td>
          <td width="16%" align="center">名称</td>
          <td width="49%" align="center">相片</td>
          <td width="12%" align="center">QQ</td>
          <td width="4%" align="center">修</td>
          <td width="5%" align="center">删</td>
        </tr>
<%
set rs=server.CreateObject("ADODB.RecordSet")
sql="select * from DJxuan"
rs.open sql,conn,1
%> 
<%
if rs.EOF then
%>
        <tr><td colspan=6 align=center>没有用户</td></tr>
<%
else
	do while NOT rs.EOF
	%>
        <tr> 
          <td width="7%" align="center"><%=rs("id")%> </td>
          <td width="16%" align="center"><%=rs("Username")%> </td>
          <td width="49%" align="center"><%=rs("picurl")%> </td>
          <td width="12%" align="center"><%=rs("xuanqq")%> </td>
          <td width="4%" align="center"><a href="admin_xuanModify.asp?id=<%=rs("id")%>">修</a></td>
          <td width="5%" align="center"><a href="admin_xuanDel.asp?id=<%=rs("id")%>">删</a></td>
        </tr>
<%
	rs.MoveNext
	loop
end if
rs.close
%> 
      </table>
      <FORM METHOD=POST ACTION="admin_xuanSave.asp" id=form1 name=form1>
        <table border="1" width="100%" cellspacing="0" cellpadding="0" class="tdbg" bordercolor="#ffffff">
          <tr> 
            <td align="center" height=20 colspan=2 class="title">添 加 成 员</td>
          </tr>
          <tr>
            <td align="right">成 员 名 称:</td>
            <td>
			<input type=text name=username size="14"  value="" name=keyword size=14 maxlength="30"></td>
          </tr>
          <tr> 
            <td align="right" height="22">Q Q 号 码:</td>
            <td height="22">
			<input type=text name=xuanqq size="14"  value="" name=keyword size=14 maxlength="30"></td>
          </tr>
          <tr> 
            <td align="right" height="22">相 片 路 径:</td>
            <td height="22"><input type=text name=picurl size="30"  value=""  name=keyword size=14></td>
          </tr>
          <tr> 
            <td align="center" colspan=2 class="title"> 
              <input type=hidden value="add" name="act">
              <input type=submit value=增加 name="submit">
              <input type=reset name="Submit" value="取消">
            </td>
          </tr>
        </table>
      </FORM>
    </td>
    <td align=center valign=top width="5" >
      </td>
  </tr>
  <tr>
    <td valign=top width="100" colspan="5" >
    </td>
    </tr>
</table>
  </center>
</div>
</div>
<%
set rs=nothing
conn.close
set conn=nothing
%>