<!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>{#$webtitle#}{#$web_config.poweredby#}</title>
<link rel="stylesheet" type="text/css" href="./templates/www/{#$web_config.temp -> dir#}/css/{#$web_config.temp -> style#}.css" />
<script language="javascript" src="./js/jquery.min.js" ></script>
<script language="javascript" src="./js/common.js"></script>
<script language="javascript" src="./js/gv32menu.js"></script>
<script language="javascript">
	var webroot_url = '{#$base_weburl#}';
	function submitFun()
	{
		var idmes_title 			= document.getElementById('mes_title');
		var iduser_email 			= document.getElementById('user_email');
		var idmes_detail			= CKEDITOR.instances.mes_content.getData();
		
		if(idmes_title.value=='')
		{
			alert(' 提 示：标题不能为空！请输入！');
			idmes_title.focus();
			return false;
		}
		
		patn = /^([a-zA-Z0-9_.-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/;
		if(iduser_email.value=='')
		{
			alert(' 提 示：联系邮箱不能为空！请输入！');
			iduser_email.focus();
			return false;
		}else if(!patn.test(iduser_email.value))
		{
			alert ("提示：\n\n电子邮件格式不正确，请输入正确的电子邮件地址！！");
			iduser_email.focus (); 
			return false; 
		}
		
		if(idmes_detail =='')
		{
			alert(' 提 示：内容不能为空！请输入！');
			return false;
		}
		
	}
	
</script>
</head>
<body>
{#include file="$tpl_path/cover/header.tpl"#}
{#include file="$tpl_path/cover/web_address.tpl"#}
<div class="maincss">
{#include file="$tpl_path/cover/pro_left.tpl"#}
{#if $getads.1.relurl neq ''#}
<div class="mainrightad">
{#$getads.1.relurl#}
</div>
{#/if#}

<div class="mainright_art">

<div class="mainrighttitle_art">{#$webtitle#}</div>

<div class="list_art">
<ul class="list_pro_ul">

<form action="{#$base_weburl#}/?message.html?type=addinfo" method="post" onsubmit="return submitFun(this)">
<table width="660" border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td align="right" height="28">留言标题：</td><td align="left"><input name="mes_title" id="mes_title" value=""  style="width:230px;" class="reg_inp"></td>
  </tr>
  
  <tr>
    <td align="right" height="28">联系邮箱：</td><td align="left"><input name="use_email" id="user_email" value=""  style="width:230px;" class="reg_inp"></td>
  </tr>
  
  <tr>
    <td align="right" >留言内容：</td>
    <td align="left">{#$ckeditorLoad#}</td>
  </tr>
  <tr>
    <td colspan="2" align="center">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" align="center"><input type="image" src="./images/submitgv32.jpg" width="89"  height="38"   name="submit" id="submit" /></td>
  </tr>
    <tr>
    <td colspan="2" width="100%">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" width="100%"><table width="100%" align="left"><tr><td><span style="font-weight:bolder">分享到：</span></td><td><!-- Baidu Button BEGIN HuCart.COM ADD  -->
    <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
        <a class="bds_qzone">QQ空间</a>
        <a class="bds_tsina">新浪微博</a>
        <a class="bds_tqq">腾讯微博</a>
        <a class="bds_renren">人人网</a>
        <span class="bds_more">更多</span>    </div>
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;mini=1" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
	document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
</script>
<!-- Baidu Button END HuCart.COM ADD --></td></tr></table></td>
  </tr>
</table>

</form>

</ul>
</div>
<div class="list_art">{#$page_str#}</div>


</div>
{#if $getads.9.relurl neq ''#}
<div class="mainrightad">
{#$getads.9.relurl#}
</div>
{#/if#}
</div>

</div>
{#include file="$tpl_path/cover/footer.tpl"#}
</body>
</html>
