<!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></title> 
<link href="<?=$cms_abs?>images/adminm/style.css" rel="stylesheet" type="text/css" /> 
<script type="text/javascript">var CMS_ABS='<?=$cms_abs?>',IXDIR = CMS_ABS + 'images/admina/', charset = 'utf-8',allowfloatwin = '1',floatwidth='800',floatheight='600'</script> 
<script type="text/javascript" src="<?=$cms_abs?>include/js/langs.js"></script> 
<script type="text/javascript" src="<?=$cms_abs?>include/js/common.js"></script> 
<script type="text/javascript" src="<?=$cms_abs?>include/js/floatwin.js"></script> 
<script type="text/javascript" src="<?=$cms_abs?>include/js/calendar.js"></script> 
<script type="text/javascript" src="<?=$cms_abs?>include/ckeditor/ckeditor.js"></script> 
<script type="text/javascript" src="<?=$cms_abs?>include/js/tree.js"></script> 
</head> 
<body> 
<div id="append_parent"></div>
<div class="main_area"><form name="commentadd" id="commentadd" method="post" enctype="multipart/form-data" action="<?=$cms_abs?>comment.php?aid=<?=$aid?>&infloat=1&handlekey=zixun" onsubmit="var f=1;f=check_commentadd_submit(this);return f?ajaxform(this):f"> 
<table border="0" cellpadding="0" cellspacing="1" class="tabmain"> 
<tr class="header"><td colspan="2"><b>添加咨询</b></td></tr> 
<tr><td width="25%" class="item1"><b>*姓名</b></td> 
<td class="item2"><input type="text" size="20" id="communew[name]" name="communew[name]" value="" /><div id="alert_communew[name]" name="alert_communew[name]" class="red"></div></td></tr> 
<tr><td width="25%" class="item1"><b>QQ</b></td> 
<td class="item2"><input type="text" size="20" id="communew[qq]" name="communew[qq]" value="" /><div id="alert_communew[qq]" name="alert_communew[qq]" class="red"></div></td></tr> 
<tr><td width="25%" class="item1"><b>MSN</b></td> 
<td class="item2"><input type="text" size="20" id="communew[msn]" name="communew[msn]" value="" /><div id="alert_communew[msn]" name="alert_communew[msn]" class="red"></div></td></tr> 
<tr><td width="25%" class="item1"><b>电话</b></td> 
<td class="item2"><input type="text" size="20" id="communew[tel]" name="communew[tel]" value="" /><div id="alert_communew[tel]" name="alert_communew[tel]" class="red"></div></td></tr> 
<tr><td width="25%" class="item1"><b>*内容</b></td> 
<td class="item2"><textarea rows="4" id="communew[m_content]" name="communew[m_content]" cols="50"></textarea><div id="alert_communew[m_content]" name="alert_communew[m_content]" class="red"></div></td></tr> 
</table> 
<input class="button" type="submit" name="newcommu" value="提交" /> 
</form> 
<script type="text/javascript" reload="1"> 
function check_commentadd_submit(form){
try{
var i = true,dom,rmsg;
clearalerts(form);
rmsg = checktext('communew[name]','1','','','','');
if(rmsg){
	if(dom=$id('alert_communew[name]'))dom.innerHTML = rmsg;
	i = false;
}
rmsg = checkmultitext('communew[m_content]','1','10','');
if(rmsg){
	if(dom=$id('alert_communew[m_content]'))dom.innerHTML = rmsg;
	i = false;
}
if(!i){alert('请检查表单内容!');}
 return i;
}catch(e){alert('请检查表单内容!\n\n'+(e.description||e));return false;}
}
</script> 
<div class="blank9"></div> 
</div> 
</body> 
</html> 