
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="../inc/Conn.asp"-->
<!--#include file="Inc/Admin.Asp"-->
<!--#include file="../Inc/Ubbcode.asp"-->
<!--#include file="Inc/Function.asp"-->
<%
StrTitle="信息"

dim ID,rs_news
dim sql
dim count
ID=trim(request("ID"))
if ID="" then 
	response.Redirect("Banner_manage.asp")
end if
sql="select * from Dream_Banner where ID=" & ID & ""
Set rs_news= Server.CreateObject("ADODB.Recordset")
rs_news.open sql,conn,1,1
style=Trim(rs_news("Dream_Style"))
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>修改<%=StrTitle%></title>
<link href="css/adminstyle.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container">
  <div class="local">
    <h3>您现在的位置：<a href="admin_Index_Main.asp">管理首页</a> >> <a href="Banner_manage.asp"><%=StrTitle%>管理</a> >> 修改<%=StrTitle%></h3>
  </div>
  <table width="100%" border="0" cellpadding="10" cellspacing="0" class="border" style="margin-top:10px;">
    <tr>
      <td><div class="page_content">
          <div class="r_title">
            <h3><img src="images/xiao.jpg" /> 修改<%=StrTitle%></h3>
            <div style="float:right; padding-right:10px;">
              <input name="" onclick="javascript:location.href='Banner_manage.asp';" type="button" value="返回列表" />              
            </div>
          </div>
          <%				
				if FoundErr=True then
					call WriteErrMsg()
				else
				%>
          <form method="POST" name="myform"  action="Banner_Save.asp?action=Modify" target="_self">
            <table  width="100%" border="0" cellpadding="2" cellspacing="1" class="table_style">              
              <tr>
                <th><%=StrTitle%>标题：</th>
                <td><input name="title" type="text" class="input" value="<%=rs_news("Dream_Title")%>" size="50" maxlength="200"> 
                </td>
              </tr>              
			  <tr>
                <th>链接：</th>
                <td>
				  <input name="Downurl" type="text" class="input" size="50" maxlength="200" value="<%=rs_news("Dream_DownUrl")%>">
                  格式如：http://www.baidu.com </td>
              </tr>			  
              <tr>
                <th>发布人：</th>
                <td><input name="user" type="text" class="input" size="30" value="<%=rs_news("Dream_User")%>"></td>
              </tr>
              <tr>
                <th>缩略图：</th>
                <td><input name="DefaultPicUrl" type="text" id="DefaultPicUrl" size="30" maxlength="50" style=" float:left" class="input" value="<%=rs_news("Dream_DefaultPicUrl")%>">
                  <iframe style="top:2px; display:inline; margin-left:10px; float:left" id="UploadFiles" src="../upload_Photo.asp?PhotoUrlID=6" frameborder=0 scrolling=no width="340" height="30"></iframe></td>
              </tr>			      
              <tr>
                <th>录入时间：</th>
                <td><input name="UpdateTime" type="text" id="UpdateTime" value="<%=rs_news("Dream_UpdateTime")%>" maxlength="50" size="30" class="input"></td>
              </tr>
              <tr align="center">
                <input type="hidden" name="Id" value="<%=Id%>">
                <td height="35" colspan="2"><input type="submit" name="Submit" value=" 提交 ">
                  &nbsp;&nbsp;
                  <input type="reset" name="Submit" value=" 重置 ">
                </td>
              </tr>
            </table>
          </form>
        </div></td>
    </tr>
  </table>
  <%
end if
rs_news.close
set rs_news=nothing
call CloseConn()
%>
</div>
</body>
</html>
