<!--#include file="../conn/conn_other.asp"-->
<!--#include file="../inc/setup.asp"-->
<!--#include file="../inc/char.asp"-->
<!--#include file="../inc/sql.asp"-->
<%
	end if
	action=ReplaceBadChar(Trim(Request.QueryString("action")))
	if action="add" then
		title=ReplaceBadChar(Trim(Request.Form("title")))
		stype=ReplaceBadChar(Trim(Request.Form("type")))
		sname=ReplaceBadChar(Trim(Request.Form("name")))
		email=ReplaceBadChar(Trim(Request.Form("email")))
		address=ReplaceBadChar(Trim(Request.Form("address")))
		tel=ReplaceBadChar(Trim(Request.Form("tel")))
		notice=ReplaceBadChar(Trim(Request.Form("content")))

		set rs=server.createobject("adodb.recordset")
		sql="select * from gbook order by id desc" 
		rs.open sql,conn,2,3
		rs.addnew
		rs("title")=title
		rs("stype")=stype
		rs("sname")=sname
		rs("email")=email
		rs("address")=address
		rs("tel")=tel
		rs("notice")=notice
		rs("stime")=now()
		rs("zhuangtai")=0
		rs.update
		response.write"<SCRIPT language=JavaScript>alert('您的建议我们已经收到，感谢您对我们服务的支持，现在为您返回');"
		response.write"location.href='Guest.asp';</SCRIPT>"
		response.end
		rs.close
		set rs=nothing
	end if
%>
<!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>
<link rel="Shortcut Icon" href="../images/person/favicon.ico">
<link rel="Bookmark" href="../images/person/favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<TITLE><%= homename %>--在线留言</TITLE>
<meta name="Keywords" content="<%= webmeta %>">
<meta name="Description" content="<%= webmeta1 %>">
<link rel="stylesheet" href="css/css.css" type="text/css">
<style type="text/css">
<!--
.STYLE1 {font-size: 12px}
.STYLE7 {color: #FFFFFF}
-->
</style>
<SCRIPT language=javascript>
function check_input()  
{  
	var Frm=document.formfeedback
	if (Frm.title.value=="")
	{   alert("请输入标题！");
		Frm.title.focus();return false;
	}
	if (Frm.type.value=="")
	{   alert("Please select type!");
		Frm.type.focus();return false;
	}
    if (Frm.name.value=="" )
	{   alert("请输入姓名!");
		Frm.name.focus();return false;
	}
   	if (Frm.email.value=="")
	{   alert("请输入邮件!");
		Frm.email.focus();return false;
	}
	if (Frm.email.value.indexOf('@')<0)
	{   alert("邮件地址错误!");
		Frm.email.focus();return false;
	}
   	if (Frm.content.value=="")
	{   alert("请输入内容!");
		Frm.content.focus();return false;
	}
    return true;
}
</SCRIPT>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="977" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
    <tr>
        <td>
   <table width="970" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="3" bgcolor="CCCCCC"></td>
  </tr>
</table>
<table width="977" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="393" height="22" valign="top"><img src="images/top_11.gif" width="79" height="14" alt="" /></td>
    <td width="584" align="right" valign="bottom"><a href="/login.asp" ><img src="images/cp_03.gif" alt="" width="57" height="13" hspace="25" border="0" title="会员登陆"/></a></td>
  </tr>
  <tr>
    <td><a href="/index.asp"><img src="<%= weblogo %>" border="0"/></a></td>
    <td align="center" valign="bottom">
    <table width="100%" border="0" cellpadding="0" cellspacing="2">
      <tr>
        <td width="25%" height="45" align="center" valign="middle"><a href="/job.asp"><img src="images/cp_07.png" width="138" height="36" border="0" /></a></td>
        <td width="25%" align="center" valign="middle"><a href="/person.asp"><img src="images/cp_09.jpg" width="138" height="36" border="0" /></a></td>
        <td width="25%" align="center" valign="middle"><a href="/train.asp"><img src="images/cp_11.jpg" width="138" height="36" border="0" /></a></td>
        <td width="25%" align="center" valign="middle"><a href="/school.asp"><img src="images/cp_13.jpg" width="160" height="36" border="0" /></a></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="977" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="6"></td>
  </tr>
</table>
<table width="977" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="3" ></td>
  </tr>
</table>
<table width="977" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="346" height="7" bgcolor="B22418" ></td>
    <td width="155" bgcolor="444853" ></td>
    <td width="469" bgcolor="B22418" ></td>
  </tr>
</table>
<table width="977" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="7"></td>
  </tr>
</table>
	    </td>
    </tr>
<!-- 主要内容 -->
</table>
<table width="977" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="230" align="center" valign="top"><table cellspacing="0" cellpadding="0" width="200" border="0">
    <tr>
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2"><img src="images/about_top.gif" alt="关于我们" width="200" height="70" /></td>
    </tr>
    <tr>
      <td colspan="2" height="7"></td>
    </tr>
    <tr bgcolor="#dcdcdc">
      <td colspan="2" height="1"></td>
    </tr>
    <tr>
      <td width="15" bgcolor="#f3f3f3">&nbsp;</td>
      <td width="185" height="76" valign="top" bgcolor="#f6f6f6" class="style2" style="PADDING-RIGHT: 0px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; PADDING-TOP: 2px">
      <table cellspacing="0" cellpadding="0" width="150" border="0">
<%
	set rs_news=server.createobject("adodb.recordset")
	sql="select * from aboutus where zhuangtai=0 order by id asc" 
	rs_news.open sql,conn,1,1
	if rs_news.eof then
%>
          <tr>
            <td height="23" align="left"><a href="#">暂时简介</a></td>
          </tr>
<%
	else
		do while not rs_news.eof
%>
          <tr>
            <td height="23" align="left"><a href="index.asp?id=<%= rs_news("id") %>" title="<%= rs_news("title") %>"><% If id=rs_news("id") Then Response.Write("<font color='red'>")%><%= rs_news("title") %><% If id=rs_news("id") Then Response.Write("</font>")%></a></td>
          </tr>
<%
		rs_news.movenext
		loop
	end if
	rs_news.close
	set rs_news=nothing
%>
          <tr>
            <td height="23" align="left"><a href="bank.asp" title="银行帐号信息">银行帐号</a></td>
          </tr>
          <tr>
            <td height="23" align="left"><a href="money.asp" title="收费标准">收费标准</a></td>
          </tr>
          <tr>
            <td height="23" align="left"><a href="Guest.asp" title="在线留言">在线留言</a></td>
          </tr>
          <tr>
            <td height="23" align="left"><a href="link.asp" title="友情链接"><font color="#FF0000">友情链接</font></a></td>
          </tr>
      </table></td>
    </tr>
    <tr>
      <td colspan="2" height="7"></td>
    </tr>
    <tr bgcolor="#dcdcdc">
      <td colspan="2" height="1"></td>
    </tr>
    <tr>
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr align="middle">
      <td colspan="2">&nbsp;</td>
    </tr>
</table></td>
    <td valign="top"><br>
      <table id="__01" width="780" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" valign="top">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="zw">
                <tr valign="top">
                  <td align="left"><table cellspacing="0" cellpadding="0" align="center" border="0">
                    <tbody>
                      <tr valign="top">
                        <td><div align="left"></div></td>
                        <td><div align="left">
                            <!--右侧-->
                            <!--招聘信息-->
                            <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                <tr>
                                  <td><table cellspacing="0" cellpadding="0" width="100%" border="0">
                                        <tr>
                                          <td align="left" width="80" background="images/right6_title2.jpg" height="25">
										  <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                                <tr>
                                                  <td style="PADDING-TOP: 2px" align="middle" height="25"><span class="STYLE7"><strong>友情链接</strong></span></td>
                                                  <td width="12">&nbsp;</td>
                                                </tr>
                                          </table></td>
                                          <td width="595" background="images/right5_bg.jpg">&nbsp;</td>
                                          <td width="90" background="images/right5_bg.jpg"></td>
                                          <td width="5" background="images/right5_bg.jpg">&nbsp;</td>
                                        </tr>
                                  </table></td>
                                </tr>
                                <tr>
                                  <td height="5"><iframe src="links.asp" name="I1" width="100%" height="800" frameborder="0" id="I1" style="border: 1px solid #efefef" border="0"></iframe></td>
                                </tr>
                            </table>
                          <table cellspacing="0" cellpadding="0" width="100%" border="0">
                              <tbody>
                              </tbody>
                            </table>
                          <!--页面底部-->
                        </div></td>
                      </tr>
                    </tbody>
                  </table></td>
                </tr>
            </table></td>
        </tr>
    </table></td>
  </tr>
</table>
<table width="977" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="7" align="center" valign="middle" bgcolor="#333333"></td>
  </tr>
  <tr>
    <td height="7" align="center" valign="middle"></td>
  </tr>
</table>
<!--#include file="../end.asp"-->
