<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" />
<title>发表<?php echo $cInfos['typename']; ?> - 会员中心 - <?php echo $cfg_webname; ?></title>
<link href="<?php echo $cfg_cmspath; ?>/statics/css/index.css" rel="stylesheet" type="text/css" />
<link href="templets/style/base.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="templets/js/j.js"></script>
<script type="text/javascript" src="templets/js/inputAutoClear.js"></script>
<script type="text/javascript" src="templets/js/checkSubmit.js"></script>
<script>
function changeAuthCode() {
	var num = 	new Date().getTime();
	var rand = Math.round(Math.random() * 10000);
	num = num + rand;
	$('#ver_code').css('visibility','visible');
	if ($("#vdimgck")[0]) {
		$("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
	}
	return false;	
}
</script>
</head>
<body>
<?php
   alltemp("header_member.htm");
?>
<div id="content" class="w960 clearfix">
  <?php include(DEDEMEMBER."/templets/menu.php"); ?>
  <div class="setting_box fl">
       <div class="settings_title"><b>发表：<?php echo $cInfos['typename']; ?></b></div> 
<form name="addcontent" action="article_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
          <input type="hidden" name="dopost" value="save" />
          <input type="hidden" name="channelid" value="<?php echo $channelid; ?>" />
        <div class="postForm">
          <p>
            <label><?php echo $cInfos['titlename']; ?>：</label>
            <input name="title" type="text" id="title" value="请输入内容主题" maxlength="100" class="intxt" onfocus="inputAutoClear(this)"/>
          </p>
          <p>
            <label>标签TAG：</label>
            <input name="tags" type="text" id="tags" maxlength="100" class="intxt"/><span>（使用英文 " , " 逗号分隔）</span>
          </p>
          <p>
            <label>隶属栏目：</label>
            <?php
				$typeOptions = GetOptionList(0,$channelid);
				echo "<select name='typeid' size='1'>\r\n";
				echo "<option value='0' selected>请选择栏目...</option>\r\n";
				echo $typeOptions;
				echo "</select>";
			?>
            <span style="color:#F00">*</span>(不能选择带颜色的分类)
          </p>
          <label>详细内容：</label>
        <div class="contentShow postForm">
          <p>
          	<?php GetEditor("body","",300,"Member"); ?>
          </p>
           </div> 
          <p><label>来源网址：</label><input name="source" type="text" id="source" maxlength="100" class="intxt"/></p>
          <p>
            <label>验证码：</label>
            <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:50px;text-transform:uppercase;' />
            <img id="vdimgck" src="../include/vdimgck.php" alt="看不清？点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'" /><a href="javascript:void(0)" onclick="changeAuthCode();">点击更换</a></p>
      <p>
             <button class="btn"  style="margin-left:105px;" type="submit">提交</button>
             <button class="btn" style="margin-left:5px;" type="reset" onclick="location.reload();">重置</button>
      </p>
      
    </div>
        <!-- 表单操作区域 -->

      </form>
  </div>
</div>
<?php
   alltemp("footer.htm");
?>
</body>
</html>