<!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=utf-8" />
<title>添加留言 {#$LA_poweredby#} -  Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="{#$base_weburl#}/templates/adminsys/css/list.css" />
<script language="javascript">
var webroot_url = '{#$base_weburl#}';
function submitFun()
{
		var idmes_title 	= document.getElementById('mes_title');
		var idtuse_name 	= document.getElementById('tuse_name');
		
		var content= CKEDITOR.instances.mes_content.getData()
		var idsuggestionInfo 	= document.getElementById('suggestionInfo');

		if(idmes_title.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：留言标题不能为空！请输入！';
			idmes_title.focus();
			return false;
		}else if(idtuse_name.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：用户名不能为空！请选择！';
			idtuse_name.focus();
			return false;
		}else if(content=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：留言内容不能为空请输入！';
			CKEDITOR.instances.mes_content.focus();
			return false;
		}

}


 
	
</script>
</head>
<body>


<table  cellpadding="0" cellspacing="0" border="0" style="width:100%">

<tr><td><table cellpadding="0" cellspacing="0" border="0" style="width:100%; color:#000000; font-weight:normal; background-color:#3EC3EF;"  >
  <tr>
    <td>&nbsp;<a href="{#$base_weburl#}/adminsys/index.php?load=message&act=infolist" ><img src="{#$base_weburl#}/uploads/sys/h.gif"  width="15" border="0">留言列表</a> | 留言添加</td>
    <td>&nbsp;</td>
     <td align="right"><a href="http://help.gv32.com/type_message-add.html" target="_blank" title="点击-在线帮助"><img src="{#$base_weburl#}/images/sys/adminhelp.png"  width="21" border="0" alt="点击-在线帮助"></a>&nbsp;&nbsp;</td>
  </tr>
</table>
</td></tr>

<tr><td>

<form action="{#$base_weburl#}/adminsys/index.php?load=message&act=addinfo" method="post"   name="formSub" id="formSub" >
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
<tr>
<th colspan="2">添加留言</th>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td" align="right"><strong>留言标题：</strong></td>
<td class="tdd"><input name="mes_title" id="mes_title" value="" type="text"  style="width:300px;" ></td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>用户名：</strong></td>
<td class="tdd"><input name="tuse_name" id="tuse_name" value="" type="text"  style="width:300px;" > 请认真填写用户名！</td>
</tr>



<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>留言内容：</strong></td>
<td class="tdd">
{#$ckeditorLoad#}</td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td colspan="2"  class="tdcenter"><div id="suggestionInfo">&nbsp;</div></td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td colspan="2"  class="tdcenter"> <input name="submit" id="submit" type="submit" value="添 加"    ></td>
</tr>
</table>
</form>

</td></tr>
<tr><td></td></tr>
</table>


</body>
</html>