<!--#include file=conn.asp-->
<!--#include file=../config.asp-->
<!--#include file=cookies.asp-->
<meta http-equiv="Content-Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="images/fox.css">
<style type=text/css>
BODY{
	margin:0px;
	FONT-SIZE: 12px;
	FONT-FAMILY: "宋体", "Verdana", "Arial", "Helvetica", "sans-serif";
	background-color: #CCCC99; 
	scrollbar-highlight-color: #CC9933; 
	scrollbar-arrow-color: #FFFFFF; 
	scrollbar-base-color: #CC9933
}
table { border:0px; }
td { font:normal 12px 宋体; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px 宋体; color:#111111; text-decoration:none; }
a:hover { color:#384780;text-decoration:underline; }
.sec_menu { border-left:2px solid #CC3300; border-right:2px solid #CC3300; border-bottom:2px solid #CC3300; overflow:hidden; background:#ffffff; }
.menu_title {background-color: #335EA8;color: white;font-size: 12px;font-weight:bold;height: 25; }
.menu_title span { position:relative; top:2px; left:8px; color:#FFFF00; font-weight:bold; }
.menu_title2 {background-color: #335EA8;color: white;font-size: 12px;font-weight:bold;height: 25; }
.menu_title2 span { position:relative; top:2px; left:8px; color:#FEFEFE; font-weight:bold; }
input,select,Textarea{
font-family:宋体,Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}
</style>
<title>编辑</title>
<body topmargin="0" leftmargin="0">
<div align="center">
  <center>
  <table width="100%" border="0" cellpadding="0" style="border-width:0; border-collapse: collapse" bordercolor="#111111">
                <form action="qu_editchk.asp" name="myform" method="POST">
                  <input type="hidden" name="ggg" size="7" value="<%=youx%>">
						<tr> 
                  <td width="100%">
                    <div align="center">
                    <table width="90%" border="0" cellspacing="1" style="border-width: 0" height="300">
                      
                    <tr> 
                        <td height="34" bgcolor="#CC3300" colspan="2">
                        <p align="center"><font color="#FFFFFF"><b>修改信息</b></font></td>
                      </tr>
                      <tr> 
                        <td height="12" bgcolor="#EEEEEE" colspan="2">
                        请注意ＬＯＧＯ图片的大小，要符合网站默认ＬＯＧＯ大小，不然．．．．</td>
                      </tr>
  <%
dim rs
dim sql,i
dim count,username
dim id,adname,adpass,sheng,shi,pic,tels
set rs=server.createobject("adodb.recordset")
sql = "select * from [FOX_geadmin] where sheng="&session("admin_sheng")&" and shi="&session("admin_shi")
rs.open sql,conn,1,1
if rs.eof then
response.Write "<script LANGUAGE='javascript'>alert('查看吧！');history.go(-1);</script>"
response.end
end if
id=rs("id")
adname=rs("adname")
adpass=rs("adpass")
pic=rs("pic")
sheng=rs("sheng")
shi=rs("shi")
tels=rs("tel")
rs.close
%>
                     
             <tr> 
                        <td height="35" bgcolor="#EAEAD5" align="right">
                        所属地区管理：</td>
                        <td height="35" bgcolor="#EAEAD5">
<%dim rsq,sqlq,xiangc,shengc,shic

set rsq=server.createobject("adodb.recordset") 
sqlq = "select sheng from [FOX_sheng] where id="&sheng&""
rsq.open sqlq,conn,1,1
shengc=rsq("sheng")
rsq.close
set rsq=nothing
set rsq=server.createobject("adodb.recordset") 
sqlq = "select shi from [FOX_shi] where id="&shi&""
rsq.open sqlq,conn,1,1
shic=rsq("shi")
rsq.close
set rsq=nothing
%>	<%=shengc%> => <%=shic%>
</td>
                      </tr>

                                      <tr> 
                        <td height="25" bgcolor="#EEEEEE" align="right">
                        地区LOGO图片：</td>
                        <td height="25" bgcolor="#EEEEEE">
                        　<%if pic="0" then%>否<iframe name="I1" src="logoup.asp?id=<%=id%>" marginwidth="1" marginheight="1" height="26" width="47%" scrolling="no" border="0" frameborder="0"></iframe><%else%>是<img border="0" src="../logoupfiles/<%=pic%>" width="28" height="28">  
						<a href="logo_del.asp?id=<%=id%>">删图</a><%end if%></td>
                      </tr>

                                      <tr> 
                        <td height="25" bgcolor="#EEEEEE" align="right">
                        地区联系电话：</td>
                        <td height="25" bgcolor="#EEEEEE">
                        <textarea rows="3" name="tels" cols="61"><%=tels%></textarea></td>
                      </tr>
        <tr> 
                        <td height="25" bgcolor="#EEEEEE" align="right">
                        <p>地区管理用户：</td>
                        <td height="25" bgcolor="#EEEEEE">
                        <font color="#FF0000"><%=adname%></font></td>
                      </tr>
                <tr> 
                        <td height="25" bgcolor="#EEEEEE" align="right">
                        <p>用户管理密码：</td>
                        <td height="25" bgcolor="#EEEEEE">
                        <input type="text" name="adpass" size="20"> 如不修改无需填写</td>
                      </tr>
                      <tr> 
                        <td height="63" bgcolor="#EEEEEE" colspan="2">
                        <p align="center">
                        <input name="I2" type="image" onclick="javascript:return CheckForm();" src="images/Login_but.gif" width="62" height="22" border="0"></td>
                      </tr>
                      <tr> 
                        <td height="19" bgcolor="#EEEEEE" colspan="2">
                        <p align="left">　</td>
                      </tr>
                      
                  </table>
                  	</div>
                  </td>
                </tr>
                </form>
              </table>
  </center>
</div>