
<!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>
<?php include(DEDEMEMBER."/templets/head_inc.htm"); ?>
<title>修改日志 - <?php echo $cfg_webname; ?></title>
<link href="/templets/skin/cm.css" rel="stylesheet" type="text/css" />
<link href="/templets/skin/default.css" rel="stylesheet" type="text/css" />
<link href="/member/images/myfriend.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="/include/dedeajax2.js"></script>
<script type="text/javascript" src="js/box.js"></script>
<script language="javascript" type="text/javascript">
<!--
	function CheckLogin(){
	  var taget_obj = document.getElementById('_userlogin');
	  myajax = new DedeAjax(taget_obj,false,false,'','','');
	  myajax.SendGet2("/member/ajax_loginsta.php");
	  DedeXHTTP = null;
	}
-->
</script>
 <script type="text/javascript" charset="utf-8" src="/KindEditor/kindeditor.js"></script>
 <script type="text/javascript">
    KE.show({
        id : 'content_1',
        cssPath : './index.css'
    });
  </script>
<script language="javascript">
<!--
function checkSubmit()
{

	if(document.form1.title.value==""){
		alert("好像忘记填写日志标题了吧！");
		document.form1.title.focus();
		return false;
	}

}
-->
</script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/head.htm"); ?>


<div class="bgcolor_w con_2">
    <div class="fL_">
        <div class="bordercolor_g3 con_2L4">
            <div class="con_2L4t">
                <div class="cont_">
                    <h4>修改日志</h4>
                </div>
				<div id="div_note_op_" class="fR_">
                <a class="cc" style="vertical-align:middle;" href="/member/content_rizhi_list.php?channelid=7">管理我的日志</a></div>
            </div>
            <div class="con_2L19c1">
                <div class="con_2L19c1_L3">
                    <span>1.修改日志</span>
                </div>
                <div class="con_2L19c1_L2 con_2L19c1_L4">
                </div>
                <div class="bordercolor_g3 con_2L19c1_L1 con_2L19c1_L5">
                    <span>2.等待管理员审核</span>
                </div>
                <div class="con_2L19c1_L2">
                </div>
                <div class="bordercolor_g3 con_2L19c1_L1">
                    <span>3.显示在网站首页和相关栏目</span>
                </div>
            </div>
        <form class="mTB10 mL10 mR10" name="form1" action="archives_rizhi_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
          <input type="hidden" name="dopost" value="save" />
          <input type="hidden" name="aid" value="<?php echo $row['id']; ?>" />
          <input type="hidden" name="idhash" value="<?php echo md5($row['id'].$cfg_cookie_encode); ?>" />
          <input type="hidden" name="channelid" value="<?php echo $row['channel']; ?>" />
          <input type="hidden" name="sortrank" value="<?php echo $row['sortrank']; ?>" />
		   <input type="hidden" name="zuozhe" value="<?php echo $cfg_ml->M_LoginID; ?>" />
            <div class="con_2L18c3">
            <span> 日志标题:</span>  <input name="title" type="text" id="title" class="bordercolor_b2 tt" value="<?php echo $row['title']?>" style="width:400px;"/> <span> 所属分类:</span>  <?php
    $typeOptions = GetOptionList($row["typeid"],$row["channel"]);
    echo "<select name='typeid' size='1'>\r\n";
    echo $typeOptions;
    echo "</select>";
		?>
            </div>
			
            <div class="con_2L18c3">
			<span> 日志内容:</span><span class="gray_" style="margin-left:10px;">不允许发表恶意言论,以及广告. </span>
             <textarea id="content_1" name="neirong" style="width:700px;height:350px;visibility:hidden;"><?php echo $addRow['neirong']?></textarea>  <input type='hidden' name='dede_addonfields' value="zuozhe,text;neirong,htmltext">
            </div>
			
            <div class="con_2L18c3">
              <div class="fR_">
                    <input class="bgcolor_w xx" type="reset" onclick="location.reload();" value="重写" />
                    <input type="submit" class="color_green bgcolor_w tp" value="发表啦!" />
                </div>
            </div>
			</form>
        </div>
    </div>
    
    <?php include(DEDEMEMBER."/templets/right.htm"); ?>
</div>

<div id="foot_"></div>
<?php include(DEDEMEMBER."/templets/foot.htm"); ?>
<div class="foot_bottom"></div> 
</body>
</html>
