<%dbs="../"%>
<!--#include file="../inc/config.asp"-->
<!--#include file="uccook.asp"-->
<!--#include file="uc.asp"-->
<%
id=request.QueryString("id")
if id="" or IsNumeric(id)<>true then
	response.write"请输入正确的ID号！"
	response.end
end if
set rs=Server.CreateObject("Adodb.Recordset")
	sql="select * from H_Treat where ID="&id&""
	rs.open sql,conn,1,1
	if rs.eof then
	response.Write "系统错误非法操作"
	response.End()
	else
	H_title=rs("H_title")
	H_Content=rs("H_Content")
	H_sort=rs("H_sort")
	R_stop=rs("R_stop")
	R_date=rs("R_date")
	end if
	rs.close
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<title><%=W_title%>,会员中心</title>

<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="style.css" type=text/css rel=stylesheet>
<SCRIPT language=javascript src="images/jquery.js" 
type=text/javascript></SCRIPT>

<SCRIPT language=javascript src="images/function.js" 
type=text/javascript></SCRIPT>

<SCRIPT language=javascript type=text/javascript>
<!--


/*
function AddnewType()
*/
-->
</SCRIPT>

<META content="MSHTML 6.00.3790.4426" name=GENERATOR>
</HEAD>
<BODY><!--用户中心头部-->
<!--#include file="top.asp"-->
<table width="960" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="150" valign="top"><!--#include file="left.asp"--></td>
        <td width="810" align="right" valign="top"><table width="800" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="20" align="center"><img src="images/ico_4.gif" width="12" height="12"></td>
                <td height="30" align="left"><a href="index.asp" target="_self">用户中心</a> <span class="uc_huise">&gt; 发布信息</span></td>
            </tr>
            <tr>
                <td height="1" colspan="2" bgcolor="#EEEEEE"></td>
          </tr>
        </table>
            <table width="600" height="5" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td></td>
                </tr>
            </table>
			<form name="form" action="Treat_edit_save.asp?id=<%=id%>" method="post"  target="_self">
            <table width="800" border="0" cellpadding="0" cellspacing="1" bgcolor="#EEEEEE">
    <tr>
        <td height="28" colspan="2" bgcolor="#FFFFFF" class="uc_huise">发布信息
          </td>
        </tr>
    <tr>
        <td width="80" height="28" bgcolor="#FFFFFF" class="uc_huise">请客分类：</td>
        <td width="717" height="13" bgcolor="#FFFFFF" class="uc_huise">  <input name="H_sort" type="radio" value="1" <%if H_sort=1 then %> checked<%end if%>>
        我请客
          <input type="radio" name="H_sort" value="2" <%if H_sort=2 then %> checked<%end if%>> 
            谁请我            
            <input type="radio" name="H_sort" value="3" <%if H_sort=3 then %> checked<%end if%>>
AA制度 </td>
    </tr>
    <tr>
        <td height="28" bgcolor="#FFFFFF" class="uc_huise"><span style="padding-right: 18px;">标</span> 题：</td>
        <td height="28" bgcolor="#FFFFFF" class="uc_huise"><input name="H_title" type="text" id="H_title" value="<%=H_title%>" size="60"></td>
    </tr>
    <tr>
        <td height="13" bgcolor="#FFFFFF" class="uc_huise">请客内容：</td>
        <td height="13" bgcolor="#FFFFFF" class="uc_huise"> <textarea name="H_Content" style="display:none"><%=H_Content%></textarea> 
					  <IFRAME ID="eWebEditor1" SRC="../redit/ewebeditor.htm?id=H_Content&style=mail" FRAMEBORDER="0" SCROLLING="no" WIDTH="610" HEIGHT="300"></IFRAME></td>
    </tr>
    <tr>
      <td height="28" bgcolor="#FFFFFF" class="uc_huise">有 效 期：</td>
      <td height="14" bgcolor="#FFFFFF" class="uc_huise"><input type="radio" name="R_stop" value="1" class=radio <%if R_stop-R_stop=7 then%> checked<%end if%>>
一周
  <input type="radio" name="R_stop" value="2" class=radio <%if R_stop-R_date=14 then%> checked<%end if%>>
两周
<input type="radio" name="R_stop" value="3" class=radio <%if R_stop-R_date=30 then%> checked<%end if%> >
一月
<input type="radio" name="R_stop" value="4" class=radio <%if R_stop-R_date=90 then%> checked<%end if%>>
三月
<input type="radio" name="R_stop" value="5" class=radio <%if R_stop-R_date=180 then%> checked<%end if%>>
半年<%=R_stop%> --<%=R_date%>--<%=R_stop-R_date%></td>
    </tr>
    <tr>
        <td height="28" colspan="2" align="center" bgcolor="#FFFFFF"><input name="Submit" type="submit" class="biao" value="立即修改"></td>
        </tr>
</table>
	        
			</form>
		</td>
    </tr>
</table>
<!--#include file="end.asp"-->

</BODY></HTML>
