<%dbs="../"%>
<!--#include file="../inc/config.asp"-->
<!--#include file="uccook.asp"-->
<!--#include file="uc.asp"-->
<%
'判断 用户是否开通请客功能
set rs=Server.CreateObject("Adodb.Recordset")
	sql="select * from H_Domain where H_UI=1 and  UID="&UID&" "
	rs.open sql,conn,1,1
	if rs.eof then
	response.Write "<script >alert('提示：\n\n 我们检测到您没有开通博客功能了\n\n我们将帮助您返回开通页...');location.href='Home_temp_add.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> <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="divry_add_save.asp" 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">
		<%
		set rs=Server.CreateObject("Adodb.Recordset")
	sql="select * from H_Class where UID="&UID&" and PCF=1 order by PCX desc"
	rs.open sql,conn,1,1
	if rs.eof then
	response.Write "你没有增加分类，请<a href=cdivry.asp target=_self>增加分类</a>"
	else
		%>
		<select name="H_class" id="H_class">
		<%
		
	do while not rs.eof 
		%>
		
		
		  <option value="<%=rs("ID")%>"><%=rs("PCN")%></option>
		
		
		
				<%
				rs.movenext 
				loop
				rs.close
				%>		
			  </select>
				<a href="cdivry.asp" target="_self" class="fc_green">管理我的分类</a>
				<%end if%>						</td>
    </tr>
    <tr>
      <td width="80" height="28" bgcolor="#FFFFFF" class="uc_huise">日志权限</td>
      <td height="14" bgcolor="#FFFFFF" class="uc_huise">
        <input name="H_key" type="radio" value="1" checked>
完全公开
<input type="radio" name="H_key" value="2">
好友可看
<input type="radio" name="H_key" value="3">
完全保密</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" 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_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" bgcolor="#FFFFFF" class="uc_huise">首页固顶</td>
      <td height="7" bgcolor="#FFFFFF" class="uc_huise"><input name="H_ix" type="radio" value="0" checked>
不固顶
  <input type="radio" name="H_ix" value="1">
固顶</td>
    </tr>
    <tr>
        <td height="28" 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>
