<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib uri="/cms4j" prefix="cms4j" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title><cms4j:site_config node_id="root"><%=siteconfig_info.getSITE_TITLE()%></cms4j:site_config></title>
<link href="css/css.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
.style1 {color: #666666}
.style2 {color: #003399}
.style4 {color: #EFEFEF}
.STYLE5 {color: #0000FF; }
-->
</style>
</head>

<body>
<jsp:include page="top.jsp"/>

<!--引入此JS,可实现表单的合法性校验-->
<script src="../../js/validator.js"></script>


<table width="960" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#C5D1E5" class="page_frame">
<form action="../../do?action=addMessage" method="post" name="cms4jGuestbookFrom" id="cms4jGuestbookFrom" onSubmit="return Validator.Validate(this,1)">

<!--添加成功页-->
<input name="REDIRECT" type="hidden" id="REDIRECT" value="<%=cn.com.dekn.cms.syscfg.vo.SiteConfig.getInstance().getCONTEXT_PATH()%><%=cn.com.dekn.cms.syscfg.vo.SiteConfig.getInstance().getSITE_TEMPLET_PATH()%>guestbook_add_ok.jsp">


<input type="hidden" name="MESSAGE_CLASS_ID" value="guestbook">
  <tr>
    <td bgcolor="#FFFFFF" class="list_top_b"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="30" align="center" class="STYLE5"><strong class="article_title">添加新留言</strong></td>
      </tr>
    </table>
      <table width="96%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#f1f1f1" class="list">
        <tr>
          <td height="22" align="right" bgcolor="#FFFFFF" class="list_left_title">随机验证码：</td>
          <td width="86%" height="22" bgcolor="#FFFFFF" class="list_cell_bg"><img name="CheckNumber" border=0 src="../../cms4jadmin/common/randomNumber.jsp" width="60" height="20" alt="">
            <input name="randCode" type="text" class="LoginInput" id="randCode" size="9" maxlength="4">
            <font color="#FF0000">*</font></td>
        </tr>
		<tr>
          <td height="22" align="right" bgcolor="#FFFFFF" class="list_left_title">姓　　名：</td>
          <td width="86%" height="22" bgcolor="#FFFFFF" class="list_cell_bg"><input name="USER_NAME" type="text" class="form_input" id="USER_NAME"  style="width:50%" maxlength="20" dataType="Require" msg="请输入 姓名">
            <font color="#FF0000">*</font></td>
        </tr>
        <tr>
          <td height="22" align="right" bgcolor="#FFFFFF" class="list_left_title">留言主题：</td>
          <td height="22" colspan="2" bgcolor="#FFFFFF" class="list_cell_bg"><input name="TITLE" type="text" class="form_input" id="TITLE"  style="width:90%" maxlength="200" dataType="Require" msg="请输入 主题">
            <font color="#FF0000">*</font></td>
        </tr>
        <tr>
          <td height="22" align="right" bgcolor="#FFFFFF" class="list_left_title">现在心情：</td>
          <td height="22" colspan="2" bgcolor="#FFFFFF" class="list_cell_bg">
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio CHECKED value=1 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face1.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=2 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face2.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=3 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face3.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=4 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face4.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=5 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face5.gif" width=19>
			  <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=6 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face6.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=7 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face7.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=8 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face8.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=9 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face9.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=10 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face10.gif" width=19> <BR>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=11 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face11.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=12 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face12.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=13 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face13.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=14 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face14.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=15 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face15.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=16 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face16.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=17 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face17.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=18 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face18.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=19 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face19.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=20 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face20.gif" width=19> <BR>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=21 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face21.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=22 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face22.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=23 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face23.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=24 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face24.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=25 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face25.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=26 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face26.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=27 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face27.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=28 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face28.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=29 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face29.gif" width=19>
              <INPUT style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 19px; BORDER-BOTTOM: 0px" type=radio value=30 name=MOOD>
              <IMG height=19 src="../../images/guestbook/face30.gif" width=19> 
          </td>
        </tr>
        <tr>
          <td height="22" align="right" bgcolor="#FFFFFF" class="list_left_title">留言内容：</td>
          <td height="22" colspan="2" bgcolor="#FFFFFF" class="list_cell_bg"><textarea name="CONTENT"rows="10" class="form_textarea" id="CONTENT" dataType="Require" msg="请输入 内容" style="width:90%"></textarea>
            <font color="#FF0000">*</font></td>
        </tr>
		        <tr>
          <td height="22" align="right" bgcolor="#FFFFFF" class="list_left_title">性　　别：</td>
          <td height="22" bgcolor="#FFFFFF" class="list_cell_bg"><input type="radio" name="SEX" value="男">
            男
              <input type="radio" name="SEX" value="女">
            女
            <input name="SEX" type="radio" value="保密" checked>
            保密</td>
        </tr>
        <tr>
          <td height="22" align="right" bgcolor="#FFFFFF" class="list_left_title">E-mail：</td>
          <td height="22" bgcolor="#FFFFFF" class="list_cell_bg"><input name="EMAIL" type="text" class="form_input" id="EMAIL"  style="width:50%" maxlength="50"></td>
        </tr>
        <tr>
          <td height="22" align="right" bgcolor="#FFFFFF" class="list_left_title">QQ：</td>
          <td height="22" bgcolor="#FFFFFF" class="list_cell_bg"><input name="QQ" type="text" class="form_input" id="QQ" style="width:50%" maxlength="12"></td>
        </tr>

        <tr>
          <td height="22" align="right" bgcolor="#FFFFFF" class="list_left_title">个人主页：</td>
          <td height="22" bgcolor="#FFFFFF" class="list_cell_bg"><input name="HOMEPAGE" type="text" class="form_input" id="HOMEPAGE" style="width:50%" maxlength="50"></td>
        </tr>

        <tr>
          <td height="22" align="right" bgcolor="#FFFFFF" class="list_left_title">是否隐藏：</td>
          <td height="22" colspan="2" bgcolor="#FFFFFF" class="list_cell_bg"><input name="MESSAGE_STATUS" type="radio" class="form_radio" value="1" checked>
            正常
            <input name="MESSAGE_STATUS" type="radio" class="form_radio" value="-1">
            隐藏（只有管理员可见）</td>
        </tr>
        <tr>
          <td height="22" colspan="3" align="center" bgcolor="#FFFFFF" class="table_oper_tr"><input name="Submit" type="submit" class="btn_css" value="添 加">
              <input name="Submit2" type="button" class="btn_css" onClick="location.href='history.go(-1)'" value="取 消">
        </tr>
      </table>
      <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="30">&nbsp;</td>
        </tr>
      </table></td>
  </tr>
</form></table>



<jsp:include page="bottom.jsp"/>
</body>
</html>
