<!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 $cfg_webname; ?>- 用户中心</title>
<meta name="keywords" content="免费,日记,心情日记,网络日记,免费日记,隐私日记,交换日记,粉可爱留言本、日记本申请">
<link href="/templets/default/diary/css.css" rel="stylesheet" type="text/css">
<link href="/templets/default/diary/wdiv.css" rel="stylesheet" type="text/css">
<SCRIPT Language ="JavaScript" src="/templets/default/diary/wdiv.js"></SCRIPT>
<script type="text/javascript" src="templets/js/checkSubmit.js"></script>
<script language="javascript">
	function SwitchCover(nCover,nBookID,sImageType)
	{
		if(nCover==-1)
			preview.src="/templets/default/diary/"+nBookID+"."+sImageType
		else
			addcontent.preview.src=""+nCover+""
	}
		function SwitchCovertq(nCover,nBookID,sImageType)
	{
			addcontent.tqpre.src=""+nCover+""
	}
	function UploadCover(sPath)
	{
		preview.src=sPath
	}
	function SetCurrentCover(nCover)
	{
		bookcover=document.all("bookcover")
		for(var i=0;i<bookcover.options.length;i++)
		{
			if(bookcover(i).value==nCover)
			{
				bookcover(i).selected=true;
				return;
			}
		}
	}
	
</script>
<script charset="utf-8" src="/templets/default/diary/e/kindeditor.js"></script>
<script>
<!--
KE.show({
				id : 'body',
				resizeMode : 0,
				allowPreviewEmoticons : false,
				allowUpload : false,
				items : [
		 'fullscreen', '|', 'undo', 'redo', 'cut', 'copy', 'paste',
		'justifyleft', 'justifycenter', 'justifyright','plainpaste', 'wordpaste','-',
		 'insertorderedlist', 'insertunorderedlist', 'indent','outdent', 'subscript',
		'superscript','title', 'fontname', 'fontsize', 'textcolor', '-','bgcolor', 'bold','italic', 'underline', 'strikethrough', 'removeformat', 
		'image','flash','media', 'advtable', 'hr', '-','emoticons', 'emoticonshq','emoticonsbz','emoticonsww','emoticonslv','emoticonsle','emoticonsjz','emoticonsjj','link', 'unlink','qimage' ]
			});

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body background="<?php echo $cfg_ml->M_zzzbgbg; ?>" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0">
<form method="post" action="article_add.php" enctype="multipart/form-data" name="addcontent" onSubmit="return checkSubmit()">
          <input type="hidden" name="dopost" value="save" />
          <input type="hidden" name="channelid" value="<?php echo $channelid; ?>" />
<table width="985" border="0" cellspacing="0" cellpadding="0" align="center" style="margin:0 auto;">
  <tr> 
    <td> <?php include(DEDETEMPLATE."/default/head.htm"); ?>
      <table width="985" border="0" cellspacing="0" cellpadding="0" height="452">
        <tr> 
          <td width="20">&nbsp;</td>
          <td height="452" background="/templets/default/diary/bg1.gif" width="703"> 
               <table width="703" border="0" cellspacing="0" cellpadding="0" height="452">
              <tr> 
                <td height="10" width="54"></td>
                <td width="288"></td>
                <td rowspan="3" width="21"></td>
                <td width="284"></td>
                <td width="57"></td>
              </tr>
              <tr> 
                <td height="370">&nbsp;</td>
                <td width="288">
                  <table border="0" width="288" id="table6" cellspacing="0" cellpadding="0" height="100%">
              <tr> 
                <td height="55" width="288" colspan="2"> <img border="0" src="/templets/default/diary/ADDNEW.gif" width="250" height="55"></td>
              </tr>
              <tr> 
                <td height="65" width="288" colspan="2" align="center"> <img id="preview" src="/templets/default/diary/play/bg/01.jpg"  height="69"></td>
              </tr>
              <tr> 
                <td width="288" height="4" colspan="2"> <img border="0" src="/templets/default/diary/linebg.gif" width="4" height="1"></td>
              </tr>
              <tr> 
                <td width="288" height="4" colspan="2"></td>
              </tr>
              <tr> 
                <td width="100" height="19"> &nbsp; <font color='18B9FC'>日记标题：</font></td>
                <td> 
                  <input name="title" type="text" id="title" size="20" maxlength="19">
                </td>
              </tr>
              <tr style="display:none"> 
                <td height="19"> &nbsp; 标签TAG：</td>
                <td> 
                  <input name="tags" type="text" id="tags" maxlength="100" class="intxt"/>
                </td>
              </tr>
              <tr style="display:none"> 
                <td height="19"> &nbsp; 作者：</td>
                <td> 
                  <input type="text" name="writer" id="writer" value="<?php echo $cfg_ml->M_UserName?>" maxlength="100" class="intxt" style="width:219px"/>
                </td>
              </tr>
              <tr style="display:none"> 
                <td height="19"> &nbsp; <img border="0" src="/templets/default/diary/tougao.gif" width="60" height="13"></td>
                <td> 
                  <?php
				$typeOptions = GetOptionList(2000,$channelid);
				echo "<select name='typeid' size='1' style='width:120px'>\r\n";
				echo "<option value='0' selected>请选择栏目...</option>\r\n";
				echo $typeOptions;
				echo "</select>";
			?>
                </td>
              </tr>

              <tr> 
                <td height="20"> &nbsp; <font color='18B9FC'>栏目分类：</font></td>
                <td> 
<?php
            	$classlist = classification($cfg_ml->M_ID, 0, $channelid);
            	echo "<select name='mtypesid' style='width:120px'>\r\n";
            	echo "<option value='0' selected>请选择分类...</option>\r\n";
				echo $classlist;
				echo "</select>";
            ?>                  
                </td>
              </tr>
              <tr style="display:none"> 
                <td height="19"> &nbsp; 信息摘要：</td>
                <td>
                  <textarea name="description" id="description"></textarea>
                </td>
              </tr>
              <tr style="display:none"> 
                <td height="19"> &nbsp; 缩略图：</td>
                <td>
                  <input name="litpic" type="file" id="litpic" onchange="SeePicNew('divpicview',this);"  maxlength="100" class="intxt"/>
                </td>
              </tr>
              <tr> 
                <td height="20"> &nbsp;  <font color='18B9FC'>是否公开：</font></td>
                <td>
<select name="zzzdisplay" class="input" id="zzzdisplay" style="width:120px" size="1" onchange="if(this.value=='1') {document.getElementById('zzzdisplaymima').style.display='none'}else{document.getElementById('zzzdisplaymima').style.display=''}">
<option value="1">公开,都可浏览</option>
<option value="0">加密,仅自己看</option>
</select> 
</td>
              </tr>
              <tr style="display:none" id="zzzdisplaymima"> 
                <td height="20"> &nbsp; <font color='18B9FC'>日记密码：</font></td>
                <td>
<input type="text" name="zzzdisplaymima" id="zzzdisplaymima" value="<?php  echo $cInfostemp['zzzdisplaymima'];  ?>" size="20" maxlength="6">
                </td>
              </tr>

              <tr> 
                <td height="20"> &nbsp; <font color='18B9FC'>日记心情：</font></td>
                <td> 
                  <select name="zzzxq" class="input" id="zzzxq" style="width:120px" size="1">
<option value="11">开心篇</option>
<option value="22">甜蜜篇</option>
<option value="33">深情篇</option>
<option value="44">柔情篇</option>
<option value="55">伤感篇</option>
<option value="66">沧桑篇</option>
<option value="77">苦涩篇</option>
<option value="88">无奈篇</option>
<option value="99">愤怒篇</option>
<option value="100">分享篇</option>
                  </select>
                </td>
              </tr>
              <tr> 
                <td height="20"> </td>
                <td> 
                  <input name="zzzmtype" type="radio" value="1"  onClick="InitPeitu(1,'/templets/default/diary/play/bg/03.jpg');SwitchCover('/templets/default/diary/play/bg/03.jpg',6913,'jpg')" checked>
                  精致型&nbsp; 
                  <input type="radio" name="zzzmtype" value="2"  onClick="InitPeitu(2,'/templets/default/diary/play/bg/05.jpg');SwitchCover('/templets/default/diary/play/bg/05.jpg',6913,'jpg')">
                  宽阔型 </td>
              </tr>
              <tr> 
                <td height="20"> &nbsp; <font color='18B9FC'>日记模板：</font></td>
                <td> 
                  <input type="radio" name="zzzmtype" value="3" onClick="InitPeitu(3,'/templets/default/diary/play/lr/07.jpg');SwitchCover('/templets/default/diary/play/lr/07.jpg',6913,'jpg')">
                  左图型&nbsp; 
                  <input type="radio" name="zzzmtype" value="4" onClick="InitPeitu(4,'/templets/default/diary/play/lr/09.jpg');SwitchCover('/templets/default/diary/play/lr/09.jpg',6913,'jpg')">
                  右图型</td>
              </tr>
              <tr> 
                <td height="20">&nbsp;</td>
                <td> 
                  <input type="radio" name="zzzmtype" value="5" onClick="InitPeitu(5,'/templets/default/diary/play/jd/5001.jpg');SwitchCover('/templets/default/diary/play/jd/5001.jpg',6913,'jpg')">
                  经典型</td>
              </tr>
              <tr> 
                <td height="20"> &nbsp; <font color='18B9FC'>文章配图：</font></td>
                <td> 
                  <select name="zzzbg" class="input" id="zzzbg" style="width:120px" onChange="SwitchCover(this.value,6913,'jpg')">
                    <option value="/templets/default/diary/play/bg/01.jpg">夕阳桥梁</option>
                    <option value="/templets/default/diary/play/bg/02.jpg">沙滩少女</option>
                    <option value="/templets/default/diary/play/bg/03.jpg">心灵翘动</option>
                    <option value="/templets/default/diary/play/bg/04.jpg">甜蜜一刻</option>
                    <option value="/templets/default/diary/play/bg/05.jpg">心灵孤独</option>
                    <option value="/templets/default/diary/play/bg/06.jpg">海边小车</option>
                    <option value="/templets/default/diary/play/bg/07.jpg">月色清照</option>
                    <option value="/templets/default/diary/play/bg/08.jpg">候鸟飞翔</option>
                    <option value="/templets/default/diary/play/bg/09.jpg">美好童年</option>
                    <option value="/templets/default/diary/play/bg/10.jpg">心灵相伴</option>
                    <option value="/templets/default/diary/play/bg/11.jpg">童真年代</option>
                    <option value="/templets/default/diary/play/bg/12.jpg">树林小路</option>
                    <option value="/templets/default/diary/play/bg/13.jpg">飘进心灵</option>
                    <option value="/templets/default/diary/play/bg/14.jpg">勇往直前</option>
                    <option value="/templets/default/diary/play/bg/15.jpg">黄色情结</option>
                    <option value="/templets/default/diary/play/bg/16.jpg">花言巧语</option>
                    <option value="/templets/default/diary/play/bg/17.jpg">古堡河畔</option>
                    <option value="/templets/default/diary/play/bg/18.jpg">思念淡淡</option>
                    <option value="/templets/default/diary/play/bg/19.jpg">快乐飞起</option>
                    <option value="/templets/default/diary/play/bg/20.jpg">爱的疑惑</option>
                    <option value="/templets/default/diary/play/bg/21.jpg">车站情怀</option>
                    <option value="/templets/default/diary/play/bg/22.jpg">放飞快乐</option>
                    <option value="/templets/default/diary/play/bg/23.jpg">流星物语</option>
                    <option value="/templets/default/diary/play/bg/24.jpg">星空夜城</option>
                    <option value="/templets/default/diary/play/bg/25.jpg">迷失方向</option>
                    <option value="/templets/default/diary/play/bg/26.jpg">水果滋味</option>
                    <option value="/templets/default/diary/play/bg/27.jpg">一生一世</option>
                    <option value="/templets/default/diary/play/bg/28.jpg">花中寄语</option>
                    <option value="/templets/default/diary/play/bg/29.jpg">黄金海岸</option>
                    <option value="/templets/default/diary/play/bg/30.jpg">栈桥黄昏</option>
                    <option value="/templets/default/diary/play/bg/31.jpg">独依窗台</option>
                    <option value="/templets/default/diary/play/bg/32.jpg">心爱宝宝</option>
                    <option value="/templets/default/diary/play/bg/33.jpg">秋千之恋</option>
                  </select>
                  <script type="text/javascript">
InitPeitu(1,'/templets/default/diary/play/bg/01.jpg');
</script>
                </td>
              </tr>
              <tr> 
                <td height="20"> &nbsp; <font color='18B9FC'>天　　气：</font></td>
                <td> 
                  <select name="zzztq" class="input" id="zzztq" style="width:120px" onChange="SwitchCovertq(this.value,6913,'jpg')">
                    <option value="/templets/default/diary/tq/1.gif">晴天</option>
                    <option value="/templets/default/diary/tq/2.gif">阴晴</option>
                    <option value="/templets/default/diary/tq/3.gif">多云</option>
                    <option value="/templets/default/diary/tq/4.gif">下雨</option>
                    <option value="/templets/default/diary/tq/5.gif">闪电</option>
                    <option value="/templets/default/diary/tq/6.gif">有风</option>
                    <option value="/templets/default/diary/tq/7.gif">冰雹</option>
                    <option value="/templets/default/diary/tq/8.gif">彩虹</option>
                    <option value="/templets/default/diary/tq/9.gif">下雪</option>
                    <option value="/templets/default/diary/tq/10.gif">雪晴</option>
                  </select>
                  &nbsp;<img id="tqpre" name="tqpre" src="/templets/default/diary/tq/1.gif" alt="今天天气晴" width="13" height="13" align="absmiddle">	
              </tr>
              <tr> 
                <td height="20"> &nbsp; <font color='18B9FC'>背景音乐：</font></td>
                <td> 
<select name="zzzbgyy" class="input" id="zzzbgyy" style="width:120px" size="1" onchange="document.getElementById('mp3view').innerHTML=' &nbsp; <embed src=/templets/default/yue/music.swf?mp3='+this.value+'&autostart=1&bgcolor=ffffff width=200 height=21 quality=high pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash></embed>';">
<option value="none" selected>无背景音乐</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/tkzcjtb.mp3">天空之城吉他版</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/yuanfangdejijing.mp3">远方的寂静</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/qiurisiyu.mp3">秋日私语</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/tiankongzhicheng.mp3">天空之城</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/liudongdechengshi.mp3">流动的城市</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/yudeyinji.mp3">雨的印记</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/ibelieve.mp3">ibelieve</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/kalong.mp3">卡农</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/longmao.mp3">龙猫</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/tkzctsb.mp3">天空之城童声版</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/ygbj.mp3">月光边境</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/pipayu.mp3">琵琶语</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/river_flows_in_you.mp3">river flows in you</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/yandangjuqiu.mp3">一个人的呓语</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/fzyf.mp3">风筝与风</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/zaiaizhong.mp3">在爱中</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/gaobai.mp3">告白</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/sydxy.mp3">四月的相遇</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/cmz.mp3">完全沉迷在这感觉</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/rgzm.mp3">日晷之梦</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/smdsy.mp3">草木的气息和城市的喧嚣</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/lbdxq.mp3">离别的香气熟悉的节奏 浸透着淡淡的忧伤</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/ydmmgsn.mp3">雨的秘密轻轻告诉你</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/fzyd.mp3">风之甬道</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/hmc.mp3">Hear me cry</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/a_perfect_indian.mp3">A Perfect Indian</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/huapi.mp3">夜色</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/jianai.mp3">简爱</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/sangerne.mp3">三个人的时光</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/hrrm.mp3">恍若如梦</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/jiaruaiyoutianyi.mp3">假如爱有天意</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/jcldxt.mp3">菊次郎的夏天</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/xiangeiailisi.mp3">献给爱丽丝</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/ydgqq5.mp3">夜的钢琴曲</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/ygrdsg.mp3">一个人的时光</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/yilian.mp3">依恋</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/youshanghaishikuaile.mp3">忧伤还是快乐</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/hdwx.mp3">花的微笑</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/tongnian.mp3">童年</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/shangfeng.mp3">我在那一角落患过伤风</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/mengzhongdehunli.mp3">梦中的婚礼</option>
<option value="<?php echo $cfg_zzzyinyueurl ?>/templets/default/diary/mp3/xuezhimeng.mp3">雪之梦</option>
                  </select>
                </td>
              </tr>
<tr> 
<td height="20" colspan=2><div  id="mp3view"></div>
<td> 
</tr>
<?php
      	//游客强制加验证码，会员则判断后台开关
        if(preg_match("/3/",$safe_gdopen)){
      ?>
<tr>
                <td height="20"> &nbsp; <img border="0" src="/templets/default/diary/yzm.gif" width="60" height="13"></td>
                <td> 
            <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:50px;text-transform:uppercase;' />
            <img src="../include/vdimgck.php" alt="看不清？点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'" /></p>
      
              </tr>
<?php }?>
              <tr> 
                <td width="86">&nbsp;</td>
                <td width="208">&nbsp;
              </tr>
              <tr> 
                <td width="288" colspan="2" align="center"> </td>
              </tr>
            </table>
                
          </td>
<td height="300" width="284">
<table border="0" width="284" id="table7" cellspacing="0" cellpadding="0" height="100%">
                    <tr> 
                      <td width="284" height="15"></td>
                    </tr>
                    <tr> 
                      <td width="284" height="300" align="center">
                          <textarea id="body"  name="body" style="width:280px;height:300px;"></textarea>
                      </td>
                    </tr>
                    <tr> 
                      <td width="284" valign="bottom" height="15" align="center"> 
<input type='submit' name='Submit' value='发布'> <input type='reset' name='Submit2' value='重来'>
                      </td>
                    </tr>
                    <tr> 
                      <td width="284" height="20"></td>
                    </tr>
                  </table>
				</td>
                <td>&nbsp;</td>
              </tr>
              <tr> 
                <td height="67"></td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
            </table>
          
          </td>
          <td width="272"> 
            <?php include(DEDETEMPLATE."/default/right_kong.htm"); ?>
          </td>
        </tr>
      </table>
      <?php include(DEDETEMPLATE."/default/footer.htm"); ?>
    </td>
  </tr>
  <tr> 
    <td></td>
  </tr>
</table></form>
</body>
</html>