<!--#include file="inc/conn.asp"-->
<!--#include file="inc/safe.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/const.asp"-->
<%
if MemberName="" then
  response.Redirect("userlogin.asp")
  response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>红嫂视屏交友网</title>
<meta name="keywords" content="情感,在线,新新,照片,动感影片,诗歌,爱情,纯洁,心连心">
<meta name="description" content="红嫂视屏交友情缘 情感在线">
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	background-image: url();
}
.STYLE31 {color: #666666; font-size: 12px;}
-->
</style>
<script language="javascript" src="js/julebu.js"></script>
<script language="javascript">
<!--
function checklog(){
if(document.frmlog.bigid.value.length==0||document.frmlog.smallid.value.length==0){
alert("请选择文章类别！");
document.frmlog.bigid.focus();
return false;
}
if(document.frmlog.title.value.length==0){
alert("请填写文章标题！");
document.frmlog.title.focus();
return false;
}
return true;
}
//-->
</script>
</head>
<body>
<table width="1002" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="top.asp"--></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="204" height="328" valign="top"><!--#include file="memberleft.asp"--></td>
    <td width="583" valign="top"><table width="565" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><TABLE width="100%" border=0 
            cellPadding=0 cellSpacing=0 bgColor=white class="STYLE4" style="BORDER-BOTTOM: #9DCCF6 1px solid">
              <TBODY>
                <TR>
                  <TD align=center width="2%"><img src="image/tiao_3.gif" width="10" height="31"></TD>
                  <TD width="14%" align=center background="image/tiao_4.gif"><table width="86" height="25" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td align="center" class="pgd">兴趣圈文章</td>
                      </tr>
                  </table></TD>
                  <TD width="50%" height="20" align="center" background="image/tiao_4.gif">&nbsp;</TD>
                  <TD width="32%" align="center" background="image/tiao_4.gif">&nbsp;</TD>
                  <TD width="2%" align="center"><img src="image/tiao_2.gif" width="10" height="31"></TD>
                </TR>
              </TBODY>
          </TABLE></td>
        </tr>
        <tr>
          <td height="433" valign="top" style="border-left:#C7C8CC 1px solid;border-right:#C7C8CC 1px solid;border-bottom:#C7C8CC 1px solid"><br>
              <table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="15" height="29"><img src="images/jiao_1.gif" width="15" height="29"></td>
                  <td width="103" valign="top" background="images/jiao_3.gif"><table width="99" border="0" cellspacing="0" cellpadding="00">
                      <tr>
                        <td height="19" valign="bottom"><div align="center"><a href="club_article.asp" class="b1 style91"><span style="font-size:14px;color:#0B5596;font-weight:bold">我发表的文章</span></a></div></td>
                      </tr>
                  </table></td>
                  <td width="106" valign="top" background="images/jiao_3.gif"><div align="center"><a href="virtualmarry.asp" class="b1"></a>
                          <table width="99" border="0" cellspacing="0" cellpadding="00">
                            <tr>
                              <td height="19" valign="bottom"><div align="center"><a href="club_reply.asp" class="b1"><span style="font-size:14px;color:#0B5596;font-weight:bold">我回复的文章</span></a></div></td>
                            </tr>
                          </table>
                  </div></td>
                  <td width="100" valign="top" background="images/aniu32.gif"><table width="99" border="0" align="center" cellpadding="00" cellspacing="0">
                      <tr>
                        <td width="99" height="19" valign="bottom"><div align="center"><a href="club_increase.asp" class="a5"><span style="font-size:14px;color:#ffffff;font-weight:bold">添加文章</span></a></div></td>
                      </tr>
                  </table></td>
                  <td width="211" valign="top" background="images/jiao_3.gif">&nbsp;</td>
                  <td width="15"><img src="images/jiao_2.gif" width="15" height="29"></td>
                </tr>
            </table>
              <table width="530" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td><table width="550" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="EFF5FC" class="STYLE8889" style="border-left:#9DCCF6 1px solid;border-right:#9DCCF6 1px solid;border-bottom:#9DCCF6 1px solid;border-top:#9DCCF6 1px solid  ">
                    <form name="frmlog" method="post" action="savejlbnews.asp" onSubmit="return checklog();">
                      <tr>
                        <td height="30" align="center" bgcolor="EFF5FC" class="STYLE1">类别：</td>
                        <td width="470" height="30" colspan="3" class="STYLE4"><select name="bigid" id="bigid" onChange="setField(bigid,smallid);">
                            <option value="" selected>大类</option>
                            <%
					set rs=server.CreateObject("adodb.recordset")
					sql="select b.bigid,b.bigname from jlbhy as a inner join julebu as b on a.clubid=b.bigid where a.userid="& userid &" order by dtime desc"					
					rs.open sql,conn,1
					if rs.eof and rs.bof then
					  response.Write "<script language='javascript'>alert('您还没加入兴趣圈，请加入兴趣圈后再添加文章');window.location='jyclub.asp'</script>"
					  response.end
					else
					do while not rs.eof
					  response.Write "<option value="""& rs("bigid") &""">"& rs("bigname")&"</option>"
					  rs.movenext
					loop
					end if
					rs.close
					set rs=nothing
					%>
                          </select>
&nbsp;
<select name="smallid" id="smallid">
  <option value="" selected>小类</option>
</select></td>
                      </tr>
                      <tr>
                        <td width="58" height="30" align="center" bgcolor="EFF5FC" class="STYLE1">标题：</td>
                        <td height="30" colspan="3" class="STYLE4"><input name="title" type="text" id="title" size="50" maxlength="100"></td>
                      </tr>
                      
                      <tr>
                        <td width="58" height="23" align="center" bgcolor="EFF5FC" class="STYLE1">内容：</td>
                        <td colspan="3" class="STYLE4">&nbsp;</td>
                      </tr>
                      <tr bgcolor="#FFFFFF">
                        <td colspan="4" align="center" class="STYLE4"><iframe id="eWebEditor1" src="editor/ewebeditor.asp?id=content&style=standard" frameborder="0" scrolling="no" width="99%" height="350"></iframe></td>
                      </tr>
                      <tr>
                        <td height="40" colspan="4" align="center" class="STYLE4"><input type="image" name="imageField" src="image/button_qd.gif"></td>
                        <input type="hidden" name="content" id="content">
                      </tr>
                    </form>
                  </table></td>
                </tr>
              </table>
          </td>
        </tr>
    </table></td>
    <td width="163" valign="top"><!--#include file="fenlei.asp"--></td>
  </tr>
</table>
<table width="1002" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="root.asp"--></td>
  </tr>
</table>
</body>
</html>
<%
conn.close
set conn=nothing
%>
