<%dbs="../"%>
<!--#include file="../inc/config.asp"-->
<!--#include file="uccook.asp"-->
<!--#include file="uc.asp"-->
<%
set rs=Server.CreateObject("Adodb.Recordset")
	sql="select id from H_page where UID="&UID&""
	rs.open sql,conn,1,1
	if rs.eof then
response.Write "<script >alert('提示：\n\n系统规定，登记商家后\n\n才可以发布打折信息...');location.href='page_add.asp';</script>"
response.End()
	end if
	if W_page=0 then
	set rs=Server.CreateObject("Adodb.Recordset")
	sql="select id from H_page where UID="&UID&" and H_union=1"
	rs.open sql,conn,1,1
	if rs.eof then
response.Write "<script >alert('提示：\n\n对不起，您不是签约联盟商家\n\n无法在本频道发布打折信息\n\n目前有两种办法帮助您发布打折...\n\n 一：进入生活频道-分类信息频道,发布打折信息\n\n 二：联系本站管理员,开通打折特约商户');history.back(-1);</script>"
response.End()
	end if
	end if
if Uname="" or isnull(Uname)  then
response.Write "<script >alert('提示：\n\n对不起,资料还没有完善,请完善以后\n\n立即返回...');location.href='Profile_Edit.asp';</script>"
response.End()
end if
%>
<!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> &gt;<span class="uc_huise">添加打折信息</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 action="disc_add_save.asp" method="post" target="_self">
            <table width="800" border="0" cellpadding="0" cellspacing="1" bgcolor="#EEEEEE">
                <tr>
                    <td height="30" colspan="2" align="left" bgcolor="#FFFFFF" class="uc_huise">添加打折信息</td>
                </tr>
                <tr>
                  <td width="96" height="30" bgcolor="#FFFFFF" class="uc_huise">打折标题：</td>
                  <td width="701" height="2" align="left" bgcolor="#FFFFFF" style="padding-left:10px;"><input name="H_title" type="text" id="H_title" size="60"></td>
                </tr>
                <tr>
                  <td width="96" height="30" bgcolor="#FFFFFF" class="uc_huise">开始日期：</td>
                  <td height="3" align="left" bgcolor="#FFFFFF" style="padding-left:10px;"><input name="R_date" type="text" id="R_date"> 
                  如2009-06-12 *发布后不可修改 </td>
                </tr>
                <tr>
                  <td width="96" height="30" bgcolor="#FFFFFF" class="uc_huise">结束日期：</td>
                  <td height="7" align="left" bgcolor="#FFFFFF" style="padding-left:10px;"><input name="R_stop" type="text" id="R_stop">                   
                   如2009-06-18 *发布后不可修改</td>
                </tr>
                <tr>
                  <td width="96" height="7" bgcolor="#FFFFFF" class="uc_huise">具体说明：</td>
                  <td height="30" align="left" bgcolor="#FFFFFF" style="padding-left:10px;"><textarea name="H_txt" style="display:none"></textarea> 
					  <IFRAME ID="eWebEditor1" SRC="../redit/ewebeditor.htm?id=H_txt&style=mail" FRAMEBORDER="0" SCROLLING="no" WIDTH="610" HEIGHT="300"></IFRAME></td>
                </tr>
                <tr>
                    <td height="30" colspan="2" align="center" bgcolor="#FFFFFF" ><input name="Submit" type="submit" class="UCform" value="立即发布"></td>
                    </tr>
            </table>
	        
			</form>
		</td>
    </tr>
</table>
<!--#include file="end.asp"-->

</BODY></HTML>
