<!--#include file="conn.asp" -->
<%
strCurrMenu="61"
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<script language="JavaScript" src="common/JS_CheckForm.js"></script>
<script language="JavaScript">
function checkform(theform){
	if(!CheckEmpty(theform.txtName, "您的姓名")) return false;
	if(!CheckEmpty(theform.txtMsg, "留言内容")) return false;
}
</script>
<title>C</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<link href="images/css.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="common/style.css" type="text/css">
<style type="text/css">
<!--
.t4 {font-family: "宋体";
	font-size: 12px;
	font-weight: bold;
	color: #000000;
	text-decoration: none;
}
.t11 {font-family: "宋体";
	font-size: 12px;
	font-weight: normal;
	color: #FFFF00;
	text-decoration: none;
	line-height: 18px;
}
-->
</style>
</head>

<body>
<!--#include file="top.asp" -->

<table width="782" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="205" valign="top" background="images/eo_09.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table width="205" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="29" background="images/eo_07.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="14%">&nbsp;</td>
                    <td width="86%" class="t1">网上调查</td>
                  </tr>
              </table></td>
            </tr>
            <tr>
              <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="100%" scope="row"><!--Vote Begin-->
                        <%
							isVote=GetKey("Enable",WebUserID,"vote")
							if isVote="Yes" then
							%>
                        <table width="73%" border="0" align="center" cellpadding="7" cellspacing="0">
                          <tr>
                            <td height="100"  valign="top" class="cn"><script language="JavaScript" src="admin/vote/viewvote.asp"></script></td>
                          </tr>
                        </table>
                      <span class="t1">
                        <%
							  end if
							  %>
                        <!--Vote End-->
                        <!--Link Begin-->
                        <%
							isLink=GetKey("Enable",WebUserID,"link")
							if isLink="Yes" then
							%>
                      </span></td>
                  </tr>
              </table></td>
            </tr>
          </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="29" background="images/eo_07.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="13%">&nbsp;</td>
                      <td width="87%" class="t1">友情链接</td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr align="center">
                    <td width="100%" scope="row"><table width="76%" border="0" align="center" cellpadding="7" cellspacing="0">
                        <tr>
                          <td height="107" align="center"  valign="top" class="t1"> 　 <span class="cn"><br>
                                <script language="JavaScript" src="admin/link/link.asp"></script>
                          </span></td>
                        </tr>
                      </table>
                        <span class="t1">
                        <%
							  end if
							  %>
                        <!--Link End-->
                      </span></td>
                  </tr>
                </table></td>
              </tr>
          </table></td>
      </tr>
    </table></td>
    <td width="581" valign="top"><table width="577" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="29" background="images/eo_08.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="7%">&nbsp;</td>
            <td width="93%" class="t2">给我留言</td>
          </tr>
        </table></td>
      </tr>
    </table>
      <table width="99%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#EFEFEF">
        <tr>
          <td valign="top" bgcolor="#FFFFFF"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="16">&nbsp;</td>
              <td width="490" height="300" valign="top"><!--GuestBook Begin-->
                  <form name="form1" method="post" action="admin/guestbook/savemsg.asp?mnid=<%=strCurrMenu%>" onSubmit="return checkform(this)">
                    <p class="cn">
                      <%
							'读取留言本的属性，以确定显示那个字段
							isDW=GetKey("g_dw",WebUserID,"guestbook_" & strCurrMenu )
							isTel=GetKey("g_tel",WebUserID,"guestbook_" & strCurrMenu )
							isEmail=GetKey("g_email",WebUserID,"guestbook_" & strCurrMenu )
							isAdrr=GetKey("g_adrr",WebUserID,"guestbook_" & strCurrMenu )
							isOICQ=GetKey("g_oicq",WebUserID,"guestbook_" & strCurrMenu )
							isShow=GetKey("seeguest",WebUserID,"guestbook_" & strCurrMenu )
							
							%>
                    </p>
                    <table width="100%" border="0" cellspacing="1" cellpadding="4">
                      <tr>
                        <td class="cn"><strong>请您留言：</strong></td>
                        <td align="right" class="cn"><%if isShow<>"none" then%>
                            <a href="lyshow.asp?mnid=<%=strCurrMenu%>&classname=给我留言">&gt;&gt;查看留言</a>
                            <%end if%>                        </td>
                      </tr>
                      <tr>
                        <td height="15" colspan="2" class="cn"></td>
                      </tr>
                      <tr>
                        <td width="20%" align="right" bgcolor="#F9F9F9" class="cn"><strong>您的姓名：</strong></td>
                        <td width="80%" bgcolor="#F9F9F9" class="cn"><input name="txtName" type="text" id="txtName" size="15" maxlength="15">
                          [必填]</td>
                      </tr>
                      <%if isDW<>"none" then%>
                      <tr>
                        <td align="right" class="cn"><strong>单位名称：</strong></td>
                        <td class="cn"><input name="txtDW" type="text" id="txtDW" size="40" maxlength="100"></td>
                      </tr>
                      <%end if%>
                      <%if isTel<>"none" then%>
                      <tr>
                        <td align="right" class="cn"><strong>联系电话：</strong></td>
                        <td class="cn"><input name="txtTel" type="text" id="txtTel" size="15" maxlength="15"></td>
                      </tr>
                      <%end if%>
                      <%if isAdrr<>"none" And isAdrr<>"Null" then%>
                      <tr bgcolor="#FFFFFF">
                        <td align="right" class="cn"><strong>地　址：</strong></td>
                        <td class="cn"><strong>
                          <input name="txtAdrr" type="text" id="txtAdrr" size="40" maxlength="100">
                        </strong></td>
                      </tr>
                      <%end if%>
                      <%if isEmail<>"none" then%>
                      <tr bgcolor="#F9F9F9">
                        <td align="right" class="cn"><strong>电子邮件：</strong></td>
                        <td class="cn"><input name="txtEmail" type="text" id="txtEmail" size="15" maxlength="50"></td>
                      </tr>
                      <%end if%>
                      <%if isOICQ<>"none" And isOICQ<>"Null" then%>
                      <tr>
                        <td align="right" class="cn"><strong>OICQ号码：</strong></td>
                        <td class="cn"><input name="txtOICQ" type="text" id="txtOICQ" size="15" maxlength="15"></td>
                      </tr>
                      <%end if%>
                      <tr bgcolor="#F9F9F9">
                        <td align="right" class="cn"><strong>留言内容：</strong></td>
                        <td class="cn"><textarea name="txtMsg" cols="45" rows="7" id="txtMsg"></textarea>
                          [必填]</td>
                      </tr>
                      <tr bgcolor="#F9F9F9">
                        <td height="50" class="cn">&nbsp;</td>
                        <td height="50" bgcolor="#F9F9F9" class="cn"><input type="submit" name="Submit3" value=" 提 交 ">
                            <input type="reset" name="Submit4" value=" 重 置 ">
                            <%if isShow<>"none" then%>
                            <a href="lyshow.asp?mnid=<%=strCurrMenu%>&classname=给我留言">&gt;&gt;查看留言</a>
                            <%end if%>                        </td>
                      </tr>
                    </table>
                  </form>
                <span class="t1"><br>
                  <!--GuestBook End-->
                </span></td>
            </tr>
          </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<!--#include file="end.asp" -->
<script language="JavaScript" src="common/init.js"></script><br><script language=Javascript src="common/tranbig5.Js"></script>
</body>
</html>



