<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <!--#include file="tcconn.asp" --> <% if request.Cookies("flag")<>"teacher" then response.write "<script language=JavaScript>{window.alert('网络超时或你还未登录,请重新登陆!');window.location.href='index.htm';}</script>" response.end end if tc_id=request("id") if tc_id="" or tc_id<>request.Cookies("adminuser") then response.write "来源未知或数据丢失!" response.end end if set tcrs=conn.execute("select * from tcinfor where tc_id="&tc_id&"") if tcrs.eof then set tcrs=nothing response.Write "<script language=JavaScript>{window.alert('记录已被删除或不存在!');window.location.href='admin_writeto.asp';}</script>" response.End() end if %> <% tc_key=trim(request("key")) tc_key=replace(tc_key,"'","") tc_cond=request("cond") if tc_key="" then set rs=conn.execute("select tc_id,tc_name,tc_dw from tcinfor order by tc_id desc") else set rs=conn.execute("select tc_id,tc_name,tc_dw from tcinfor where "&tc_cond&" like '%"&tc_key&"%' order by tc_id desc") end if %> <html> <head> <title>业务管理系统</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="keywords" content=""> <LINK href="css.css" type=text/css rel=stylesheet> </head>
<body background="img/bg.gif" topmargin="0" leftmargin="0"> <table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#99CC00"> <tr> <td height="30"> </td> </tr> <tr> <td><img src="img/admin_top.gif" width="778" height="66"></td> </tr> <tr> <td> 您现在正在操作:<span class="style8">修改信息</span></td> </tr> <tr> <td> <table width="754" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><img src="img/jb.gif" width="754" height="27"></td> </tr> <tr> <td background="img/table_bg.gif"><table width="754" border="0" cellpadding="0" cellspacing="0"> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td width="70"> </td> <td width="624"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="616" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="36">姓名</td> <td width="130"><%=tcrs("tc_name")%></td> <td width="33">性别</td> <td width="66"><%=tcrs("tc_sex")%></td> <td width="60">推荐人</td> <td width="122"><%=tcrs("tc_birt")%></td> <td width="60">联系电话</td> <td width="109"><%=tcrs("tc_indate")%></td> </tr> </table></td> </tr> <tr> <td><table width="616" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="61">身份证号</td> <td width="172"><%=tcrs("tc_code")%></td> <td width="142">银行帐户</td> <td width="241"><%=tcrs("tc_address")%></td> </tr> </table></td> </tr> <tr> <td><table width="616" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="61">管理员</td> <td width="204"><%=tcrs("tc_zhy")%></td> <td width="86">所在区域</td> <td width="265"><%=tcrs("tc_dw")%></td> </tr> </table></td> </tr> </table></td> <td width="60"> </td> </tr> <tr> <td> </td> <td>销售数量<%=tcrs("tc_xssl")%></td> <td> </td> </tr> </table></td> </tr> <tr> <td background="img/table_btom.gif"> </td> </tr> </table> <table width="754" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><img src="img/bzh.gif" width="754" height="27"></td> </tr> <tr> <td background="img/table_bg.gif"><table width="754" border="0" cellpadding="0" cellspacing="0"> <tr> <td> </td> <td> </td> <td> </td> <td> </td> </tr> <tr> <td width="70"> </td> <td width="59" valign="top">备注</td> <td width="579"><%=htmlencode(tcrs("tc_bzh"))%></td> <td width="46"> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td colspan="2" align="center"> </td> <td> </td> </tr> </table></td> </tr> <tr> <td background="img/table_btom.gif"> </td> </tr> </table>
<table width="754" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><img src="img/admin_list.gif" width="754" height="27"></td> </tr> <tr> <td background="img/table_bg.gif">
<table width="754" border="0" cellspacing="0" cellpadding="0"> <% tc_name=tcrs("tc_name") set rs_news=server.createobject("adodb.recordset") sqltext4="select * from tcinfor where tc_birt="&tc_name&"" rs_news.open sqltext4,conn,1,1 %>
<tr> <td width="56"> </td> <td width="107"> </td> <td width="151"> </td> <td width="131"> </td> <td width="116"> </td> <td width="147"> </td> <td width="46"> </td> </tr> <tr> <td> </td> <td><b>姓名</b></td> <td><b>所在区域</b></td> <td><strong>管理员</strong></td> <td><strong>推荐人</strong></td> <td><strong>销售数量</strong></td> <td> </td> </tr> <tr onMouseOver="this.style.backgroundColor='#99CC00'" onMouseOut ="this.style.backgroundColor=''"> <td> </td> <td><%=rs_news("tc_name")%></td> <td><%=rs_news("tc_dw")%></td> <td><%=rs_news("tc_zhy")%></td> <td><%=rs_news("tc_birt")%></td> <td><%=rs_news("tc_xssl")%></td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> <td> </td> <td width="116"> </td> <td width="147"> </td> <td width="46"> </td> </tr> </table> </td> </tr> <tr> <td background="img/table_btom.gif"> </td> </tr> <% rs_news.close %> </table></td> </tr> <tr> <td> </td> </tr> </table> </body> </html>
<% set tcrs=nothing %>